@gpt-core/admin 0.6.96 → 0.6.98
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 +7624 -1063
- package/dist/index.d.ts +7624 -1063
- package/dist/index.js +4 -67
- package/dist/index.mjs +4 -67
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
WebhookBulkEnableSchema: () => WebhookBulkEnableSchema,
|
|
42
42
|
WebhookConfigCreateSchema: () => WebhookConfigCreateSchema,
|
|
43
43
|
WebhookDeliveryBulkRetrySchema: () => WebhookDeliveryBulkRetrySchema,
|
|
44
|
+
default: () => index_default,
|
|
44
45
|
handleApiError: () => handleApiError
|
|
45
46
|
});
|
|
46
47
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -913,7 +914,6 @@ var BaseClient = class {
|
|
|
913
914
|
|
|
914
915
|
// src/_internal/sdk.gen.ts
|
|
915
916
|
var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch({
|
|
916
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
917
917
|
security: [{ scheme: "bearer", type: "http" }],
|
|
918
918
|
url: "/admin/accounts/{id}/credit",
|
|
919
919
|
...options,
|
|
@@ -923,7 +923,6 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
|
|
|
923
923
|
}
|
|
924
924
|
});
|
|
925
925
|
var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
|
|
926
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
927
926
|
security: [{ scheme: "bearer", type: "http" }],
|
|
928
927
|
url: "/admin/api_keys/{id}/rotate",
|
|
929
928
|
...options,
|
|
@@ -933,19 +932,11 @@ var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch(
|
|
|
933
932
|
}
|
|
934
933
|
});
|
|
935
934
|
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
936
|
-
querySerializer: {
|
|
937
|
-
parameters: {
|
|
938
|
-
filter: { object: { style: "form" } },
|
|
939
|
-
page: { object: { style: "form" } },
|
|
940
|
-
fields: { object: { style: "form" } }
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
935
|
security: [{ scheme: "bearer", type: "http" }],
|
|
944
936
|
url: "/admin/webhook_configs",
|
|
945
937
|
...options
|
|
946
938
|
});
|
|
947
939
|
var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
948
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
949
940
|
security: [{ scheme: "bearer", type: "http" }],
|
|
950
941
|
url: "/admin/webhook_configs",
|
|
951
942
|
...options,
|
|
@@ -955,19 +946,16 @@ var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
|
955
946
|
}
|
|
956
947
|
});
|
|
957
948
|
var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
958
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
959
949
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
950
|
url: "/admin/webhook_configs/{id}",
|
|
961
951
|
...options
|
|
962
952
|
});
|
|
963
953
|
var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
|
|
964
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
965
954
|
security: [{ scheme: "bearer", type: "http" }],
|
|
966
955
|
url: "/admin/webhook_configs/{id}",
|
|
967
956
|
...options
|
|
968
957
|
});
|
|
969
958
|
var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
|
|
970
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
971
959
|
security: [{ scheme: "bearer", type: "http" }],
|
|
972
960
|
url: "/admin/webhook_configs/{id}",
|
|
973
961
|
...options,
|
|
@@ -977,7 +965,6 @@ var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch
|
|
|
977
965
|
}
|
|
978
966
|
});
|
|
979
967
|
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
980
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
981
968
|
security: [{ scheme: "bearer", type: "http" }],
|
|
982
969
|
url: "/admin/webhook_configs/{id}/test",
|
|
983
970
|
...options,
|
|
@@ -987,7 +974,6 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
|
|
|
987
974
|
}
|
|
988
975
|
});
|
|
989
976
|
var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
|
|
990
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
991
977
|
security: [{ scheme: "bearer", type: "http" }],
|
|
992
978
|
url: "/admin/accounts/{id}/debit",
|
|
993
979
|
...options,
|
|
@@ -997,42 +983,26 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
|
|
|
997
983
|
}
|
|
998
984
|
});
|
|
999
985
|
var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
|
|
1000
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1001
986
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
987
|
url: "/admin/extraction/documents/{id}",
|
|
1003
988
|
...options
|
|
1004
989
|
});
|
|
1005
990
|
var getAdminAccounts = (options) => (options.client ?? client).get({
|
|
1006
|
-
querySerializer: {
|
|
1007
|
-
parameters: {
|
|
1008
|
-
filter: { object: { style: "form" } },
|
|
1009
|
-
page: { object: { style: "form" } },
|
|
1010
|
-
fields: { object: { style: "form" } }
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
991
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1014
992
|
url: "/admin/accounts",
|
|
1015
993
|
...options
|
|
1016
994
|
});
|
|
1017
995
|
var getAdminStorageStats = (options) => (options.client ?? client).get({
|
|
1018
|
-
querySerializer: {
|
|
1019
|
-
parameters: {
|
|
1020
|
-
filter: { object: { style: "form" } },
|
|
1021
|
-
fields: { object: { style: "form" } }
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
996
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1025
997
|
url: "/admin/storage/stats",
|
|
1026
998
|
...options
|
|
1027
999
|
});
|
|
1028
1000
|
var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
1029
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1030
1001
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1031
1002
|
url: "/admin/accounts/{id}",
|
|
1032
1003
|
...options
|
|
1033
1004
|
});
|
|
1034
1005
|
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1035
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1036
1006
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1037
1007
|
url: "/admin/documents/bulk_delete",
|
|
1038
1008
|
...options,
|
|
@@ -1042,7 +1012,6 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
|
|
|
1042
1012
|
}
|
|
1043
1013
|
});
|
|
1044
1014
|
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
1045
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1046
1015
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1047
1016
|
url: "/admin/api_keys/{id}/allocate",
|
|
1048
1017
|
...options,
|
|
@@ -1052,13 +1021,11 @@ var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patc
|
|
|
1052
1021
|
}
|
|
1053
1022
|
});
|
|
1054
1023
|
var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
1055
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1056
1024
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1057
1025
|
url: "/admin/buckets/{id}/stats",
|
|
1058
1026
|
...options
|
|
1059
1027
|
});
|
|
1060
1028
|
var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
|
|
1061
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1062
1029
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1063
1030
|
url: "/admin/api_keys/{id}/revoke",
|
|
1064
1031
|
...options,
|
|
@@ -1068,72 +1035,46 @@ var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch(
|
|
|
1068
1035
|
}
|
|
1069
1036
|
});
|
|
1070
1037
|
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
1071
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1072
1038
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1073
1039
|
url: "/admin/webhook_deliveries/{id}",
|
|
1074
1040
|
...options
|
|
1075
1041
|
});
|
|
1076
1042
|
var getAdminDocumentsStats = (options) => (options.client ?? client).get({
|
|
1077
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1078
1043
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1079
1044
|
url: "/admin/documents/stats",
|
|
1080
1045
|
...options
|
|
1081
1046
|
});
|
|
1082
1047
|
var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
|
|
1083
|
-
querySerializer: {
|
|
1084
|
-
parameters: {
|
|
1085
|
-
filter: { object: { style: "form" } },
|
|
1086
|
-
fields: { object: { style: "form" } }
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
1048
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1090
1049
|
url: "/admin/extraction/documents",
|
|
1091
1050
|
...options
|
|
1092
1051
|
});
|
|
1093
1052
|
var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1094
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1095
1053
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1096
1054
|
url: "/admin/buckets/{id}/objects",
|
|
1097
1055
|
...options
|
|
1098
1056
|
});
|
|
1099
1057
|
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
1100
|
-
querySerializer: {
|
|
1101
|
-
parameters: {
|
|
1102
|
-
filter: { object: { style: "form" } },
|
|
1103
|
-
page: { object: { style: "form" } },
|
|
1104
|
-
fields: { object: { style: "form" } }
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
1058
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1108
1059
|
url: "/admin/api_keys",
|
|
1109
1060
|
...options
|
|
1110
1061
|
});
|
|
1111
1062
|
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
1112
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1113
1063
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1114
1064
|
url: "/admin/api_keys/{id}",
|
|
1115
1065
|
...options
|
|
1116
1066
|
});
|
|
1117
1067
|
var getAdminBuckets = (options) => (options.client ?? client).get({
|
|
1118
|
-
querySerializer: {
|
|
1119
|
-
parameters: {
|
|
1120
|
-
filter: { object: { style: "form" } },
|
|
1121
|
-
page: { object: { style: "form" } },
|
|
1122
|
-
fields: { object: { style: "form" } }
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
1068
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1126
1069
|
url: "/admin/buckets",
|
|
1127
1070
|
...options
|
|
1128
1071
|
});
|
|
1129
1072
|
var getAdminBucketsById = (options) => (options.client ?? client).get({
|
|
1130
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1131
1073
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1132
1074
|
url: "/admin/buckets/{id}",
|
|
1133
1075
|
...options
|
|
1134
1076
|
});
|
|
1135
1077
|
var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
|
|
1136
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1137
1078
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1138
1079
|
url: "/admin/webhook_deliveries/{id}/retry",
|
|
1139
1080
|
...options,
|
|
@@ -1143,13 +1084,6 @@ var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client
|
|
|
1143
1084
|
}
|
|
1144
1085
|
});
|
|
1145
1086
|
var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1146
|
-
querySerializer: {
|
|
1147
|
-
parameters: {
|
|
1148
|
-
filter: { object: { style: "form" } },
|
|
1149
|
-
page: { object: { style: "form" } },
|
|
1150
|
-
fields: { object: { style: "form" } }
|
|
1151
|
-
}
|
|
1152
|
-
},
|
|
1153
1087
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1154
1088
|
url: "/admin/webhook_deliveries",
|
|
1155
1089
|
...options
|
|
@@ -1579,6 +1513,9 @@ function handleApiError(error) {
|
|
|
1579
1513
|
throw new NetworkError(message, errorOptions);
|
|
1580
1514
|
}
|
|
1581
1515
|
}
|
|
1516
|
+
|
|
1517
|
+
// src/index.ts
|
|
1518
|
+
var index_default = GptAdmin;
|
|
1582
1519
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1583
1520
|
0 && (module.exports = {
|
|
1584
1521
|
AccountCreditSchema,
|
package/dist/index.mjs
CHANGED
|
@@ -866,7 +866,6 @@ var BaseClient = class {
|
|
|
866
866
|
|
|
867
867
|
// src/_internal/sdk.gen.ts
|
|
868
868
|
var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch({
|
|
869
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
870
869
|
security: [{ scheme: "bearer", type: "http" }],
|
|
871
870
|
url: "/admin/accounts/{id}/credit",
|
|
872
871
|
...options,
|
|
@@ -876,7 +875,6 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
|
|
|
876
875
|
}
|
|
877
876
|
});
|
|
878
877
|
var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
|
|
879
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
880
878
|
security: [{ scheme: "bearer", type: "http" }],
|
|
881
879
|
url: "/admin/api_keys/{id}/rotate",
|
|
882
880
|
...options,
|
|
@@ -886,19 +884,11 @@ var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch(
|
|
|
886
884
|
}
|
|
887
885
|
});
|
|
888
886
|
var getAdminWebhookConfigs = (options) => (options.client ?? client).get({
|
|
889
|
-
querySerializer: {
|
|
890
|
-
parameters: {
|
|
891
|
-
filter: { object: { style: "form" } },
|
|
892
|
-
page: { object: { style: "form" } },
|
|
893
|
-
fields: { object: { style: "form" } }
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
887
|
security: [{ scheme: "bearer", type: "http" }],
|
|
897
888
|
url: "/admin/webhook_configs",
|
|
898
889
|
...options
|
|
899
890
|
});
|
|
900
891
|
var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
901
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
902
892
|
security: [{ scheme: "bearer", type: "http" }],
|
|
903
893
|
url: "/admin/webhook_configs",
|
|
904
894
|
...options,
|
|
@@ -908,19 +898,16 @@ var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
|
|
|
908
898
|
}
|
|
909
899
|
});
|
|
910
900
|
var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
911
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
912
901
|
security: [{ scheme: "bearer", type: "http" }],
|
|
913
902
|
url: "/admin/webhook_configs/{id}",
|
|
914
903
|
...options
|
|
915
904
|
});
|
|
916
905
|
var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
|
|
917
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
918
906
|
security: [{ scheme: "bearer", type: "http" }],
|
|
919
907
|
url: "/admin/webhook_configs/{id}",
|
|
920
908
|
...options
|
|
921
909
|
});
|
|
922
910
|
var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
|
|
923
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
924
911
|
security: [{ scheme: "bearer", type: "http" }],
|
|
925
912
|
url: "/admin/webhook_configs/{id}",
|
|
926
913
|
...options,
|
|
@@ -930,7 +917,6 @@ var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch
|
|
|
930
917
|
}
|
|
931
918
|
});
|
|
932
919
|
var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
|
|
933
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
934
920
|
security: [{ scheme: "bearer", type: "http" }],
|
|
935
921
|
url: "/admin/webhook_configs/{id}/test",
|
|
936
922
|
...options,
|
|
@@ -940,7 +926,6 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
|
|
|
940
926
|
}
|
|
941
927
|
});
|
|
942
928
|
var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
|
|
943
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
944
929
|
security: [{ scheme: "bearer", type: "http" }],
|
|
945
930
|
url: "/admin/accounts/{id}/debit",
|
|
946
931
|
...options,
|
|
@@ -950,42 +935,26 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
|
|
|
950
935
|
}
|
|
951
936
|
});
|
|
952
937
|
var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
|
|
953
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
954
938
|
security: [{ scheme: "bearer", type: "http" }],
|
|
955
939
|
url: "/admin/extraction/documents/{id}",
|
|
956
940
|
...options
|
|
957
941
|
});
|
|
958
942
|
var getAdminAccounts = (options) => (options.client ?? client).get({
|
|
959
|
-
querySerializer: {
|
|
960
|
-
parameters: {
|
|
961
|
-
filter: { object: { style: "form" } },
|
|
962
|
-
page: { object: { style: "form" } },
|
|
963
|
-
fields: { object: { style: "form" } }
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
943
|
security: [{ scheme: "bearer", type: "http" }],
|
|
967
944
|
url: "/admin/accounts",
|
|
968
945
|
...options
|
|
969
946
|
});
|
|
970
947
|
var getAdminStorageStats = (options) => (options.client ?? client).get({
|
|
971
|
-
querySerializer: {
|
|
972
|
-
parameters: {
|
|
973
|
-
filter: { object: { style: "form" } },
|
|
974
|
-
fields: { object: { style: "form" } }
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
948
|
security: [{ scheme: "bearer", type: "http" }],
|
|
978
949
|
url: "/admin/storage/stats",
|
|
979
950
|
...options
|
|
980
951
|
});
|
|
981
952
|
var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
982
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
983
953
|
security: [{ scheme: "bearer", type: "http" }],
|
|
984
954
|
url: "/admin/accounts/{id}",
|
|
985
955
|
...options
|
|
986
956
|
});
|
|
987
957
|
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
988
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
989
958
|
security: [{ scheme: "bearer", type: "http" }],
|
|
990
959
|
url: "/admin/documents/bulk_delete",
|
|
991
960
|
...options,
|
|
@@ -995,7 +964,6 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
|
|
|
995
964
|
}
|
|
996
965
|
});
|
|
997
966
|
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
998
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
999
967
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1000
968
|
url: "/admin/api_keys/{id}/allocate",
|
|
1001
969
|
...options,
|
|
@@ -1005,13 +973,11 @@ var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patc
|
|
|
1005
973
|
}
|
|
1006
974
|
});
|
|
1007
975
|
var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
1008
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1009
976
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1010
977
|
url: "/admin/buckets/{id}/stats",
|
|
1011
978
|
...options
|
|
1012
979
|
});
|
|
1013
980
|
var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
|
|
1014
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1015
981
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1016
982
|
url: "/admin/api_keys/{id}/revoke",
|
|
1017
983
|
...options,
|
|
@@ -1021,72 +987,46 @@ var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch(
|
|
|
1021
987
|
}
|
|
1022
988
|
});
|
|
1023
989
|
var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
|
|
1024
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1025
990
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1026
991
|
url: "/admin/webhook_deliveries/{id}",
|
|
1027
992
|
...options
|
|
1028
993
|
});
|
|
1029
994
|
var getAdminDocumentsStats = (options) => (options.client ?? client).get({
|
|
1030
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1031
995
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1032
996
|
url: "/admin/documents/stats",
|
|
1033
997
|
...options
|
|
1034
998
|
});
|
|
1035
999
|
var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
|
|
1036
|
-
querySerializer: {
|
|
1037
|
-
parameters: {
|
|
1038
|
-
filter: { object: { style: "form" } },
|
|
1039
|
-
fields: { object: { style: "form" } }
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
1000
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1043
1001
|
url: "/admin/extraction/documents",
|
|
1044
1002
|
...options
|
|
1045
1003
|
});
|
|
1046
1004
|
var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1047
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1048
1005
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1049
1006
|
url: "/admin/buckets/{id}/objects",
|
|
1050
1007
|
...options
|
|
1051
1008
|
});
|
|
1052
1009
|
var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
1053
|
-
querySerializer: {
|
|
1054
|
-
parameters: {
|
|
1055
|
-
filter: { object: { style: "form" } },
|
|
1056
|
-
page: { object: { style: "form" } },
|
|
1057
|
-
fields: { object: { style: "form" } }
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
1010
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1061
1011
|
url: "/admin/api_keys",
|
|
1062
1012
|
...options
|
|
1063
1013
|
});
|
|
1064
1014
|
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
1065
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1066
1015
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1067
1016
|
url: "/admin/api_keys/{id}",
|
|
1068
1017
|
...options
|
|
1069
1018
|
});
|
|
1070
1019
|
var getAdminBuckets = (options) => (options.client ?? client).get({
|
|
1071
|
-
querySerializer: {
|
|
1072
|
-
parameters: {
|
|
1073
|
-
filter: { object: { style: "form" } },
|
|
1074
|
-
page: { object: { style: "form" } },
|
|
1075
|
-
fields: { object: { style: "form" } }
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
1020
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1079
1021
|
url: "/admin/buckets",
|
|
1080
1022
|
...options
|
|
1081
1023
|
});
|
|
1082
1024
|
var getAdminBucketsById = (options) => (options.client ?? client).get({
|
|
1083
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1084
1025
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1085
1026
|
url: "/admin/buckets/{id}",
|
|
1086
1027
|
...options
|
|
1087
1028
|
});
|
|
1088
1029
|
var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
|
|
1089
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1090
1030
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1091
1031
|
url: "/admin/webhook_deliveries/{id}/retry",
|
|
1092
1032
|
...options,
|
|
@@ -1096,13 +1036,6 @@ var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client
|
|
|
1096
1036
|
}
|
|
1097
1037
|
});
|
|
1098
1038
|
var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1099
|
-
querySerializer: {
|
|
1100
|
-
parameters: {
|
|
1101
|
-
filter: { object: { style: "form" } },
|
|
1102
|
-
page: { object: { style: "form" } },
|
|
1103
|
-
fields: { object: { style: "form" } }
|
|
1104
|
-
}
|
|
1105
|
-
},
|
|
1106
1039
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1107
1040
|
url: "/admin/webhook_deliveries",
|
|
1108
1041
|
...options
|
|
@@ -1532,6 +1465,9 @@ function handleApiError(error) {
|
|
|
1532
1465
|
throw new NetworkError(message, errorOptions);
|
|
1533
1466
|
}
|
|
1534
1467
|
}
|
|
1468
|
+
|
|
1469
|
+
// src/index.ts
|
|
1470
|
+
var index_default = GptAdmin;
|
|
1535
1471
|
export {
|
|
1536
1472
|
AccountCreditSchema,
|
|
1537
1473
|
AccountDebitSchema,
|
|
@@ -1554,5 +1490,6 @@ export {
|
|
|
1554
1490
|
WebhookBulkEnableSchema,
|
|
1555
1491
|
WebhookConfigCreateSchema,
|
|
1556
1492
|
WebhookDeliveryBulkRetrySchema,
|
|
1493
|
+
index_default as default,
|
|
1557
1494
|
handleApiError
|
|
1558
1495
|
};
|