@gpt-core/admin 0.8.1 → 0.8.12
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 +21 -196
- package/dist/index.d.ts +21 -196
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -7795,20 +7795,7 @@ type PatchAdminExtractionDocumentsByIdReprocessResponses = {
|
|
|
7795
7795
|
};
|
|
7796
7796
|
type PatchAdminExtractionDocumentsByIdReprocessResponse = PatchAdminExtractionDocumentsByIdReprocessResponses[keyof PatchAdminExtractionDocumentsByIdReprocessResponses];
|
|
7797
7797
|
type PostAdminAgentsByIdExportData = {
|
|
7798
|
-
|
|
7799
|
-
* Request body for the /agents/:id/export operation on agent resource
|
|
7800
|
-
*/
|
|
7801
|
-
body?: {
|
|
7802
|
-
data: {
|
|
7803
|
-
attributes?: {
|
|
7804
|
-
[key: string]: never;
|
|
7805
|
-
};
|
|
7806
|
-
relationships?: {
|
|
7807
|
-
[key: string]: never;
|
|
7808
|
-
};
|
|
7809
|
-
type?: "agent";
|
|
7810
|
-
};
|
|
7811
|
-
};
|
|
7798
|
+
body?: never;
|
|
7812
7799
|
headers: {
|
|
7813
7800
|
/**
|
|
7814
7801
|
* Application ID for authentication and routing
|
|
@@ -7818,18 +7805,7 @@ type PostAdminAgentsByIdExportData = {
|
|
|
7818
7805
|
path: {
|
|
7819
7806
|
id: string;
|
|
7820
7807
|
};
|
|
7821
|
-
query?:
|
|
7822
|
-
/**
|
|
7823
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
7824
|
-
*/
|
|
7825
|
-
include?: string;
|
|
7826
|
-
/**
|
|
7827
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
7828
|
-
*/
|
|
7829
|
-
fields?: {
|
|
7830
|
-
[key: string]: unknown;
|
|
7831
|
-
};
|
|
7832
|
-
};
|
|
7808
|
+
query?: never;
|
|
7833
7809
|
url: "/admin/agents/{id}/export";
|
|
7834
7810
|
};
|
|
7835
7811
|
type PostAdminAgentsByIdExportErrors = {
|
|
@@ -7868,11 +7844,7 @@ type PostAdminAgentsByIdExportResponses = {
|
|
|
7868
7844
|
* Success
|
|
7869
7845
|
*/
|
|
7870
7846
|
201: {
|
|
7871
|
-
|
|
7872
|
-
included?: Array<AgentVersion>;
|
|
7873
|
-
meta?: {
|
|
7874
|
-
[key: string]: unknown;
|
|
7875
|
-
};
|
|
7847
|
+
[key: string]: unknown;
|
|
7876
7848
|
};
|
|
7877
7849
|
};
|
|
7878
7850
|
type PostAdminAgentsByIdExportResponse = PostAdminAgentsByIdExportResponses[keyof PostAdminAgentsByIdExportResponses];
|
|
@@ -13340,20 +13312,7 @@ type PatchAdminCreditPackagesByIdResponses = {
|
|
|
13340
13312
|
};
|
|
13341
13313
|
type PatchAdminCreditPackagesByIdResponse = PatchAdminCreditPackagesByIdResponses[keyof PatchAdminCreditPackagesByIdResponses];
|
|
13342
13314
|
type PostAdminAgentsByIdStatsData = {
|
|
13343
|
-
|
|
13344
|
-
* Request body for the /agents/:id/stats operation on agent resource
|
|
13345
|
-
*/
|
|
13346
|
-
body?: {
|
|
13347
|
-
data: {
|
|
13348
|
-
attributes?: {
|
|
13349
|
-
[key: string]: never;
|
|
13350
|
-
};
|
|
13351
|
-
relationships?: {
|
|
13352
|
-
[key: string]: never;
|
|
13353
|
-
};
|
|
13354
|
-
type?: "agent";
|
|
13355
|
-
};
|
|
13356
|
-
};
|
|
13315
|
+
body?: never;
|
|
13357
13316
|
headers: {
|
|
13358
13317
|
/**
|
|
13359
13318
|
* Application ID for authentication and routing
|
|
@@ -13363,18 +13322,7 @@ type PostAdminAgentsByIdStatsData = {
|
|
|
13363
13322
|
path: {
|
|
13364
13323
|
id: string;
|
|
13365
13324
|
};
|
|
13366
|
-
query?:
|
|
13367
|
-
/**
|
|
13368
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
13369
|
-
*/
|
|
13370
|
-
include?: string;
|
|
13371
|
-
/**
|
|
13372
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
13373
|
-
*/
|
|
13374
|
-
fields?: {
|
|
13375
|
-
[key: string]: unknown;
|
|
13376
|
-
};
|
|
13377
|
-
};
|
|
13325
|
+
query?: never;
|
|
13378
13326
|
url: "/admin/agents/{id}/stats";
|
|
13379
13327
|
};
|
|
13380
13328
|
type PostAdminAgentsByIdStatsErrors = {
|
|
@@ -13413,11 +13361,7 @@ type PostAdminAgentsByIdStatsResponses = {
|
|
|
13413
13361
|
* Success
|
|
13414
13362
|
*/
|
|
13415
13363
|
201: {
|
|
13416
|
-
|
|
13417
|
-
included?: Array<AgentVersion>;
|
|
13418
|
-
meta?: {
|
|
13419
|
-
[key: string]: unknown;
|
|
13420
|
-
};
|
|
13364
|
+
[key: string]: unknown;
|
|
13421
13365
|
};
|
|
13422
13366
|
};
|
|
13423
13367
|
type PostAdminAgentsByIdStatsResponse = PostAdminAgentsByIdStatsResponses[keyof PostAdminAgentsByIdStatsResponses];
|
|
@@ -13600,13 +13544,7 @@ type PostAdminWebhookConfigsBulkDisableData = {
|
|
|
13600
13544
|
*/
|
|
13601
13545
|
body: {
|
|
13602
13546
|
data: {
|
|
13603
|
-
|
|
13604
|
-
ids: Array<string>;
|
|
13605
|
-
};
|
|
13606
|
-
relationships?: {
|
|
13607
|
-
[key: string]: never;
|
|
13608
|
-
};
|
|
13609
|
-
type?: "webhook_config";
|
|
13547
|
+
ids: Array<string>;
|
|
13610
13548
|
};
|
|
13611
13549
|
};
|
|
13612
13550
|
headers: {
|
|
@@ -13616,18 +13554,7 @@ type PostAdminWebhookConfigsBulkDisableData = {
|
|
|
13616
13554
|
"x-application-key": string;
|
|
13617
13555
|
};
|
|
13618
13556
|
path?: never;
|
|
13619
|
-
query?:
|
|
13620
|
-
/**
|
|
13621
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
13622
|
-
*/
|
|
13623
|
-
include?: string;
|
|
13624
|
-
/**
|
|
13625
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
13626
|
-
*/
|
|
13627
|
-
fields?: {
|
|
13628
|
-
[key: string]: unknown;
|
|
13629
|
-
};
|
|
13630
|
-
};
|
|
13557
|
+
query?: never;
|
|
13631
13558
|
url: "/admin/webhook_configs/bulk-disable";
|
|
13632
13559
|
};
|
|
13633
13560
|
type PostAdminWebhookConfigsBulkDisableErrors = {
|
|
@@ -13666,11 +13593,7 @@ type PostAdminWebhookConfigsBulkDisableResponses = {
|
|
|
13666
13593
|
* Success
|
|
13667
13594
|
*/
|
|
13668
13595
|
201: {
|
|
13669
|
-
|
|
13670
|
-
included?: Array<unknown>;
|
|
13671
|
-
meta?: {
|
|
13672
|
-
[key: string]: unknown;
|
|
13673
|
-
};
|
|
13596
|
+
[key: string]: unknown;
|
|
13674
13597
|
};
|
|
13675
13598
|
};
|
|
13676
13599
|
type PostAdminWebhookConfigsBulkDisableResponse = PostAdminWebhookConfigsBulkDisableResponses[keyof PostAdminWebhookConfigsBulkDisableResponses];
|
|
@@ -18031,13 +17954,7 @@ type PostAdminWebhookDeliveriesBulkRetryData = {
|
|
|
18031
17954
|
*/
|
|
18032
17955
|
body: {
|
|
18033
17956
|
data: {
|
|
18034
|
-
|
|
18035
|
-
ids: Array<string>;
|
|
18036
|
-
};
|
|
18037
|
-
relationships?: {
|
|
18038
|
-
[key: string]: never;
|
|
18039
|
-
};
|
|
18040
|
-
type?: "webhook_delivery";
|
|
17957
|
+
ids: Array<string>;
|
|
18041
17958
|
};
|
|
18042
17959
|
};
|
|
18043
17960
|
headers: {
|
|
@@ -18047,18 +17964,7 @@ type PostAdminWebhookDeliveriesBulkRetryData = {
|
|
|
18047
17964
|
"x-application-key": string;
|
|
18048
17965
|
};
|
|
18049
17966
|
path?: never;
|
|
18050
|
-
query?:
|
|
18051
|
-
/**
|
|
18052
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
18053
|
-
*/
|
|
18054
|
-
include?: string;
|
|
18055
|
-
/**
|
|
18056
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
18057
|
-
*/
|
|
18058
|
-
fields?: {
|
|
18059
|
-
[key: string]: unknown;
|
|
18060
|
-
};
|
|
18061
|
-
};
|
|
17967
|
+
query?: never;
|
|
18062
17968
|
url: "/admin/webhook_deliveries/bulk-retry";
|
|
18063
17969
|
};
|
|
18064
17970
|
type PostAdminWebhookDeliveriesBulkRetryErrors = {
|
|
@@ -18097,11 +18003,7 @@ type PostAdminWebhookDeliveriesBulkRetryResponses = {
|
|
|
18097
18003
|
* Success
|
|
18098
18004
|
*/
|
|
18099
18005
|
201: {
|
|
18100
|
-
|
|
18101
|
-
included?: Array<unknown>;
|
|
18102
|
-
meta?: {
|
|
18103
|
-
[key: string]: unknown;
|
|
18104
|
-
};
|
|
18006
|
+
[key: string]: unknown;
|
|
18105
18007
|
};
|
|
18106
18008
|
};
|
|
18107
18009
|
type PostAdminWebhookDeliveriesBulkRetryResponse = PostAdminWebhookDeliveriesBulkRetryResponses[keyof PostAdminWebhookDeliveriesBulkRetryResponses];
|
|
@@ -18831,20 +18733,7 @@ type PostAdminApplicationsByApplicationIdEmailTemplatesResponses = {
|
|
|
18831
18733
|
};
|
|
18832
18734
|
type PostAdminApplicationsByApplicationIdEmailTemplatesResponse = PostAdminApplicationsByApplicationIdEmailTemplatesResponses[keyof PostAdminApplicationsByApplicationIdEmailTemplatesResponses];
|
|
18833
18735
|
type PostAdminWebhookConfigsStatsData = {
|
|
18834
|
-
|
|
18835
|
-
* Request body for the /webhook_configs/stats operation on webhook_config resource
|
|
18836
|
-
*/
|
|
18837
|
-
body?: {
|
|
18838
|
-
data: {
|
|
18839
|
-
attributes?: {
|
|
18840
|
-
[key: string]: never;
|
|
18841
|
-
};
|
|
18842
|
-
relationships?: {
|
|
18843
|
-
[key: string]: never;
|
|
18844
|
-
};
|
|
18845
|
-
type?: "webhook_config";
|
|
18846
|
-
};
|
|
18847
|
-
};
|
|
18736
|
+
body?: never;
|
|
18848
18737
|
headers: {
|
|
18849
18738
|
/**
|
|
18850
18739
|
* Application ID for authentication and routing
|
|
@@ -18852,18 +18741,7 @@ type PostAdminWebhookConfigsStatsData = {
|
|
|
18852
18741
|
"x-application-key": string;
|
|
18853
18742
|
};
|
|
18854
18743
|
path?: never;
|
|
18855
|
-
query?:
|
|
18856
|
-
/**
|
|
18857
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
18858
|
-
*/
|
|
18859
|
-
include?: string;
|
|
18860
|
-
/**
|
|
18861
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
18862
|
-
*/
|
|
18863
|
-
fields?: {
|
|
18864
|
-
[key: string]: unknown;
|
|
18865
|
-
};
|
|
18866
|
-
};
|
|
18744
|
+
query?: never;
|
|
18867
18745
|
url: "/admin/webhook_configs/stats";
|
|
18868
18746
|
};
|
|
18869
18747
|
type PostAdminWebhookConfigsStatsErrors = {
|
|
@@ -18902,11 +18780,7 @@ type PostAdminWebhookConfigsStatsResponses = {
|
|
|
18902
18780
|
* Success
|
|
18903
18781
|
*/
|
|
18904
18782
|
201: {
|
|
18905
|
-
|
|
18906
|
-
included?: Array<unknown>;
|
|
18907
|
-
meta?: {
|
|
18908
|
-
[key: string]: unknown;
|
|
18909
|
-
};
|
|
18783
|
+
[key: string]: unknown;
|
|
18910
18784
|
};
|
|
18911
18785
|
};
|
|
18912
18786
|
type PostAdminWebhookConfigsStatsResponse = PostAdminWebhookConfigsStatsResponses[keyof PostAdminWebhookConfigsStatsResponses];
|
|
@@ -22007,13 +21881,7 @@ type PostAdminWebhookConfigsBulkEnableData = {
|
|
|
22007
21881
|
*/
|
|
22008
21882
|
body: {
|
|
22009
21883
|
data: {
|
|
22010
|
-
|
|
22011
|
-
ids: Array<string>;
|
|
22012
|
-
};
|
|
22013
|
-
relationships?: {
|
|
22014
|
-
[key: string]: never;
|
|
22015
|
-
};
|
|
22016
|
-
type?: "webhook_config";
|
|
21884
|
+
ids: Array<string>;
|
|
22017
21885
|
};
|
|
22018
21886
|
};
|
|
22019
21887
|
headers: {
|
|
@@ -22023,18 +21891,7 @@ type PostAdminWebhookConfigsBulkEnableData = {
|
|
|
22023
21891
|
"x-application-key": string;
|
|
22024
21892
|
};
|
|
22025
21893
|
path?: never;
|
|
22026
|
-
query?:
|
|
22027
|
-
/**
|
|
22028
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
22029
|
-
*/
|
|
22030
|
-
include?: string;
|
|
22031
|
-
/**
|
|
22032
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
22033
|
-
*/
|
|
22034
|
-
fields?: {
|
|
22035
|
-
[key: string]: unknown;
|
|
22036
|
-
};
|
|
22037
|
-
};
|
|
21894
|
+
query?: never;
|
|
22038
21895
|
url: "/admin/webhook_configs/bulk-enable";
|
|
22039
21896
|
};
|
|
22040
21897
|
type PostAdminWebhookConfigsBulkEnableErrors = {
|
|
@@ -22073,11 +21930,7 @@ type PostAdminWebhookConfigsBulkEnableResponses = {
|
|
|
22073
21930
|
* Success
|
|
22074
21931
|
*/
|
|
22075
21932
|
201: {
|
|
22076
|
-
|
|
22077
|
-
included?: Array<unknown>;
|
|
22078
|
-
meta?: {
|
|
22079
|
-
[key: string]: unknown;
|
|
22080
|
-
};
|
|
21933
|
+
[key: string]: unknown;
|
|
22081
21934
|
};
|
|
22082
21935
|
};
|
|
22083
21936
|
type PostAdminWebhookConfigsBulkEnableResponse = PostAdminWebhookConfigsBulkEnableResponses[keyof PostAdminWebhookConfigsBulkEnableResponses];
|
|
@@ -22588,20 +22441,7 @@ type PostAdminLlmAnalyticsResponses = {
|
|
|
22588
22441
|
};
|
|
22589
22442
|
type PostAdminLlmAnalyticsResponse = PostAdminLlmAnalyticsResponses[keyof PostAdminLlmAnalyticsResponses];
|
|
22590
22443
|
type PostAdminWebhookDeliveriesStatsData = {
|
|
22591
|
-
|
|
22592
|
-
* Request body for the /webhook_deliveries/stats operation on webhook_delivery resource
|
|
22593
|
-
*/
|
|
22594
|
-
body?: {
|
|
22595
|
-
data: {
|
|
22596
|
-
attributes?: {
|
|
22597
|
-
[key: string]: never;
|
|
22598
|
-
};
|
|
22599
|
-
relationships?: {
|
|
22600
|
-
[key: string]: never;
|
|
22601
|
-
};
|
|
22602
|
-
type?: "webhook_delivery";
|
|
22603
|
-
};
|
|
22604
|
-
};
|
|
22444
|
+
body?: never;
|
|
22605
22445
|
headers: {
|
|
22606
22446
|
/**
|
|
22607
22447
|
* Application ID for authentication and routing
|
|
@@ -22609,18 +22449,7 @@ type PostAdminWebhookDeliveriesStatsData = {
|
|
|
22609
22449
|
"x-application-key": string;
|
|
22610
22450
|
};
|
|
22611
22451
|
path?: never;
|
|
22612
|
-
query?:
|
|
22613
|
-
/**
|
|
22614
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
22615
|
-
*/
|
|
22616
|
-
include?: string;
|
|
22617
|
-
/**
|
|
22618
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
22619
|
-
*/
|
|
22620
|
-
fields?: {
|
|
22621
|
-
[key: string]: unknown;
|
|
22622
|
-
};
|
|
22623
|
-
};
|
|
22452
|
+
query?: never;
|
|
22624
22453
|
url: "/admin/webhook_deliveries/stats";
|
|
22625
22454
|
};
|
|
22626
22455
|
type PostAdminWebhookDeliveriesStatsErrors = {
|
|
@@ -22659,11 +22488,7 @@ type PostAdminWebhookDeliveriesStatsResponses = {
|
|
|
22659
22488
|
* Success
|
|
22660
22489
|
*/
|
|
22661
22490
|
201: {
|
|
22662
|
-
|
|
22663
|
-
included?: Array<unknown>;
|
|
22664
|
-
meta?: {
|
|
22665
|
-
[key: string]: unknown;
|
|
22666
|
-
};
|
|
22491
|
+
[key: string]: unknown;
|
|
22667
22492
|
};
|
|
22668
22493
|
};
|
|
22669
22494
|
type PostAdminWebhookDeliveriesStatsResponse = PostAdminWebhookDeliveriesStatsResponses[keyof PostAdminWebhookDeliveriesStatsResponses];
|
package/dist/index.d.ts
CHANGED
|
@@ -7795,20 +7795,7 @@ type PatchAdminExtractionDocumentsByIdReprocessResponses = {
|
|
|
7795
7795
|
};
|
|
7796
7796
|
type PatchAdminExtractionDocumentsByIdReprocessResponse = PatchAdminExtractionDocumentsByIdReprocessResponses[keyof PatchAdminExtractionDocumentsByIdReprocessResponses];
|
|
7797
7797
|
type PostAdminAgentsByIdExportData = {
|
|
7798
|
-
|
|
7799
|
-
* Request body for the /agents/:id/export operation on agent resource
|
|
7800
|
-
*/
|
|
7801
|
-
body?: {
|
|
7802
|
-
data: {
|
|
7803
|
-
attributes?: {
|
|
7804
|
-
[key: string]: never;
|
|
7805
|
-
};
|
|
7806
|
-
relationships?: {
|
|
7807
|
-
[key: string]: never;
|
|
7808
|
-
};
|
|
7809
|
-
type?: "agent";
|
|
7810
|
-
};
|
|
7811
|
-
};
|
|
7798
|
+
body?: never;
|
|
7812
7799
|
headers: {
|
|
7813
7800
|
/**
|
|
7814
7801
|
* Application ID for authentication and routing
|
|
@@ -7818,18 +7805,7 @@ type PostAdminAgentsByIdExportData = {
|
|
|
7818
7805
|
path: {
|
|
7819
7806
|
id: string;
|
|
7820
7807
|
};
|
|
7821
|
-
query?:
|
|
7822
|
-
/**
|
|
7823
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
7824
|
-
*/
|
|
7825
|
-
include?: string;
|
|
7826
|
-
/**
|
|
7827
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
7828
|
-
*/
|
|
7829
|
-
fields?: {
|
|
7830
|
-
[key: string]: unknown;
|
|
7831
|
-
};
|
|
7832
|
-
};
|
|
7808
|
+
query?: never;
|
|
7833
7809
|
url: "/admin/agents/{id}/export";
|
|
7834
7810
|
};
|
|
7835
7811
|
type PostAdminAgentsByIdExportErrors = {
|
|
@@ -7868,11 +7844,7 @@ type PostAdminAgentsByIdExportResponses = {
|
|
|
7868
7844
|
* Success
|
|
7869
7845
|
*/
|
|
7870
7846
|
201: {
|
|
7871
|
-
|
|
7872
|
-
included?: Array<AgentVersion>;
|
|
7873
|
-
meta?: {
|
|
7874
|
-
[key: string]: unknown;
|
|
7875
|
-
};
|
|
7847
|
+
[key: string]: unknown;
|
|
7876
7848
|
};
|
|
7877
7849
|
};
|
|
7878
7850
|
type PostAdminAgentsByIdExportResponse = PostAdminAgentsByIdExportResponses[keyof PostAdminAgentsByIdExportResponses];
|
|
@@ -13340,20 +13312,7 @@ type PatchAdminCreditPackagesByIdResponses = {
|
|
|
13340
13312
|
};
|
|
13341
13313
|
type PatchAdminCreditPackagesByIdResponse = PatchAdminCreditPackagesByIdResponses[keyof PatchAdminCreditPackagesByIdResponses];
|
|
13342
13314
|
type PostAdminAgentsByIdStatsData = {
|
|
13343
|
-
|
|
13344
|
-
* Request body for the /agents/:id/stats operation on agent resource
|
|
13345
|
-
*/
|
|
13346
|
-
body?: {
|
|
13347
|
-
data: {
|
|
13348
|
-
attributes?: {
|
|
13349
|
-
[key: string]: never;
|
|
13350
|
-
};
|
|
13351
|
-
relationships?: {
|
|
13352
|
-
[key: string]: never;
|
|
13353
|
-
};
|
|
13354
|
-
type?: "agent";
|
|
13355
|
-
};
|
|
13356
|
-
};
|
|
13315
|
+
body?: never;
|
|
13357
13316
|
headers: {
|
|
13358
13317
|
/**
|
|
13359
13318
|
* Application ID for authentication and routing
|
|
@@ -13363,18 +13322,7 @@ type PostAdminAgentsByIdStatsData = {
|
|
|
13363
13322
|
path: {
|
|
13364
13323
|
id: string;
|
|
13365
13324
|
};
|
|
13366
|
-
query?:
|
|
13367
|
-
/**
|
|
13368
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
13369
|
-
*/
|
|
13370
|
-
include?: string;
|
|
13371
|
-
/**
|
|
13372
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
13373
|
-
*/
|
|
13374
|
-
fields?: {
|
|
13375
|
-
[key: string]: unknown;
|
|
13376
|
-
};
|
|
13377
|
-
};
|
|
13325
|
+
query?: never;
|
|
13378
13326
|
url: "/admin/agents/{id}/stats";
|
|
13379
13327
|
};
|
|
13380
13328
|
type PostAdminAgentsByIdStatsErrors = {
|
|
@@ -13413,11 +13361,7 @@ type PostAdminAgentsByIdStatsResponses = {
|
|
|
13413
13361
|
* Success
|
|
13414
13362
|
*/
|
|
13415
13363
|
201: {
|
|
13416
|
-
|
|
13417
|
-
included?: Array<AgentVersion>;
|
|
13418
|
-
meta?: {
|
|
13419
|
-
[key: string]: unknown;
|
|
13420
|
-
};
|
|
13364
|
+
[key: string]: unknown;
|
|
13421
13365
|
};
|
|
13422
13366
|
};
|
|
13423
13367
|
type PostAdminAgentsByIdStatsResponse = PostAdminAgentsByIdStatsResponses[keyof PostAdminAgentsByIdStatsResponses];
|
|
@@ -13600,13 +13544,7 @@ type PostAdminWebhookConfigsBulkDisableData = {
|
|
|
13600
13544
|
*/
|
|
13601
13545
|
body: {
|
|
13602
13546
|
data: {
|
|
13603
|
-
|
|
13604
|
-
ids: Array<string>;
|
|
13605
|
-
};
|
|
13606
|
-
relationships?: {
|
|
13607
|
-
[key: string]: never;
|
|
13608
|
-
};
|
|
13609
|
-
type?: "webhook_config";
|
|
13547
|
+
ids: Array<string>;
|
|
13610
13548
|
};
|
|
13611
13549
|
};
|
|
13612
13550
|
headers: {
|
|
@@ -13616,18 +13554,7 @@ type PostAdminWebhookConfigsBulkDisableData = {
|
|
|
13616
13554
|
"x-application-key": string;
|
|
13617
13555
|
};
|
|
13618
13556
|
path?: never;
|
|
13619
|
-
query?:
|
|
13620
|
-
/**
|
|
13621
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
13622
|
-
*/
|
|
13623
|
-
include?: string;
|
|
13624
|
-
/**
|
|
13625
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
13626
|
-
*/
|
|
13627
|
-
fields?: {
|
|
13628
|
-
[key: string]: unknown;
|
|
13629
|
-
};
|
|
13630
|
-
};
|
|
13557
|
+
query?: never;
|
|
13631
13558
|
url: "/admin/webhook_configs/bulk-disable";
|
|
13632
13559
|
};
|
|
13633
13560
|
type PostAdminWebhookConfigsBulkDisableErrors = {
|
|
@@ -13666,11 +13593,7 @@ type PostAdminWebhookConfigsBulkDisableResponses = {
|
|
|
13666
13593
|
* Success
|
|
13667
13594
|
*/
|
|
13668
13595
|
201: {
|
|
13669
|
-
|
|
13670
|
-
included?: Array<unknown>;
|
|
13671
|
-
meta?: {
|
|
13672
|
-
[key: string]: unknown;
|
|
13673
|
-
};
|
|
13596
|
+
[key: string]: unknown;
|
|
13674
13597
|
};
|
|
13675
13598
|
};
|
|
13676
13599
|
type PostAdminWebhookConfigsBulkDisableResponse = PostAdminWebhookConfigsBulkDisableResponses[keyof PostAdminWebhookConfigsBulkDisableResponses];
|
|
@@ -18031,13 +17954,7 @@ type PostAdminWebhookDeliveriesBulkRetryData = {
|
|
|
18031
17954
|
*/
|
|
18032
17955
|
body: {
|
|
18033
17956
|
data: {
|
|
18034
|
-
|
|
18035
|
-
ids: Array<string>;
|
|
18036
|
-
};
|
|
18037
|
-
relationships?: {
|
|
18038
|
-
[key: string]: never;
|
|
18039
|
-
};
|
|
18040
|
-
type?: "webhook_delivery";
|
|
17957
|
+
ids: Array<string>;
|
|
18041
17958
|
};
|
|
18042
17959
|
};
|
|
18043
17960
|
headers: {
|
|
@@ -18047,18 +17964,7 @@ type PostAdminWebhookDeliveriesBulkRetryData = {
|
|
|
18047
17964
|
"x-application-key": string;
|
|
18048
17965
|
};
|
|
18049
17966
|
path?: never;
|
|
18050
|
-
query?:
|
|
18051
|
-
/**
|
|
18052
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
18053
|
-
*/
|
|
18054
|
-
include?: string;
|
|
18055
|
-
/**
|
|
18056
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
18057
|
-
*/
|
|
18058
|
-
fields?: {
|
|
18059
|
-
[key: string]: unknown;
|
|
18060
|
-
};
|
|
18061
|
-
};
|
|
17967
|
+
query?: never;
|
|
18062
17968
|
url: "/admin/webhook_deliveries/bulk-retry";
|
|
18063
17969
|
};
|
|
18064
17970
|
type PostAdminWebhookDeliveriesBulkRetryErrors = {
|
|
@@ -18097,11 +18003,7 @@ type PostAdminWebhookDeliveriesBulkRetryResponses = {
|
|
|
18097
18003
|
* Success
|
|
18098
18004
|
*/
|
|
18099
18005
|
201: {
|
|
18100
|
-
|
|
18101
|
-
included?: Array<unknown>;
|
|
18102
|
-
meta?: {
|
|
18103
|
-
[key: string]: unknown;
|
|
18104
|
-
};
|
|
18006
|
+
[key: string]: unknown;
|
|
18105
18007
|
};
|
|
18106
18008
|
};
|
|
18107
18009
|
type PostAdminWebhookDeliveriesBulkRetryResponse = PostAdminWebhookDeliveriesBulkRetryResponses[keyof PostAdminWebhookDeliveriesBulkRetryResponses];
|
|
@@ -18831,20 +18733,7 @@ type PostAdminApplicationsByApplicationIdEmailTemplatesResponses = {
|
|
|
18831
18733
|
};
|
|
18832
18734
|
type PostAdminApplicationsByApplicationIdEmailTemplatesResponse = PostAdminApplicationsByApplicationIdEmailTemplatesResponses[keyof PostAdminApplicationsByApplicationIdEmailTemplatesResponses];
|
|
18833
18735
|
type PostAdminWebhookConfigsStatsData = {
|
|
18834
|
-
|
|
18835
|
-
* Request body for the /webhook_configs/stats operation on webhook_config resource
|
|
18836
|
-
*/
|
|
18837
|
-
body?: {
|
|
18838
|
-
data: {
|
|
18839
|
-
attributes?: {
|
|
18840
|
-
[key: string]: never;
|
|
18841
|
-
};
|
|
18842
|
-
relationships?: {
|
|
18843
|
-
[key: string]: never;
|
|
18844
|
-
};
|
|
18845
|
-
type?: "webhook_config";
|
|
18846
|
-
};
|
|
18847
|
-
};
|
|
18736
|
+
body?: never;
|
|
18848
18737
|
headers: {
|
|
18849
18738
|
/**
|
|
18850
18739
|
* Application ID for authentication and routing
|
|
@@ -18852,18 +18741,7 @@ type PostAdminWebhookConfigsStatsData = {
|
|
|
18852
18741
|
"x-application-key": string;
|
|
18853
18742
|
};
|
|
18854
18743
|
path?: never;
|
|
18855
|
-
query?:
|
|
18856
|
-
/**
|
|
18857
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
18858
|
-
*/
|
|
18859
|
-
include?: string;
|
|
18860
|
-
/**
|
|
18861
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
18862
|
-
*/
|
|
18863
|
-
fields?: {
|
|
18864
|
-
[key: string]: unknown;
|
|
18865
|
-
};
|
|
18866
|
-
};
|
|
18744
|
+
query?: never;
|
|
18867
18745
|
url: "/admin/webhook_configs/stats";
|
|
18868
18746
|
};
|
|
18869
18747
|
type PostAdminWebhookConfigsStatsErrors = {
|
|
@@ -18902,11 +18780,7 @@ type PostAdminWebhookConfigsStatsResponses = {
|
|
|
18902
18780
|
* Success
|
|
18903
18781
|
*/
|
|
18904
18782
|
201: {
|
|
18905
|
-
|
|
18906
|
-
included?: Array<unknown>;
|
|
18907
|
-
meta?: {
|
|
18908
|
-
[key: string]: unknown;
|
|
18909
|
-
};
|
|
18783
|
+
[key: string]: unknown;
|
|
18910
18784
|
};
|
|
18911
18785
|
};
|
|
18912
18786
|
type PostAdminWebhookConfigsStatsResponse = PostAdminWebhookConfigsStatsResponses[keyof PostAdminWebhookConfigsStatsResponses];
|
|
@@ -22007,13 +21881,7 @@ type PostAdminWebhookConfigsBulkEnableData = {
|
|
|
22007
21881
|
*/
|
|
22008
21882
|
body: {
|
|
22009
21883
|
data: {
|
|
22010
|
-
|
|
22011
|
-
ids: Array<string>;
|
|
22012
|
-
};
|
|
22013
|
-
relationships?: {
|
|
22014
|
-
[key: string]: never;
|
|
22015
|
-
};
|
|
22016
|
-
type?: "webhook_config";
|
|
21884
|
+
ids: Array<string>;
|
|
22017
21885
|
};
|
|
22018
21886
|
};
|
|
22019
21887
|
headers: {
|
|
@@ -22023,18 +21891,7 @@ type PostAdminWebhookConfigsBulkEnableData = {
|
|
|
22023
21891
|
"x-application-key": string;
|
|
22024
21892
|
};
|
|
22025
21893
|
path?: never;
|
|
22026
|
-
query?:
|
|
22027
|
-
/**
|
|
22028
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
22029
|
-
*/
|
|
22030
|
-
include?: string;
|
|
22031
|
-
/**
|
|
22032
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
22033
|
-
*/
|
|
22034
|
-
fields?: {
|
|
22035
|
-
[key: string]: unknown;
|
|
22036
|
-
};
|
|
22037
|
-
};
|
|
21894
|
+
query?: never;
|
|
22038
21895
|
url: "/admin/webhook_configs/bulk-enable";
|
|
22039
21896
|
};
|
|
22040
21897
|
type PostAdminWebhookConfigsBulkEnableErrors = {
|
|
@@ -22073,11 +21930,7 @@ type PostAdminWebhookConfigsBulkEnableResponses = {
|
|
|
22073
21930
|
* Success
|
|
22074
21931
|
*/
|
|
22075
21932
|
201: {
|
|
22076
|
-
|
|
22077
|
-
included?: Array<unknown>;
|
|
22078
|
-
meta?: {
|
|
22079
|
-
[key: string]: unknown;
|
|
22080
|
-
};
|
|
21933
|
+
[key: string]: unknown;
|
|
22081
21934
|
};
|
|
22082
21935
|
};
|
|
22083
21936
|
type PostAdminWebhookConfigsBulkEnableResponse = PostAdminWebhookConfigsBulkEnableResponses[keyof PostAdminWebhookConfigsBulkEnableResponses];
|
|
@@ -22588,20 +22441,7 @@ type PostAdminLlmAnalyticsResponses = {
|
|
|
22588
22441
|
};
|
|
22589
22442
|
type PostAdminLlmAnalyticsResponse = PostAdminLlmAnalyticsResponses[keyof PostAdminLlmAnalyticsResponses];
|
|
22590
22443
|
type PostAdminWebhookDeliveriesStatsData = {
|
|
22591
|
-
|
|
22592
|
-
* Request body for the /webhook_deliveries/stats operation on webhook_delivery resource
|
|
22593
|
-
*/
|
|
22594
|
-
body?: {
|
|
22595
|
-
data: {
|
|
22596
|
-
attributes?: {
|
|
22597
|
-
[key: string]: never;
|
|
22598
|
-
};
|
|
22599
|
-
relationships?: {
|
|
22600
|
-
[key: string]: never;
|
|
22601
|
-
};
|
|
22602
|
-
type?: "webhook_delivery";
|
|
22603
|
-
};
|
|
22604
|
-
};
|
|
22444
|
+
body?: never;
|
|
22605
22445
|
headers: {
|
|
22606
22446
|
/**
|
|
22607
22447
|
* Application ID for authentication and routing
|
|
@@ -22609,18 +22449,7 @@ type PostAdminWebhookDeliveriesStatsData = {
|
|
|
22609
22449
|
"x-application-key": string;
|
|
22610
22450
|
};
|
|
22611
22451
|
path?: never;
|
|
22612
|
-
query?:
|
|
22613
|
-
/**
|
|
22614
|
-
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
22615
|
-
*/
|
|
22616
|
-
include?: string;
|
|
22617
|
-
/**
|
|
22618
|
-
* JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
|
|
22619
|
-
*/
|
|
22620
|
-
fields?: {
|
|
22621
|
-
[key: string]: unknown;
|
|
22622
|
-
};
|
|
22623
|
-
};
|
|
22452
|
+
query?: never;
|
|
22624
22453
|
url: "/admin/webhook_deliveries/stats";
|
|
22625
22454
|
};
|
|
22626
22455
|
type PostAdminWebhookDeliveriesStatsErrors = {
|
|
@@ -22659,11 +22488,7 @@ type PostAdminWebhookDeliveriesStatsResponses = {
|
|
|
22659
22488
|
* Success
|
|
22660
22489
|
*/
|
|
22661
22490
|
201: {
|
|
22662
|
-
|
|
22663
|
-
included?: Array<unknown>;
|
|
22664
|
-
meta?: {
|
|
22665
|
-
[key: string]: unknown;
|
|
22666
|
-
};
|
|
22491
|
+
[key: string]: unknown;
|
|
22667
22492
|
};
|
|
22668
22493
|
};
|
|
22669
22494
|
type PostAdminWebhookDeliveriesStatsResponse = PostAdminWebhookDeliveriesStatsResponses[keyof PostAdminWebhookDeliveriesStatsResponses];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.12",
|
|
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",
|
|
@@ -42,6 +42,15 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"generate": "openapi-ts",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"test:watch": "vitest",
|
|
51
|
+
"test:ui": "vitest --ui",
|
|
52
|
+
"test:coverage": "vitest run --coverage"
|
|
53
|
+
},
|
|
45
54
|
"dependencies": {
|
|
46
55
|
"zod": "^3.25.76"
|
|
47
56
|
},
|
|
@@ -53,14 +62,5 @@
|
|
|
53
62
|
"tsup": "^8.5.1",
|
|
54
63
|
"typescript": "^5.9.3",
|
|
55
64
|
"vitest": "^4.0.15"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"generate": "openapi-ts",
|
|
59
|
-
"typecheck": "tsc --noEmit",
|
|
60
|
-
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
61
|
-
"test": "vitest run",
|
|
62
|
-
"test:watch": "vitest",
|
|
63
|
-
"test:ui": "vitest --ui",
|
|
64
|
-
"test:coverage": "vitest run --coverage"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|