@omnara/sdk 0.1.37 → 0.1.39

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/zod.js CHANGED
@@ -8,7 +8,6 @@ import {
8
8
  zAgentActivity,
9
9
  zAgentConfig,
10
10
  zAgentConfigDefinition,
11
- zAgentConfigDefinitionEventWebhook,
12
11
  zAgentConfigDefinitionGitCredentials,
13
12
  zAgentConfigDefinitionInteractionHandler,
14
13
  zAgentConfigDefinitionInteractionHandlers,
@@ -43,6 +42,7 @@ import {
43
42
  zAgentEvent,
44
43
  zAgentEventId,
45
44
  zAgentEventStreamData,
45
+ zAgentEventWebhookScope,
46
46
  zAgentId,
47
47
  zAgentIncludeUsage,
48
48
  zAgentInput,
@@ -68,6 +68,7 @@ import {
68
68
  zAgentName,
69
69
  zAgentProfile,
70
70
  zAgentProfileCronTriggerTarget,
71
+ zAgentProfileEventWebhookScope,
71
72
  zAgentProfileId,
72
73
  zAgentProfileIncludeStats,
73
74
  zAgentProfileStats,
@@ -100,7 +101,6 @@ import {
100
101
  zClientErrorCode,
101
102
  zCompiledAgentConfig,
102
103
  zCompiledAgentModel,
103
- zCompiledEventWebhook,
104
104
  zCompiledGitCredentials,
105
105
  zCompiledIntegrationCapability,
106
106
  zCompiledMachineSource,
@@ -168,6 +168,10 @@ import {
168
168
  zCreateCronTriggerPath,
169
169
  zCreateCronTriggerRequest,
170
170
  zCreateCronTriggerResponse,
171
+ zCreateEventWebhookBody,
172
+ zCreateEventWebhookPath,
173
+ zCreateEventWebhookRequest,
174
+ zCreateEventWebhookResponse,
171
175
  zCreateGitHubSetupRequest,
172
176
  zCreateIntegrationBody,
173
177
  zCreateIntegrationGitHubSetupBody,
@@ -292,6 +296,8 @@ import {
292
296
  zDeleteCronTriggerPath,
293
297
  zDeleteCronTriggerResponse,
294
298
  zDeleteCurrentUserResponse,
299
+ zDeleteEventWebhookPath,
300
+ zDeleteEventWebhookResponse,
295
301
  zDeleteIntegrationPath,
296
302
  zDeleteIntegrationResponse,
297
303
  zDeleteIntegrationSubscriptionPath,
@@ -346,10 +352,15 @@ import {
346
352
  zError,
347
353
  zErrorCode,
348
354
  zErrorContentBlock,
355
+ zEventWebhook,
349
356
  zEventWebhookAgentInputEvent,
350
357
  zEventWebhookContextCheckpointEvent,
358
+ zEventWebhookEventType,
359
+ zEventWebhookId,
351
360
  zEventWebhookModelOutputEvent,
352
361
  zEventWebhookPayload,
362
+ zEventWebhookScope,
363
+ zEventWebhookScopeType,
353
364
  zEventWebhookToolCallUpdate,
354
365
  zEventWebhookToolResultEvent,
355
366
  zExternalActorParams,
@@ -494,6 +505,10 @@ import {
494
505
  zListCronTriggersQuery,
495
506
  zListCronTriggersResponse,
496
507
  zListCronTriggersResponse2,
508
+ zListEventWebhooksPath,
509
+ zListEventWebhooksQuery,
510
+ zListEventWebhooksResponse,
511
+ zListEventWebhooksResponse2,
497
512
  zListEventsPath,
498
513
  zListEventsQuery,
499
514
  zListEventsResponse,
@@ -748,6 +763,7 @@ import {
748
763
  zProcessReconciliationDirective,
749
764
  zProject,
750
765
  zProjectAccess,
766
+ zProjectEventWebhookScope,
751
767
  zProjectFields,
752
768
  zProjectId,
753
769
  zProjectMachineGrant,
@@ -910,6 +926,10 @@ import {
910
926
  zUpdateCronTriggerPath,
911
927
  zUpdateCronTriggerRequest,
912
928
  zUpdateCronTriggerResponse,
929
+ zUpdateEventWebhookBody,
930
+ zUpdateEventWebhookPath,
931
+ zUpdateEventWebhookRequest,
932
+ zUpdateEventWebhookResponse,
913
933
  zUpdateIntegrationBody,
914
934
  zUpdateIntegrationPath,
915
935
  zUpdateIntegrationRequest,
@@ -984,7 +1004,7 @@ import {
984
1004
  zWriteMemoryFilePath,
985
1005
  zWriteMemoryFileQuery,
986
1006
  zWriteMemoryFileResponse
987
- } from "./chunk-2LTFYXMO.js";
1007
+ } from "./chunk-P6QIAFYS.js";
988
1008
  export {
989
1009
  zAcceptInvitationPath,
990
1010
  zAcceptInvitationResponse,
@@ -995,7 +1015,6 @@ export {
995
1015
  zAgentActivity,
996
1016
  zAgentConfig,
997
1017
  zAgentConfigDefinition,
998
- zAgentConfigDefinitionEventWebhook,
999
1018
  zAgentConfigDefinitionGitCredentials,
1000
1019
  zAgentConfigDefinitionInteractionHandler,
1001
1020
  zAgentConfigDefinitionInteractionHandlers,
@@ -1030,6 +1049,7 @@ export {
1030
1049
  zAgentEvent,
1031
1050
  zAgentEventId,
1032
1051
  zAgentEventStreamData,
1052
+ zAgentEventWebhookScope,
1033
1053
  zAgentId,
1034
1054
  zAgentIncludeUsage,
1035
1055
  zAgentInput,
@@ -1055,6 +1075,7 @@ export {
1055
1075
  zAgentName,
1056
1076
  zAgentProfile,
1057
1077
  zAgentProfileCronTriggerTarget,
1078
+ zAgentProfileEventWebhookScope,
1058
1079
  zAgentProfileId,
1059
1080
  zAgentProfileIncludeStats,
1060
1081
  zAgentProfileStats,
@@ -1087,7 +1108,6 @@ export {
1087
1108
  zClientErrorCode,
1088
1109
  zCompiledAgentConfig,
1089
1110
  zCompiledAgentModel,
1090
- zCompiledEventWebhook,
1091
1111
  zCompiledGitCredentials,
1092
1112
  zCompiledIntegrationCapability,
1093
1113
  zCompiledMachineSource,
@@ -1155,6 +1175,10 @@ export {
1155
1175
  zCreateCronTriggerPath,
1156
1176
  zCreateCronTriggerRequest,
1157
1177
  zCreateCronTriggerResponse,
1178
+ zCreateEventWebhookBody,
1179
+ zCreateEventWebhookPath,
1180
+ zCreateEventWebhookRequest,
1181
+ zCreateEventWebhookResponse,
1158
1182
  zCreateGitHubSetupRequest,
1159
1183
  zCreateIntegrationBody,
1160
1184
  zCreateIntegrationGitHubSetupBody,
@@ -1279,6 +1303,8 @@ export {
1279
1303
  zDeleteCronTriggerPath,
1280
1304
  zDeleteCronTriggerResponse,
1281
1305
  zDeleteCurrentUserResponse,
1306
+ zDeleteEventWebhookPath,
1307
+ zDeleteEventWebhookResponse,
1282
1308
  zDeleteIntegrationPath,
1283
1309
  zDeleteIntegrationResponse,
1284
1310
  zDeleteIntegrationSubscriptionPath,
@@ -1333,10 +1359,15 @@ export {
1333
1359
  zError,
1334
1360
  zErrorCode,
1335
1361
  zErrorContentBlock,
1362
+ zEventWebhook,
1336
1363
  zEventWebhookAgentInputEvent,
1337
1364
  zEventWebhookContextCheckpointEvent,
1365
+ zEventWebhookEventType,
1366
+ zEventWebhookId,
1338
1367
  zEventWebhookModelOutputEvent,
1339
1368
  zEventWebhookPayload,
1369
+ zEventWebhookScope,
1370
+ zEventWebhookScopeType,
1340
1371
  zEventWebhookToolCallUpdate,
1341
1372
  zEventWebhookToolResultEvent,
1342
1373
  zExternalActorParams,
@@ -1481,6 +1512,10 @@ export {
1481
1512
  zListCronTriggersQuery,
1482
1513
  zListCronTriggersResponse,
1483
1514
  zListCronTriggersResponse2,
1515
+ zListEventWebhooksPath,
1516
+ zListEventWebhooksQuery,
1517
+ zListEventWebhooksResponse,
1518
+ zListEventWebhooksResponse2,
1484
1519
  zListEventsPath,
1485
1520
  zListEventsQuery,
1486
1521
  zListEventsResponse,
@@ -1735,6 +1770,7 @@ export {
1735
1770
  zProcessReconciliationDirective,
1736
1771
  zProject,
1737
1772
  zProjectAccess,
1773
+ zProjectEventWebhookScope,
1738
1774
  zProjectFields,
1739
1775
  zProjectId,
1740
1776
  zProjectMachineGrant,
@@ -1897,6 +1933,10 @@ export {
1897
1933
  zUpdateCronTriggerPath,
1898
1934
  zUpdateCronTriggerRequest,
1899
1935
  zUpdateCronTriggerResponse,
1936
+ zUpdateEventWebhookBody,
1937
+ zUpdateEventWebhookPath,
1938
+ zUpdateEventWebhookRequest,
1939
+ zUpdateEventWebhookResponse,
1900
1940
  zUpdateIntegrationBody,
1901
1941
  zUpdateIntegrationPath,
1902
1942
  zUpdateIntegrationRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnara/sdk",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "description": "TypeScript SDK for the Omnara API, with browser, TanStack Query, and Zod entry points",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -60,9 +60,9 @@
60
60
  "devDependencies": {
61
61
  "@hey-api/openapi-ts": "0.99.0",
62
62
  "@tanstack/react-query": "^5.59.0",
63
- "tsup": "^8.5.1",
63
+ "tsup": "^9.0.0",
64
64
  "typescript": "^5.6.0",
65
- "vitest": "5.0.4"
65
+ "vitest": "5.0.5"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsup",