@automate.ax/api-contract 0.161.0 → 0.163.0

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/account.d.ts CHANGED
@@ -200,7 +200,6 @@ export declare const accountContract: {
200
200
  token: z.ZodUUID;
201
201
  }, z.core.$strip>, z.ZodObject<{
202
202
  accountId: z.ZodString;
203
- txid: z.ZodNumber;
204
203
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
205
204
  beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
206
205
  connectionMethodId: z.ZodString;
@@ -226,9 +225,7 @@ export declare const accountContract: {
226
225
  disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
227
226
  accountId: z.ZodString;
228
227
  organizationId: z.ZodString;
229
- }, z.core.$strip>, z.ZodObject<{
230
- txid: z.ZodNumber;
231
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
228
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
232
229
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
233
230
  accountId: z.ZodString;
234
231
  organizationId: z.ZodString;
@@ -450,7 +447,6 @@ export declare const accountContract: {
450
447
  unsupported: "unsupported";
451
448
  }>;
452
449
  }, z.core.$strip>;
453
- txid: z.ZodNumber;
454
450
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
455
451
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
456
452
  connectionMethodId: z.ZodString;
package/dist/account.js CHANGED
@@ -185,7 +185,7 @@ export const accountContract = {
185
185
  tags: ["Integration Accounts"],
186
186
  })
187
187
  .input(z.object({ organizationId: z.string(), token: z.uuid() }))
188
- .output(z.object({ accountId: z.string(), txid: z.number().int() })),
188
+ .output(z.object({ accountId: z.string() })),
189
189
  beginConnection: oc
190
190
  .route({
191
191
  description: "Starts an OAuth-style organization account connection.",
@@ -234,7 +234,7 @@ export const accountContract = {
234
234
  tags: ["Integration Accounts"],
235
235
  })
236
236
  .input(organizationAccountInputSchema)
237
- .output(z.object({ txid: z.number().int().nonnegative() })),
237
+ .output(z.void()),
238
238
  get: oc
239
239
  .route({
240
240
  description: "Returns one integration account linked to an organization.",
@@ -292,7 +292,6 @@ export const accountContract = {
292
292
  .input(organizationAccountInputSchema)
293
293
  .output(z.object({
294
294
  revocation: integrationAccountRevocationOutputSchema,
295
- txid: z.number().int().nonnegative(),
296
295
  })),
297
296
  submitCredentials: oc
298
297
  .route({
@@ -50,18 +50,14 @@ export declare const authorizationContract: {
50
50
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
51
51
  proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
52
52
  deploymentId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- txid: z.ZodNumber;
55
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
53
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
56
54
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
57
55
  binding: z.ZodString;
58
56
  connectionMethodId: z.ZodString;
59
57
  data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
60
58
  deploymentId: z.ZodString;
61
59
  serviceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- txid: z.ZodNumber;
64
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
60
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
65
61
  selectAccount: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
66
62
  accountId: z.ZodString;
67
63
  binding: z.ZodString;
@@ -90,7 +90,7 @@ export const authorizationContract = {
90
90
  tags: ["Deployments"],
91
91
  })
92
92
  .input(z.object({ deploymentId: z.string() }))
93
- .output(z.object({ txid: z.number().int().nonnegative() })),
93
+ .output(z.void()),
94
94
  submitCredentials: oc
95
95
  .input(z.object({
96
96
  binding: z.string().min(1),
@@ -99,7 +99,7 @@ export const authorizationContract = {
99
99
  deploymentId: z.string(),
100
100
  serviceId: z.string().min(1),
101
101
  }))
102
- .output(z.object({ txid: z.number().int().nonnegative() })),
102
+ .output(z.void()),
103
103
  selectAccount: oc
104
104
  .input(z.object({
105
105
  accountId: z.string(),
@@ -364,7 +364,5 @@ export declare const automationContract: {
364
364
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
365
365
  automation: z.ZodString;
366
366
  enabled: z.ZodBoolean;
367
- }, z.core.$strip>, z.ZodObject<{
368
- txid: z.ZodNumber;
369
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
367
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
370
368
  };
@@ -215,7 +215,5 @@ export const automationContract = {
215
215
  automation: AUTOMATION_SELECTOR_SCHEMA,
216
216
  enabled: z.boolean(),
217
217
  }))
218
- .output(z.object({
219
- txid: z.number().int().nonnegative(),
220
- })),
218
+ .output(z.void()),
221
219
  };
@@ -358,9 +358,7 @@ export declare const deploymentContract: {
358
358
  name: z.ZodString;
359
359
  value: z.ZodBase64;
360
360
  }, z.core.$strip>>;
361
- }, z.core.$strip>, z.ZodObject<{
362
- txid: z.ZodNumber;
363
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
361
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
364
362
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
365
363
  artifact: z.ZodCustom<Blob, Blob>;
366
364
  cancelExisting: z.ZodDefault<z.ZodBoolean>;
@@ -1120,7 +1118,6 @@ export declare const deploymentContract: {
1120
1118
  projectId: z.ZodString;
1121
1119
  }, z.core.$strip>, z.ZodObject<{
1122
1120
  id: z.ZodString;
1123
- txid: z.ZodNumber;
1124
1121
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
1125
1122
  DEPLOYMENT_IN_PROGRESS: {
1126
1123
  readonly data: z.ZodObject<{
@@ -132,7 +132,7 @@ export const deploymentContract = {
132
132
  deploymentId: z.string(),
133
133
  values: DEPLOYMENT_PARAMETER_VALUES_SCHEMA,
134
134
  }))
135
- .output(z.object({ txid: z.number().int().nonnegative() })),
135
+ .output(z.void()),
136
136
  create: oc
137
137
  .errors({
138
138
  DEPLOYMENT_IN_PROGRESS: DEPLOYMENT_IN_PROGRESS_ERROR,
@@ -245,5 +245,5 @@ export const deploymentContract = {
245
245
  parameters: DEPLOYMENT_PARAMETER_VALUES_SCHEMA.default([]),
246
246
  projectId: z.string(),
247
247
  }))
248
- .output(z.object({ id: z.string(), txid: z.number().int().nonnegative() })),
248
+ .output(z.object({ id: z.string() })),
249
249
  };
@@ -3571,11 +3571,12 @@ export declare const eventsContract: {
3571
3571
  }>>]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3572
3572
  metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3573
3573
  entry: import("zod").ZodArray<import("zod").ZodObject<{
3574
- changes: import("zod").ZodArray<import("zod").ZodObject<{
3574
+ changes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3575
3575
  field: import("zod").ZodString;
3576
3576
  value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
3577
- }, import("zod/v4/core").$strip>>;
3577
+ }, import("zod/v4/core").$strip>>>;
3578
3578
  id: import("zod").ZodString;
3579
+ messaging: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
3579
3580
  time: import("zod").ZodNumber;
3580
3581
  }, import("zod/v4/core").$strip>>;
3581
3582
  object: import("zod").ZodString;
@@ -2,11 +2,12 @@ import * as z from "zod";
2
2
  export declare const metaAdsEventsContract: {
3
3
  metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4
4
  entry: z.ZodArray<z.ZodObject<{
5
- changes: z.ZodArray<z.ZodObject<{
5
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  field: z.ZodString;
7
7
  value: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
8
- }, z.core.$strip>>;
8
+ }, z.core.$strip>>>;
9
9
  id: z.ZodString;
10
+ messaging: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
10
11
  time: z.ZodNumber;
11
12
  }, z.core.$strip>>;
12
13
  object: z.ZodString;
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  export const metaAdsEventsContract = {
5
5
  metaAdsEvent: oc
6
6
  .route({
7
- description: "Receives and authenticates Meta Ads and Lead Ads webhooks.",
7
+ description: "Receives and authenticates Meta Ads, Lead Ads, Page, Messenger, and Instagram webhooks.",
8
8
  method: "POST",
9
9
  operationId: "receiveMetaAdsEvent",
10
10
  path: "/events/meta-ads",
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const EXECUTION_DATASET_VERSION = 11;
2
+ export declare const EXECUTION_DATASET_VERSION = 12;
3
3
  export declare const executionDatasetResourceSchema: z.ZodEnum<{
4
4
  automations: "automations";
5
5
  projects: "projects";
@@ -50,7 +50,7 @@ export declare const executionDatasetManifestSchema: z.ZodObject<{
50
50
  }>;
51
51
  url: z.ZodURL;
52
52
  }, z.core.$strip>>;
53
- schemaVersion: z.ZodLiteral<11>;
53
+ schemaVersion: z.ZodLiteral<12>;
54
54
  scope: z.ZodObject<{
55
55
  organizationId: z.ZodNullable<z.ZodString>;
56
56
  projectId: z.ZodNullable<z.ZodString>;
@@ -90,7 +90,7 @@ export declare const executionDataContract: {
90
90
  }>;
91
91
  url: z.ZodURL;
92
92
  }, z.core.$strip>>;
93
- schemaVersion: z.ZodLiteral<11>;
93
+ schemaVersion: z.ZodLiteral<12>;
94
94
  scope: z.ZodObject<{
95
95
  organizationId: z.ZodNullable<z.ZodString>;
96
96
  projectId: z.ZodNullable<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- export const EXECUTION_DATASET_VERSION = 11;
3
+ export const EXECUTION_DATASET_VERSION = 12;
4
4
  export const executionDatasetResourceSchema = z.enum([
5
5
  "projects",
6
6
  "automations",
@@ -44,7 +44,7 @@ export const executionDataContract = {
44
44
  path: "/execution-data/manifest",
45
45
  operationId: "getExecutionDataManifest",
46
46
  summary: "Get execution data manifest",
47
- description: "Returns authenticated Electric shape resources for a validated execution-data scope.",
47
+ description: "Returns authenticated JSON snapshot resources for a validated execution-data scope.",
48
48
  tags: ["Execution data"],
49
49
  })
50
50
  .input(z.object({
package/dist/index.d.ts CHANGED
@@ -34,7 +34,6 @@ export declare const publicContract: {
34
34
  token: import("zod").ZodUUID;
35
35
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
36
36
  accountId: import("zod").ZodString;
37
- txid: import("zod").ZodNumber;
38
37
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
39
38
  beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
40
39
  connectionMethodId: import("zod").ZodString;
@@ -60,9 +59,7 @@ export declare const publicContract: {
60
59
  disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
61
60
  accountId: import("zod").ZodString;
62
61
  organizationId: import("zod").ZodString;
63
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
64
- txid: import("zod").ZodNumber;
65
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
62
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
66
63
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
67
64
  accountId: import("zod").ZodString;
68
65
  organizationId: import("zod").ZodString;
@@ -284,7 +281,6 @@ export declare const publicContract: {
284
281
  unsupported: "unsupported";
285
282
  }>;
286
283
  }, import("zod/v4/core").$strip>;
287
- txid: import("zod").ZodNumber;
288
284
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
289
285
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
290
286
  connectionMethodId: import("zod").ZodString;
@@ -514,9 +510,7 @@ export declare const publicContract: {
514
510
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
515
511
  automation: import("zod").ZodString;
516
512
  enabled: import("zod").ZodBoolean;
517
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
518
- txid: import("zod").ZodNumber;
519
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
513
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
520
514
  };
521
515
  apiKey: {
522
516
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -602,9 +596,7 @@ export declare const publicContract: {
602
596
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
603
597
  proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
604
598
  deploymentId: import("zod").ZodString;
605
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
606
- txid: import("zod").ZodNumber;
607
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
599
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
608
600
  };
609
601
  deployment: {
610
602
  cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -617,9 +609,7 @@ export declare const publicContract: {
617
609
  name: import("zod").ZodString;
618
610
  value: import("zod").ZodBase64;
619
611
  }, import("zod/v4/core").$strip>>;
620
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
621
- txid: import("zod").ZodNumber;
622
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
612
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
623
613
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
624
614
  deploymentId: import("zod").ZodString;
625
615
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -1332,7 +1322,6 @@ export declare const publicContract: {
1332
1322
  projectId: import("zod").ZodString;
1333
1323
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1334
1324
  id: import("zod").ZodString;
1335
- txid: import("zod").ZodNumber;
1336
1325
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
1337
1326
  DEPLOYMENT_IN_PROGRESS: {
1338
1327
  readonly data: import("zod").ZodObject<{
@@ -1390,7 +1379,7 @@ export declare const publicContract: {
1390
1379
  }>;
1391
1380
  url: import("zod").ZodURL;
1392
1381
  }, import("zod/v4/core").$strip>>;
1393
- schemaVersion: import("zod").ZodLiteral<11>;
1382
+ schemaVersion: import("zod").ZodLiteral<12>;
1394
1383
  scope: import("zod").ZodObject<{
1395
1384
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
1396
1385
  projectId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -1408,9 +1397,7 @@ export declare const publicContract: {
1408
1397
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1409
1398
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1410
1399
  organizationId: import("zod").ZodString;
1411
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1412
- txid: import("zod").ZodNumber;
1413
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1400
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1414
1401
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1415
1402
  organizationId: import("zod").ZodString;
1416
1403
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -1590,13 +1577,10 @@ export declare const publicContract: {
1590
1577
  id: import("zod").ZodString;
1591
1578
  identityKey: import("zod").ZodString;
1592
1579
  }, import("zod/v4/core").$strip>>;
1593
- txid: import("zod").ZodNumber;
1594
1580
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1595
1581
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1596
1582
  projectId: import("zod").ZodString;
1597
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1598
- txid: import("zod").ZodNumber;
1599
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1583
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1600
1584
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1601
1585
  projectId: import("zod").ZodString;
1602
1586
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -1647,9 +1631,7 @@ export declare const publicContract: {
1647
1631
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1648
1632
  projectId: import("zod").ZodString;
1649
1633
  name: import("zod").ZodString;
1650
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1651
- txid: import("zod").ZodNumber;
1652
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1634
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1653
1635
  };
1654
1636
  session: {
1655
1637
  me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
@@ -1685,9 +1667,7 @@ export declare const firstPartyContract: {
1685
1667
  data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
1686
1668
  deploymentId: import("zod").ZodString;
1687
1669
  serviceId: import("zod").ZodString;
1688
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1689
- txid: import("zod").ZodNumber;
1690
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1670
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1691
1671
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1692
1672
  deploymentId: import("zod").ZodString;
1693
1673
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -1725,9 +1705,7 @@ export declare const firstPartyContract: {
1725
1705
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1726
1706
  proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1727
1707
  deploymentId: import("zod").ZodString;
1728
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1729
- txid: import("zod").ZodNumber;
1730
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1708
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1731
1709
  };
1732
1710
  deployment: {
1733
1711
  cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -1740,9 +1718,7 @@ export declare const firstPartyContract: {
1740
1718
  name: import("zod").ZodString;
1741
1719
  value: import("zod").ZodBase64;
1742
1720
  }, import("zod/v4/core").$strip>>;
1743
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1744
- txid: import("zod").ZodNumber;
1745
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1721
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1746
1722
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1747
1723
  artifact: import("zod").ZodCustom<Blob, Blob>;
1748
1724
  cancelExisting: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -2502,7 +2478,6 @@ export declare const firstPartyContract: {
2502
2478
  projectId: import("zod").ZodString;
2503
2479
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2504
2480
  id: import("zod").ZodString;
2505
- txid: import("zod").ZodNumber;
2506
2481
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2507
2482
  DEPLOYMENT_IN_PROGRESS: {
2508
2483
  readonly data: import("zod").ZodObject<{
@@ -2563,9 +2538,7 @@ export declare const firstPartyContract: {
2563
2538
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2564
2539
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2565
2540
  organizationId: import("zod").ZodString;
2566
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2567
- txid: import("zod").ZodNumber;
2568
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2541
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2569
2542
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2570
2543
  organizationId: import("zod").ZodString;
2571
2544
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -2748,13 +2721,10 @@ export declare const firstPartyContract: {
2748
2721
  id: import("zod").ZodString;
2749
2722
  identityKey: import("zod").ZodString;
2750
2723
  }, import("zod/v4/core").$strip>>;
2751
- txid: import("zod").ZodNumber;
2752
2724
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2753
2725
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2754
2726
  projectId: import("zod").ZodString;
2755
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2756
- txid: import("zod").ZodNumber;
2757
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2727
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2758
2728
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2759
2729
  projectId: import("zod").ZodString;
2760
2730
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -2805,9 +2775,7 @@ export declare const firstPartyContract: {
2805
2775
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2806
2776
  projectId: import("zod").ZodString;
2807
2777
  name: import("zod").ZodString;
2808
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2809
- txid: import("zod").ZodNumber;
2810
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2778
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2811
2779
  };
2812
2780
  session: {
2813
2781
  me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
@@ -2840,7 +2808,6 @@ export declare const firstPartyContract: {
2840
2808
  token: import("zod").ZodUUID;
2841
2809
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2842
2810
  accountId: import("zod").ZodString;
2843
- txid: import("zod").ZodNumber;
2844
2811
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2845
2812
  beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2846
2813
  connectionMethodId: import("zod").ZodString;
@@ -2866,9 +2833,7 @@ export declare const firstPartyContract: {
2866
2833
  disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2867
2834
  accountId: import("zod").ZodString;
2868
2835
  organizationId: import("zod").ZodString;
2869
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2870
- txid: import("zod").ZodNumber;
2871
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
2836
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2872
2837
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2873
2838
  accountId: import("zod").ZodString;
2874
2839
  organizationId: import("zod").ZodString;
@@ -3090,7 +3055,6 @@ export declare const firstPartyContract: {
3090
3055
  unsupported: "unsupported";
3091
3056
  }>;
3092
3057
  }, import("zod/v4/core").$strip>;
3093
- txid: import("zod").ZodNumber;
3094
3058
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3095
3059
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3096
3060
  connectionMethodId: import("zod").ZodString;
@@ -3320,9 +3284,7 @@ export declare const firstPartyContract: {
3320
3284
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3321
3285
  automation: import("zod").ZodString;
3322
3286
  enabled: import("zod").ZodBoolean;
3323
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3324
- txid: import("zod").ZodNumber;
3325
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3287
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3326
3288
  };
3327
3289
  apiKey: {
3328
3290
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -3400,7 +3362,7 @@ export declare const firstPartyContract: {
3400
3362
  }>;
3401
3363
  url: import("zod").ZodURL;
3402
3364
  }, import("zod/v4/core").$strip>>;
3403
- schemaVersion: import("zod").ZodLiteral<11>;
3365
+ schemaVersion: import("zod").ZodLiteral<12>;
3404
3366
  scope: import("zod").ZodObject<{
3405
3367
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
3406
3368
  projectId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -3438,9 +3400,7 @@ export declare const contract: {
3438
3400
  data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
3439
3401
  deploymentId: import("zod").ZodString;
3440
3402
  serviceId: import("zod").ZodString;
3441
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3442
- txid: import("zod").ZodNumber;
3443
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3403
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3444
3404
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3445
3405
  deploymentId: import("zod").ZodString;
3446
3406
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -3478,9 +3438,7 @@ export declare const contract: {
3478
3438
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3479
3439
  proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3480
3440
  deploymentId: import("zod").ZodString;
3481
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3482
- txid: import("zod").ZodNumber;
3483
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3441
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3484
3442
  };
3485
3443
  events: {
3486
3444
  whatsappEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -7055,11 +7013,12 @@ export declare const contract: {
7055
7013
  }>>]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
7056
7014
  metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
7057
7015
  entry: import("zod").ZodArray<import("zod").ZodObject<{
7058
- changes: import("zod").ZodArray<import("zod").ZodObject<{
7016
+ changes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
7059
7017
  field: import("zod").ZodString;
7060
7018
  value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
7061
- }, import("zod/v4/core").$strip>>;
7019
+ }, import("zod/v4/core").$strip>>>;
7062
7020
  id: import("zod").ZodString;
7021
+ messaging: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
7063
7022
  time: import("zod").ZodNumber;
7064
7023
  }, import("zod/v4/core").$strip>>;
7065
7024
  object: import("zod").ZodString;
@@ -9447,9 +9406,7 @@ export declare const contract: {
9447
9406
  name: import("zod").ZodString;
9448
9407
  value: import("zod").ZodBase64;
9449
9408
  }, import("zod/v4/core").$strip>>;
9450
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
9451
- txid: import("zod").ZodNumber;
9452
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
9409
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
9453
9410
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
9454
9411
  artifact: import("zod").ZodCustom<Blob, Blob>;
9455
9412
  cancelExisting: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -10209,7 +10166,6 @@ export declare const contract: {
10209
10166
  projectId: import("zod").ZodString;
10210
10167
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10211
10168
  id: import("zod").ZodString;
10212
- txid: import("zod").ZodNumber;
10213
10169
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
10214
10170
  DEPLOYMENT_IN_PROGRESS: {
10215
10171
  readonly data: import("zod").ZodObject<{
@@ -10270,9 +10226,7 @@ export declare const contract: {
10270
10226
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10271
10227
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10272
10228
  organizationId: import("zod").ZodString;
10273
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10274
- txid: import("zod").ZodNumber;
10275
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10229
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
10276
10230
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10277
10231
  organizationId: import("zod").ZodString;
10278
10232
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -10455,13 +10409,10 @@ export declare const contract: {
10455
10409
  id: import("zod").ZodString;
10456
10410
  identityKey: import("zod").ZodString;
10457
10411
  }, import("zod/v4/core").$strip>>;
10458
- txid: import("zod").ZodNumber;
10459
10412
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10460
10413
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10461
10414
  projectId: import("zod").ZodString;
10462
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10463
- txid: import("zod").ZodNumber;
10464
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10415
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
10465
10416
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10466
10417
  projectId: import("zod").ZodString;
10467
10418
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -10512,9 +10463,7 @@ export declare const contract: {
10512
10463
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10513
10464
  projectId: import("zod").ZodString;
10514
10465
  name: import("zod").ZodString;
10515
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10516
- txid: import("zod").ZodNumber;
10517
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10466
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
10518
10467
  };
10519
10468
  session: {
10520
10469
  me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
@@ -10547,7 +10496,6 @@ export declare const contract: {
10547
10496
  token: import("zod").ZodUUID;
10548
10497
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10549
10498
  accountId: import("zod").ZodString;
10550
- txid: import("zod").ZodNumber;
10551
10499
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10552
10500
  beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10553
10501
  connectionMethodId: import("zod").ZodString;
@@ -10573,9 +10521,7 @@ export declare const contract: {
10573
10521
  disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10574
10522
  accountId: import("zod").ZodString;
10575
10523
  organizationId: import("zod").ZodString;
10576
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10577
- txid: import("zod").ZodNumber;
10578
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10524
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
10579
10525
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10580
10526
  accountId: import("zod").ZodString;
10581
10527
  organizationId: import("zod").ZodString;
@@ -10797,7 +10743,6 @@ export declare const contract: {
10797
10743
  unsupported: "unsupported";
10798
10744
  }>;
10799
10745
  }, import("zod/v4/core").$strip>;
10800
- txid: import("zod").ZodNumber;
10801
10746
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10802
10747
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
10803
10748
  connectionMethodId: import("zod").ZodString;
@@ -11027,9 +10972,7 @@ export declare const contract: {
11027
10972
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
11028
10973
  automation: import("zod").ZodString;
11029
10974
  enabled: import("zod").ZodBoolean;
11030
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
11031
- txid: import("zod").ZodNumber;
11032
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
10975
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
11033
10976
  };
11034
10977
  apiKey: {
11035
10978
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -11107,7 +11050,7 @@ export declare const contract: {
11107
11050
  }>;
11108
11051
  url: import("zod").ZodURL;
11109
11052
  }, import("zod/v4/core").$strip>>;
11110
- schemaVersion: import("zod").ZodLiteral<11>;
11053
+ schemaVersion: import("zod").ZodLiteral<12>;
11111
11054
  scope: import("zod").ZodObject<{
11112
11055
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
11113
11056
  projectId: import("zod").ZodNullable<import("zod").ZodString>;
package/dist/org.d.ts CHANGED
@@ -213,9 +213,7 @@ export declare const orgContract: {
213
213
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
214
214
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
215
215
  organizationId: z.ZodString;
216
- }, z.core.$strip>, z.ZodObject<{
217
- txid: z.ZodNumber;
218
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
216
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
219
217
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
220
218
  organizationId: z.ZodString;
221
219
  }, z.core.$strip>, z.ZodObject<{
package/dist/org.js CHANGED
@@ -120,7 +120,7 @@ export const orgContract = {
120
120
  tags: ["Organizations"],
121
121
  })
122
122
  .input(z.object({ organizationId: z.string() }))
123
- .output(z.object({ txid: z.number().int().nonnegative() })),
123
+ .output(z.void()),
124
124
  get: oc
125
125
  .route({
126
126
  method: "GET",
package/dist/project.d.ts CHANGED
@@ -40,7 +40,6 @@ export declare const projectContract: {
40
40
  id: z.ZodString;
41
41
  identityKey: z.ZodString;
42
42
  }, z.core.$strip>>;
43
- txid: z.ZodNumber;
44
43
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
45
44
  list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodPrefault<z.ZodObject<{
46
45
  cursor: z.ZodOptional<z.ZodString>;
@@ -92,12 +91,8 @@ export declare const projectContract: {
92
91
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
93
92
  projectId: z.ZodString;
94
93
  name: z.ZodString;
95
- }, z.core.$strip>, z.ZodObject<{
96
- txid: z.ZodNumber;
97
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
94
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
98
95
  delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
99
96
  projectId: z.ZodString;
100
- }, z.core.$strip>, z.ZodObject<{
101
- txid: z.ZodNumber;
102
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
97
+ }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
103
98
  };
package/dist/project.js CHANGED
@@ -1,9 +1,6 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import * as z from "zod";
3
3
  import { cursorPageOutputSchema, cursorPaginationInputSchema, reasonableNameSchema, } from "./schemas.js";
4
- const TRANSACTION_OUTPUT_SCHEMA = z.object({
5
- txid: z.number().int().nonnegative(),
6
- });
7
4
  export const projectOutputSchema = z.object({
8
5
  activeDeploymentId: z.string().nullable(),
9
6
  id: z.string(),
@@ -43,7 +40,7 @@ export const projectContract = {
43
40
  organizationId: z.string(),
44
41
  name: reasonableNameSchema,
45
42
  }))
46
- .output(projectOutputSchema.extend(TRANSACTION_OUTPUT_SCHEMA.shape)),
43
+ .output(projectOutputSchema),
47
44
  list: oc
48
45
  .route({
49
46
  method: "GET",
@@ -84,7 +81,7 @@ export const projectContract = {
84
81
  projectId: z.string(),
85
82
  name: reasonableNameSchema,
86
83
  }))
87
- .output(TRANSACTION_OUTPUT_SCHEMA),
84
+ .output(z.void()),
88
85
  delete: oc
89
86
  .route({
90
87
  method: "DELETE",
@@ -95,5 +92,5 @@ export const projectContract = {
95
92
  tags: ["Projects"],
96
93
  })
97
94
  .input(z.object({ projectId: z.string() }))
98
- .output(TRANSACTION_OUTPUT_SCHEMA),
95
+ .output(z.void()),
99
96
  };
package/package.json CHANGED
@@ -1,17 +1,9 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.161.0",
3
+ "version": "0.163.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/zachsents/automate.ax.git",
9
- "directory": "packages/api-contract"
10
- },
11
- "homepage": "https://automate.ax",
12
- "bugs": {
13
- "url": "https://github.com/zachsents/automate.ax/issues"
14
- },
6
+ "homepage": "https://docs.automate.ax",
15
7
  "type": "module",
16
8
  "publishConfig": {
17
9
  "access": "public"
@@ -31,9 +23,9 @@
31
23
  },
32
24
  "dependencies": {
33
25
  "@ai-sdk/gateway": "4.0.87",
34
- "@automate.ax/catalog": "0.161.0",
35
- "@automate.ax/codec": "0.161.0",
36
- "@automate.ax/integration-contracts": "0.161.0",
26
+ "@automate.ax/catalog": "0.163.0",
27
+ "@automate.ax/codec": "0.163.0",
28
+ "@automate.ax/integration-contracts": "0.163.0",
37
29
  "@orpc/contract": "1.15.0",
38
30
  "fast-json-stable-stringify": "^2.1.0",
39
31
  "zod": "^4.3.6"
package/src/account.ts CHANGED
@@ -196,7 +196,7 @@ export const accountContract = {
196
196
  tags: ["Integration Accounts"],
197
197
  })
198
198
  .input(z.object({ organizationId: z.string(), token: z.uuid() }))
199
- .output(z.object({ accountId: z.string(), txid: z.number().int() })),
199
+ .output(z.object({ accountId: z.string() })),
200
200
  beginConnection: oc
201
201
  .route({
202
202
  description: "Starts an OAuth-style organization account connection.",
@@ -252,7 +252,7 @@ export const accountContract = {
252
252
  tags: ["Integration Accounts"],
253
253
  })
254
254
  .input(organizationAccountInputSchema)
255
- .output(z.object({ txid: z.number().int().nonnegative() })),
255
+ .output(z.void()),
256
256
  get: oc
257
257
  .route({
258
258
  description: "Returns one integration account linked to an organization.",
@@ -318,7 +318,6 @@ export const accountContract = {
318
318
  .output(
319
319
  z.object({
320
320
  revocation: integrationAccountRevocationOutputSchema,
321
- txid: z.number().int().nonnegative(),
322
321
  }),
323
322
  ),
324
323
  submitCredentials: oc
@@ -110,7 +110,7 @@ export const authorizationContract = {
110
110
  tags: ["Deployments"],
111
111
  })
112
112
  .input(z.object({ deploymentId: z.string() }))
113
- .output(z.object({ txid: z.number().int().nonnegative() })),
113
+ .output(z.void()),
114
114
  submitCredentials: oc
115
115
  .input(
116
116
  z.object({
@@ -124,7 +124,7 @@ export const authorizationContract = {
124
124
  serviceId: z.string().min(1),
125
125
  }),
126
126
  )
127
- .output(z.object({ txid: z.number().int().nonnegative() })),
127
+ .output(z.void()),
128
128
  selectAccount: oc
129
129
  .input(
130
130
  z.object({
package/src/automation.ts CHANGED
@@ -244,9 +244,5 @@ export const automationContract = {
244
244
  enabled: z.boolean(),
245
245
  }),
246
246
  )
247
- .output(
248
- z.object({
249
- txid: z.number().int().nonnegative(),
250
- }),
251
- ),
247
+ .output(z.void()),
252
248
  }
package/src/deployment.ts CHANGED
@@ -150,7 +150,7 @@ export const deploymentContract = {
150
150
  values: DEPLOYMENT_PARAMETER_VALUES_SCHEMA,
151
151
  }),
152
152
  )
153
- .output(z.object({ txid: z.number().int().nonnegative() })),
153
+ .output(z.void()),
154
154
  create: oc
155
155
  .errors({
156
156
  DEPLOYMENT_IN_PROGRESS: DEPLOYMENT_IN_PROGRESS_ERROR,
@@ -274,5 +274,5 @@ export const deploymentContract = {
274
274
  projectId: z.string(),
275
275
  }),
276
276
  )
277
- .output(z.object({ id: z.string(), txid: z.number().int().nonnegative() })),
277
+ .output(z.object({ id: z.string() })),
278
278
  }
@@ -5,7 +5,8 @@ import * as z from "zod"
5
5
  export const metaAdsEventsContract = {
6
6
  metaAdsEvent: oc
7
7
  .route({
8
- description: "Receives and authenticates Meta Ads and Lead Ads webhooks.",
8
+ description:
9
+ "Receives and authenticates Meta Ads, Lead Ads, Page, Messenger, and Instagram webhooks.",
9
10
  method: "POST",
10
11
  operationId: "receiveMetaAdsEvent",
11
12
  path: "/events/meta-ads",
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract"
2
2
  import { z } from "zod"
3
3
 
4
- export const EXECUTION_DATASET_VERSION = 11
4
+ export const EXECUTION_DATASET_VERSION = 12
5
5
 
6
6
  export const executionDatasetResourceSchema = z.enum([
7
7
  "projects",
@@ -63,7 +63,7 @@ export const executionDataContract = {
63
63
  operationId: "getExecutionDataManifest",
64
64
  summary: "Get execution data manifest",
65
65
  description:
66
- "Returns authenticated Electric shape resources for a validated execution-data scope.",
66
+ "Returns authenticated JSON snapshot resources for a validated execution-data scope.",
67
67
  tags: ["Execution data"],
68
68
  })
69
69
  .input(
package/src/org.ts CHANGED
@@ -144,7 +144,7 @@ export const orgContract = {
144
144
  tags: ["Organizations"],
145
145
  })
146
146
  .input(z.object({ organizationId: z.string() }))
147
- .output(z.object({ txid: z.number().int().nonnegative() })),
147
+ .output(z.void()),
148
148
  get: oc
149
149
  .route({
150
150
  method: "GET",
package/src/project.ts CHANGED
@@ -6,10 +6,6 @@ import {
6
6
  reasonableNameSchema,
7
7
  } from "./schemas"
8
8
 
9
- const TRANSACTION_OUTPUT_SCHEMA = z.object({
10
- txid: z.number().int().nonnegative(),
11
- })
12
-
13
9
  export const projectOutputSchema = z.object({
14
10
  activeDeploymentId: z.string().nullable(),
15
11
  id: z.string(),
@@ -53,7 +49,7 @@ export const projectContract = {
53
49
  name: reasonableNameSchema,
54
50
  }),
55
51
  )
56
- .output(projectOutputSchema.extend(TRANSACTION_OUTPUT_SCHEMA.shape)),
52
+ .output(projectOutputSchema),
57
53
  list: oc
58
54
  .route({
59
55
  method: "GET",
@@ -100,7 +96,7 @@ export const projectContract = {
100
96
  name: reasonableNameSchema,
101
97
  }),
102
98
  )
103
- .output(TRANSACTION_OUTPUT_SCHEMA),
99
+ .output(z.void()),
104
100
  delete: oc
105
101
  .route({
106
102
  method: "DELETE",
@@ -111,5 +107,5 @@ export const projectContract = {
111
107
  tags: ["Projects"],
112
108
  })
113
109
  .input(z.object({ projectId: z.string() }))
114
- .output(TRANSACTION_OUTPUT_SCHEMA),
110
+ .output(z.void()),
115
111
  }