@gpt-core/client 0.7.83 → 0.7.85
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 +595 -1
- package/dist/index.d.ts +595 -1
- package/dist/index.js +59 -0
- package/dist/index.mjs +54 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __export(index_exports, {
|
|
|
58
58
|
deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
|
|
59
59
|
deleteAiGraphNodesById: () => deleteAiGraphNodesById,
|
|
60
60
|
deleteApiKeysById: () => deleteApiKeysById,
|
|
61
|
+
deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
61
62
|
deleteApplicationsById: () => deleteApplicationsById,
|
|
62
63
|
deleteBucketsById: () => deleteBucketsById,
|
|
63
64
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
@@ -91,6 +92,8 @@ __export(index_exports, {
|
|
|
91
92
|
getApiKeys: () => getApiKeys,
|
|
92
93
|
getApiKeysById: () => getApiKeysById,
|
|
93
94
|
getApplications: () => getApplications,
|
|
95
|
+
getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
|
|
96
|
+
getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
94
97
|
getApplicationsById: () => getApplicationsById,
|
|
95
98
|
getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
|
|
96
99
|
getAuditLogs: () => getAuditLogs,
|
|
@@ -195,6 +198,7 @@ __export(index_exports, {
|
|
|
195
198
|
patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
|
|
196
199
|
patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
|
|
197
200
|
patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
|
|
201
|
+
patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
198
202
|
patchApplicationsById: () => patchApplicationsById,
|
|
199
203
|
patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
|
|
200
204
|
patchBucketsById: () => patchBucketsById,
|
|
@@ -261,6 +265,7 @@ __export(index_exports, {
|
|
|
261
265
|
postAiSearchAdvanced: () => postAiSearchAdvanced,
|
|
262
266
|
postApiKeys: () => postApiKeys,
|
|
263
267
|
postApplications: () => postApplications,
|
|
268
|
+
postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
|
|
264
269
|
postBuckets: () => postBuckets,
|
|
265
270
|
postConfigs: () => postConfigs,
|
|
266
271
|
postDocumentsBulkDelete: () => postDocumentsBulkDelete,
|
|
@@ -330,6 +335,7 @@ __export(sdk_gen_exports, {
|
|
|
330
335
|
deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
|
|
331
336
|
deleteAiGraphNodesById: () => deleteAiGraphNodesById,
|
|
332
337
|
deleteApiKeysById: () => deleteApiKeysById,
|
|
338
|
+
deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
333
339
|
deleteApplicationsById: () => deleteApplicationsById,
|
|
334
340
|
deleteBucketsById: () => deleteBucketsById,
|
|
335
341
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
@@ -363,6 +369,8 @@ __export(sdk_gen_exports, {
|
|
|
363
369
|
getApiKeys: () => getApiKeys,
|
|
364
370
|
getApiKeysById: () => getApiKeysById,
|
|
365
371
|
getApplications: () => getApplications,
|
|
372
|
+
getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
|
|
373
|
+
getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
366
374
|
getApplicationsById: () => getApplicationsById,
|
|
367
375
|
getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
|
|
368
376
|
getAuditLogs: () => getAuditLogs,
|
|
@@ -463,6 +471,7 @@ __export(sdk_gen_exports, {
|
|
|
463
471
|
patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
|
|
464
472
|
patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
|
|
465
473
|
patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
|
|
474
|
+
patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
466
475
|
patchApplicationsById: () => patchApplicationsById,
|
|
467
476
|
patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
|
|
468
477
|
patchBucketsById: () => patchBucketsById,
|
|
@@ -529,6 +538,7 @@ __export(sdk_gen_exports, {
|
|
|
529
538
|
postAiSearchAdvanced: () => postAiSearchAdvanced,
|
|
530
539
|
postApiKeys: () => postApiKeys,
|
|
531
540
|
postApplications: () => postApplications,
|
|
541
|
+
postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
|
|
532
542
|
postBuckets: () => postBuckets,
|
|
533
543
|
postConfigs: () => postConfigs,
|
|
534
544
|
postDocumentsBulkDelete: () => postDocumentsBulkDelete,
|
|
@@ -1808,6 +1818,28 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
|
1808
1818
|
url: "/buckets/{id}/stats",
|
|
1809
1819
|
...options
|
|
1810
1820
|
});
|
|
1821
|
+
var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
|
|
1822
|
+
querySerializer: {
|
|
1823
|
+
parameters: {
|
|
1824
|
+
filter: { object: { style: "form" } },
|
|
1825
|
+
page: { object: { style: "form" } },
|
|
1826
|
+
fields: { object: { style: "form" } }
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1830
|
+
url: "/applications/{application_id}/email-templates",
|
|
1831
|
+
...options
|
|
1832
|
+
});
|
|
1833
|
+
var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
|
|
1834
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1835
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1836
|
+
url: "/applications/{application_id}/email-templates",
|
|
1837
|
+
...options,
|
|
1838
|
+
headers: {
|
|
1839
|
+
"Content-Type": "application/vnd.api+json",
|
|
1840
|
+
...options.headers
|
|
1841
|
+
}
|
|
1842
|
+
});
|
|
1811
1843
|
var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
|
|
1812
1844
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1813
1845
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3622,6 +3654,28 @@ var postAgents = (options) => (options.client ?? client).post({
|
|
|
3622
3654
|
...options.headers
|
|
3623
3655
|
}
|
|
3624
3656
|
});
|
|
3657
|
+
var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
|
|
3658
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3659
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3660
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3661
|
+
...options
|
|
3662
|
+
});
|
|
3663
|
+
var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
|
|
3664
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3665
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3666
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3667
|
+
...options
|
|
3668
|
+
});
|
|
3669
|
+
var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
|
|
3670
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3671
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3672
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3673
|
+
...options,
|
|
3674
|
+
headers: {
|
|
3675
|
+
"Content-Type": "application/vnd.api+json",
|
|
3676
|
+
...options.headers
|
|
3677
|
+
}
|
|
3678
|
+
});
|
|
3625
3679
|
var postUsersRegisterIsv = (options) => (options.client ?? client).post({
|
|
3626
3680
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3627
3681
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -4311,6 +4365,7 @@ var index_default = gptCore;
|
|
|
4311
4365
|
deleteAiGraphEdgesById,
|
|
4312
4366
|
deleteAiGraphNodesById,
|
|
4313
4367
|
deleteApiKeysById,
|
|
4368
|
+
deleteApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
4314
4369
|
deleteApplicationsById,
|
|
4315
4370
|
deleteBucketsById,
|
|
4316
4371
|
deleteExtractionDocumentsById,
|
|
@@ -4344,6 +4399,8 @@ var index_default = gptCore;
|
|
|
4344
4399
|
getApiKeys,
|
|
4345
4400
|
getApiKeysById,
|
|
4346
4401
|
getApplications,
|
|
4402
|
+
getApplicationsByApplicationIdEmailTemplates,
|
|
4403
|
+
getApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
4347
4404
|
getApplicationsById,
|
|
4348
4405
|
getApplicationsBySlugBySlug,
|
|
4349
4406
|
getAuditLogs,
|
|
@@ -4448,6 +4505,7 @@ var index_default = gptCore;
|
|
|
4448
4505
|
patchApiKeysByIdRevoke,
|
|
4449
4506
|
patchApiKeysByIdRotate,
|
|
4450
4507
|
patchApiKeysByIdSetBudget,
|
|
4508
|
+
patchApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
4451
4509
|
patchApplicationsById,
|
|
4452
4510
|
patchApplicationsByIdGrantCredits,
|
|
4453
4511
|
patchBucketsById,
|
|
@@ -4514,6 +4572,7 @@ var index_default = gptCore;
|
|
|
4514
4572
|
postAiSearchAdvanced,
|
|
4515
4573
|
postApiKeys,
|
|
4516
4574
|
postApplications,
|
|
4575
|
+
postApplicationsByApplicationIdEmailTemplates,
|
|
4517
4576
|
postBuckets,
|
|
4518
4577
|
postConfigs,
|
|
4519
4578
|
postDocumentsBulkDelete,
|
package/dist/index.mjs
CHANGED
|
@@ -12,6 +12,7 @@ __export(sdk_gen_exports, {
|
|
|
12
12
|
deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
|
|
13
13
|
deleteAiGraphNodesById: () => deleteAiGraphNodesById,
|
|
14
14
|
deleteApiKeysById: () => deleteApiKeysById,
|
|
15
|
+
deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
15
16
|
deleteApplicationsById: () => deleteApplicationsById,
|
|
16
17
|
deleteBucketsById: () => deleteBucketsById,
|
|
17
18
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
@@ -45,6 +46,8 @@ __export(sdk_gen_exports, {
|
|
|
45
46
|
getApiKeys: () => getApiKeys,
|
|
46
47
|
getApiKeysById: () => getApiKeysById,
|
|
47
48
|
getApplications: () => getApplications,
|
|
49
|
+
getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
|
|
50
|
+
getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
48
51
|
getApplicationsById: () => getApplicationsById,
|
|
49
52
|
getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
|
|
50
53
|
getAuditLogs: () => getAuditLogs,
|
|
@@ -145,6 +148,7 @@ __export(sdk_gen_exports, {
|
|
|
145
148
|
patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
|
|
146
149
|
patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
|
|
147
150
|
patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
|
|
151
|
+
patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
148
152
|
patchApplicationsById: () => patchApplicationsById,
|
|
149
153
|
patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
|
|
150
154
|
patchBucketsById: () => patchBucketsById,
|
|
@@ -211,6 +215,7 @@ __export(sdk_gen_exports, {
|
|
|
211
215
|
postAiSearchAdvanced: () => postAiSearchAdvanced,
|
|
212
216
|
postApiKeys: () => postApiKeys,
|
|
213
217
|
postApplications: () => postApplications,
|
|
218
|
+
postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
|
|
214
219
|
postBuckets: () => postBuckets,
|
|
215
220
|
postConfigs: () => postConfigs,
|
|
216
221
|
postDocumentsBulkDelete: () => postDocumentsBulkDelete,
|
|
@@ -1490,6 +1495,28 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
|
|
|
1490
1495
|
url: "/buckets/{id}/stats",
|
|
1491
1496
|
...options
|
|
1492
1497
|
});
|
|
1498
|
+
var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
|
|
1499
|
+
querySerializer: {
|
|
1500
|
+
parameters: {
|
|
1501
|
+
filter: { object: { style: "form" } },
|
|
1502
|
+
page: { object: { style: "form" } },
|
|
1503
|
+
fields: { object: { style: "form" } }
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1507
|
+
url: "/applications/{application_id}/email-templates",
|
|
1508
|
+
...options
|
|
1509
|
+
});
|
|
1510
|
+
var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
|
|
1511
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1512
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1513
|
+
url: "/applications/{application_id}/email-templates",
|
|
1514
|
+
...options,
|
|
1515
|
+
headers: {
|
|
1516
|
+
"Content-Type": "application/vnd.api+json",
|
|
1517
|
+
...options.headers
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1493
1520
|
var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
|
|
1494
1521
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1495
1522
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3304,6 +3331,28 @@ var postAgents = (options) => (options.client ?? client).post({
|
|
|
3304
3331
|
...options.headers
|
|
3305
3332
|
}
|
|
3306
3333
|
});
|
|
3334
|
+
var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
|
|
3335
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3336
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3337
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3338
|
+
...options
|
|
3339
|
+
});
|
|
3340
|
+
var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
|
|
3341
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3342
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3343
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3344
|
+
...options
|
|
3345
|
+
});
|
|
3346
|
+
var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
|
|
3347
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3348
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3349
|
+
url: "/applications/{application_id}/email-templates/{slug}",
|
|
3350
|
+
...options,
|
|
3351
|
+
headers: {
|
|
3352
|
+
"Content-Type": "application/vnd.api+json",
|
|
3353
|
+
...options.headers
|
|
3354
|
+
}
|
|
3355
|
+
});
|
|
3307
3356
|
var postUsersRegisterIsv = (options) => (options.client ?? client).post({
|
|
3308
3357
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3309
3358
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3993,6 +4042,7 @@ export {
|
|
|
3993
4042
|
deleteAiGraphEdgesById,
|
|
3994
4043
|
deleteAiGraphNodesById,
|
|
3995
4044
|
deleteApiKeysById,
|
|
4045
|
+
deleteApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
3996
4046
|
deleteApplicationsById,
|
|
3997
4047
|
deleteBucketsById,
|
|
3998
4048
|
deleteExtractionDocumentsById,
|
|
@@ -4026,6 +4076,8 @@ export {
|
|
|
4026
4076
|
getApiKeys,
|
|
4027
4077
|
getApiKeysById,
|
|
4028
4078
|
getApplications,
|
|
4079
|
+
getApplicationsByApplicationIdEmailTemplates,
|
|
4080
|
+
getApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
4029
4081
|
getApplicationsById,
|
|
4030
4082
|
getApplicationsBySlugBySlug,
|
|
4031
4083
|
getAuditLogs,
|
|
@@ -4130,6 +4182,7 @@ export {
|
|
|
4130
4182
|
patchApiKeysByIdRevoke,
|
|
4131
4183
|
patchApiKeysByIdRotate,
|
|
4132
4184
|
patchApiKeysByIdSetBudget,
|
|
4185
|
+
patchApplicationsByApplicationIdEmailTemplatesBySlug,
|
|
4133
4186
|
patchApplicationsById,
|
|
4134
4187
|
patchApplicationsByIdGrantCredits,
|
|
4135
4188
|
patchBucketsById,
|
|
@@ -4196,6 +4249,7 @@ export {
|
|
|
4196
4249
|
postAiSearchAdvanced,
|
|
4197
4250
|
postApiKeys,
|
|
4198
4251
|
postApplications,
|
|
4252
|
+
postApplicationsByApplicationIdEmailTemplates,
|
|
4199
4253
|
postBuckets,
|
|
4200
4254
|
postConfigs,
|
|
4201
4255
|
postDocumentsBulkDelete,
|
package/package.json
CHANGED