@fragno-dev/backoffice-api 0.0.0-stage → 0.0.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.
Files changed (135) hide show
  1. package/LICENSE.md +16 -0
  2. package/README.md +90 -2
  3. package/dist/api.d.ts +35 -0
  4. package/dist/api.d.ts.map +1 -0
  5. package/dist/api.js +10 -0
  6. package/dist/api.js.map +1 -0
  7. package/dist/errors.d.ts +45 -0
  8. package/dist/errors.d.ts.map +1 -0
  9. package/dist/errors.js +35 -0
  10. package/dist/errors.js.map +1 -0
  11. package/dist/openapi.d.ts +46 -0
  12. package/dist/openapi.d.ts.map +1 -0
  13. package/dist/openapi.js +205 -0
  14. package/dist/openapi.js.map +1 -0
  15. package/dist/v0/account.d.ts +171 -0
  16. package/dist/v0/account.d.ts.map +1 -0
  17. package/dist/v0/account.js +78 -0
  18. package/dist/v0/account.js.map +1 -0
  19. package/dist/v0/api.d.ts +3437 -0
  20. package/dist/v0/api.d.ts.map +1 -0
  21. package/dist/v0/api.js +52 -0
  22. package/dist/v0/api.js.map +1 -0
  23. package/dist/v0/app-actions.d.ts +105 -0
  24. package/dist/v0/app-actions.d.ts.map +1 -0
  25. package/dist/v0/app-actions.js +100 -0
  26. package/dist/v0/app-actions.js.map +1 -0
  27. package/dist/v0/apps.d.ts +417 -0
  28. package/dist/v0/apps.d.ts.map +1 -0
  29. package/dist/v0/apps.js +163 -0
  30. package/dist/v0/apps.js.map +1 -0
  31. package/dist/v0/automation.d.ts +730 -0
  32. package/dist/v0/automation.d.ts.map +1 -0
  33. package/dist/v0/automation.js +355 -0
  34. package/dist/v0/automation.js.map +1 -0
  35. package/dist/v0/capabilities.d.ts +97 -0
  36. package/dist/v0/capabilities.d.ts.map +1 -0
  37. package/dist/v0/capabilities.js +41 -0
  38. package/dist/v0/capabilities.js.map +1 -0
  39. package/dist/v0/client.d.ts +39 -0
  40. package/dist/v0/client.d.ts.map +1 -0
  41. package/dist/v0/client.js +61 -0
  42. package/dist/v0/client.js.map +1 -0
  43. package/dist/v0/events.d.ts +789 -0
  44. package/dist/v0/events.d.ts.map +1 -0
  45. package/dist/v0/events.js +153 -0
  46. package/dist/v0/events.js.map +1 -0
  47. package/dist/v0/forms.d.ts +172 -0
  48. package/dist/v0/forms.d.ts.map +1 -0
  49. package/dist/v0/forms.js +88 -0
  50. package/dist/v0/forms.js.map +1 -0
  51. package/dist/v0/hooks.d.ts +61 -0
  52. package/dist/v0/hooks.d.ts.map +1 -0
  53. package/dist/v0/hooks.js +49 -0
  54. package/dist/v0/hooks.js.map +1 -0
  55. package/dist/v0/identity.d.ts +73 -0
  56. package/dist/v0/identity.d.ts.map +1 -0
  57. package/dist/v0/identity.js +46 -0
  58. package/dist/v0/identity.js.map +1 -0
  59. package/dist/v0/integrations.d.ts +847 -0
  60. package/dist/v0/integrations.d.ts.map +1 -0
  61. package/dist/v0/integrations.js +255 -0
  62. package/dist/v0/integrations.js.map +1 -0
  63. package/dist/v0/javascript.d.ts +160 -0
  64. package/dist/v0/javascript.d.ts.map +1 -0
  65. package/dist/v0/javascript.js +123 -0
  66. package/dist/v0/javascript.js.map +1 -0
  67. package/dist/v0/marketplace.d.ts +825 -0
  68. package/dist/v0/marketplace.d.ts.map +1 -0
  69. package/dist/v0/marketplace.js +284 -0
  70. package/dist/v0/marketplace.js.map +1 -0
  71. package/dist/v0/organization.d.ts +182 -0
  72. package/dist/v0/organization.d.ts.map +1 -0
  73. package/dist/v0/organization.js +88 -0
  74. package/dist/v0/organization.js.map +1 -0
  75. package/dist/v0/otp.d.ts +37 -0
  76. package/dist/v0/otp.d.ts.map +1 -0
  77. package/dist/v0/otp.js +29 -0
  78. package/dist/v0/otp.js.map +1 -0
  79. package/dist/v0/pi.d.ts +322 -0
  80. package/dist/v0/pi.d.ts.map +1 -0
  81. package/dist/v0/pi.js +146 -0
  82. package/dist/v0/pi.js.map +1 -0
  83. package/dist/v0/sandbox.d.ts +173 -0
  84. package/dist/v0/sandbox.d.ts.map +1 -0
  85. package/dist/v0/sandbox.js +97 -0
  86. package/dist/v0/sandbox.js.map +1 -0
  87. package/dist/v0/shared/bytes.d.ts +12 -0
  88. package/dist/v0/shared/bytes.d.ts.map +1 -0
  89. package/dist/v0/shared/bytes.js +16 -0
  90. package/dist/v0/shared/bytes.js.map +1 -0
  91. package/dist/v0/shared/datetime.d.ts +10 -0
  92. package/dist/v0/shared/datetime.d.ts.map +1 -0
  93. package/dist/v0/shared/datetime.js +14 -0
  94. package/dist/v0/shared/datetime.js.map +1 -0
  95. package/dist/v0/shared/json.d.ts +9 -0
  96. package/dist/v0/shared/json.d.ts.map +1 -0
  97. package/dist/v0/shared/json.js +14 -0
  98. package/dist/v0/shared/json.js.map +1 -0
  99. package/dist/v0/shared/pagination.d.ts +11 -0
  100. package/dist/v0/shared/pagination.d.ts.map +1 -0
  101. package/dist/v0/shared/pagination.js +11 -0
  102. package/dist/v0/shared/pagination.js.map +1 -0
  103. package/dist/v0/shared/permissions.d.ts +279 -0
  104. package/dist/v0/shared/permissions.d.ts.map +1 -0
  105. package/dist/v0/shared/permissions.js +285 -0
  106. package/dist/v0/shared/permissions.js.map +1 -0
  107. package/dist/v0/shared/pi-agent-name.d.ts +10 -0
  108. package/dist/v0/shared/pi-agent-name.d.ts.map +1 -0
  109. package/dist/v0/shared/pi-agent-name.js +11 -0
  110. package/dist/v0/shared/pi-agent-name.js.map +1 -0
  111. package/dist/v0/shared/scope.d.ts +305 -0
  112. package/dist/v0/shared/scope.d.ts.map +1 -0
  113. package/dist/v0/shared/scope.js +279 -0
  114. package/dist/v0/shared/scope.js.map +1 -0
  115. package/dist/v0/state.d.ts +512 -0
  116. package/dist/v0/state.d.ts.map +1 -0
  117. package/dist/v0/state.js +267 -0
  118. package/dist/v0/state.js.map +1 -0
  119. package/dist/v0/store.d.ts +138 -0
  120. package/dist/v0/store.d.ts.map +1 -0
  121. package/dist/v0/store.js +83 -0
  122. package/dist/v0/store.js.map +1 -0
  123. package/dist/v0/upload.d.ts +568 -0
  124. package/dist/v0/upload.d.ts.map +1 -0
  125. package/dist/v0/upload.js +109 -0
  126. package/dist/v0/upload.js.map +1 -0
  127. package/dist/v0/web.d.ts +47 -0
  128. package/dist/v0/web.d.ts.map +1 -0
  129. package/dist/v0/web.js +31 -0
  130. package/dist/v0/web.js.map +1 -0
  131. package/dist/v0/workflow.d.ts +267 -0
  132. package/dist/v0/workflow.d.ts.map +1 -0
  133. package/dist/v0/workflow.js +116 -0
  134. package/dist/v0/workflow.js.map +1 -0
  135. package/package.json +64 -3
@@ -0,0 +1,847 @@
1
+ import { JsonValue } from "./shared/json.js";
2
+ import { z } from "zod";
3
+ //#region src/v0/integrations.d.ts
4
+ declare const integrationVerificationCheckShape: {
5
+ id: z.ZodLazy<z.ZodString>;
6
+ label: z.ZodLazy<z.ZodString>;
7
+ };
8
+ declare const integrationVerificationCheckSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
9
+ status: z.ZodLiteral<"not-checked">;
10
+ reason: z.ZodString;
11
+ id: z.ZodLazy<z.ZodString>;
12
+ label: z.ZodLazy<z.ZodString>;
13
+ }, z.core.$strict>, z.ZodObject<{
14
+ status: z.ZodEnum<{
15
+ passed: "passed";
16
+ failed: "failed";
17
+ }>;
18
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
19
+ message: z.ZodString;
20
+ id: z.ZodLazy<z.ZodString>;
21
+ label: z.ZodLazy<z.ZodString>;
22
+ }, z.core.$strict>], "status">>;
23
+ declare const integrationConfigurationStatusSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
24
+ status: z.ZodLiteral<"missing">;
25
+ missingFields: z.ZodArray<z.ZodString>;
26
+ }, z.core.$strict>, z.ZodObject<{
27
+ status: z.ZodLiteral<"configured">;
28
+ }, z.core.$strict>], "status">>;
29
+ declare const integrationAuthorizationStatusSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
30
+ status: z.ZodLiteral<"not-required">;
31
+ }, z.core.$strict>, z.ZodObject<{
32
+ status: z.ZodLiteral<"not-checked">;
33
+ }, z.core.$strict>, z.ZodObject<{
34
+ status: z.ZodLiteral<"missing">;
35
+ }, z.core.$strict>, z.ZodObject<{
36
+ status: z.ZodLiteral<"available">;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ status: z.ZodLiteral<"expired">;
39
+ }, z.core.$strict>], "status">>;
40
+ declare const integrationSetupSubmissionSchema: z.ZodLazy<z.ZodObject<{
41
+ kind: z.ZodLiteral<"input">;
42
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
43
+ }, z.core.$strict>>;
44
+ /** Connection IDs preserve source identity and resolve only within the selected execution scope. */
45
+ declare const integrationConnectionIdSchema: z.ZodLazy<z.ZodString>;
46
+ declare const integrationSetupProgressShape: {
47
+ connectionId: z.ZodLazy<z.ZodString>;
48
+ };
49
+ declare const integrationSetupCheckSchema: z.ZodLazy<z.ZodObject<{
50
+ kind: z.ZodLiteral<"check">;
51
+ }, z.core.$strict>>;
52
+ declare const integrationJsonSchemaSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
53
+ declare const integrationInspectionSchema: z.ZodLazy<z.ZodObject<{
54
+ configuration: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
55
+ status: z.ZodLiteral<"missing">;
56
+ missingFields: z.ZodArray<z.ZodString>;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ status: z.ZodLiteral<"configured">;
59
+ }, z.core.$strict>], "status">>;
60
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
61
+ status: z.ZodLiteral<"not-required">;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ status: z.ZodLiteral<"not-checked">;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ status: z.ZodLiteral<"missing">;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ status: z.ZodLiteral<"available">;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ status: z.ZodLiteral<"expired">;
70
+ }, z.core.$strict>], "status">>;
71
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
72
+ status: z.ZodLiteral<"not-checked">;
73
+ reason: z.ZodString;
74
+ id: z.ZodLazy<z.ZodString>;
75
+ label: z.ZodLazy<z.ZodString>;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ status: z.ZodEnum<{
78
+ passed: "passed";
79
+ failed: "failed";
80
+ }>;
81
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
82
+ message: z.ZodString;
83
+ id: z.ZodLazy<z.ZodString>;
84
+ label: z.ZodLazy<z.ZodString>;
85
+ }, z.core.$strict>], "status">>>;
86
+ nextSteps: z.ZodArray<z.ZodString>;
87
+ }, z.core.$strict>>;
88
+ /** Integration inspection excludes connection identity, which the runtime attaches separately. */
89
+ type IntegrationInspection = z.output<typeof integrationInspectionSchema>;
90
+ declare const integrationIdSchema: z.ZodLazy<z.ZodString>;
91
+ declare const integrationConnectionSetupTargetSchema: z.ZodLazy<z.ZodObject<{
92
+ kind: z.ZodLiteral<"connection">;
93
+ connectionId: z.ZodLazy<z.ZodString>;
94
+ }, z.core.$strict>>;
95
+ declare const integrationAuthMethodSchema: z.ZodLazy<z.ZodEnum<{
96
+ none: "none";
97
+ "api-key": "api-key";
98
+ bearer: "bearer";
99
+ basic: "basic";
100
+ "client-credentials": "client-credentials";
101
+ oauth: "oauth";
102
+ signature: "signature";
103
+ "app-installation": "app-installation";
104
+ }>>;
105
+ /** One vocabulary for every source's own auth configuration. */
106
+ type IntegrationAuthMethod = z.output<typeof integrationAuthMethodSchema>;
107
+ /** Public connection records describe source-owned configuration, never a facade-owned binding. */
108
+ type IntegrationConnection = z.output<typeof integrationConnectionSchema>;
109
+ /** Integration connection identity is supplied by the runtime, not by private adapter inspection. */
110
+ declare const integrationConnectionSchema: z.ZodLazy<z.ZodObject<{
111
+ configuration: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
112
+ status: z.ZodLiteral<"missing">;
113
+ missingFields: z.ZodArray<z.ZodString>;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ status: z.ZodLiteral<"configured">;
116
+ }, z.core.$strict>], "status">>;
117
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
118
+ status: z.ZodLiteral<"not-required">;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ status: z.ZodLiteral<"not-checked">;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ status: z.ZodLiteral<"missing">;
123
+ }, z.core.$strict>, z.ZodObject<{
124
+ status: z.ZodLiteral<"available">;
125
+ }, z.core.$strict>, z.ZodObject<{
126
+ status: z.ZodLiteral<"expired">;
127
+ }, z.core.$strict>], "status">>;
128
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
129
+ status: z.ZodLiteral<"not-checked">;
130
+ reason: z.ZodString;
131
+ id: z.ZodLazy<z.ZodString>;
132
+ label: z.ZodLazy<z.ZodString>;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ status: z.ZodEnum<{
135
+ passed: "passed";
136
+ failed: "failed";
137
+ }>;
138
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
139
+ message: z.ZodString;
140
+ id: z.ZodLazy<z.ZodString>;
141
+ label: z.ZodLazy<z.ZodString>;
142
+ }, z.core.$strict>], "status">>>;
143
+ nextSteps: z.ZodArray<z.ZodString>;
144
+ connectionId: z.ZodLazy<z.ZodString>;
145
+ integrationId: z.ZodLazy<z.ZodString>;
146
+ name: z.ZodString;
147
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
148
+ none: "none";
149
+ "api-key": "api-key";
150
+ bearer: "bearer";
151
+ basic: "basic";
152
+ "client-credentials": "client-credentials";
153
+ oauth: "oauth";
154
+ signature: "signature";
155
+ "app-installation": "app-installation";
156
+ }>>>;
157
+ }, z.core.$strict>>;
158
+ declare const integrationConnectionSettingsSchema: z.ZodLazy<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>>;
159
+ /** Source-owned settings a replacement can start from; they never contain secrets. */
160
+ type IntegrationConnectionSettings = z.output<typeof integrationConnectionSettingsSchema>;
161
+ declare const inspectedIntegrationConnectionSchema: z.ZodLazy<z.ZodObject<{
162
+ configuration: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
163
+ status: z.ZodLiteral<"missing">;
164
+ missingFields: z.ZodArray<z.ZodString>;
165
+ }, z.core.$strict>, z.ZodObject<{
166
+ status: z.ZodLiteral<"configured">;
167
+ }, z.core.$strict>], "status">>;
168
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
169
+ status: z.ZodLiteral<"not-required">;
170
+ }, z.core.$strict>, z.ZodObject<{
171
+ status: z.ZodLiteral<"not-checked">;
172
+ }, z.core.$strict>, z.ZodObject<{
173
+ status: z.ZodLiteral<"missing">;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ status: z.ZodLiteral<"available">;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ status: z.ZodLiteral<"expired">;
178
+ }, z.core.$strict>], "status">>;
179
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
180
+ status: z.ZodLiteral<"not-checked">;
181
+ reason: z.ZodString;
182
+ id: z.ZodLazy<z.ZodString>;
183
+ label: z.ZodLazy<z.ZodString>;
184
+ }, z.core.$strict>, z.ZodObject<{
185
+ status: z.ZodEnum<{
186
+ passed: "passed";
187
+ failed: "failed";
188
+ }>;
189
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
190
+ message: z.ZodString;
191
+ id: z.ZodLazy<z.ZodString>;
192
+ label: z.ZodLazy<z.ZodString>;
193
+ }, z.core.$strict>], "status">>>;
194
+ nextSteps: z.ZodArray<z.ZodString>;
195
+ connectionId: z.ZodLazy<z.ZodString>;
196
+ integrationId: z.ZodLazy<z.ZodString>;
197
+ name: z.ZodString;
198
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
199
+ none: "none";
200
+ "api-key": "api-key";
201
+ bearer: "bearer";
202
+ basic: "basic";
203
+ "client-credentials": "client-credentials";
204
+ oauth: "oauth";
205
+ signature: "signature";
206
+ "app-installation": "app-installation";
207
+ }>>>;
208
+ settings: z.ZodLazy<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>>;
209
+ }, z.core.$strict>>;
210
+ declare const configuredIntegrationSchema: z.ZodLazy<z.ZodObject<{
211
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
212
+ status: z.ZodLiteral<"not-required">;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ status: z.ZodLiteral<"not-checked">;
215
+ }, z.core.$strict>, z.ZodObject<{
216
+ status: z.ZodLiteral<"missing">;
217
+ }, z.core.$strict>, z.ZodObject<{
218
+ status: z.ZodLiteral<"available">;
219
+ }, z.core.$strict>, z.ZodObject<{
220
+ status: z.ZodLiteral<"expired">;
221
+ }, z.core.$strict>], "status">>;
222
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
223
+ status: z.ZodLiteral<"not-checked">;
224
+ reason: z.ZodString;
225
+ id: z.ZodLazy<z.ZodString>;
226
+ label: z.ZodLazy<z.ZodString>;
227
+ }, z.core.$strict>, z.ZodObject<{
228
+ status: z.ZodEnum<{
229
+ passed: "passed";
230
+ failed: "failed";
231
+ }>;
232
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
233
+ message: z.ZodString;
234
+ id: z.ZodLazy<z.ZodString>;
235
+ label: z.ZodLazy<z.ZodString>;
236
+ }, z.core.$strict>], "status">>>;
237
+ nextSteps: z.ZodArray<z.ZodString>;
238
+ connectionId: z.ZodLazy<z.ZodString>;
239
+ integrationId: z.ZodLazy<z.ZodString>;
240
+ name: z.ZodString;
241
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
242
+ none: "none";
243
+ "api-key": "api-key";
244
+ bearer: "bearer";
245
+ basic: "basic";
246
+ "client-credentials": "client-credentials";
247
+ oauth: "oauth";
248
+ signature: "signature";
249
+ "app-installation": "app-installation";
250
+ }>>>;
251
+ configuration: z.ZodObject<{
252
+ status: z.ZodLiteral<"configured">;
253
+ }, z.core.$strict>;
254
+ }, z.core.$strict>>;
255
+ /** Public integration setup progress never exposes private continuation state or binding data. */
256
+ declare const integrationSetupProgressSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
257
+ status: z.ZodLiteral<"needs-input">;
258
+ instructions: z.ZodString;
259
+ inputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
260
+ secretFields: z.ZodArray<z.ZodString>;
261
+ connectionId: z.ZodLazy<z.ZodString>;
262
+ }, z.core.$strict>, z.ZodObject<{
263
+ status: z.ZodLiteral<"needs-authorization">;
264
+ instructions: z.ZodString;
265
+ authorizationUrl: z.ZodURL;
266
+ connectionId: z.ZodLazy<z.ZodString>;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ status: z.ZodLiteral<"pending">;
269
+ message: z.ZodString;
270
+ connectionId: z.ZodLazy<z.ZodString>;
271
+ }, z.core.$strict>, z.ZodObject<{
272
+ status: z.ZodLiteral<"ready">;
273
+ connectionId: z.ZodLazy<z.ZodString>;
274
+ }, z.core.$strict>, z.ZodObject<{
275
+ status: z.ZodLiteral<"blocked">;
276
+ reason: z.ZodString;
277
+ connectionId: z.ZodLazy<z.ZodString>;
278
+ }, z.core.$strict>, z.ZodObject<{
279
+ status: z.ZodLiteral<"expired">;
280
+ reason: z.ZodString;
281
+ connectionId: z.ZodLazy<z.ZodString>;
282
+ }, z.core.$strict>], "status">>;
283
+ /** Integration setup progress describes current requirements without exposing private continuation data. */
284
+ type IntegrationSetupProgress = z.output<typeof integrationSetupProgressSchema>;
285
+ /** Connection operations select an address, never a caller-supplied owner scope. */
286
+ declare const integrationConnectionInputSchema: z.ZodLazy<z.ZodObject<{
287
+ connectionId: z.ZodLazy<z.ZodString>;
288
+ }, z.core.$strict>>;
289
+ /** Named setup distinguishes checking source-owned state from submitting any JSON value, including null. */
290
+ declare const integrationSetupInputSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
291
+ kind: z.ZodLiteral<"check">;
292
+ connectionId: z.ZodLazy<z.ZodString>;
293
+ }, z.core.$strict>, z.ZodObject<{
294
+ kind: z.ZodLiteral<"input">;
295
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
296
+ connectionId: z.ZodLazy<z.ZodString>;
297
+ }, z.core.$strict>], "kind">>;
298
+ /** Setup requests select a scoped address and carry one explicit operation, without private continuation data. */
299
+ type IntegrationSetupInput = z.output<typeof integrationSetupInputSchema>;
300
+ /** Disconnecting repeats the address, so removal is never a side effect of an edited command. */
301
+ declare const integrationDisconnectInputSchema: z.ZodLazy<z.ZodObject<{
302
+ connectionId: z.ZodLazy<z.ZodString>;
303
+ confirm: z.ZodLazy<z.ZodString>;
304
+ }, z.core.$strict>>;
305
+ /** Disconnect results report source state; the address stays valid for a later setup. */
306
+ declare const integrationDisconnectResultSchema: z.ZodLazy<z.ZodObject<{
307
+ connectionId: z.ZodLazy<z.ZodString>;
308
+ status: z.ZodEnum<{
309
+ disconnected: "disconnected";
310
+ "not-configured": "not-configured";
311
+ }>;
312
+ }, z.core.$strict>>;
313
+ /** Disconnect results never retain a removed connection's configuration. */
314
+ type IntegrationDisconnectResult = z.output<typeof integrationDisconnectResultSchema>;
315
+ declare const integrationConnectionEventsBackfillResultSchema: z.ZodLazy<z.ZodObject<{
316
+ connections: z.ZodArray<z.ZodObject<{
317
+ connectionId: z.ZodLazy<z.ZodString>;
318
+ service: z.ZodLazy<z.ZodString>;
319
+ state: z.ZodEnum<{
320
+ unavailable: "unavailable";
321
+ ready: "ready";
322
+ }>;
323
+ }, z.core.$strict>>;
324
+ }, z.core.$strict>>;
325
+ /** Integration discovery reports service availability in the selected scope, not live health. */
326
+ declare const integrationOverviewSchema: z.ZodLazy<z.ZodObject<{
327
+ id: z.ZodLazy<z.ZodString>;
328
+ label: z.ZodString;
329
+ description: z.ZodString;
330
+ connectionCardinality: z.ZodEnum<{
331
+ singleton: "singleton";
332
+ multiple: "multiple";
333
+ }>;
334
+ availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
335
+ status: z.ZodLiteral<"available">;
336
+ }, z.core.$strict>, z.ZodObject<{
337
+ status: z.ZodLiteral<"unavailable">;
338
+ reason: z.ZodString;
339
+ }, z.core.$strict>], "status">;
340
+ setupTargets: z.ZodArray<z.ZodLazy<z.ZodObject<{
341
+ kind: z.ZodLiteral<"connection">;
342
+ connectionId: z.ZodLazy<z.ZodString>;
343
+ }, z.core.$strict>>>;
344
+ automationEvents: z.ZodArray<z.ZodObject<{
345
+ source: z.ZodString;
346
+ eventType: z.ZodString;
347
+ }, z.core.$strict>>;
348
+ }, z.core.$strict>>;
349
+ /** Integration discovery metadata has one canonical schema shared by tools and implementations. */
350
+ type IntegrationOverview = z.output<typeof integrationOverviewSchema>;
351
+ /** Integration list pages project existing configured connections, not independent binding records. */
352
+ declare const integrationListOutputSchema: z.ZodLazy<z.ZodObject<{
353
+ connections: z.ZodArray<z.ZodLazy<z.ZodObject<{
354
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ status: z.ZodLiteral<"not-required">;
356
+ }, z.core.$strict>, z.ZodObject<{
357
+ status: z.ZodLiteral<"not-checked">;
358
+ }, z.core.$strict>, z.ZodObject<{
359
+ status: z.ZodLiteral<"missing">;
360
+ }, z.core.$strict>, z.ZodObject<{
361
+ status: z.ZodLiteral<"available">;
362
+ }, z.core.$strict>, z.ZodObject<{
363
+ status: z.ZodLiteral<"expired">;
364
+ }, z.core.$strict>], "status">>;
365
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
366
+ status: z.ZodLiteral<"not-checked">;
367
+ reason: z.ZodString;
368
+ id: z.ZodLazy<z.ZodString>;
369
+ label: z.ZodLazy<z.ZodString>;
370
+ }, z.core.$strict>, z.ZodObject<{
371
+ status: z.ZodEnum<{
372
+ passed: "passed";
373
+ failed: "failed";
374
+ }>;
375
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
376
+ message: z.ZodString;
377
+ id: z.ZodLazy<z.ZodString>;
378
+ label: z.ZodLazy<z.ZodString>;
379
+ }, z.core.$strict>], "status">>>;
380
+ nextSteps: z.ZodArray<z.ZodString>;
381
+ connectionId: z.ZodLazy<z.ZodString>;
382
+ integrationId: z.ZodLazy<z.ZodString>;
383
+ name: z.ZodString;
384
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
385
+ none: "none";
386
+ "api-key": "api-key";
387
+ bearer: "bearer";
388
+ basic: "basic";
389
+ "client-credentials": "client-credentials";
390
+ oauth: "oauth";
391
+ signature: "signature";
392
+ "app-installation": "app-installation";
393
+ }>>>;
394
+ configuration: z.ZodObject<{
395
+ status: z.ZodLiteral<"configured">;
396
+ }, z.core.$strict>;
397
+ }, z.core.$strict>>>;
398
+ unavailableSources: z.ZodArray<z.ZodObject<{
399
+ source: z.ZodString;
400
+ reason: z.ZodString;
401
+ }, z.core.$strict>>;
402
+ cursor: z.ZodNullable<z.ZodString>;
403
+ }, z.core.$strict>>;
404
+ /** Connection pages retain source pagination without allocating new connection identities. */
405
+ type IntegrationConnectionPage = z.output<typeof integrationListOutputSchema>;
406
+ /** Integration listing starts with a null cursor and never selects an adapter. */
407
+ declare const integrationListInputSchema: z.ZodLazy<z.ZodObject<{
408
+ cursor: z.ZodNullable<z.ZodString>;
409
+ }, z.core.$strict>>;
410
+ /** Action values are JSON; action-specific validation still precedes service side effects. */
411
+ declare const integrationExecuteInputSchema: z.ZodLazy<z.ZodObject<{
412
+ connectionId: z.ZodLazy<z.ZodString>;
413
+ actionId: z.ZodString;
414
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
415
+ unchecked: z.ZodDefault<z.ZodBoolean>;
416
+ }, z.core.$strict>>;
417
+ /**
418
+ * Whether execution validates an action against its schemas. Unchecked actions publish contracts
419
+ * that cannot be validated faithfully, so callers must opt in to running them.
420
+ */
421
+ declare const integrationActionValidationSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
422
+ kind: z.ZodLiteral<"checked">;
423
+ }, z.core.$strict>, z.ZodObject<{
424
+ kind: z.ZodLiteral<"unchecked">;
425
+ reason: z.ZodString;
426
+ }, z.core.$strict>], "kind">>;
427
+ /** Integration action schemas describe the operation's own result, including asynchronous job handles. */
428
+ declare const integrationActionSchema: z.ZodLazy<z.ZodObject<{
429
+ id: z.ZodString;
430
+ label: z.ZodString;
431
+ description: z.ZodString;
432
+ validation: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
433
+ kind: z.ZodLiteral<"checked">;
434
+ }, z.core.$strict>, z.ZodObject<{
435
+ kind: z.ZodLiteral<"unchecked">;
436
+ reason: z.ZodString;
437
+ }, z.core.$strict>], "kind">>;
438
+ inputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
439
+ outputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
440
+ }, z.core.$strict>>;
441
+ /** Integration action metadata contains contracts but no executable handler. */
442
+ type IntegrationAction = z.output<typeof integrationActionSchema>;
443
+ declare const integrationGenerateClientInputSchema: z.ZodLazy<z.ZodObject<{
444
+ connectionId: z.ZodLazy<z.ZodString>;
445
+ out: z.ZodString;
446
+ }, z.core.$strict>>;
447
+ /** Generated clients are snapshots of the connection's action contracts. */
448
+ declare const integrationClientSchema: z.ZodLazy<z.ZodObject<{
449
+ path: z.ZodString;
450
+ exports: z.ZodArray<z.ZodObject<{
451
+ name: z.ZodString;
452
+ actionId: z.ZodString;
453
+ }, z.core.$strict>>;
454
+ }, z.core.$strict>>;
455
+ declare const integrationsOperations: {
456
+ "integrations.discover": {
457
+ description: string;
458
+ permissions: {
459
+ readonly namespace: "integrations";
460
+ readonly permission: "read";
461
+ }[];
462
+ input: z.ZodVoid;
463
+ output: z.ZodLazy<z.ZodArray<z.ZodLazy<z.ZodObject<{
464
+ id: z.ZodLazy<z.ZodString>;
465
+ label: z.ZodString;
466
+ description: z.ZodString;
467
+ connectionCardinality: z.ZodEnum<{
468
+ singleton: "singleton";
469
+ multiple: "multiple";
470
+ }>;
471
+ availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
472
+ status: z.ZodLiteral<"available">;
473
+ }, z.core.$strict>, z.ZodObject<{
474
+ status: z.ZodLiteral<"unavailable">;
475
+ reason: z.ZodString;
476
+ }, z.core.$strict>], "status">;
477
+ setupTargets: z.ZodArray<z.ZodLazy<z.ZodObject<{
478
+ kind: z.ZodLiteral<"connection">;
479
+ connectionId: z.ZodLazy<z.ZodString>;
480
+ }, z.core.$strict>>>;
481
+ automationEvents: z.ZodArray<z.ZodObject<{
482
+ source: z.ZodString;
483
+ eventType: z.ZodString;
484
+ }, z.core.$strict>>;
485
+ }, z.core.$strict>>>>;
486
+ };
487
+ "integrations.list": {
488
+ description: string;
489
+ permissions: {
490
+ readonly namespace: "integrations";
491
+ readonly permission: "read";
492
+ }[];
493
+ input: z.ZodLazy<z.ZodObject<{
494
+ cursor: z.ZodNullable<z.ZodString>;
495
+ }, z.core.$strict>>;
496
+ output: z.ZodLazy<z.ZodObject<{
497
+ connections: z.ZodArray<z.ZodLazy<z.ZodObject<{
498
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
499
+ status: z.ZodLiteral<"not-required">;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ status: z.ZodLiteral<"not-checked">;
502
+ }, z.core.$strict>, z.ZodObject<{
503
+ status: z.ZodLiteral<"missing">;
504
+ }, z.core.$strict>, z.ZodObject<{
505
+ status: z.ZodLiteral<"available">;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ status: z.ZodLiteral<"expired">;
508
+ }, z.core.$strict>], "status">>;
509
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
510
+ status: z.ZodLiteral<"not-checked">;
511
+ reason: z.ZodString;
512
+ id: z.ZodLazy<z.ZodString>;
513
+ label: z.ZodLazy<z.ZodString>;
514
+ }, z.core.$strict>, z.ZodObject<{
515
+ status: z.ZodEnum<{
516
+ passed: "passed";
517
+ failed: "failed";
518
+ }>;
519
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
520
+ message: z.ZodString;
521
+ id: z.ZodLazy<z.ZodString>;
522
+ label: z.ZodLazy<z.ZodString>;
523
+ }, z.core.$strict>], "status">>>;
524
+ nextSteps: z.ZodArray<z.ZodString>;
525
+ connectionId: z.ZodLazy<z.ZodString>;
526
+ integrationId: z.ZodLazy<z.ZodString>;
527
+ name: z.ZodString;
528
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
529
+ none: "none";
530
+ "api-key": "api-key";
531
+ bearer: "bearer";
532
+ basic: "basic";
533
+ "client-credentials": "client-credentials";
534
+ oauth: "oauth";
535
+ signature: "signature";
536
+ "app-installation": "app-installation";
537
+ }>>>;
538
+ configuration: z.ZodObject<{
539
+ status: z.ZodLiteral<"configured">;
540
+ }, z.core.$strict>;
541
+ }, z.core.$strict>>>;
542
+ unavailableSources: z.ZodArray<z.ZodObject<{
543
+ source: z.ZodString;
544
+ reason: z.ZodString;
545
+ }, z.core.$strict>>;
546
+ cursor: z.ZodNullable<z.ZodString>;
547
+ }, z.core.$strict>>;
548
+ };
549
+ "integrations.get": {
550
+ description: string;
551
+ permissions: {
552
+ readonly namespace: "integrations";
553
+ readonly permission: "read";
554
+ }[];
555
+ input: z.ZodLazy<z.ZodObject<{
556
+ connectionId: z.ZodLazy<z.ZodString>;
557
+ }, z.core.$strict>>;
558
+ output: z.ZodLazy<z.ZodObject<{
559
+ configuration: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
560
+ status: z.ZodLiteral<"missing">;
561
+ missingFields: z.ZodArray<z.ZodString>;
562
+ }, z.core.$strict>, z.ZodObject<{
563
+ status: z.ZodLiteral<"configured">;
564
+ }, z.core.$strict>], "status">>;
565
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
566
+ status: z.ZodLiteral<"not-required">;
567
+ }, z.core.$strict>, z.ZodObject<{
568
+ status: z.ZodLiteral<"not-checked">;
569
+ }, z.core.$strict>, z.ZodObject<{
570
+ status: z.ZodLiteral<"missing">;
571
+ }, z.core.$strict>, z.ZodObject<{
572
+ status: z.ZodLiteral<"available">;
573
+ }, z.core.$strict>, z.ZodObject<{
574
+ status: z.ZodLiteral<"expired">;
575
+ }, z.core.$strict>], "status">>;
576
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
577
+ status: z.ZodLiteral<"not-checked">;
578
+ reason: z.ZodString;
579
+ id: z.ZodLazy<z.ZodString>;
580
+ label: z.ZodLazy<z.ZodString>;
581
+ }, z.core.$strict>, z.ZodObject<{
582
+ status: z.ZodEnum<{
583
+ passed: "passed";
584
+ failed: "failed";
585
+ }>;
586
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
587
+ message: z.ZodString;
588
+ id: z.ZodLazy<z.ZodString>;
589
+ label: z.ZodLazy<z.ZodString>;
590
+ }, z.core.$strict>], "status">>>;
591
+ nextSteps: z.ZodArray<z.ZodString>;
592
+ connectionId: z.ZodLazy<z.ZodString>;
593
+ integrationId: z.ZodLazy<z.ZodString>;
594
+ name: z.ZodString;
595
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
596
+ none: "none";
597
+ "api-key": "api-key";
598
+ bearer: "bearer";
599
+ basic: "basic";
600
+ "client-credentials": "client-credentials";
601
+ oauth: "oauth";
602
+ signature: "signature";
603
+ "app-installation": "app-installation";
604
+ }>>>;
605
+ settings: z.ZodLazy<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>>;
606
+ }, z.core.$strict>>;
607
+ };
608
+ "integrations.setup": {
609
+ description: string;
610
+ permissions: {
611
+ readonly namespace: "integrations";
612
+ readonly permission: "manage";
613
+ }[];
614
+ input: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
615
+ kind: z.ZodLiteral<"check">;
616
+ connectionId: z.ZodLazy<z.ZodString>;
617
+ }, z.core.$strict>, z.ZodObject<{
618
+ kind: z.ZodLiteral<"input">;
619
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
620
+ connectionId: z.ZodLazy<z.ZodString>;
621
+ }, z.core.$strict>], "kind">>;
622
+ output: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
623
+ status: z.ZodLiteral<"needs-input">;
624
+ instructions: z.ZodString;
625
+ inputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
626
+ secretFields: z.ZodArray<z.ZodString>;
627
+ connectionId: z.ZodLazy<z.ZodString>;
628
+ }, z.core.$strict>, z.ZodObject<{
629
+ status: z.ZodLiteral<"needs-authorization">;
630
+ instructions: z.ZodString;
631
+ authorizationUrl: z.ZodURL;
632
+ connectionId: z.ZodLazy<z.ZodString>;
633
+ }, z.core.$strict>, z.ZodObject<{
634
+ status: z.ZodLiteral<"pending">;
635
+ message: z.ZodString;
636
+ connectionId: z.ZodLazy<z.ZodString>;
637
+ }, z.core.$strict>, z.ZodObject<{
638
+ status: z.ZodLiteral<"ready">;
639
+ connectionId: z.ZodLazy<z.ZodString>;
640
+ }, z.core.$strict>, z.ZodObject<{
641
+ status: z.ZodLiteral<"blocked">;
642
+ reason: z.ZodString;
643
+ connectionId: z.ZodLazy<z.ZodString>;
644
+ }, z.core.$strict>, z.ZodObject<{
645
+ status: z.ZodLiteral<"expired">;
646
+ reason: z.ZodString;
647
+ connectionId: z.ZodLazy<z.ZodString>;
648
+ }, z.core.$strict>], "status">>;
649
+ };
650
+ "integrations.reconfigure": {
651
+ description: string;
652
+ permissions: {
653
+ readonly namespace: "integrations";
654
+ readonly permission: "manage";
655
+ }[];
656
+ input: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
657
+ kind: z.ZodLiteral<"check">;
658
+ connectionId: z.ZodLazy<z.ZodString>;
659
+ }, z.core.$strict>, z.ZodObject<{
660
+ kind: z.ZodLiteral<"input">;
661
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
662
+ connectionId: z.ZodLazy<z.ZodString>;
663
+ }, z.core.$strict>], "kind">>;
664
+ output: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
665
+ status: z.ZodLiteral<"needs-input">;
666
+ instructions: z.ZodString;
667
+ inputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
668
+ secretFields: z.ZodArray<z.ZodString>;
669
+ connectionId: z.ZodLazy<z.ZodString>;
670
+ }, z.core.$strict>, z.ZodObject<{
671
+ status: z.ZodLiteral<"needs-authorization">;
672
+ instructions: z.ZodString;
673
+ authorizationUrl: z.ZodURL;
674
+ connectionId: z.ZodLazy<z.ZodString>;
675
+ }, z.core.$strict>, z.ZodObject<{
676
+ status: z.ZodLiteral<"pending">;
677
+ message: z.ZodString;
678
+ connectionId: z.ZodLazy<z.ZodString>;
679
+ }, z.core.$strict>, z.ZodObject<{
680
+ status: z.ZodLiteral<"ready">;
681
+ connectionId: z.ZodLazy<z.ZodString>;
682
+ }, z.core.$strict>, z.ZodObject<{
683
+ status: z.ZodLiteral<"blocked">;
684
+ reason: z.ZodString;
685
+ connectionId: z.ZodLazy<z.ZodString>;
686
+ }, z.core.$strict>, z.ZodObject<{
687
+ status: z.ZodLiteral<"expired">;
688
+ reason: z.ZodString;
689
+ connectionId: z.ZodLazy<z.ZodString>;
690
+ }, z.core.$strict>], "status">>;
691
+ };
692
+ "integrations.disconnect": {
693
+ description: string;
694
+ permissions: {
695
+ readonly namespace: "integrations";
696
+ readonly permission: "manage";
697
+ }[];
698
+ input: z.ZodLazy<z.ZodObject<{
699
+ connectionId: z.ZodLazy<z.ZodString>;
700
+ confirm: z.ZodLazy<z.ZodString>;
701
+ }, z.core.$strict>>;
702
+ output: z.ZodLazy<z.ZodObject<{
703
+ connectionId: z.ZodLazy<z.ZodString>;
704
+ status: z.ZodEnum<{
705
+ disconnected: "disconnected";
706
+ "not-configured": "not-configured";
707
+ }>;
708
+ }, z.core.$strict>>;
709
+ };
710
+ "integrations.backfillConnectionEvents": {
711
+ description: string;
712
+ permissions: {
713
+ readonly namespace: "integrations";
714
+ readonly permission: "manage";
715
+ }[];
716
+ input: z.ZodVoid;
717
+ output: z.ZodLazy<z.ZodObject<{
718
+ connections: z.ZodArray<z.ZodObject<{
719
+ connectionId: z.ZodLazy<z.ZodString>;
720
+ service: z.ZodLazy<z.ZodString>;
721
+ state: z.ZodEnum<{
722
+ unavailable: "unavailable";
723
+ ready: "ready";
724
+ }>;
725
+ }, z.core.$strict>>;
726
+ }, z.core.$strict>>;
727
+ };
728
+ "integrations.actions": {
729
+ description: string;
730
+ permissions: {
731
+ readonly namespace: "integrations";
732
+ readonly permission: "read";
733
+ }[];
734
+ input: z.ZodLazy<z.ZodObject<{
735
+ connectionId: z.ZodLazy<z.ZodString>;
736
+ }, z.core.$strict>>;
737
+ output: z.ZodLazy<z.ZodArray<z.ZodLazy<z.ZodObject<{
738
+ id: z.ZodString;
739
+ label: z.ZodString;
740
+ description: z.ZodString;
741
+ validation: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
742
+ kind: z.ZodLiteral<"checked">;
743
+ }, z.core.$strict>, z.ZodObject<{
744
+ kind: z.ZodLiteral<"unchecked">;
745
+ reason: z.ZodString;
746
+ }, z.core.$strict>], "kind">>;
747
+ inputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
748
+ outputSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
749
+ }, z.core.$strict>>>>;
750
+ };
751
+ "integrations.execute": {
752
+ description: string;
753
+ permissions: {
754
+ readonly namespace: "integrations";
755
+ readonly permission: "execute";
756
+ }[];
757
+ input: z.ZodLazy<z.ZodObject<{
758
+ connectionId: z.ZodLazy<z.ZodString>;
759
+ actionId: z.ZodString;
760
+ input: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
761
+ unchecked: z.ZodDefault<z.ZodBoolean>;
762
+ }, z.core.$strict>>;
763
+ output: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
764
+ };
765
+ "integrations.generateClient": {
766
+ description: string;
767
+ permissions: ({
768
+ readonly namespace: "integrations";
769
+ readonly permission: "read";
770
+ } | {
771
+ readonly namespace: "upload";
772
+ readonly permission: "modify";
773
+ })[];
774
+ input: z.ZodLazy<z.ZodObject<{
775
+ connectionId: z.ZodLazy<z.ZodString>;
776
+ out: z.ZodString;
777
+ }, z.core.$strict>>;
778
+ output: z.ZodLazy<z.ZodObject<{
779
+ path: z.ZodString;
780
+ exports: z.ZodArray<z.ZodObject<{
781
+ name: z.ZodString;
782
+ actionId: z.ZodString;
783
+ }, z.core.$strict>>;
784
+ }, z.core.$strict>>;
785
+ };
786
+ "integrations.verify": {
787
+ description: string;
788
+ permissions: {
789
+ readonly namespace: "integrations";
790
+ readonly permission: "manage";
791
+ }[];
792
+ input: z.ZodLazy<z.ZodObject<{
793
+ connectionId: z.ZodLazy<z.ZodString>;
794
+ }, z.core.$strict>>;
795
+ output: z.ZodLazy<z.ZodObject<{
796
+ configuration: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
797
+ status: z.ZodLiteral<"missing">;
798
+ missingFields: z.ZodArray<z.ZodString>;
799
+ }, z.core.$strict>, z.ZodObject<{
800
+ status: z.ZodLiteral<"configured">;
801
+ }, z.core.$strict>], "status">>;
802
+ authorization: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
803
+ status: z.ZodLiteral<"not-required">;
804
+ }, z.core.$strict>, z.ZodObject<{
805
+ status: z.ZodLiteral<"not-checked">;
806
+ }, z.core.$strict>, z.ZodObject<{
807
+ status: z.ZodLiteral<"missing">;
808
+ }, z.core.$strict>, z.ZodObject<{
809
+ status: z.ZodLiteral<"available">;
810
+ }, z.core.$strict>, z.ZodObject<{
811
+ status: z.ZodLiteral<"expired">;
812
+ }, z.core.$strict>], "status">>;
813
+ checks: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
814
+ status: z.ZodLiteral<"not-checked">;
815
+ reason: z.ZodString;
816
+ id: z.ZodLazy<z.ZodString>;
817
+ label: z.ZodLazy<z.ZodString>;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ status: z.ZodEnum<{
820
+ passed: "passed";
821
+ failed: "failed";
822
+ }>;
823
+ checkedAt: z.ZodLazy<z.ZodPreprocess<z.ZodISODateTime, unknown>>;
824
+ message: z.ZodString;
825
+ id: z.ZodLazy<z.ZodString>;
826
+ label: z.ZodLazy<z.ZodString>;
827
+ }, z.core.$strict>], "status">>>;
828
+ nextSteps: z.ZodArray<z.ZodString>;
829
+ connectionId: z.ZodLazy<z.ZodString>;
830
+ integrationId: z.ZodLazy<z.ZodString>;
831
+ name: z.ZodString;
832
+ authMethod: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
833
+ none: "none";
834
+ "api-key": "api-key";
835
+ bearer: "bearer";
836
+ basic: "basic";
837
+ "client-credentials": "client-credentials";
838
+ oauth: "oauth";
839
+ signature: "signature";
840
+ "app-installation": "app-installation";
841
+ }>>>;
842
+ }, z.core.$strict>>;
843
+ };
844
+ };
845
+ //#endregion
846
+ export { IntegrationAction, IntegrationAuthMethod, IntegrationConnection, IntegrationConnectionPage, IntegrationConnectionSettings, IntegrationDisconnectResult, IntegrationInspection, IntegrationOverview, IntegrationSetupInput, IntegrationSetupProgress, configuredIntegrationSchema, inspectedIntegrationConnectionSchema, integrationActionSchema, integrationActionValidationSchema, integrationAuthMethodSchema, integrationAuthorizationStatusSchema, integrationClientSchema, integrationConfigurationStatusSchema, integrationConnectionEventsBackfillResultSchema, integrationConnectionIdSchema, integrationConnectionInputSchema, integrationConnectionSchema, integrationConnectionSettingsSchema, integrationConnectionSetupTargetSchema, integrationDisconnectInputSchema, integrationDisconnectResultSchema, integrationExecuteInputSchema, integrationGenerateClientInputSchema, integrationIdSchema, integrationInspectionSchema, integrationJsonSchemaSchema, integrationListInputSchema, integrationListOutputSchema, integrationOverviewSchema, integrationSetupCheckSchema, integrationSetupInputSchema, integrationSetupProgressSchema, integrationSetupProgressShape, integrationSetupSubmissionSchema, integrationVerificationCheckSchema, integrationVerificationCheckShape, integrationsOperations };
847
+ //# sourceMappingURL=integrations.d.ts.map