@automate.ax/api-contract 0.163.2 → 0.164.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 +5 -0
- package/dist/account.js +5 -0
- package/dist/index.d.ts +9 -0
- package/package.json +4 -4
- package/src/account.ts +6 -0
package/dist/account.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export declare const integrationAccountOutputSchema: z.ZodObject<{
|
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
status: z.ZodEnum<{
|
|
120
120
|
active: "active";
|
|
121
|
+
unhealthy: "unhealthy";
|
|
121
122
|
revocation_pending: "revocation_pending";
|
|
122
123
|
revocation_failed: "revocation_failed";
|
|
123
124
|
revoked: "revoked";
|
|
@@ -150,6 +151,7 @@ export declare const integrationAccountRevocationImpactOutputSchema: z.ZodObject
|
|
|
150
151
|
id: z.ZodString;
|
|
151
152
|
status: z.ZodEnum<{
|
|
152
153
|
active: "active";
|
|
154
|
+
unhealthy: "unhealthy";
|
|
153
155
|
revocation_pending: "revocation_pending";
|
|
154
156
|
revocation_failed: "revocation_failed";
|
|
155
157
|
revoked: "revoked";
|
|
@@ -256,6 +258,7 @@ export declare const accountContract: {
|
|
|
256
258
|
}, z.core.$strip>>;
|
|
257
259
|
status: z.ZodEnum<{
|
|
258
260
|
active: "active";
|
|
261
|
+
unhealthy: "unhealthy";
|
|
259
262
|
revocation_pending: "revocation_pending";
|
|
260
263
|
revocation_failed: "revocation_failed";
|
|
261
264
|
revoked: "revoked";
|
|
@@ -293,6 +296,7 @@ export declare const accountContract: {
|
|
|
293
296
|
}, z.core.$strip>>;
|
|
294
297
|
status: z.ZodEnum<{
|
|
295
298
|
active: "active";
|
|
299
|
+
unhealthy: "unhealthy";
|
|
296
300
|
revocation_pending: "revocation_pending";
|
|
297
301
|
revocation_failed: "revocation_failed";
|
|
298
302
|
revoked: "revoked";
|
|
@@ -401,6 +405,7 @@ export declare const accountContract: {
|
|
|
401
405
|
id: z.ZodString;
|
|
402
406
|
status: z.ZodEnum<{
|
|
403
407
|
active: "active";
|
|
408
|
+
unhealthy: "unhealthy";
|
|
404
409
|
revocation_pending: "revocation_pending";
|
|
405
410
|
revocation_failed: "revocation_failed";
|
|
406
411
|
revoked: "revoked";
|
package/dist/account.js
CHANGED
|
@@ -95,8 +95,13 @@ export const integrationAccountBindingOutputSchema = z.object({
|
|
|
95
95
|
export const integrationAccountOutputSchema = integrationAccountBindingOutputSchema.extend({
|
|
96
96
|
revokedAt: z.date().nullable(),
|
|
97
97
|
revocation: integrationAccountRevocationOutputSchema.nullable(),
|
|
98
|
+
/**
|
|
99
|
+
* `unhealthy` means credential refresh or a health check failed; see
|
|
100
|
+
* `error`.
|
|
101
|
+
*/
|
|
98
102
|
status: z.enum([
|
|
99
103
|
"active",
|
|
104
|
+
"unhealthy",
|
|
100
105
|
"revocation_pending",
|
|
101
106
|
"revocation_failed",
|
|
102
107
|
"revoked",
|
package/dist/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export declare const publicContract: {
|
|
|
90
90
|
}, import("zod/v4/core").$strip>>;
|
|
91
91
|
status: import("zod").ZodEnum<{
|
|
92
92
|
active: "active";
|
|
93
|
+
unhealthy: "unhealthy";
|
|
93
94
|
revocation_pending: "revocation_pending";
|
|
94
95
|
revocation_failed: "revocation_failed";
|
|
95
96
|
revoked: "revoked";
|
|
@@ -127,6 +128,7 @@ export declare const publicContract: {
|
|
|
127
128
|
}, import("zod/v4/core").$strip>>;
|
|
128
129
|
status: import("zod").ZodEnum<{
|
|
129
130
|
active: "active";
|
|
131
|
+
unhealthy: "unhealthy";
|
|
130
132
|
revocation_pending: "revocation_pending";
|
|
131
133
|
revocation_failed: "revocation_failed";
|
|
132
134
|
revoked: "revoked";
|
|
@@ -235,6 +237,7 @@ export declare const publicContract: {
|
|
|
235
237
|
id: import("zod").ZodString;
|
|
236
238
|
status: import("zod").ZodEnum<{
|
|
237
239
|
active: "active";
|
|
240
|
+
unhealthy: "unhealthy";
|
|
238
241
|
revocation_pending: "revocation_pending";
|
|
239
242
|
revocation_failed: "revocation_failed";
|
|
240
243
|
revoked: "revoked";
|
|
@@ -2864,6 +2867,7 @@ export declare const firstPartyContract: {
|
|
|
2864
2867
|
}, import("zod/v4/core").$strip>>;
|
|
2865
2868
|
status: import("zod").ZodEnum<{
|
|
2866
2869
|
active: "active";
|
|
2870
|
+
unhealthy: "unhealthy";
|
|
2867
2871
|
revocation_pending: "revocation_pending";
|
|
2868
2872
|
revocation_failed: "revocation_failed";
|
|
2869
2873
|
revoked: "revoked";
|
|
@@ -2901,6 +2905,7 @@ export declare const firstPartyContract: {
|
|
|
2901
2905
|
}, import("zod/v4/core").$strip>>;
|
|
2902
2906
|
status: import("zod").ZodEnum<{
|
|
2903
2907
|
active: "active";
|
|
2908
|
+
unhealthy: "unhealthy";
|
|
2904
2909
|
revocation_pending: "revocation_pending";
|
|
2905
2910
|
revocation_failed: "revocation_failed";
|
|
2906
2911
|
revoked: "revoked";
|
|
@@ -3009,6 +3014,7 @@ export declare const firstPartyContract: {
|
|
|
3009
3014
|
id: import("zod").ZodString;
|
|
3010
3015
|
status: import("zod").ZodEnum<{
|
|
3011
3016
|
active: "active";
|
|
3017
|
+
unhealthy: "unhealthy";
|
|
3012
3018
|
revocation_pending: "revocation_pending";
|
|
3013
3019
|
revocation_failed: "revocation_failed";
|
|
3014
3020
|
revoked: "revoked";
|
|
@@ -10012,6 +10018,7 @@ export declare const contract: {
|
|
|
10012
10018
|
}, import("zod/v4/core").$strip>>;
|
|
10013
10019
|
status: import("zod").ZodEnum<{
|
|
10014
10020
|
active: "active";
|
|
10021
|
+
unhealthy: "unhealthy";
|
|
10015
10022
|
revocation_pending: "revocation_pending";
|
|
10016
10023
|
revocation_failed: "revocation_failed";
|
|
10017
10024
|
revoked: "revoked";
|
|
@@ -10049,6 +10056,7 @@ export declare const contract: {
|
|
|
10049
10056
|
}, import("zod/v4/core").$strip>>;
|
|
10050
10057
|
status: import("zod").ZodEnum<{
|
|
10051
10058
|
active: "active";
|
|
10059
|
+
unhealthy: "unhealthy";
|
|
10052
10060
|
revocation_pending: "revocation_pending";
|
|
10053
10061
|
revocation_failed: "revocation_failed";
|
|
10054
10062
|
revoked: "revoked";
|
|
@@ -10157,6 +10165,7 @@ export declare const contract: {
|
|
|
10157
10165
|
id: import("zod").ZodString;
|
|
10158
10166
|
status: import("zod").ZodEnum<{
|
|
10159
10167
|
active: "active";
|
|
10168
|
+
unhealthy: "unhealthy";
|
|
10160
10169
|
revocation_pending: "revocation_pending";
|
|
10161
10170
|
revocation_failed: "revocation_failed";
|
|
10162
10171
|
revoked: "revoked";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.164.0",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.automate.ax",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ai-sdk/gateway": "4.0.87",
|
|
26
|
-
"@automate.ax/catalog": "0.
|
|
27
|
-
"@automate.ax/codec": "0.
|
|
28
|
-
"@automate.ax/integration-contracts": "0.
|
|
26
|
+
"@automate.ax/catalog": "0.164.0",
|
|
27
|
+
"@automate.ax/codec": "0.164.0",
|
|
28
|
+
"@automate.ax/integration-contracts": "0.164.0",
|
|
29
29
|
"@orpc/contract": "1.15.0",
|
|
30
30
|
"fast-json-stable-stringify": "^2.1.0",
|
|
31
31
|
"zod": "^4.3.6"
|
package/src/account.ts
CHANGED
|
@@ -101,8 +101,14 @@ export const integrationAccountOutputSchema =
|
|
|
101
101
|
integrationAccountBindingOutputSchema.extend({
|
|
102
102
|
revokedAt: z.date().nullable(),
|
|
103
103
|
revocation: integrationAccountRevocationOutputSchema.nullable(),
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* `unhealthy` means credential refresh or a health check failed; see
|
|
107
|
+
* `error`.
|
|
108
|
+
*/
|
|
104
109
|
status: z.enum([
|
|
105
110
|
"active",
|
|
111
|
+
"unhealthy",
|
|
106
112
|
"revocation_pending",
|
|
107
113
|
"revocation_failed",
|
|
108
114
|
"revoked",
|