@gpt-core/client 0.5.96 → 0.5.97
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 +630 -21
- package/dist/index.d.ts +630 -21
- package/dist/index.js +66 -0
- package/dist/index.mjs +60 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __export(index_exports, {
|
|
|
60
60
|
deleteExtractionSchemaFieldsById: () => deleteExtractionSchemaFieldsById,
|
|
61
61
|
deleteFieldTemplatesById: () => deleteFieldTemplatesById,
|
|
62
62
|
deleteMessagesById: () => deleteMessagesById,
|
|
63
|
+
deleteNotificationMethodsById: () => deleteNotificationMethodsById,
|
|
63
64
|
deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
|
|
64
65
|
deleteObjectsById: () => deleteObjectsById,
|
|
65
66
|
deleteSearchSavedById: () => deleteSearchSavedById,
|
|
@@ -127,6 +128,8 @@ __export(index_exports, {
|
|
|
127
128
|
getMessagesSearch: () => getMessagesSearch,
|
|
128
129
|
getNotificationLogs: () => getNotificationLogs,
|
|
129
130
|
getNotificationLogsById: () => getNotificationLogsById,
|
|
131
|
+
getNotificationMethods: () => getNotificationMethods,
|
|
132
|
+
getNotificationMethodsById: () => getNotificationMethodsById,
|
|
130
133
|
getNotificationPreferences: () => getNotificationPreferences,
|
|
131
134
|
getNotificationPreferencesById: () => getNotificationPreferencesById,
|
|
132
135
|
getObjects: () => getObjects,
|
|
@@ -195,6 +198,7 @@ __export(index_exports, {
|
|
|
195
198
|
patchInvitationsByIdResend: () => patchInvitationsByIdResend,
|
|
196
199
|
patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
|
|
197
200
|
patchMessagesById: () => patchMessagesById,
|
|
201
|
+
patchNotificationMethodsById: () => patchNotificationMethodsById,
|
|
198
202
|
patchNotificationPreferencesById: () => patchNotificationPreferencesById,
|
|
199
203
|
patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
|
|
200
204
|
patchTenantsById: () => patchTenantsById,
|
|
@@ -248,6 +252,8 @@ __export(index_exports, {
|
|
|
248
252
|
postInvitationsInvite: () => postInvitationsInvite,
|
|
249
253
|
postLlmAnalytics: () => postLlmAnalytics,
|
|
250
254
|
postMessages: () => postMessages,
|
|
255
|
+
postNotificationMethods: () => postNotificationMethods,
|
|
256
|
+
postNotificationMethodsByIdSetPrimary: () => postNotificationMethodsByIdSetPrimary,
|
|
251
257
|
postNotificationPreferences: () => postNotificationPreferences,
|
|
252
258
|
postObjectsBulkDestroy: () => postObjectsBulkDestroy,
|
|
253
259
|
postObjectsRegister: () => postObjectsRegister,
|
|
@@ -1450,6 +1456,16 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
|
1450
1456
|
url: "/buckets/{id}/stats",
|
|
1451
1457
|
...options
|
|
1452
1458
|
});
|
|
1459
|
+
var postNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).post({
|
|
1460
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1461
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1462
|
+
url: "/notification_methods/{id}/set_primary",
|
|
1463
|
+
...options,
|
|
1464
|
+
headers: {
|
|
1465
|
+
"Content-Type": "application/vnd.api+json",
|
|
1466
|
+
...options.headers
|
|
1467
|
+
}
|
|
1468
|
+
});
|
|
1453
1469
|
var getBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1454
1470
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1455
1471
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1769,6 +1785,28 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
|
|
|
1769
1785
|
...options.headers
|
|
1770
1786
|
}
|
|
1771
1787
|
});
|
|
1788
|
+
var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
|
|
1789
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1790
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1791
|
+
url: "/notification_methods/{id}",
|
|
1792
|
+
...options
|
|
1793
|
+
});
|
|
1794
|
+
var getNotificationMethodsById = (options) => (options.client ?? client).get({
|
|
1795
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1796
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1797
|
+
url: "/notification_methods/{id}",
|
|
1798
|
+
...options
|
|
1799
|
+
});
|
|
1800
|
+
var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
|
|
1801
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1802
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1803
|
+
url: "/notification_methods/{id}",
|
|
1804
|
+
...options,
|
|
1805
|
+
headers: {
|
|
1806
|
+
"Content-Type": "application/vnd.api+json",
|
|
1807
|
+
...options.headers
|
|
1808
|
+
}
|
|
1809
|
+
});
|
|
1772
1810
|
var getWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1773
1811
|
querySerializer: {
|
|
1774
1812
|
parameters: {
|
|
@@ -2847,6 +2885,28 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
|
|
|
2847
2885
|
...options.headers
|
|
2848
2886
|
}
|
|
2849
2887
|
});
|
|
2888
|
+
var getNotificationMethods = (options) => (options.client ?? client).get({
|
|
2889
|
+
querySerializer: {
|
|
2890
|
+
parameters: {
|
|
2891
|
+
filter: { object: { style: "form" } },
|
|
2892
|
+
page: { object: { style: "form" } },
|
|
2893
|
+
fields: { object: { style: "form" } }
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2896
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2897
|
+
url: "/notification_methods",
|
|
2898
|
+
...options
|
|
2899
|
+
});
|
|
2900
|
+
var postNotificationMethods = (options) => (options.client ?? client).post({
|
|
2901
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2902
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2903
|
+
url: "/notification_methods",
|
|
2904
|
+
...options,
|
|
2905
|
+
headers: {
|
|
2906
|
+
"Content-Type": "application/vnd.api+json",
|
|
2907
|
+
...options.headers
|
|
2908
|
+
}
|
|
2909
|
+
});
|
|
2850
2910
|
var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
|
|
2851
2911
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2852
2912
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3581,6 +3641,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3581
3641
|
deleteExtractionSchemaFieldsById,
|
|
3582
3642
|
deleteFieldTemplatesById,
|
|
3583
3643
|
deleteMessagesById,
|
|
3644
|
+
deleteNotificationMethodsById,
|
|
3584
3645
|
deleteNotificationPreferencesById,
|
|
3585
3646
|
deleteObjectsById,
|
|
3586
3647
|
deleteSearchSavedById,
|
|
@@ -3648,6 +3709,8 @@ async function collectStreamedMessage(stream) {
|
|
|
3648
3709
|
getMessagesSearch,
|
|
3649
3710
|
getNotificationLogs,
|
|
3650
3711
|
getNotificationLogsById,
|
|
3712
|
+
getNotificationMethods,
|
|
3713
|
+
getNotificationMethodsById,
|
|
3651
3714
|
getNotificationPreferences,
|
|
3652
3715
|
getNotificationPreferencesById,
|
|
3653
3716
|
getObjects,
|
|
@@ -3716,6 +3779,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3716
3779
|
patchInvitationsByIdResend,
|
|
3717
3780
|
patchInvitationsByIdRevoke,
|
|
3718
3781
|
patchMessagesById,
|
|
3782
|
+
patchNotificationMethodsById,
|
|
3719
3783
|
patchNotificationPreferencesById,
|
|
3720
3784
|
patchTenantMembershipsByTenantIdByUserId,
|
|
3721
3785
|
patchTenantsById,
|
|
@@ -3769,6 +3833,8 @@ async function collectStreamedMessage(stream) {
|
|
|
3769
3833
|
postInvitationsInvite,
|
|
3770
3834
|
postLlmAnalytics,
|
|
3771
3835
|
postMessages,
|
|
3836
|
+
postNotificationMethods,
|
|
3837
|
+
postNotificationMethodsByIdSetPrimary,
|
|
3772
3838
|
postNotificationPreferences,
|
|
3773
3839
|
postObjectsBulkDestroy,
|
|
3774
3840
|
postObjectsRegister,
|
package/dist/index.mjs
CHANGED
|
@@ -1155,6 +1155,16 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
|
1155
1155
|
url: "/buckets/{id}/stats",
|
|
1156
1156
|
...options
|
|
1157
1157
|
});
|
|
1158
|
+
var postNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).post({
|
|
1159
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1160
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1161
|
+
url: "/notification_methods/{id}/set_primary",
|
|
1162
|
+
...options,
|
|
1163
|
+
headers: {
|
|
1164
|
+
"Content-Type": "application/vnd.api+json",
|
|
1165
|
+
...options.headers
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1158
1168
|
var getBucketsByIdObjects = (options) => (options.client ?? client).get({
|
|
1159
1169
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1160
1170
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1474,6 +1484,28 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
|
|
|
1474
1484
|
...options.headers
|
|
1475
1485
|
}
|
|
1476
1486
|
});
|
|
1487
|
+
var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
|
|
1488
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1489
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1490
|
+
url: "/notification_methods/{id}",
|
|
1491
|
+
...options
|
|
1492
|
+
});
|
|
1493
|
+
var getNotificationMethodsById = (options) => (options.client ?? client).get({
|
|
1494
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1495
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1496
|
+
url: "/notification_methods/{id}",
|
|
1497
|
+
...options
|
|
1498
|
+
});
|
|
1499
|
+
var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
|
|
1500
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1501
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1502
|
+
url: "/notification_methods/{id}",
|
|
1503
|
+
...options,
|
|
1504
|
+
headers: {
|
|
1505
|
+
"Content-Type": "application/vnd.api+json",
|
|
1506
|
+
...options.headers
|
|
1507
|
+
}
|
|
1508
|
+
});
|
|
1477
1509
|
var getWebhookDeliveries = (options) => (options.client ?? client).get({
|
|
1478
1510
|
querySerializer: {
|
|
1479
1511
|
parameters: {
|
|
@@ -2552,6 +2584,28 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
|
|
|
2552
2584
|
...options.headers
|
|
2553
2585
|
}
|
|
2554
2586
|
});
|
|
2587
|
+
var getNotificationMethods = (options) => (options.client ?? client).get({
|
|
2588
|
+
querySerializer: {
|
|
2589
|
+
parameters: {
|
|
2590
|
+
filter: { object: { style: "form" } },
|
|
2591
|
+
page: { object: { style: "form" } },
|
|
2592
|
+
fields: { object: { style: "form" } }
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2596
|
+
url: "/notification_methods",
|
|
2597
|
+
...options
|
|
2598
|
+
});
|
|
2599
|
+
var postNotificationMethods = (options) => (options.client ?? client).post({
|
|
2600
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2601
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2602
|
+
url: "/notification_methods",
|
|
2603
|
+
...options,
|
|
2604
|
+
headers: {
|
|
2605
|
+
"Content-Type": "application/vnd.api+json",
|
|
2606
|
+
...options.headers
|
|
2607
|
+
}
|
|
2608
|
+
});
|
|
2555
2609
|
var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
|
|
2556
2610
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2557
2611
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3285,6 +3339,7 @@ export {
|
|
|
3285
3339
|
deleteExtractionSchemaFieldsById,
|
|
3286
3340
|
deleteFieldTemplatesById,
|
|
3287
3341
|
deleteMessagesById,
|
|
3342
|
+
deleteNotificationMethodsById,
|
|
3288
3343
|
deleteNotificationPreferencesById,
|
|
3289
3344
|
deleteObjectsById,
|
|
3290
3345
|
deleteSearchSavedById,
|
|
@@ -3352,6 +3407,8 @@ export {
|
|
|
3352
3407
|
getMessagesSearch,
|
|
3353
3408
|
getNotificationLogs,
|
|
3354
3409
|
getNotificationLogsById,
|
|
3410
|
+
getNotificationMethods,
|
|
3411
|
+
getNotificationMethodsById,
|
|
3355
3412
|
getNotificationPreferences,
|
|
3356
3413
|
getNotificationPreferencesById,
|
|
3357
3414
|
getObjects,
|
|
@@ -3420,6 +3477,7 @@ export {
|
|
|
3420
3477
|
patchInvitationsByIdResend,
|
|
3421
3478
|
patchInvitationsByIdRevoke,
|
|
3422
3479
|
patchMessagesById,
|
|
3480
|
+
patchNotificationMethodsById,
|
|
3423
3481
|
patchNotificationPreferencesById,
|
|
3424
3482
|
patchTenantMembershipsByTenantIdByUserId,
|
|
3425
3483
|
patchTenantsById,
|
|
@@ -3473,6 +3531,8 @@ export {
|
|
|
3473
3531
|
postInvitationsInvite,
|
|
3474
3532
|
postLlmAnalytics,
|
|
3475
3533
|
postMessages,
|
|
3534
|
+
postNotificationMethods,
|
|
3535
|
+
postNotificationMethodsByIdSetPrimary,
|
|
3476
3536
|
postNotificationPreferences,
|
|
3477
3537
|
postObjectsBulkDestroy,
|
|
3478
3538
|
postObjectsRegister,
|
package/package.json
CHANGED