tuix-rag-service-client 0.1.75 → 0.1.76
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
|
@@ -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
|
|
|
@@ -482,6 +486,7 @@ example().catch(console.error);
|
|
|
482
486
|
|-------------|-------------|------------------|
|
|
483
487
|
| **201** | Created | - |
|
|
484
488
|
| **400** | Bad Request | - |
|
|
489
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
485
490
|
| **500** | Internal Server Error | - |
|
|
486
491
|
|
|
487
492
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -556,6 +561,7 @@ example().catch(console.error);
|
|
|
556
561
|
| **201** | Create a resource group and returns the created group | - |
|
|
557
562
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
558
563
|
| **401** | Return an error if the user is not authenticated | - |
|
|
564
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
559
565
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
560
566
|
| **500** | Return an error if the server founds an error | - |
|
|
561
567
|
|
|
@@ -629,6 +635,7 @@ example().catch(console.error);
|
|
|
629
635
|
| Status code | Description | Response headers |
|
|
630
636
|
|-------------|-------------|------------------|
|
|
631
637
|
| **204** | All resources deleted successfully | - |
|
|
638
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
632
639
|
| **500** | Internal Server Error | - |
|
|
633
640
|
|
|
634
641
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -705,6 +712,7 @@ example().catch(console.error);
|
|
|
705
712
|
|-------------|-------------|------------------|
|
|
706
713
|
| **204** | Resource deleted successfully | - |
|
|
707
714
|
| **400** | Bad Request | - |
|
|
715
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
708
716
|
| **404** | Not Found | - |
|
|
709
717
|
| **500** | Internal Server Error | - |
|
|
710
718
|
|
|
@@ -780,6 +788,7 @@ example().catch(console.error);
|
|
|
780
788
|
| **204** | Resource group deleted | - |
|
|
781
789
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
782
790
|
| **401** | Return an error if the user is not authenticated | - |
|
|
791
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
783
792
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
784
793
|
| **500** | Return an error if the server founds an error | - |
|
|
785
794
|
|
|
@@ -855,6 +864,7 @@ example().catch(console.error);
|
|
|
855
864
|
| **200** | Return a resource group | - |
|
|
856
865
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
857
866
|
| **401** | Return an error if the user is not authenticated | - |
|
|
867
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
858
868
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
859
869
|
| **404** | Return an error if the resource group is not found | - |
|
|
860
870
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -933,6 +943,7 @@ example().catch(console.error);
|
|
|
933
943
|
|-------------|-------------|------------------|
|
|
934
944
|
| **200** | Return a list of resource groups | - |
|
|
935
945
|
| **401** | Return an error if the user is not authenticated | - |
|
|
946
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
936
947
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
937
948
|
| **500** | Return an error if the server founds an error | - |
|
|
938
949
|
|
|
@@ -1013,6 +1024,7 @@ example().catch(console.error);
|
|
|
1013
1024
|
|-------------|-------------|------------------|
|
|
1014
1025
|
| **200** | OK | - |
|
|
1015
1026
|
| **400** | Bad Request | - |
|
|
1027
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1016
1028
|
| **500** | Internal Server Error | - |
|
|
1017
1029
|
|
|
1018
1030
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -1089,6 +1101,7 @@ example().catch(console.error);
|
|
|
1089
1101
|
|-------------|-------------|------------------|
|
|
1090
1102
|
| **200** | OK | - |
|
|
1091
1103
|
| **400** | Bad Request | - |
|
|
1104
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1092
1105
|
| **404** | Not Found | - |
|
|
1093
1106
|
| **500** | Internal Server Error | - |
|
|
1094
1107
|
|
|
@@ -1167,6 +1180,7 @@ example().catch(console.error);
|
|
|
1167
1180
|
| **200** | OK | - |
|
|
1168
1181
|
| **400** | Bad Request | - |
|
|
1169
1182
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1183
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1170
1184
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1171
1185
|
| **500** | Internal Server Error | - |
|
|
1172
1186
|
|
|
@@ -1256,6 +1270,7 @@ example().catch(console.error);
|
|
|
1256
1270
|
|-------------|-------------|------------------|
|
|
1257
1271
|
| **200** | OK | - |
|
|
1258
1272
|
| **400** | Bad Request | - |
|
|
1273
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1259
1274
|
| **404** | Not Found | - |
|
|
1260
1275
|
| **500** | Internal Server Error | - |
|
|
1261
1276
|
|
|
@@ -1334,6 +1349,7 @@ example().catch(console.error);
|
|
|
1334
1349
|
| **200** | Updates a resource group and return an updated group if the ID exists | - |
|
|
1335
1350
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
1336
1351
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1352
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1337
1353
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1338
1354
|
| **404** | Return an error if the resource group is not found | - |
|
|
1339
1355
|
| **500** | Return an error if the server founds an error | - |
|