@gpt-core/client 0.7.84 → 0.7.86

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
@@ -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,
@@ -305,6 +310,7 @@ __export(index_exports, {
305
310
  postUsersAuthMagicLinkRequest: () => postUsersAuthMagicLinkRequest,
306
311
  postUsersAuthRegister: () => postUsersAuthRegister,
307
312
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
313
+ postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
308
314
  postUsersRegisterIsv: () => postUsersRegisterIsv,
309
315
  postWebhookConfigs: () => postWebhookConfigs,
310
316
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
@@ -330,6 +336,7 @@ __export(sdk_gen_exports, {
330
336
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
331
337
  deleteAiGraphNodesById: () => deleteAiGraphNodesById,
332
338
  deleteApiKeysById: () => deleteApiKeysById,
339
+ deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
333
340
  deleteApplicationsById: () => deleteApplicationsById,
334
341
  deleteBucketsById: () => deleteBucketsById,
335
342
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
@@ -363,6 +370,8 @@ __export(sdk_gen_exports, {
363
370
  getApiKeys: () => getApiKeys,
364
371
  getApiKeysById: () => getApiKeysById,
365
372
  getApplications: () => getApplications,
373
+ getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
374
+ getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
366
375
  getApplicationsById: () => getApplicationsById,
367
376
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
368
377
  getAuditLogs: () => getAuditLogs,
@@ -463,6 +472,7 @@ __export(sdk_gen_exports, {
463
472
  patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
464
473
  patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
465
474
  patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
475
+ patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
466
476
  patchApplicationsById: () => patchApplicationsById,
467
477
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
468
478
  patchBucketsById: () => patchBucketsById,
@@ -529,6 +539,7 @@ __export(sdk_gen_exports, {
529
539
  postAiSearchAdvanced: () => postAiSearchAdvanced,
530
540
  postApiKeys: () => postApiKeys,
531
541
  postApplications: () => postApplications,
542
+ postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
532
543
  postBuckets: () => postBuckets,
533
544
  postConfigs: () => postConfigs,
534
545
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
@@ -573,6 +584,7 @@ __export(sdk_gen_exports, {
573
584
  postUsersAuthMagicLinkRequest: () => postUsersAuthMagicLinkRequest,
574
585
  postUsersAuthRegister: () => postUsersAuthRegister,
575
586
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
587
+ postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
576
588
  postUsersRegisterIsv: () => postUsersRegisterIsv,
577
589
  postWebhookConfigs: () => postWebhookConfigs,
578
590
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
@@ -1808,6 +1820,28 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
1808
1820
  url: "/buckets/{id}/stats",
1809
1821
  ...options
1810
1822
  });
1823
+ var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
1824
+ querySerializer: {
1825
+ parameters: {
1826
+ filter: { object: { style: "form" } },
1827
+ page: { object: { style: "form" } },
1828
+ fields: { object: { style: "form" } }
1829
+ }
1830
+ },
1831
+ security: [{ scheme: "bearer", type: "http" }],
1832
+ url: "/applications/{application_id}/email-templates",
1833
+ ...options
1834
+ });
1835
+ var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
1836
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1837
+ security: [{ scheme: "bearer", type: "http" }],
1838
+ url: "/applications/{application_id}/email-templates",
1839
+ ...options,
1840
+ headers: {
1841
+ "Content-Type": "application/vnd.api+json",
1842
+ ...options.headers
1843
+ }
1844
+ });
1811
1845
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1812
1846
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1813
1847
  security: [{ scheme: "bearer", type: "http" }],
@@ -3233,6 +3267,16 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
3233
3267
  ...options.headers
3234
3268
  }
3235
3269
  });
3270
+ var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
3271
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3272
+ security: [{ scheme: "bearer", type: "http" }],
3273
+ url: "/users/auth/resend-confirmation",
3274
+ ...options,
3275
+ headers: {
3276
+ "Content-Type": "application/vnd.api+json",
3277
+ ...options.headers
3278
+ }
3279
+ });
3236
3280
  var getFieldTemplates = (options) => (options.client ?? client).get({
3237
3281
  querySerializer: {
3238
3282
  parameters: {
@@ -3622,6 +3666,28 @@ var postAgents = (options) => (options.client ?? client).post({
3622
3666
  ...options.headers
3623
3667
  }
3624
3668
  });
3669
+ var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
3670
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3671
+ security: [{ scheme: "bearer", type: "http" }],
3672
+ url: "/applications/{application_id}/email-templates/{slug}",
3673
+ ...options
3674
+ });
3675
+ var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
3676
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3677
+ security: [{ scheme: "bearer", type: "http" }],
3678
+ url: "/applications/{application_id}/email-templates/{slug}",
3679
+ ...options
3680
+ });
3681
+ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
3682
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3683
+ security: [{ scheme: "bearer", type: "http" }],
3684
+ url: "/applications/{application_id}/email-templates/{slug}",
3685
+ ...options,
3686
+ headers: {
3687
+ "Content-Type": "application/vnd.api+json",
3688
+ ...options.headers
3689
+ }
3690
+ });
3625
3691
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3626
3692
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3627
3693
  security: [{ scheme: "bearer", type: "http" }],
@@ -4311,6 +4377,7 @@ var index_default = gptCore;
4311
4377
  deleteAiGraphEdgesById,
4312
4378
  deleteAiGraphNodesById,
4313
4379
  deleteApiKeysById,
4380
+ deleteApplicationsByApplicationIdEmailTemplatesBySlug,
4314
4381
  deleteApplicationsById,
4315
4382
  deleteBucketsById,
4316
4383
  deleteExtractionDocumentsById,
@@ -4344,6 +4411,8 @@ var index_default = gptCore;
4344
4411
  getApiKeys,
4345
4412
  getApiKeysById,
4346
4413
  getApplications,
4414
+ getApplicationsByApplicationIdEmailTemplates,
4415
+ getApplicationsByApplicationIdEmailTemplatesBySlug,
4347
4416
  getApplicationsById,
4348
4417
  getApplicationsBySlugBySlug,
4349
4418
  getAuditLogs,
@@ -4448,6 +4517,7 @@ var index_default = gptCore;
4448
4517
  patchApiKeysByIdRevoke,
4449
4518
  patchApiKeysByIdRotate,
4450
4519
  patchApiKeysByIdSetBudget,
4520
+ patchApplicationsByApplicationIdEmailTemplatesBySlug,
4451
4521
  patchApplicationsById,
4452
4522
  patchApplicationsByIdGrantCredits,
4453
4523
  patchBucketsById,
@@ -4514,6 +4584,7 @@ var index_default = gptCore;
4514
4584
  postAiSearchAdvanced,
4515
4585
  postApiKeys,
4516
4586
  postApplications,
4587
+ postApplicationsByApplicationIdEmailTemplates,
4517
4588
  postBuckets,
4518
4589
  postConfigs,
4519
4590
  postDocumentsBulkDelete,
@@ -4558,6 +4629,7 @@ var index_default = gptCore;
4558
4629
  postUsersAuthMagicLinkRequest,
4559
4630
  postUsersAuthRegister,
4560
4631
  postUsersAuthRegisterWithOidc,
4632
+ postUsersAuthResendConfirmation,
4561
4633
  postUsersRegisterIsv,
4562
4634
  postWebhookConfigs,
4563
4635
  postWebhookConfigsByIdTest,
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,
@@ -255,6 +260,7 @@ __export(sdk_gen_exports, {
255
260
  postUsersAuthMagicLinkRequest: () => postUsersAuthMagicLinkRequest,
256
261
  postUsersAuthRegister: () => postUsersAuthRegister,
257
262
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
263
+ postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
258
264
  postUsersRegisterIsv: () => postUsersRegisterIsv,
259
265
  postWebhookConfigs: () => postWebhookConfigs,
260
266
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
@@ -1490,6 +1496,28 @@ var getBucketsByIdStats = (options) => (options.client ?? client).get({
1490
1496
  url: "/buckets/{id}/stats",
1491
1497
  ...options
1492
1498
  });
1499
+ var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
1500
+ querySerializer: {
1501
+ parameters: {
1502
+ filter: { object: { style: "form" } },
1503
+ page: { object: { style: "form" } },
1504
+ fields: { object: { style: "form" } }
1505
+ }
1506
+ },
1507
+ security: [{ scheme: "bearer", type: "http" }],
1508
+ url: "/applications/{application_id}/email-templates",
1509
+ ...options
1510
+ });
1511
+ var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
1512
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1513
+ security: [{ scheme: "bearer", type: "http" }],
1514
+ url: "/applications/{application_id}/email-templates",
1515
+ ...options,
1516
+ headers: {
1517
+ "Content-Type": "application/vnd.api+json",
1518
+ ...options.headers
1519
+ }
1520
+ });
1493
1521
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1494
1522
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1495
1523
  security: [{ scheme: "bearer", type: "http" }],
@@ -2915,6 +2943,16 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
2915
2943
  ...options.headers
2916
2944
  }
2917
2945
  });
2946
+ var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
2947
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2948
+ security: [{ scheme: "bearer", type: "http" }],
2949
+ url: "/users/auth/resend-confirmation",
2950
+ ...options,
2951
+ headers: {
2952
+ "Content-Type": "application/vnd.api+json",
2953
+ ...options.headers
2954
+ }
2955
+ });
2918
2956
  var getFieldTemplates = (options) => (options.client ?? client).get({
2919
2957
  querySerializer: {
2920
2958
  parameters: {
@@ -3304,6 +3342,28 @@ var postAgents = (options) => (options.client ?? client).post({
3304
3342
  ...options.headers
3305
3343
  }
3306
3344
  });
3345
+ var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
3346
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3347
+ security: [{ scheme: "bearer", type: "http" }],
3348
+ url: "/applications/{application_id}/email-templates/{slug}",
3349
+ ...options
3350
+ });
3351
+ var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
3352
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3353
+ security: [{ scheme: "bearer", type: "http" }],
3354
+ url: "/applications/{application_id}/email-templates/{slug}",
3355
+ ...options
3356
+ });
3357
+ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
3358
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3359
+ security: [{ scheme: "bearer", type: "http" }],
3360
+ url: "/applications/{application_id}/email-templates/{slug}",
3361
+ ...options,
3362
+ headers: {
3363
+ "Content-Type": "application/vnd.api+json",
3364
+ ...options.headers
3365
+ }
3366
+ });
3307
3367
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3308
3368
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3309
3369
  security: [{ scheme: "bearer", type: "http" }],
@@ -3993,6 +4053,7 @@ export {
3993
4053
  deleteAiGraphEdgesById,
3994
4054
  deleteAiGraphNodesById,
3995
4055
  deleteApiKeysById,
4056
+ deleteApplicationsByApplicationIdEmailTemplatesBySlug,
3996
4057
  deleteApplicationsById,
3997
4058
  deleteBucketsById,
3998
4059
  deleteExtractionDocumentsById,
@@ -4026,6 +4087,8 @@ export {
4026
4087
  getApiKeys,
4027
4088
  getApiKeysById,
4028
4089
  getApplications,
4090
+ getApplicationsByApplicationIdEmailTemplates,
4091
+ getApplicationsByApplicationIdEmailTemplatesBySlug,
4029
4092
  getApplicationsById,
4030
4093
  getApplicationsBySlugBySlug,
4031
4094
  getAuditLogs,
@@ -4130,6 +4193,7 @@ export {
4130
4193
  patchApiKeysByIdRevoke,
4131
4194
  patchApiKeysByIdRotate,
4132
4195
  patchApiKeysByIdSetBudget,
4196
+ patchApplicationsByApplicationIdEmailTemplatesBySlug,
4133
4197
  patchApplicationsById,
4134
4198
  patchApplicationsByIdGrantCredits,
4135
4199
  patchBucketsById,
@@ -4196,6 +4260,7 @@ export {
4196
4260
  postAiSearchAdvanced,
4197
4261
  postApiKeys,
4198
4262
  postApplications,
4263
+ postApplicationsByApplicationIdEmailTemplates,
4199
4264
  postBuckets,
4200
4265
  postConfigs,
4201
4266
  postDocumentsBulkDelete,
@@ -4240,6 +4305,7 @@ export {
4240
4305
  postUsersAuthMagicLinkRequest,
4241
4306
  postUsersAuthRegister,
4242
4307
  postUsersAuthRegisterWithOidc,
4308
+ postUsersAuthResendConfirmation,
4243
4309
  postUsersRegisterIsv,
4244
4310
  postWebhookConfigs,
4245
4311
  postWebhookConfigsByIdTest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.84",
3
+ "version": "0.7.86",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",