@automate.ax/api-contract 0.161.0 → 0.163.1

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
  };