@automate.ax/api-contract 0.70.0 → 0.71.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.
@@ -48,6 +48,11 @@ export declare const authorizationContract: {
48
48
  serviceId: z.ZodString;
49
49
  }, z.core.$strip>>;
50
50
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
51
+ proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
52
+ deploymentId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ txid: z.ZodNumber;
55
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
51
56
  submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
52
57
  binding: z.ZodString;
53
58
  connectionId: z.ZodString;
@@ -72,6 +72,9 @@ export const authorizationContract = {
72
72
  })
73
73
  .array(),
74
74
  })),
75
+ proceed: oc
76
+ .input(z.object({ deploymentId: z.string() }))
77
+ .output(z.object({ txid: z.number().int().nonnegative() })),
75
78
  submitCredentials: oc
76
79
  .input(z.object({
77
80
  binding: z.string().min(1),
package/dist/index.d.ts CHANGED
@@ -461,6 +461,11 @@ export declare const firstPartyContract: {
461
461
  serviceId: import("zod").ZodString;
462
462
  }, import("zod/v4/core").$strip>>;
463
463
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
464
+ proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
465
+ deploymentId: import("zod").ZodString;
466
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
467
+ txid: import("zod").ZodNumber;
468
+ }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
464
469
  selectAccount: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
465
470
  accountId: import("zod").ZodString;
466
471
  binding: import("zod").ZodString;
@@ -947,6 +952,11 @@ export declare const contract: {
947
952
  serviceId: import("zod").ZodString;
948
953
  }, import("zod/v4/core").$strip>>;
949
954
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
955
+ proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
956
+ deploymentId: import("zod").ZodString;
957
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
958
+ txid: import("zod").ZodNumber;
959
+ }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
950
960
  selectAccount: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
951
961
  accountId: import("zod").ZodString;
952
962
  binding: import("zod").ZodString;
package/dist/index.js CHANGED
@@ -50,6 +50,7 @@ export const firstPartyContract = {
50
50
  authorization: {
51
51
  beginConnection: authorizationContract.beginConnection,
52
52
  get: authorizationContract.get,
53
+ proceed: authorizationContract.proceed,
53
54
  selectAccount: authorizationContract.selectAccount,
54
55
  submitCredentials: authorizationContract.submitCredentials,
55
56
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.70.0",
3
+ "version": "0.71.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@ai-sdk/gateway": "^4.0.46",
31
- "@automate.ax/codec": "0.70.0",
31
+ "@automate.ax/codec": "0.71.0",
32
32
  "@orpc/contract": "1.15.0",
33
33
  "fast-json-stable-stringify": "^2.1.0",
34
34
  "zod": "^4.3.6"
@@ -90,6 +90,9 @@ export const authorizationContract = {
90
90
  .array(),
91
91
  }),
92
92
  ),
93
+ proceed: oc
94
+ .input(z.object({ deploymentId: z.string() }))
95
+ .output(z.object({ txid: z.number().int().nonnegative() })),
93
96
  submitCredentials: oc
94
97
  .input(
95
98
  z.object({
package/src/index.ts CHANGED
@@ -87,6 +87,7 @@ export const firstPartyContract = {
87
87
  authorization: {
88
88
  beginConnection: authorizationContract.beginConnection,
89
89
  get: authorizationContract.get,
90
+ proceed: authorizationContract.proceed,
90
91
  selectAccount: authorizationContract.selectAccount,
91
92
  submitCredentials: authorizationContract.submitCredentials,
92
93
  },