tuix-rag-service-client 0.16.0 → 0.18.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 +17 -0
- package/package.json +1 -1
package/docs/ClientApi.md
CHANGED
|
@@ -95,6 +95,7 @@ example().catch(console.error);
|
|
|
95
95
|
|-------------|-------------|------------------|
|
|
96
96
|
| **200** | Returns a paginated list of API keys | - |
|
|
97
97
|
| **401** | Unauthorized | - |
|
|
98
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
98
99
|
| **500** | Internal server error: Failed to retrieve API keys | - |
|
|
99
100
|
|
|
100
101
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -169,6 +170,7 @@ example().catch(console.error);
|
|
|
169
170
|
| **204** | API key deleted successfully | - |
|
|
170
171
|
| **400** | Invalid key ID format | - |
|
|
171
172
|
| **401** | Unauthorized | - |
|
|
173
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
172
174
|
| **404** | API key not found | - |
|
|
173
175
|
| **500** | Internal server error: Failed to delete API key | - |
|
|
174
176
|
|
|
@@ -244,6 +246,7 @@ example().catch(console.error);
|
|
|
244
246
|
| **201** | Create an API key and returns the created key | - |
|
|
245
247
|
| **400** | Invalid request format | - |
|
|
246
248
|
| **401** | Unauthorized | - |
|
|
249
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
247
250
|
| **500** | Server Error: Failed to create API key | - |
|
|
248
251
|
|
|
249
252
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -320,6 +323,7 @@ example().catch(console.error);
|
|
|
320
323
|
|-------------|-------------|------------------|
|
|
321
324
|
| **200** | OK | - |
|
|
322
325
|
| **400** | Bad Request | - |
|
|
326
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
323
327
|
| **403** | Return an error if the user does not have the required api key | - |
|
|
324
328
|
| **500** | Internal Server Error | - |
|
|
325
329
|
|
|
@@ -395,6 +399,7 @@ example().catch(console.error);
|
|
|
395
399
|
| **201** | Create an account and returns the created account | - |
|
|
396
400
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
397
401
|
| **401** | Return an error if the user is not authenticated | - |
|
|
402
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
398
403
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
399
404
|
| **500** | Return an error if the server finds an error | - |
|
|
400
405
|
|
|
@@ -481,6 +486,7 @@ example().catch(console.error);
|
|
|
481
486
|
|-------------|-------------|------------------|
|
|
482
487
|
| **201** | Created | - |
|
|
483
488
|
| **400** | Bad Request | - |
|
|
489
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
484
490
|
| **500** | Internal Server Error | - |
|
|
485
491
|
|
|
486
492
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -555,6 +561,7 @@ example().catch(console.error);
|
|
|
555
561
|
| **201** | Create a resource group and returns the created group | - |
|
|
556
562
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
557
563
|
| **401** | Return an error if the user is not authenticated | - |
|
|
564
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
558
565
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
559
566
|
| **500** | Return an error if the server founds an error | - |
|
|
560
567
|
|
|
@@ -628,6 +635,7 @@ example().catch(console.error);
|
|
|
628
635
|
| Status code | Description | Response headers |
|
|
629
636
|
|-------------|-------------|------------------|
|
|
630
637
|
| **204** | All resources deleted successfully | - |
|
|
638
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
631
639
|
| **500** | Internal Server Error | - |
|
|
632
640
|
|
|
633
641
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -704,6 +712,7 @@ example().catch(console.error);
|
|
|
704
712
|
|-------------|-------------|------------------|
|
|
705
713
|
| **204** | Resource deleted successfully | - |
|
|
706
714
|
| **400** | Bad Request | - |
|
|
715
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
707
716
|
| **404** | Not Found | - |
|
|
708
717
|
| **500** | Internal Server Error | - |
|
|
709
718
|
|
|
@@ -779,6 +788,7 @@ example().catch(console.error);
|
|
|
779
788
|
| **204** | Resource group deleted | - |
|
|
780
789
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
781
790
|
| **401** | Return an error if the user is not authenticated | - |
|
|
791
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
782
792
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
783
793
|
| **500** | Return an error if the server founds an error | - |
|
|
784
794
|
|
|
@@ -854,6 +864,7 @@ example().catch(console.error);
|
|
|
854
864
|
| **200** | Return a resource group | - |
|
|
855
865
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
856
866
|
| **401** | Return an error if the user is not authenticated | - |
|
|
867
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
857
868
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
858
869
|
| **404** | Return an error if the resource group is not found | - |
|
|
859
870
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -932,6 +943,7 @@ example().catch(console.error);
|
|
|
932
943
|
|-------------|-------------|------------------|
|
|
933
944
|
| **200** | Return a list of resource groups | - |
|
|
934
945
|
| **401** | Return an error if the user is not authenticated | - |
|
|
946
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
935
947
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
936
948
|
| **500** | Return an error if the server founds an error | - |
|
|
937
949
|
|
|
@@ -1012,6 +1024,7 @@ example().catch(console.error);
|
|
|
1012
1024
|
|-------------|-------------|------------------|
|
|
1013
1025
|
| **200** | OK | - |
|
|
1014
1026
|
| **400** | Bad Request | - |
|
|
1027
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1015
1028
|
| **500** | Internal Server Error | - |
|
|
1016
1029
|
|
|
1017
1030
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -1088,6 +1101,7 @@ example().catch(console.error);
|
|
|
1088
1101
|
|-------------|-------------|------------------|
|
|
1089
1102
|
| **200** | OK | - |
|
|
1090
1103
|
| **400** | Bad Request | - |
|
|
1104
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1091
1105
|
| **404** | Not Found | - |
|
|
1092
1106
|
| **500** | Internal Server Error | - |
|
|
1093
1107
|
|
|
@@ -1166,6 +1180,7 @@ example().catch(console.error);
|
|
|
1166
1180
|
| **200** | OK | - |
|
|
1167
1181
|
| **400** | Bad Request | - |
|
|
1168
1182
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1183
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1169
1184
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1170
1185
|
| **500** | Internal Server Error | - |
|
|
1171
1186
|
|
|
@@ -1255,6 +1270,7 @@ example().catch(console.error);
|
|
|
1255
1270
|
|-------------|-------------|------------------|
|
|
1256
1271
|
| **200** | OK | - |
|
|
1257
1272
|
| **400** | Bad Request | - |
|
|
1273
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1258
1274
|
| **404** | Not Found | - |
|
|
1259
1275
|
| **500** | Internal Server Error | - |
|
|
1260
1276
|
|
|
@@ -1333,6 +1349,7 @@ example().catch(console.error);
|
|
|
1333
1349
|
| **200** | Updates a resource group and return an updated group if the ID exists | - |
|
|
1334
1350
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
1335
1351
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1352
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1336
1353
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1337
1354
|
| **404** | Return an error if the resource group is not found | - |
|
|
1338
1355
|
| **500** | Return an error if the server founds an error | - |
|