@gpt-core/admin 0.9.32 → 0.9.34
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/dist/index.d.mts +20357 -8158
- package/dist/index.d.ts +20357 -8158
- package/dist/index.js +64 -130
- package/dist/index.mjs +64 -130
- package/llms.txt +101 -101
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -905,7 +905,6 @@ var BaseClient = class {
|
|
|
905
905
|
|
|
906
906
|
// src/_internal/sdk.gen.ts
|
|
907
907
|
var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch({
|
|
908
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
909
908
|
security: [{ scheme: "bearer", type: "http" }],
|
|
910
909
|
url: "/admin/accounts/{id}/credit",
|
|
911
910
|
...options,
|
|
@@ -914,64 +913,29 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
|
|
|
914
913
|
...options.headers
|
|
915
914
|
}
|
|
916
915
|
});
|
|
917
|
-
var
|
|
918
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
919
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
920
|
-
url: "/admin/api_keys/{id}/rotate",
|
|
921
|
-
...options,
|
|
922
|
-
headers: {
|
|
923
|
-
"Content-Type": "application/vnd.api+json",
|
|
924
|
-
...options.headers
|
|
925
|
-
}
|
|
926
|
-
});
|
|
927
|
-
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
928
|
-
querySerializer: {
|
|
929
|
-
parameters: {
|
|
930
|
-
filter: { object: { style: "form" } },
|
|
931
|
-
page: { object: { style: "form" } },
|
|
932
|
-
fields: { object: { style: "form" } }
|
|
933
|
-
}
|
|
934
|
-
},
|
|
916
|
+
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
935
917
|
security: [{ scheme: "bearer", type: "http" }],
|
|
936
|
-
url: "/admin/
|
|
918
|
+
url: "/admin/webhook-deliveries/{id}",
|
|
937
919
|
...options
|
|
938
920
|
});
|
|
939
|
-
var
|
|
940
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
921
|
+
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
941
922
|
security: [{ scheme: "bearer", type: "http" }],
|
|
942
|
-
url: "/admin/
|
|
943
|
-
...options
|
|
944
|
-
headers: {
|
|
945
|
-
"Content-Type": "application/vnd.api+json",
|
|
946
|
-
...options.headers
|
|
947
|
-
}
|
|
923
|
+
url: "/admin/api-keys/{id}",
|
|
924
|
+
...options
|
|
948
925
|
});
|
|
949
926
|
var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
950
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
951
927
|
security: [{ scheme: "bearer", type: "http" }],
|
|
952
|
-
url: "/admin/
|
|
928
|
+
url: "/admin/webhook-configs/{id}",
|
|
953
929
|
...options
|
|
954
930
|
});
|
|
955
931
|
var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
|
|
956
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
957
932
|
security: [{ scheme: "bearer", type: "http" }],
|
|
958
|
-
url: "/admin/
|
|
933
|
+
url: "/admin/webhook-configs/{id}",
|
|
959
934
|
...options
|
|
960
935
|
});
|
|
961
936
|
var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
|
|
962
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
963
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
964
|
-
url: "/admin/webhook_configs/{id}",
|
|
965
|
-
...options,
|
|
966
|
-
headers: {
|
|
967
|
-
"Content-Type": "application/vnd.api+json",
|
|
968
|
-
...options.headers
|
|
969
|
-
}
|
|
970
|
-
});
|
|
971
|
-
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
972
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
973
937
|
security: [{ scheme: "bearer", type: "http" }],
|
|
974
|
-
url: "/admin/
|
|
938
|
+
url: "/admin/webhook-configs/{id}",
|
|
975
939
|
...options,
|
|
976
940
|
headers: {
|
|
977
941
|
"Content-Type": "application/vnd.api+json",
|
|
@@ -979,7 +943,6 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
|
|
|
979
943
|
}
|
|
980
944
|
});
|
|
981
945
|
var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
|
|
982
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
983
946
|
security: [{ scheme: "bearer", type: "http" }],
|
|
984
947
|
url: "/admin/accounts/{id}/debit",
|
|
985
948
|
...options,
|
|
@@ -988,110 +951,57 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
|
|
|
988
951
|
...options.headers
|
|
989
952
|
}
|
|
990
953
|
});
|
|
954
|
+
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
955
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
956
|
+
url: "/admin/api-keys",
|
|
957
|
+
...options
|
|
958
|
+
});
|
|
991
959
|
var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
|
|
992
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
993
960
|
security: [{ scheme: "bearer", type: "http" }],
|
|
994
961
|
url: "/admin/extraction/documents/{id}",
|
|
995
962
|
...options
|
|
996
963
|
});
|
|
997
964
|
var getAdminAccounts = (options) => (options.client ?? client).get({
|
|
998
|
-
querySerializer: {
|
|
999
|
-
parameters: {
|
|
1000
|
-
filter: { object: { style: "form" } },
|
|
1001
|
-
page: { object: { style: "form" } },
|
|
1002
|
-
fields: { object: { style: "form" } }
|
|
1003
|
-
}
|
|
1004
|
-
},
|
|
1005
965
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1006
966
|
url: "/admin/accounts",
|
|
1007
967
|
...options
|
|
1008
968
|
});
|
|
1009
969
|
var getAdminStorageStats = (options) => (options.client ?? client).get({
|
|
1010
|
-
querySerializer: {
|
|
1011
|
-
parameters: {
|
|
1012
|
-
filter: { object: { style: "form" } },
|
|
1013
|
-
fields: { object: { style: "form" } }
|
|
1014
|
-
}
|
|
1015
|
-
},
|
|
1016
970
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1017
971
|
url: "/admin/storage/stats",
|
|
1018
972
|
...options
|
|
1019
973
|
});
|
|
1020
974
|
var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
1021
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1022
975
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1023
976
|
url: "/admin/accounts/{id}",
|
|
1024
977
|
...options
|
|
1025
978
|
});
|
|
1026
|
-
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
1027
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1028
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1029
|
-
url: "/admin/api_keys/{id}/allocate",
|
|
1030
|
-
...options,
|
|
1031
|
-
headers: {
|
|
1032
|
-
"Content-Type": "application/vnd.api+json",
|
|
1033
|
-
...options.headers
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
979
|
var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
1037
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1038
980
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1039
981
|
url: "/admin/buckets/{id}/stats",
|
|
1040
982
|
...options
|
|
1041
983
|
});
|
|
1042
|
-
var
|
|
1043
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1044
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1045
|
-
url: "/admin/api_keys/{id}/revoke",
|
|
1046
|
-
...options,
|
|
1047
|
-
headers: {
|
|
1048
|
-
"Content-Type": "application/vnd.api+json",
|
|
1049
|
-
...options.headers
|
|
1050
|
-
}
|
|
1051
|
-
});
|
|
1052
|
-
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
1053
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
984
|
+
var getAdminDocumentsStats = (options) => (options.client ?? client).get({
|
|
1054
985
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1055
|
-
url: "/admin/
|
|
986
|
+
url: "/admin/documents/stats",
|
|
1056
987
|
...options
|
|
1057
988
|
});
|
|
1058
|
-
var
|
|
1059
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
989
|
+
var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1060
990
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1061
|
-
url: "/admin/
|
|
991
|
+
url: "/admin/webhook-deliveries",
|
|
1062
992
|
...options
|
|
1063
993
|
});
|
|
1064
994
|
var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
|
|
1065
|
-
querySerializer: {
|
|
1066
|
-
parameters: {
|
|
1067
|
-
filter: { object: { style: "form" } },
|
|
1068
|
-
fields: { object: { style: "form" } }
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
995
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1072
996
|
url: "/admin/extraction/documents",
|
|
1073
997
|
...options
|
|
1074
998
|
});
|
|
1075
999
|
var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1076
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1077
1000
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1078
1001
|
url: "/admin/buckets/{id}/objects",
|
|
1079
1002
|
...options
|
|
1080
1003
|
});
|
|
1081
|
-
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
1082
|
-
querySerializer: {
|
|
1083
|
-
parameters: {
|
|
1084
|
-
filter: { object: { style: "form" } },
|
|
1085
|
-
page: { object: { style: "form" } },
|
|
1086
|
-
fields: { object: { style: "form" } }
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1090
|
-
url: "/admin/api_keys",
|
|
1091
|
-
...options
|
|
1092
|
-
});
|
|
1093
1004
|
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1094
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1095
1005
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1096
1006
|
url: "/admin/documents/bulk-delete",
|
|
1097
1007
|
...options,
|
|
@@ -1100,50 +1010,74 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
|
|
|
1100
1010
|
...options.headers
|
|
1101
1011
|
}
|
|
1102
1012
|
});
|
|
1103
|
-
var
|
|
1104
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1013
|
+
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
1105
1014
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1106
|
-
url: "/admin/
|
|
1015
|
+
url: "/admin/webhook-configs",
|
|
1107
1016
|
...options
|
|
1108
1017
|
});
|
|
1018
|
+
var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
1019
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1020
|
+
url: "/admin/webhook-configs",
|
|
1021
|
+
...options,
|
|
1022
|
+
headers: {
|
|
1023
|
+
"Content-Type": "application/vnd.api+json",
|
|
1024
|
+
...options.headers
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
1028
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1029
|
+
url: "/admin/api-keys/{id}/allocate",
|
|
1030
|
+
...options,
|
|
1031
|
+
headers: {
|
|
1032
|
+
"Content-Type": "application/vnd.api+json",
|
|
1033
|
+
...options.headers
|
|
1034
|
+
}
|
|
1035
|
+
});
|
|
1036
|
+
var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
|
|
1037
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1038
|
+
url: "/admin/api-keys/{id}/revoke",
|
|
1039
|
+
...options,
|
|
1040
|
+
headers: {
|
|
1041
|
+
"Content-Type": "application/vnd.api+json",
|
|
1042
|
+
...options.headers
|
|
1043
|
+
}
|
|
1044
|
+
});
|
|
1109
1045
|
var getAdminBuckets = (options) => (options.client ?? client).get({
|
|
1110
|
-
querySerializer: {
|
|
1111
|
-
parameters: {
|
|
1112
|
-
filter: { object: { style: "form" } },
|
|
1113
|
-
fields: { object: { style: "form" } }
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
1046
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1117
1047
|
url: "/admin/buckets",
|
|
1118
1048
|
...options
|
|
1119
1049
|
});
|
|
1050
|
+
var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
|
|
1051
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1052
|
+
url: "/admin/api-keys/{id}/rotate",
|
|
1053
|
+
...options,
|
|
1054
|
+
headers: {
|
|
1055
|
+
"Content-Type": "application/vnd.api+json",
|
|
1056
|
+
...options.headers
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1120
1059
|
var getAdminBucketsById = (options) => (options.client ?? client).get({
|
|
1121
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1122
1060
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1123
1061
|
url: "/admin/buckets/{id}",
|
|
1124
1062
|
...options
|
|
1125
1063
|
});
|
|
1126
|
-
var
|
|
1127
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1064
|
+
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
1128
1065
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1129
|
-
url: "/admin/
|
|
1066
|
+
url: "/admin/webhook-configs/{id}/test",
|
|
1130
1067
|
...options,
|
|
1131
1068
|
headers: {
|
|
1132
1069
|
"Content-Type": "application/vnd.api+json",
|
|
1133
1070
|
...options.headers
|
|
1134
1071
|
}
|
|
1135
1072
|
});
|
|
1136
|
-
var
|
|
1137
|
-
querySerializer: {
|
|
1138
|
-
parameters: {
|
|
1139
|
-
filter: { object: { style: "form" } },
|
|
1140
|
-
page: { object: { style: "form" } },
|
|
1141
|
-
fields: { object: { style: "form" } }
|
|
1142
|
-
}
|
|
1143
|
-
},
|
|
1073
|
+
var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
|
|
1144
1074
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1145
|
-
url: "/admin/
|
|
1146
|
-
...options
|
|
1075
|
+
url: "/admin/webhook-deliveries/{id}/retry",
|
|
1076
|
+
...options,
|
|
1077
|
+
headers: {
|
|
1078
|
+
"Content-Type": "application/vnd.api+json",
|
|
1079
|
+
...options.headers
|
|
1080
|
+
}
|
|
1147
1081
|
});
|
|
1148
1082
|
|
|
1149
1083
|
// src/schemas/requests.ts
|
package/dist/index.mjs
CHANGED
|
@@ -857,7 +857,6 @@ var BaseClient = class {
|
|
|
857
857
|
|
|
858
858
|
// src/_internal/sdk.gen.ts
|
|
859
859
|
var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch({
|
|
860
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
861
860
|
security: [{ scheme: "bearer", type: "http" }],
|
|
862
861
|
url: "/admin/accounts/{id}/credit",
|
|
863
862
|
...options,
|
|
@@ -866,64 +865,29 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
|
|
|
866
865
|
...options.headers
|
|
867
866
|
}
|
|
868
867
|
});
|
|
869
|
-
var
|
|
870
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
871
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
872
|
-
url: "/admin/api_keys/{id}/rotate",
|
|
873
|
-
...options,
|
|
874
|
-
headers: {
|
|
875
|
-
"Content-Type": "application/vnd.api+json",
|
|
876
|
-
...options.headers
|
|
877
|
-
}
|
|
878
|
-
});
|
|
879
|
-
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
880
|
-
querySerializer: {
|
|
881
|
-
parameters: {
|
|
882
|
-
filter: { object: { style: "form" } },
|
|
883
|
-
page: { object: { style: "form" } },
|
|
884
|
-
fields: { object: { style: "form" } }
|
|
885
|
-
}
|
|
886
|
-
},
|
|
868
|
+
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
887
869
|
security: [{ scheme: "bearer", type: "http" }],
|
|
888
|
-
url: "/admin/
|
|
870
|
+
url: "/admin/webhook-deliveries/{id}",
|
|
889
871
|
...options
|
|
890
872
|
});
|
|
891
|
-
var
|
|
892
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
873
|
+
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
893
874
|
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/admin/
|
|
895
|
-
...options
|
|
896
|
-
headers: {
|
|
897
|
-
"Content-Type": "application/vnd.api+json",
|
|
898
|
-
...options.headers
|
|
899
|
-
}
|
|
875
|
+
url: "/admin/api-keys/{id}",
|
|
876
|
+
...options
|
|
900
877
|
});
|
|
901
878
|
var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
902
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
903
879
|
security: [{ scheme: "bearer", type: "http" }],
|
|
904
|
-
url: "/admin/
|
|
880
|
+
url: "/admin/webhook-configs/{id}",
|
|
905
881
|
...options
|
|
906
882
|
});
|
|
907
883
|
var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
|
|
908
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
909
884
|
security: [{ scheme: "bearer", type: "http" }],
|
|
910
|
-
url: "/admin/
|
|
885
|
+
url: "/admin/webhook-configs/{id}",
|
|
911
886
|
...options
|
|
912
887
|
});
|
|
913
888
|
var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
|
|
914
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
915
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
916
|
-
url: "/admin/webhook_configs/{id}",
|
|
917
|
-
...options,
|
|
918
|
-
headers: {
|
|
919
|
-
"Content-Type": "application/vnd.api+json",
|
|
920
|
-
...options.headers
|
|
921
|
-
}
|
|
922
|
-
});
|
|
923
|
-
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
924
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
925
889
|
security: [{ scheme: "bearer", type: "http" }],
|
|
926
|
-
url: "/admin/
|
|
890
|
+
url: "/admin/webhook-configs/{id}",
|
|
927
891
|
...options,
|
|
928
892
|
headers: {
|
|
929
893
|
"Content-Type": "application/vnd.api+json",
|
|
@@ -931,7 +895,6 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
|
|
|
931
895
|
}
|
|
932
896
|
});
|
|
933
897
|
var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
|
|
934
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
935
898
|
security: [{ scheme: "bearer", type: "http" }],
|
|
936
899
|
url: "/admin/accounts/{id}/debit",
|
|
937
900
|
...options,
|
|
@@ -940,110 +903,57 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
|
|
|
940
903
|
...options.headers
|
|
941
904
|
}
|
|
942
905
|
});
|
|
906
|
+
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
907
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
+
url: "/admin/api-keys",
|
|
909
|
+
...options
|
|
910
|
+
});
|
|
943
911
|
var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
|
|
944
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
945
912
|
security: [{ scheme: "bearer", type: "http" }],
|
|
946
913
|
url: "/admin/extraction/documents/{id}",
|
|
947
914
|
...options
|
|
948
915
|
});
|
|
949
916
|
var getAdminAccounts = (options) => (options.client ?? client).get({
|
|
950
|
-
querySerializer: {
|
|
951
|
-
parameters: {
|
|
952
|
-
filter: { object: { style: "form" } },
|
|
953
|
-
page: { object: { style: "form" } },
|
|
954
|
-
fields: { object: { style: "form" } }
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
917
|
security: [{ scheme: "bearer", type: "http" }],
|
|
958
918
|
url: "/admin/accounts",
|
|
959
919
|
...options
|
|
960
920
|
});
|
|
961
921
|
var getAdminStorageStats = (options) => (options.client ?? client).get({
|
|
962
|
-
querySerializer: {
|
|
963
|
-
parameters: {
|
|
964
|
-
filter: { object: { style: "form" } },
|
|
965
|
-
fields: { object: { style: "form" } }
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
922
|
security: [{ scheme: "bearer", type: "http" }],
|
|
969
923
|
url: "/admin/storage/stats",
|
|
970
924
|
...options
|
|
971
925
|
});
|
|
972
926
|
var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
973
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
974
927
|
security: [{ scheme: "bearer", type: "http" }],
|
|
975
928
|
url: "/admin/accounts/{id}",
|
|
976
929
|
...options
|
|
977
930
|
});
|
|
978
|
-
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
979
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
980
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
981
|
-
url: "/admin/api_keys/{id}/allocate",
|
|
982
|
-
...options,
|
|
983
|
-
headers: {
|
|
984
|
-
"Content-Type": "application/vnd.api+json",
|
|
985
|
-
...options.headers
|
|
986
|
-
}
|
|
987
|
-
});
|
|
988
931
|
var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
989
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
990
932
|
security: [{ scheme: "bearer", type: "http" }],
|
|
991
933
|
url: "/admin/buckets/{id}/stats",
|
|
992
934
|
...options
|
|
993
935
|
});
|
|
994
|
-
var
|
|
995
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
996
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
997
|
-
url: "/admin/api_keys/{id}/revoke",
|
|
998
|
-
...options,
|
|
999
|
-
headers: {
|
|
1000
|
-
"Content-Type": "application/vnd.api+json",
|
|
1001
|
-
...options.headers
|
|
1002
|
-
}
|
|
1003
|
-
});
|
|
1004
|
-
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
1005
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
936
|
+
var getAdminDocumentsStats = (options) => (options.client ?? client).get({
|
|
1006
937
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
|
-
url: "/admin/
|
|
938
|
+
url: "/admin/documents/stats",
|
|
1008
939
|
...options
|
|
1009
940
|
});
|
|
1010
|
-
var
|
|
1011
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
941
|
+
var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1012
942
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1013
|
-
url: "/admin/
|
|
943
|
+
url: "/admin/webhook-deliveries",
|
|
1014
944
|
...options
|
|
1015
945
|
});
|
|
1016
946
|
var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
|
|
1017
|
-
querySerializer: {
|
|
1018
|
-
parameters: {
|
|
1019
|
-
filter: { object: { style: "form" } },
|
|
1020
|
-
fields: { object: { style: "form" } }
|
|
1021
|
-
}
|
|
1022
|
-
},
|
|
1023
947
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1024
948
|
url: "/admin/extraction/documents",
|
|
1025
949
|
...options
|
|
1026
950
|
});
|
|
1027
951
|
var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1028
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1029
952
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1030
953
|
url: "/admin/buckets/{id}/objects",
|
|
1031
954
|
...options
|
|
1032
955
|
});
|
|
1033
|
-
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
1034
|
-
querySerializer: {
|
|
1035
|
-
parameters: {
|
|
1036
|
-
filter: { object: { style: "form" } },
|
|
1037
|
-
page: { object: { style: "form" } },
|
|
1038
|
-
fields: { object: { style: "form" } }
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1042
|
-
url: "/admin/api_keys",
|
|
1043
|
-
...options
|
|
1044
|
-
});
|
|
1045
956
|
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1046
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1047
957
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1048
958
|
url: "/admin/documents/bulk-delete",
|
|
1049
959
|
...options,
|
|
@@ -1052,50 +962,74 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
|
|
|
1052
962
|
...options.headers
|
|
1053
963
|
}
|
|
1054
964
|
});
|
|
1055
|
-
var
|
|
1056
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
965
|
+
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
1057
966
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1058
|
-
url: "/admin/
|
|
967
|
+
url: "/admin/webhook-configs",
|
|
1059
968
|
...options
|
|
1060
969
|
});
|
|
970
|
+
var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
971
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
972
|
+
url: "/admin/webhook-configs",
|
|
973
|
+
...options,
|
|
974
|
+
headers: {
|
|
975
|
+
"Content-Type": "application/vnd.api+json",
|
|
976
|
+
...options.headers
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
980
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
981
|
+
url: "/admin/api-keys/{id}/allocate",
|
|
982
|
+
...options,
|
|
983
|
+
headers: {
|
|
984
|
+
"Content-Type": "application/vnd.api+json",
|
|
985
|
+
...options.headers
|
|
986
|
+
}
|
|
987
|
+
});
|
|
988
|
+
var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
|
|
989
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
990
|
+
url: "/admin/api-keys/{id}/revoke",
|
|
991
|
+
...options,
|
|
992
|
+
headers: {
|
|
993
|
+
"Content-Type": "application/vnd.api+json",
|
|
994
|
+
...options.headers
|
|
995
|
+
}
|
|
996
|
+
});
|
|
1061
997
|
var getAdminBuckets = (options) => (options.client ?? client).get({
|
|
1062
|
-
querySerializer: {
|
|
1063
|
-
parameters: {
|
|
1064
|
-
filter: { object: { style: "form" } },
|
|
1065
|
-
fields: { object: { style: "form" } }
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
998
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1069
999
|
url: "/admin/buckets",
|
|
1070
1000
|
...options
|
|
1071
1001
|
});
|
|
1002
|
+
var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
|
|
1003
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1004
|
+
url: "/admin/api-keys/{id}/rotate",
|
|
1005
|
+
...options,
|
|
1006
|
+
headers: {
|
|
1007
|
+
"Content-Type": "application/vnd.api+json",
|
|
1008
|
+
...options.headers
|
|
1009
|
+
}
|
|
1010
|
+
});
|
|
1072
1011
|
var getAdminBucketsById = (options) => (options.client ?? client).get({
|
|
1073
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1074
1012
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1075
1013
|
url: "/admin/buckets/{id}",
|
|
1076
1014
|
...options
|
|
1077
1015
|
});
|
|
1078
|
-
var
|
|
1079
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1016
|
+
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
1080
1017
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1081
|
-
url: "/admin/
|
|
1018
|
+
url: "/admin/webhook-configs/{id}/test",
|
|
1082
1019
|
...options,
|
|
1083
1020
|
headers: {
|
|
1084
1021
|
"Content-Type": "application/vnd.api+json",
|
|
1085
1022
|
...options.headers
|
|
1086
1023
|
}
|
|
1087
1024
|
});
|
|
1088
|
-
var
|
|
1089
|
-
querySerializer: {
|
|
1090
|
-
parameters: {
|
|
1091
|
-
filter: { object: { style: "form" } },
|
|
1092
|
-
page: { object: { style: "form" } },
|
|
1093
|
-
fields: { object: { style: "form" } }
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1025
|
+
var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
|
|
1096
1026
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1097
|
-
url: "/admin/
|
|
1098
|
-
...options
|
|
1027
|
+
url: "/admin/webhook-deliveries/{id}/retry",
|
|
1028
|
+
...options,
|
|
1029
|
+
headers: {
|
|
1030
|
+
"Content-Type": "application/vnd.api+json",
|
|
1031
|
+
...options.headers
|
|
1032
|
+
}
|
|
1099
1033
|
});
|
|
1100
1034
|
|
|
1101
1035
|
// src/schemas/requests.ts
|