@gpt-core/admin 0.8.24 → 0.8.25

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.js CHANGED
@@ -905,6 +905,7 @@ 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" } } } },
908
909
  security: [{ scheme: "bearer", type: "http" }],
909
910
  url: "/admin/accounts/{id}/credit",
910
911
  ...options,
@@ -914,6 +915,7 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
914
915
  }
915
916
  });
916
917
  var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
918
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
917
919
  security: [{ scheme: "bearer", type: "http" }],
918
920
  url: "/admin/api_keys/{id}/rotate",
919
921
  ...options,
@@ -923,11 +925,19 @@ var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch(
923
925
  }
924
926
  });
925
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
+ },
926
935
  security: [{ scheme: "bearer", type: "http" }],
927
936
  url: "/admin/webhook_configs",
928
937
  ...options
929
938
  });
930
939
  var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
940
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
931
941
  security: [{ scheme: "bearer", type: "http" }],
932
942
  url: "/admin/webhook_configs",
933
943
  ...options,
@@ -937,16 +947,19 @@ var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
937
947
  }
938
948
  });
939
949
  var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
950
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
940
951
  security: [{ scheme: "bearer", type: "http" }],
941
952
  url: "/admin/webhook_configs/{id}",
942
953
  ...options
943
954
  });
944
955
  var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
956
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
945
957
  security: [{ scheme: "bearer", type: "http" }],
946
958
  url: "/admin/webhook_configs/{id}",
947
959
  ...options
948
960
  });
949
961
  var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
962
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
950
963
  security: [{ scheme: "bearer", type: "http" }],
951
964
  url: "/admin/webhook_configs/{id}",
952
965
  ...options,
@@ -956,6 +969,7 @@ var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch
956
969
  }
957
970
  });
958
971
  var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
972
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
959
973
  security: [{ scheme: "bearer", type: "http" }],
960
974
  url: "/admin/webhook_configs/{id}/test",
961
975
  ...options,
@@ -965,6 +979,7 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
965
979
  }
966
980
  });
967
981
  var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
982
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
968
983
  security: [{ scheme: "bearer", type: "http" }],
969
984
  url: "/admin/accounts/{id}/debit",
970
985
  ...options,
@@ -974,26 +989,42 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
974
989
  }
975
990
  });
976
991
  var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
992
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
977
993
  security: [{ scheme: "bearer", type: "http" }],
978
994
  url: "/admin/extraction/documents/{id}",
979
995
  ...options
980
996
  });
981
997
  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
+ },
982
1005
  security: [{ scheme: "bearer", type: "http" }],
983
1006
  url: "/admin/accounts",
984
1007
  ...options
985
1008
  });
986
1009
  var getAdminStorageStats = (options) => (options.client ?? client).get({
1010
+ querySerializer: {
1011
+ parameters: {
1012
+ filter: { object: { style: "form" } },
1013
+ fields: { object: { style: "form" } }
1014
+ }
1015
+ },
987
1016
  security: [{ scheme: "bearer", type: "http" }],
988
1017
  url: "/admin/storage/stats",
989
1018
  ...options
990
1019
  });
991
1020
  var getAdminAccountsById = (options) => (options.client ?? client).get({
1021
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
992
1022
  security: [{ scheme: "bearer", type: "http" }],
993
1023
  url: "/admin/accounts/{id}",
994
1024
  ...options
995
1025
  });
996
1026
  var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
1027
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
997
1028
  security: [{ scheme: "bearer", type: "http" }],
998
1029
  url: "/admin/documents/bulk_delete",
999
1030
  ...options,
@@ -1003,6 +1034,7 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
1003
1034
  }
1004
1035
  });
1005
1036
  var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
1037
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1006
1038
  security: [{ scheme: "bearer", type: "http" }],
1007
1039
  url: "/admin/api_keys/{id}/allocate",
1008
1040
  ...options,
@@ -1012,11 +1044,13 @@ var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patc
1012
1044
  }
1013
1045
  });
1014
1046
  var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
1047
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1015
1048
  security: [{ scheme: "bearer", type: "http" }],
1016
1049
  url: "/admin/buckets/{id}/stats",
1017
1050
  ...options
1018
1051
  });
1019
1052
  var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1053
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1020
1054
  security: [{ scheme: "bearer", type: "http" }],
1021
1055
  url: "/admin/api_keys/{id}/revoke",
1022
1056
  ...options,
@@ -1026,46 +1060,71 @@ var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch(
1026
1060
  }
1027
1061
  });
1028
1062
  var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
1063
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1029
1064
  security: [{ scheme: "bearer", type: "http" }],
1030
1065
  url: "/admin/webhook_deliveries/{id}",
1031
1066
  ...options
1032
1067
  });
1033
1068
  var getAdminDocumentsStats = (options) => (options.client ?? client).get({
1069
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1034
1070
  security: [{ scheme: "bearer", type: "http" }],
1035
1071
  url: "/admin/documents/stats",
1036
1072
  ...options
1037
1073
  });
1038
1074
  var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
1075
+ querySerializer: {
1076
+ parameters: {
1077
+ filter: { object: { style: "form" } },
1078
+ fields: { object: { style: "form" } }
1079
+ }
1080
+ },
1039
1081
  security: [{ scheme: "bearer", type: "http" }],
1040
1082
  url: "/admin/extraction/documents",
1041
1083
  ...options
1042
1084
  });
1043
1085
  var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
1086
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1044
1087
  security: [{ scheme: "bearer", type: "http" }],
1045
1088
  url: "/admin/buckets/{id}/objects",
1046
1089
  ...options
1047
1090
  });
1048
1091
  var getAdminApiKeys = (options) => (options.client ?? client).get({
1092
+ querySerializer: {
1093
+ parameters: {
1094
+ filter: { object: { style: "form" } },
1095
+ page: { object: { style: "form" } },
1096
+ fields: { object: { style: "form" } }
1097
+ }
1098
+ },
1049
1099
  security: [{ scheme: "bearer", type: "http" }],
1050
1100
  url: "/admin/api_keys",
1051
1101
  ...options
1052
1102
  });
1053
1103
  var getAdminApiKeysById = (options) => (options.client ?? client).get({
1104
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1054
1105
  security: [{ scheme: "bearer", type: "http" }],
1055
1106
  url: "/admin/api_keys/{id}",
1056
1107
  ...options
1057
1108
  });
1058
1109
  var getAdminBuckets = (options) => (options.client ?? client).get({
1110
+ querySerializer: {
1111
+ parameters: {
1112
+ filter: { object: { style: "form" } },
1113
+ fields: { object: { style: "form" } }
1114
+ }
1115
+ },
1059
1116
  security: [{ scheme: "bearer", type: "http" }],
1060
1117
  url: "/admin/buckets",
1061
1118
  ...options
1062
1119
  });
1063
1120
  var getAdminBucketsById = (options) => (options.client ?? client).get({
1121
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1064
1122
  security: [{ scheme: "bearer", type: "http" }],
1065
1123
  url: "/admin/buckets/{id}",
1066
1124
  ...options
1067
1125
  });
1068
1126
  var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
1127
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1069
1128
  security: [{ scheme: "bearer", type: "http" }],
1070
1129
  url: "/admin/webhook_deliveries/{id}/retry",
1071
1130
  ...options,
@@ -1075,6 +1134,13 @@ var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client
1075
1134
  }
1076
1135
  });
1077
1136
  var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
1137
+ querySerializer: {
1138
+ parameters: {
1139
+ filter: { object: { style: "form" } },
1140
+ page: { object: { style: "form" } },
1141
+ fields: { object: { style: "form" } }
1142
+ }
1143
+ },
1078
1144
  security: [{ scheme: "bearer", type: "http" }],
1079
1145
  url: "/admin/webhook_deliveries",
1080
1146
  ...options
package/dist/index.mjs CHANGED
@@ -857,6 +857,7 @@ 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" } } } },
860
861
  security: [{ scheme: "bearer", type: "http" }],
861
862
  url: "/admin/accounts/{id}/credit",
862
863
  ...options,
@@ -866,6 +867,7 @@ var patchAdminAccountsByIdCredit = (options) => (options.client ?? client).patch
866
867
  }
867
868
  });
868
869
  var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch({
870
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
869
871
  security: [{ scheme: "bearer", type: "http" }],
870
872
  url: "/admin/api_keys/{id}/rotate",
871
873
  ...options,
@@ -875,11 +877,19 @@ var patchAdminApiKeysByIdRotate = (options) => (options.client ?? client).patch(
875
877
  }
876
878
  });
877
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
+ },
878
887
  security: [{ scheme: "bearer", type: "http" }],
879
888
  url: "/admin/webhook_configs",
880
889
  ...options
881
890
  });
882
891
  var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
892
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
883
893
  security: [{ scheme: "bearer", type: "http" }],
884
894
  url: "/admin/webhook_configs",
885
895
  ...options,
@@ -889,16 +899,19 @@ var postAdminWebhookConfigs = (options) => (options.client ?? client).post({
889
899
  }
890
900
  });
891
901
  var deleteAdminWebhookConfigsById = (options) => (options.client ?? client).delete({
902
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
892
903
  security: [{ scheme: "bearer", type: "http" }],
893
904
  url: "/admin/webhook_configs/{id}",
894
905
  ...options
895
906
  });
896
907
  var getAdminWebhookConfigsById = (options) => (options.client ?? client).get({
908
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
897
909
  security: [{ scheme: "bearer", type: "http" }],
898
910
  url: "/admin/webhook_configs/{id}",
899
911
  ...options
900
912
  });
901
913
  var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch({
914
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
902
915
  security: [{ scheme: "bearer", type: "http" }],
903
916
  url: "/admin/webhook_configs/{id}",
904
917
  ...options,
@@ -908,6 +921,7 @@ var patchAdminWebhookConfigsById = (options) => (options.client ?? client).patch
908
921
  }
909
922
  });
910
923
  var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
924
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
911
925
  security: [{ scheme: "bearer", type: "http" }],
912
926
  url: "/admin/webhook_configs/{id}/test",
913
927
  ...options,
@@ -917,6 +931,7 @@ var postAdminWebhookConfigsByIdTest = (options) => (options.client ?? client).po
917
931
  }
918
932
  });
919
933
  var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch({
934
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
920
935
  security: [{ scheme: "bearer", type: "http" }],
921
936
  url: "/admin/accounts/{id}/debit",
922
937
  ...options,
@@ -926,26 +941,42 @@ var patchAdminAccountsByIdDebit = (options) => (options.client ?? client).patch(
926
941
  }
927
942
  });
928
943
  var getAdminExtractionDocumentsById = (options) => (options.client ?? client).get({
944
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
929
945
  security: [{ scheme: "bearer", type: "http" }],
930
946
  url: "/admin/extraction/documents/{id}",
931
947
  ...options
932
948
  });
933
949
  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
+ },
934
957
  security: [{ scheme: "bearer", type: "http" }],
935
958
  url: "/admin/accounts",
936
959
  ...options
937
960
  });
938
961
  var getAdminStorageStats = (options) => (options.client ?? client).get({
962
+ querySerializer: {
963
+ parameters: {
964
+ filter: { object: { style: "form" } },
965
+ fields: { object: { style: "form" } }
966
+ }
967
+ },
939
968
  security: [{ scheme: "bearer", type: "http" }],
940
969
  url: "/admin/storage/stats",
941
970
  ...options
942
971
  });
943
972
  var getAdminAccountsById = (options) => (options.client ?? client).get({
973
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
944
974
  security: [{ scheme: "bearer", type: "http" }],
945
975
  url: "/admin/accounts/{id}",
946
976
  ...options
947
977
  });
948
978
  var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
979
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
949
980
  security: [{ scheme: "bearer", type: "http" }],
950
981
  url: "/admin/documents/bulk_delete",
951
982
  ...options,
@@ -955,6 +986,7 @@ var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post(
955
986
  }
956
987
  });
957
988
  var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
989
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
958
990
  security: [{ scheme: "bearer", type: "http" }],
959
991
  url: "/admin/api_keys/{id}/allocate",
960
992
  ...options,
@@ -964,11 +996,13 @@ var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patc
964
996
  }
965
997
  });
966
998
  var getAdminBucketsByIdStats = (options) => (options.client ?? client).get({
999
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
967
1000
  security: [{ scheme: "bearer", type: "http" }],
968
1001
  url: "/admin/buckets/{id}/stats",
969
1002
  ...options
970
1003
  });
971
1004
  var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1005
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
972
1006
  security: [{ scheme: "bearer", type: "http" }],
973
1007
  url: "/admin/api_keys/{id}/revoke",
974
1008
  ...options,
@@ -978,46 +1012,71 @@ var patchAdminApiKeysByIdRevoke = (options) => (options.client ?? client).patch(
978
1012
  }
979
1013
  });
980
1014
  var getAdminWebhookDeliveriesById = (options) => (options.client ?? client).get({
1015
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
981
1016
  security: [{ scheme: "bearer", type: "http" }],
982
1017
  url: "/admin/webhook_deliveries/{id}",
983
1018
  ...options
984
1019
  });
985
1020
  var getAdminDocumentsStats = (options) => (options.client ?? client).get({
1021
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
986
1022
  security: [{ scheme: "bearer", type: "http" }],
987
1023
  url: "/admin/documents/stats",
988
1024
  ...options
989
1025
  });
990
1026
  var getAdminExtractionDocuments = (options) => (options.client ?? client).get({
1027
+ querySerializer: {
1028
+ parameters: {
1029
+ filter: { object: { style: "form" } },
1030
+ fields: { object: { style: "form" } }
1031
+ }
1032
+ },
991
1033
  security: [{ scheme: "bearer", type: "http" }],
992
1034
  url: "/admin/extraction/documents",
993
1035
  ...options
994
1036
  });
995
1037
  var getAdminBucketsByIdObjects = (options) => (options.client ?? client).get({
1038
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
996
1039
  security: [{ scheme: "bearer", type: "http" }],
997
1040
  url: "/admin/buckets/{id}/objects",
998
1041
  ...options
999
1042
  });
1000
1043
  var getAdminApiKeys = (options) => (options.client ?? client).get({
1044
+ querySerializer: {
1045
+ parameters: {
1046
+ filter: { object: { style: "form" } },
1047
+ page: { object: { style: "form" } },
1048
+ fields: { object: { style: "form" } }
1049
+ }
1050
+ },
1001
1051
  security: [{ scheme: "bearer", type: "http" }],
1002
1052
  url: "/admin/api_keys",
1003
1053
  ...options
1004
1054
  });
1005
1055
  var getAdminApiKeysById = (options) => (options.client ?? client).get({
1056
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1006
1057
  security: [{ scheme: "bearer", type: "http" }],
1007
1058
  url: "/admin/api_keys/{id}",
1008
1059
  ...options
1009
1060
  });
1010
1061
  var getAdminBuckets = (options) => (options.client ?? client).get({
1062
+ querySerializer: {
1063
+ parameters: {
1064
+ filter: { object: { style: "form" } },
1065
+ fields: { object: { style: "form" } }
1066
+ }
1067
+ },
1011
1068
  security: [{ scheme: "bearer", type: "http" }],
1012
1069
  url: "/admin/buckets",
1013
1070
  ...options
1014
1071
  });
1015
1072
  var getAdminBucketsById = (options) => (options.client ?? client).get({
1073
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1016
1074
  security: [{ scheme: "bearer", type: "http" }],
1017
1075
  url: "/admin/buckets/{id}",
1018
1076
  ...options
1019
1077
  });
1020
1078
  var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
1079
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1021
1080
  security: [{ scheme: "bearer", type: "http" }],
1022
1081
  url: "/admin/webhook_deliveries/{id}/retry",
1023
1082
  ...options,
@@ -1027,6 +1086,13 @@ var postAdminWebhookDeliveriesByIdRetry = (options) => (options.client ?? client
1027
1086
  }
1028
1087
  });
1029
1088
  var getAdminWebhookDeliveries = (options) => (options.client ?? client).get({
1089
+ querySerializer: {
1090
+ parameters: {
1091
+ filter: { object: { style: "form" } },
1092
+ page: { object: { style: "form" } },
1093
+ fields: { object: { style: "form" } }
1094
+ }
1095
+ },
1030
1096
  security: [{ scheme: "bearer", type: "http" }],
1031
1097
  url: "/admin/webhook_deliveries",
1032
1098
  ...options
package/llms.txt CHANGED
@@ -46,6 +46,8 @@ client.setConfig({
46
46
  - `getAgentsByIdSchemaVersions()` - Get schema versions
47
47
  - `getAgentsByIdStats()` - Get stats
48
48
  - `getAgentsByIdTrainingStats()` - Get training stats
49
+ - `getAgentsByIdUsage()` - Get usage
50
+ - `getAgentsUsage()` - List usage
49
51
  - `getAgentVersions()` - List agent versions
50
52
  - `getAgentVersionsById()` - Get agent versions
51
53
  - `getAgentVersionsByIdMetrics()` - Get metrics
@@ -62,6 +64,9 @@ client.setConfig({
62
64
  - `postAgentsImport()` - Create import
63
65
  - `postAgentsPredict()` - Create predict
64
66
  - `postAgentVersions()` - Create agent versions
67
+ - `postAgentVersionsByIdAddSystemField()` - Create add system field
68
+ - `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
69
+ - `postAgentVersionsByIdSetSystemFields()` - Create set system fields
65
70
  - `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
66
71
  - `deleteAgentVersionsById()` - Delete agent versions
67
72
 
@@ -374,6 +379,7 @@ client.setConfig({
374
379
  - `getPayment-methodsById()` - Get payment methods
375
380
  - `postPayment-methods()` - Create payment methods
376
381
  - `patchPayment-methodsById()` - Update payment methods
382
+ - `patchPayment-methodsByIdDefault()` - Update default
377
383
  - `deletePayment-methodsById()` - Delete payment methods
378
384
 
379
385
  ## Permission
@@ -459,6 +465,16 @@ client.setConfig({
459
465
  - `getStorageStats()` - List stats
460
466
  - `getStorageStatsTenantByTenantId()` - Get tenant
461
467
 
468
+ ## System message
469
+
470
+ - `getSystem-messages()` - List system messages
471
+ - `getSystem-messagesById()` - Get system messages
472
+ - `postSystem-messages()` - Create system messages
473
+ - `patchSystem-messagesById()` - Update system messages
474
+ - `patchSystem-messagesByIdPublish()` - Update publish
475
+ - `patchSystem-messagesByIdUnpublish()` - Update unpublish
476
+ - `deleteSystem-messagesById()` - Delete system messages
477
+
462
478
  ## Tenant document stats
463
479
 
464
480
  - `getTenantsByTenantIdDocumentStats()` - Get document stats
@@ -519,6 +535,7 @@ client.setConfig({
519
535
 
520
536
  ## Training analytics
521
537
 
538
+ - `getWorkspacesAnalytics-batch()` - List analytics batch
522
539
  - `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
523
540
 
524
541
  ## Transaction
@@ -555,6 +572,9 @@ client.setConfig({
555
572
  - `postUsersAuthResend-confirmation()` - Create resend confirmation
556
573
  - `postUsersRegisterIsv()` - Create register isv
557
574
  - `patchUserProfilesById()` - Update user profiles
575
+ - `patchUserProfilesByIdAccept-tos()` - Update accept tos
576
+ - `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
577
+ - `patchUserProfilesByIdDismiss-welcome()` - Update dismiss welcome
558
578
  - `patchUsersAuthPasswordChange()` - Update change
559
579
  - `patchUsersAuthReset-password()` - Update reset password
560
580
  - `patchUsersById()` - Update admin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.8.24",
3
+ "version": "0.8.25",
4
4
  "description": "TypeScript SDK for GPT Core Admin API - Platform administration and ISV management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -51,6 +51,15 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
+ "scripts": {
55
+ "generate": "openapi-ts",
56
+ "typecheck": "tsc --noEmit",
57
+ "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
58
+ "test": "vitest run",
59
+ "test:watch": "vitest",
60
+ "test:ui": "vitest --ui",
61
+ "test:coverage": "vitest run --coverage"
62
+ },
54
63
  "dependencies": {
55
64
  "zod": "^3.25.76"
56
65
  },
@@ -62,14 +71,5 @@
62
71
  "tsup": "^8.5.1",
63
72
  "typescript": "^5.9.3",
64
73
  "vitest": "^4.0.15"
65
- },
66
- "scripts": {
67
- "generate": "openapi-ts",
68
- "typecheck": "tsc --noEmit",
69
- "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
70
- "test": "vitest run",
71
- "test:watch": "vitest",
72
- "test:ui": "vitest --ui",
73
- "test:coverage": "vitest run --coverage"
74
74
  }
75
- }
75
+ }