@apollo-deploy/schemas 0.4.7 → 0.5.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/definitions/approvals/domain.schema.d.ts +23 -12
- package/dist/definitions/approvals/domain.schema.d.ts.map +1 -1
- package/dist/definitions/approvals/domain.schema.js +4 -8
- package/dist/definitions/approvals/domain.schema.js.map +1 -1
- package/dist/definitions/approvals/request.schema.d.ts +8 -8
- package/dist/definitions/approvals/response.schema.d.ts +48 -32
- package/dist/definitions/approvals/response.schema.d.ts.map +1 -1
- package/dist/definitions/apps/response.schema.d.ts +1 -1
- package/dist/definitions/artifacts/domain.schema.d.ts +6 -6
- package/dist/definitions/artifacts/request.schema.d.ts +16 -16
- package/dist/definitions/artifacts/response.schema.d.ts +75 -47
- package/dist/definitions/artifacts/response.schema.d.ts.map +1 -1
- package/dist/definitions/artifacts/response.schema.js +2 -3
- package/dist/definitions/artifacts/response.schema.js.map +1 -1
- package/dist/definitions/audit-log/domain.schema.d.ts +27 -22
- package/dist/definitions/audit-log/domain.schema.d.ts.map +1 -1
- package/dist/definitions/audit-log/domain.schema.js +2 -2
- package/dist/definitions/audit-log/domain.schema.js.map +1 -1
- package/dist/definitions/audit-log/request.schema.d.ts +39 -39
- package/dist/definitions/audit-log/response.schema.d.ts +66 -15
- package/dist/definitions/audit-log/response.schema.d.ts.map +1 -1
- package/dist/definitions/audit-log/response.schema.js +6 -10
- package/dist/definitions/audit-log/response.schema.js.map +1 -1
- package/dist/definitions/auth/domain.schema.d.ts +11 -11
- package/dist/definitions/auth/request.schema.d.ts +11 -11
- package/dist/definitions/billing/domain.schema.d.ts +13 -13
- package/dist/definitions/billing/domain.schema.d.ts.map +1 -1
- package/dist/definitions/billing/domain.schema.js +4 -4
- package/dist/definitions/billing/domain.schema.js.map +1 -1
- package/dist/definitions/billing/request.schema.d.ts +3 -3
- package/dist/definitions/billing/response.schema.d.ts +7 -7
- package/dist/definitions/common.d.ts +31 -3
- package/dist/definitions/common.d.ts.map +1 -1
- package/dist/definitions/common.js +21 -0
- package/dist/definitions/common.js.map +1 -1
- package/dist/definitions/credentials/domain.schema.d.ts +4 -7
- package/dist/definitions/credentials/domain.schema.d.ts.map +1 -1
- package/dist/definitions/credentials/domain.schema.js +0 -3
- package/dist/definitions/credentials/domain.schema.js.map +1 -1
- package/dist/definitions/credentials/request.schema.d.ts +2 -4
- package/dist/definitions/credentials/request.schema.d.ts.map +1 -1
- package/dist/definitions/credentials/request.schema.js +0 -2
- package/dist/definitions/credentials/request.schema.js.map +1 -1
- package/dist/definitions/credentials/response.schema.d.ts +4 -10
- package/dist/definitions/credentials/response.schema.d.ts.map +1 -1
- package/dist/definitions/cve-scanner/domain.schema.d.ts +6 -6
- package/dist/definitions/cve-scanner/response.schema.d.ts +15 -15
- package/dist/definitions/deployments/domain.schema.d.ts +3 -3
- package/dist/definitions/deployments/request.schema.d.ts +1 -1
- package/dist/definitions/deployments/response.schema.d.ts +2 -2
- package/dist/definitions/index.d.ts +2 -9
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +6 -9
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/api.schema.d.ts +290 -0
- package/dist/definitions/integrations/api.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/api.schema.js +209 -0
- package/dist/definitions/integrations/api.schema.js.map +1 -0
- package/dist/definitions/integrations/index.d.ts +4 -3
- package/dist/definitions/integrations/index.d.ts.map +1 -1
- package/dist/definitions/integrations/index.js +17 -3
- package/dist/definitions/integrations/index.js.map +1 -1
- package/dist/definitions/integrations/marketplace-request.schema.d.ts +16 -40
- package/dist/definitions/integrations/marketplace-request.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace-request.schema.js +12 -36
- package/dist/definitions/integrations/marketplace-request.schema.js.map +1 -1
- package/dist/definitions/integrations/marketplace-response.schema.d.ts +28 -56
- package/dist/definitions/integrations/marketplace-response.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace-response.schema.js +19 -47
- package/dist/definitions/integrations/marketplace-response.schema.js.map +1 -1
- package/dist/definitions/integrations/marketplace.schema.d.ts +30 -58
- package/dist/definitions/integrations/marketplace.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace.schema.js +25 -48
- package/dist/definitions/integrations/marketplace.schema.js.map +1 -1
- package/dist/definitions/orgs/domain.schema.d.ts +2 -2
- package/dist/definitions/orgs/request.schema.d.ts +2 -2
- package/dist/definitions/orgs/response.schema.d.ts +2 -2
- package/dist/definitions/policies/domain.schema.d.ts +8 -8
- package/dist/definitions/policies/request.schema.d.ts +8 -8
- package/dist/definitions/policies/response.schema.d.ts +18 -18
- package/dist/definitions/release-risk/domain.schema.d.ts +2 -2
- package/dist/definitions/release-risk/request.schema.d.ts +1 -1
- package/dist/definitions/release-risk/response.schema.d.ts +5 -5
- package/dist/definitions/releases/domain.schema.d.ts +17 -12
- package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
- package/dist/definitions/releases/domain.schema.js +4 -4
- package/dist/definitions/releases/domain.schema.js.map +1 -1
- package/dist/definitions/releases/request.schema.d.ts +2 -2
- package/dist/definitions/releases/response.schema.d.ts +20 -10
- package/dist/definitions/releases/response.schema.d.ts.map +1 -1
- package/dist/definitions/service-accounts/domain.schema.d.ts +9 -9
- package/dist/definitions/service-accounts/request.schema.d.ts +2 -2
- package/dist/definitions/service-accounts/response.schema.d.ts +7 -7
- package/dist/definitions/share-links/domain.schema.d.ts +6 -1
- package/dist/definitions/share-links/domain.schema.d.ts.map +1 -1
- package/dist/definitions/share-links/domain.schema.js +2 -2
- package/dist/definitions/share-links/domain.schema.js.map +1 -1
- package/dist/definitions/share-links/request.schema.d.ts +1 -1
- package/dist/definitions/share-links/response.schema.d.ts +12 -2
- package/dist/definitions/share-links/response.schema.d.ts.map +1 -1
- package/dist/definitions/teams/domain.schema.d.ts +7 -2
- package/dist/definitions/teams/domain.schema.d.ts.map +1 -1
- package/dist/definitions/teams/domain.schema.js +2 -2
- package/dist/definitions/teams/domain.schema.js.map +1 -1
- package/dist/definitions/teams/request.schema.d.ts +1 -1
- package/dist/definitions/teams/response.schema.d.ts +14 -4
- package/dist/definitions/teams/response.schema.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +0 -122
- package/dist/definitions/integrations/domain.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/domain.schema.js +0 -85
- package/dist/definitions/integrations/domain.schema.js.map +0 -1
- package/dist/definitions/integrations/request.schema.d.ts +0 -141
- package/dist/definitions/integrations/request.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/request.schema.js +0 -136
- package/dist/definitions/integrations/request.schema.js.map +0 -1
- package/dist/definitions/integrations/response.schema.d.ts +0 -142
- package/dist/definitions/integrations/response.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/response.schema.js +0 -55
- package/dist/definitions/integrations/response.schema.js.map +0 -1
|
@@ -4,35 +4,31 @@
|
|
|
4
4
|
* Response schemas for the rebuilt Integration Marketplace module.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
/**
|
|
8
|
-
* Pagination metadata schema
|
|
9
|
-
*/
|
|
7
|
+
/** Pagination metadata schema */
|
|
10
8
|
export declare const PaginationMetaV2Schema: z.ZodObject<{
|
|
11
9
|
total: z.ZodNumber;
|
|
12
10
|
limit: z.ZodNumber;
|
|
13
11
|
offset: z.ZodNumber;
|
|
14
12
|
hasMore: z.ZodBoolean;
|
|
15
13
|
}, z.core.$strip>;
|
|
16
|
-
/**
|
|
17
|
-
* Catalog list response
|
|
18
|
-
*/
|
|
14
|
+
/** Catalog list response */
|
|
19
15
|
export declare const CatalogListResponseSchema: z.ZodObject<{
|
|
20
16
|
data: z.ZodArray<z.ZodObject<{
|
|
21
17
|
key: z.ZodString;
|
|
22
18
|
name: z.ZodString;
|
|
23
19
|
description: z.ZodString;
|
|
24
20
|
category: z.ZodEnum<{
|
|
25
|
-
deployment: "deployment";
|
|
26
21
|
store: "store";
|
|
22
|
+
deployment: "deployment";
|
|
27
23
|
"source-control": "source-control";
|
|
28
24
|
monitoring: "monitoring";
|
|
29
25
|
}>;
|
|
30
26
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
31
27
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
32
28
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
33
|
-
team: "team";
|
|
34
29
|
free: "free";
|
|
35
30
|
pro: "pro";
|
|
31
|
+
team: "team";
|
|
36
32
|
enterprise: "enterprise";
|
|
37
33
|
}>>;
|
|
38
34
|
isBeta: z.ZodBoolean;
|
|
@@ -48,8 +44,8 @@ export declare const CatalogListResponseSchema: z.ZodObject<{
|
|
|
48
44
|
}, z.core.$strip>>;
|
|
49
45
|
}, z.core.$strip>;
|
|
50
46
|
providerType: z.ZodEnum<{
|
|
51
|
-
store: "store";
|
|
52
47
|
integration: "integration";
|
|
48
|
+
store: "store";
|
|
53
49
|
}>;
|
|
54
50
|
}, z.core.$strip>>;
|
|
55
51
|
pagination: z.ZodObject<{
|
|
@@ -59,26 +55,24 @@ export declare const CatalogListResponseSchema: z.ZodObject<{
|
|
|
59
55
|
hasMore: z.ZodBoolean;
|
|
60
56
|
}, z.core.$strip>;
|
|
61
57
|
}, z.core.$strip>;
|
|
62
|
-
/**
|
|
63
|
-
* Enriched catalog list response (for org context)
|
|
64
|
-
*/
|
|
58
|
+
/** Enriched catalog list response (for org context) */
|
|
65
59
|
export declare const EnrichedCatalogListResponseSchema: z.ZodObject<{
|
|
66
60
|
data: z.ZodArray<z.ZodObject<{
|
|
67
61
|
key: z.ZodString;
|
|
68
62
|
name: z.ZodString;
|
|
69
63
|
description: z.ZodString;
|
|
70
64
|
category: z.ZodEnum<{
|
|
71
|
-
deployment: "deployment";
|
|
72
65
|
store: "store";
|
|
66
|
+
deployment: "deployment";
|
|
73
67
|
"source-control": "source-control";
|
|
74
68
|
monitoring: "monitoring";
|
|
75
69
|
}>;
|
|
76
70
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
77
71
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
78
72
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
79
|
-
team: "team";
|
|
80
73
|
free: "free";
|
|
81
74
|
pro: "pro";
|
|
75
|
+
team: "team";
|
|
82
76
|
enterprise: "enterprise";
|
|
83
77
|
}>>;
|
|
84
78
|
isBeta: z.ZodBoolean;
|
|
@@ -94,8 +88,8 @@ export declare const EnrichedCatalogListResponseSchema: z.ZodObject<{
|
|
|
94
88
|
}, z.core.$strip>>;
|
|
95
89
|
}, z.core.$strip>;
|
|
96
90
|
providerType: z.ZodEnum<{
|
|
97
|
-
store: "store";
|
|
98
91
|
integration: "integration";
|
|
92
|
+
store: "store";
|
|
99
93
|
}>;
|
|
100
94
|
installed: z.ZodBoolean;
|
|
101
95
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -113,25 +107,23 @@ export declare const EnrichedCatalogListResponseSchema: z.ZodObject<{
|
|
|
113
107
|
hasMore: z.ZodBoolean;
|
|
114
108
|
}, z.core.$strip>;
|
|
115
109
|
}, z.core.$strip>;
|
|
116
|
-
/**
|
|
117
|
-
* Single catalog entry response
|
|
118
|
-
*/
|
|
110
|
+
/** Single catalog entry response */
|
|
119
111
|
export declare const CatalogEntryResponseSchema: z.ZodObject<{
|
|
120
112
|
key: z.ZodString;
|
|
121
113
|
name: z.ZodString;
|
|
122
114
|
description: z.ZodString;
|
|
123
115
|
category: z.ZodEnum<{
|
|
124
|
-
deployment: "deployment";
|
|
125
116
|
store: "store";
|
|
117
|
+
deployment: "deployment";
|
|
126
118
|
"source-control": "source-control";
|
|
127
119
|
monitoring: "monitoring";
|
|
128
120
|
}>;
|
|
129
121
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
130
122
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
131
123
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
132
|
-
team: "team";
|
|
133
124
|
free: "free";
|
|
134
125
|
pro: "pro";
|
|
126
|
+
team: "team";
|
|
135
127
|
enterprise: "enterprise";
|
|
136
128
|
}>>;
|
|
137
129
|
isBeta: z.ZodBoolean;
|
|
@@ -147,29 +139,27 @@ export declare const CatalogEntryResponseSchema: z.ZodObject<{
|
|
|
147
139
|
}, z.core.$strip>>;
|
|
148
140
|
}, z.core.$strip>;
|
|
149
141
|
providerType: z.ZodEnum<{
|
|
150
|
-
store: "store";
|
|
151
142
|
integration: "integration";
|
|
143
|
+
store: "store";
|
|
152
144
|
}>;
|
|
153
145
|
}, z.core.$strip>;
|
|
154
|
-
/**
|
|
155
|
-
* Single enriched catalog entry response (for org context)
|
|
156
|
-
*/
|
|
146
|
+
/** Single enriched catalog entry response (for org context) */
|
|
157
147
|
export declare const EnrichedIntegrationResponseSchema: z.ZodObject<{
|
|
158
148
|
key: z.ZodString;
|
|
159
149
|
name: z.ZodString;
|
|
160
150
|
description: z.ZodString;
|
|
161
151
|
category: z.ZodEnum<{
|
|
162
|
-
deployment: "deployment";
|
|
163
152
|
store: "store";
|
|
153
|
+
deployment: "deployment";
|
|
164
154
|
"source-control": "source-control";
|
|
165
155
|
monitoring: "monitoring";
|
|
166
156
|
}>;
|
|
167
157
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
168
158
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
169
159
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
170
|
-
team: "team";
|
|
171
160
|
free: "free";
|
|
172
161
|
pro: "pro";
|
|
162
|
+
team: "team";
|
|
173
163
|
enterprise: "enterprise";
|
|
174
164
|
}>>;
|
|
175
165
|
isBeta: z.ZodBoolean;
|
|
@@ -185,8 +175,8 @@ export declare const EnrichedIntegrationResponseSchema: z.ZodObject<{
|
|
|
185
175
|
}, z.core.$strip>>;
|
|
186
176
|
}, z.core.$strip>;
|
|
187
177
|
providerType: z.ZodEnum<{
|
|
188
|
-
store: "store";
|
|
189
178
|
integration: "integration";
|
|
179
|
+
store: "store";
|
|
190
180
|
}>;
|
|
191
181
|
installed: z.ZodBoolean;
|
|
192
182
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -197,9 +187,7 @@ export declare const EnrichedIntegrationResponseSchema: z.ZodObject<{
|
|
|
197
187
|
locked: z.ZodBoolean;
|
|
198
188
|
lockReason: z.ZodOptional<z.ZodString>;
|
|
199
189
|
}, z.core.$strip>;
|
|
200
|
-
/**
|
|
201
|
-
* Installation list response
|
|
202
|
-
*/
|
|
190
|
+
/** Installation list response */
|
|
203
191
|
export declare const InstallationListResponseV2Schema: z.ZodObject<{
|
|
204
192
|
data: z.ZodArray<z.ZodObject<{
|
|
205
193
|
id: z.ZodString;
|
|
@@ -226,9 +214,7 @@ export declare const InstallationListResponseV2Schema: z.ZodObject<{
|
|
|
226
214
|
hasMore: z.ZodBoolean;
|
|
227
215
|
}, z.core.$strip>;
|
|
228
216
|
}, z.core.$strip>;
|
|
229
|
-
/**
|
|
230
|
-
* Install result response
|
|
231
|
-
*/
|
|
217
|
+
/** Install result response */
|
|
232
218
|
export declare const InstallResultResponseSchema: z.ZodObject<{
|
|
233
219
|
installation: z.ZodObject<{
|
|
234
220
|
id: z.ZodString;
|
|
@@ -250,23 +236,21 @@ export declare const InstallResultResponseSchema: z.ZodObject<{
|
|
|
250
236
|
}, z.core.$strip>;
|
|
251
237
|
created: z.ZodBoolean;
|
|
252
238
|
}, z.core.$strip>;
|
|
253
|
-
/**
|
|
254
|
-
* Effective entitlements response
|
|
255
|
-
*/
|
|
239
|
+
/** Effective entitlements response */
|
|
256
240
|
export declare const EffectiveEntitlementsResponseSchema: z.ZodObject<{
|
|
257
241
|
orgId: z.ZodString;
|
|
258
242
|
plan: z.ZodEnum<{
|
|
259
|
-
team: "team";
|
|
260
243
|
free: "free";
|
|
261
244
|
pro: "pro";
|
|
245
|
+
team: "team";
|
|
262
246
|
enterprise: "enterprise";
|
|
263
247
|
}>;
|
|
264
248
|
integrations: z.ZodArray<z.ZodObject<{
|
|
265
249
|
key: z.ZodString;
|
|
266
250
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
267
|
-
team: "team";
|
|
268
251
|
free: "free";
|
|
269
252
|
pro: "pro";
|
|
253
|
+
team: "team";
|
|
270
254
|
enterprise: "enterprise";
|
|
271
255
|
}>>;
|
|
272
256
|
allowed: z.ZodBoolean;
|
|
@@ -286,9 +270,7 @@ export declare const EffectiveEntitlementsResponseSchema: z.ZodObject<{
|
|
|
286
270
|
}, z.core.$strip>>;
|
|
287
271
|
}, z.core.$strip>>;
|
|
288
272
|
}, z.core.$strip>;
|
|
289
|
-
/**
|
|
290
|
-
* Override created response
|
|
291
|
-
*/
|
|
273
|
+
/** Override created response */
|
|
292
274
|
export declare const OverrideResponseSchema: z.ZodObject<{
|
|
293
275
|
id: z.ZodString;
|
|
294
276
|
orgId: z.ZodString;
|
|
@@ -302,9 +284,7 @@ export declare const OverrideResponseSchema: z.ZodObject<{
|
|
|
302
284
|
createdAt: z.ZodString;
|
|
303
285
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
304
286
|
}, z.core.$strip>;
|
|
305
|
-
/**
|
|
306
|
-
* Revalidation result response
|
|
307
|
-
*/
|
|
287
|
+
/** Revalidation result response */
|
|
308
288
|
export declare const RevalidationResultSchema: z.ZodObject<{
|
|
309
289
|
installation: z.ZodObject<{
|
|
310
290
|
id: z.ZodString;
|
|
@@ -330,9 +310,7 @@ export declare const RevalidationResultSchema: z.ZodObject<{
|
|
|
330
310
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
331
311
|
}, z.core.$strip>;
|
|
332
312
|
}, z.core.$strip>;
|
|
333
|
-
/**
|
|
334
|
-
* Trigger sync result response
|
|
335
|
-
*/
|
|
313
|
+
/** Trigger sync result response */
|
|
336
314
|
export declare const TriggerSyncResultSchema: z.ZodObject<{
|
|
337
315
|
jobId: z.ZodString;
|
|
338
316
|
status: z.ZodEnum<{
|
|
@@ -343,16 +321,12 @@ export declare const TriggerSyncResultSchema: z.ZodObject<{
|
|
|
343
321
|
}>;
|
|
344
322
|
triggeredAt: z.ZodString;
|
|
345
323
|
}, z.core.$strip>;
|
|
346
|
-
/**
|
|
347
|
-
* Simple success result response
|
|
348
|
-
*/
|
|
324
|
+
/** Simple success result response */
|
|
349
325
|
export declare const SuccessResultResponseSchema: z.ZodObject<{
|
|
350
326
|
success: z.ZodBoolean;
|
|
351
327
|
wasRemoved: z.ZodOptional<z.ZodBoolean>;
|
|
352
328
|
}, z.core.$strip>;
|
|
353
|
-
/**
|
|
354
|
-
* Audit entry response schema
|
|
355
|
-
*/
|
|
329
|
+
/** Audit entry response schema */
|
|
356
330
|
export declare const AuditEntryResponseSchema: z.ZodObject<{
|
|
357
331
|
id: z.ZodString;
|
|
358
332
|
timestamp: z.ZodString;
|
|
@@ -372,9 +346,7 @@ export declare const AuditEntryResponseSchema: z.ZodObject<{
|
|
|
372
346
|
errorCode: z.ZodOptional<z.ZodString>;
|
|
373
347
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
348
|
}, z.core.$strip>;
|
|
375
|
-
/**
|
|
376
|
-
* Audit search response
|
|
377
|
-
*/
|
|
349
|
+
/** Audit search response */
|
|
378
350
|
export declare const AuditSearchResponseSchema: z.ZodObject<{
|
|
379
351
|
data: z.ZodArray<z.ZodObject<{
|
|
380
352
|
id: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace-response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/integrations/marketplace-response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB
|
|
1
|
+
{"version":3,"file":"marketplace-response.schema.d.ts","sourceRoot":"","sources":["../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@ -4,14 +4,12 @@
|
|
|
4
4
|
* Response schemas for the rebuilt Integration Marketplace module.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
import { IdentifierSchema } from "../common.js";
|
|
7
|
+
import { IdentifierSchema, UUIDSchema, MetadataSchema } from "../common.js";
|
|
8
8
|
import { IntegrationDefinitionSchema, EnrichedIntegrationSchema, InstallationResponseV2Schema, InstallResultSchema, EntitlementOverrideSchema, EffectiveEntitlementsSchema, } from "./marketplace.schema.js";
|
|
9
9
|
// =============================================================================
|
|
10
10
|
// Pagination
|
|
11
11
|
// =============================================================================
|
|
12
|
-
/**
|
|
13
|
-
* Pagination metadata schema
|
|
14
|
-
*/
|
|
12
|
+
/** Pagination metadata schema */
|
|
15
13
|
export const PaginationMetaV2Schema = z.object({
|
|
16
14
|
total: z.number(),
|
|
17
15
|
limit: z.number(),
|
|
@@ -21,59 +19,41 @@ export const PaginationMetaV2Schema = z.object({
|
|
|
21
19
|
// =============================================================================
|
|
22
20
|
// Catalog Responses
|
|
23
21
|
// =============================================================================
|
|
24
|
-
/**
|
|
25
|
-
* Catalog list response
|
|
26
|
-
*/
|
|
22
|
+
/** Catalog list response */
|
|
27
23
|
export const CatalogListResponseSchema = z.object({
|
|
28
24
|
data: z.array(IntegrationDefinitionSchema),
|
|
29
25
|
pagination: PaginationMetaV2Schema,
|
|
30
26
|
});
|
|
31
|
-
/**
|
|
32
|
-
* Enriched catalog list response (for org context)
|
|
33
|
-
*/
|
|
27
|
+
/** Enriched catalog list response (for org context) */
|
|
34
28
|
export const EnrichedCatalogListResponseSchema = z.object({
|
|
35
29
|
data: z.array(EnrichedIntegrationSchema),
|
|
36
30
|
pagination: PaginationMetaV2Schema,
|
|
37
31
|
});
|
|
38
|
-
/**
|
|
39
|
-
* Single catalog entry response
|
|
40
|
-
*/
|
|
32
|
+
/** Single catalog entry response */
|
|
41
33
|
export const CatalogEntryResponseSchema = IntegrationDefinitionSchema;
|
|
42
|
-
/**
|
|
43
|
-
* Single enriched catalog entry response (for org context)
|
|
44
|
-
*/
|
|
34
|
+
/** Single enriched catalog entry response (for org context) */
|
|
45
35
|
export const EnrichedIntegrationResponseSchema = EnrichedIntegrationSchema;
|
|
46
36
|
// =============================================================================
|
|
47
37
|
// Installation Responses
|
|
48
38
|
// =============================================================================
|
|
49
|
-
/**
|
|
50
|
-
* Installation list response
|
|
51
|
-
*/
|
|
39
|
+
/** Installation list response */
|
|
52
40
|
export const InstallationListResponseV2Schema = z.object({
|
|
53
41
|
data: z.array(InstallationResponseV2Schema),
|
|
54
42
|
pagination: PaginationMetaV2Schema,
|
|
55
43
|
});
|
|
56
|
-
/**
|
|
57
|
-
* Install result response
|
|
58
|
-
*/
|
|
44
|
+
/** Install result response */
|
|
59
45
|
export const InstallResultResponseSchema = InstallResultSchema;
|
|
60
46
|
// =============================================================================
|
|
61
47
|
// Entitlement Responses
|
|
62
48
|
// =============================================================================
|
|
63
|
-
/**
|
|
64
|
-
* Effective entitlements response
|
|
65
|
-
*/
|
|
49
|
+
/** Effective entitlements response */
|
|
66
50
|
export const EffectiveEntitlementsResponseSchema = EffectiveEntitlementsSchema;
|
|
67
|
-
/**
|
|
68
|
-
* Override created response
|
|
69
|
-
*/
|
|
51
|
+
/** Override created response */
|
|
70
52
|
export const OverrideResponseSchema = EntitlementOverrideSchema;
|
|
71
53
|
// =============================================================================
|
|
72
54
|
// Admin Responses
|
|
73
55
|
// =============================================================================
|
|
74
|
-
/**
|
|
75
|
-
* Revalidation result response
|
|
76
|
-
*/
|
|
56
|
+
/** Revalidation result response */
|
|
77
57
|
export const RevalidationResultSchema = z.object({
|
|
78
58
|
installation: InstallationResponseV2Schema,
|
|
79
59
|
healthCheck: z.object({
|
|
@@ -82,39 +62,31 @@ export const RevalidationResultSchema = z.object({
|
|
|
82
62
|
details: z.record(z.string(), z.unknown()).optional(),
|
|
83
63
|
}),
|
|
84
64
|
});
|
|
85
|
-
/**
|
|
86
|
-
* Trigger sync result response
|
|
87
|
-
*/
|
|
65
|
+
/** Trigger sync result response */
|
|
88
66
|
export const TriggerSyncResultSchema = z.object({
|
|
89
|
-
jobId:
|
|
67
|
+
jobId: UUIDSchema,
|
|
90
68
|
status: z.enum(["queued", "running", "completed", "failed"]),
|
|
91
69
|
triggeredAt: z.string().datetime(),
|
|
92
70
|
});
|
|
93
|
-
/**
|
|
94
|
-
* Simple success result response
|
|
95
|
-
*/
|
|
71
|
+
/** Simple success result response */
|
|
96
72
|
export const SuccessResultResponseSchema = z.object({
|
|
97
73
|
success: z.boolean(),
|
|
98
74
|
wasRemoved: z.boolean().optional(),
|
|
99
75
|
});
|
|
100
|
-
/**
|
|
101
|
-
* Audit entry response schema
|
|
102
|
-
*/
|
|
76
|
+
/** Audit entry response schema */
|
|
103
77
|
export const AuditEntryResponseSchema = z.object({
|
|
104
|
-
id:
|
|
78
|
+
id: UUIDSchema,
|
|
105
79
|
timestamp: z.string().datetime(),
|
|
106
80
|
actorType: z.enum(["user", "admin", "system"]),
|
|
107
|
-
actorId:
|
|
81
|
+
actorId: IdentifierSchema,
|
|
108
82
|
orgId: IdentifierSchema.optional(),
|
|
109
83
|
integrationKey: z.string().optional(),
|
|
110
84
|
action: z.string(),
|
|
111
85
|
outcome: z.enum(["success", "failure"]),
|
|
112
86
|
errorCode: z.string().optional(),
|
|
113
|
-
metadata:
|
|
87
|
+
metadata: MetadataSchema,
|
|
114
88
|
});
|
|
115
|
-
/**
|
|
116
|
-
* Audit search response
|
|
117
|
-
*/
|
|
89
|
+
/** Audit search response */
|
|
118
90
|
export const AuditSearchResponseSchema = z.object({
|
|
119
91
|
data: z.array(AuditEntryResponseSchema),
|
|
120
92
|
pagination: PaginationMetaV2Schema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace-response.schema.js","sourceRoot":"","sources":["../../../src/definitions/integrations/marketplace-response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"marketplace-response.schema.js","sourceRoot":"","sources":["../../../src/definitions/integrations/marketplace-response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,yBAAyB,CAAC;AAEjC,gFAAgF;AAChF,aAAa;AACb,gFAAgF;AAEhF,iCAAiC;AACjC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAC;AAEH,gFAAgF;AAChF,oBAAoB;AACpB,gFAAgF;AAEhF,4BAA4B;AAC5B,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;IAC1C,UAAU,EAAE,sBAAsB;CACnC,CAAC,CAAC;AAEH,uDAAuD;AACvD,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;IACxC,UAAU,EAAE,sBAAsB;CACnC,CAAC,CAAC;AAEH,oCAAoC;AACpC,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAA2B,CAAC;AAEtE,+DAA+D;AAC/D,MAAM,C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ACnC,CAAC,CAAC;AAEH,qCAAqC;AACrC,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,kCAAkC;AAClC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,UAAU;IACd,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC9C,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,cAAc;CACzB,CAAC,CAAC;AAEH,4BAA4B;AAC5B,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;IACvC,UAAU,EAAE,sBAAsB;CACnC,CAAC,CAAC"}
|
|
@@ -5,52 +5,42 @@
|
|
|
5
5
|
* These schemas align with the code-defined catalog and org-scoped installations.
|
|
6
6
|
*/
|
|
7
7
|
import { z } from "zod";
|
|
8
|
-
/**
|
|
9
|
-
* Integration category enum
|
|
10
|
-
*/
|
|
8
|
+
/** Integration category enum */
|
|
11
9
|
export declare const IntegrationCategorySchema: z.ZodEnum<{
|
|
12
|
-
deployment: "deployment";
|
|
13
10
|
store: "store";
|
|
11
|
+
deployment: "deployment";
|
|
14
12
|
"source-control": "source-control";
|
|
15
13
|
monitoring: "monitoring";
|
|
16
14
|
}>;
|
|
17
|
-
/**
|
|
18
|
-
* Subscription plan enum
|
|
19
|
-
*/
|
|
15
|
+
/** Subscription plan enum — re-exports common SubscriptionTierSchema */
|
|
20
16
|
export declare const PlanSchema: z.ZodEnum<{
|
|
21
|
-
team: "team";
|
|
22
17
|
free: "free";
|
|
23
18
|
pro: "pro";
|
|
19
|
+
team: "team";
|
|
24
20
|
enterprise: "enterprise";
|
|
25
21
|
}>;
|
|
26
22
|
/**
|
|
27
23
|
* Installation status enum (v2)
|
|
28
24
|
*
|
|
29
|
-
* -
|
|
30
|
-
* -
|
|
31
|
-
* -
|
|
25
|
+
* - installed: Active and operational
|
|
26
|
+
* - disabled: Temporarily paused by user
|
|
27
|
+
* - error: Validation or connection failed
|
|
32
28
|
*/
|
|
33
29
|
export declare const InstallationStatusV2Schema: z.ZodEnum<{
|
|
34
30
|
error: "error";
|
|
35
31
|
disabled: "disabled";
|
|
36
32
|
installed: "installed";
|
|
37
33
|
}>;
|
|
38
|
-
/**
|
|
39
|
-
* Override type enum
|
|
40
|
-
*/
|
|
34
|
+
/** Override type enum */
|
|
41
35
|
export declare const OverrideTypeSchema: z.ZodEnum<{
|
|
42
36
|
allow: "allow";
|
|
43
37
|
deny: "deny";
|
|
44
38
|
}>;
|
|
45
|
-
/**
|
|
46
|
-
* Stream capability schema
|
|
47
|
-
*/
|
|
39
|
+
/** Stream capability schema */
|
|
48
40
|
export declare const StreamCapabilitySchema: z.ZodObject<{
|
|
49
41
|
id: z.ZodString;
|
|
50
42
|
}, z.core.$strip>;
|
|
51
|
-
/**
|
|
52
|
-
* Provider capabilities schema
|
|
53
|
-
*/
|
|
43
|
+
/** Provider capabilities schema */
|
|
54
44
|
export declare const ProviderCapabilitiesSchema: z.ZodObject<{
|
|
55
45
|
sync: z.ZodOptional<z.ZodObject<{
|
|
56
46
|
streams: z.ZodArray<z.ZodObject<{
|
|
@@ -61,25 +51,23 @@ export declare const ProviderCapabilitiesSchema: z.ZodObject<{
|
|
|
61
51
|
events: z.ZodArray<z.ZodString>;
|
|
62
52
|
}, z.core.$strip>>;
|
|
63
53
|
}, z.core.$strip>;
|
|
64
|
-
/**
|
|
65
|
-
* Integration definition schema (catalog entry)
|
|
66
|
-
*/
|
|
54
|
+
/** Integration definition schema (catalog entry) */
|
|
67
55
|
export declare const IntegrationDefinitionSchema: z.ZodObject<{
|
|
68
56
|
key: z.ZodString;
|
|
69
57
|
name: z.ZodString;
|
|
70
58
|
description: z.ZodString;
|
|
71
59
|
category: z.ZodEnum<{
|
|
72
|
-
deployment: "deployment";
|
|
73
60
|
store: "store";
|
|
61
|
+
deployment: "deployment";
|
|
74
62
|
"source-control": "source-control";
|
|
75
63
|
monitoring: "monitoring";
|
|
76
64
|
}>;
|
|
77
65
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
78
66
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
79
67
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
team: "team";
|
|
81
68
|
free: "free";
|
|
82
69
|
pro: "pro";
|
|
70
|
+
team: "team";
|
|
83
71
|
enterprise: "enterprise";
|
|
84
72
|
}>>;
|
|
85
73
|
isBeta: z.ZodBoolean;
|
|
@@ -95,29 +83,27 @@ export declare const IntegrationDefinitionSchema: z.ZodObject<{
|
|
|
95
83
|
}, z.core.$strip>>;
|
|
96
84
|
}, z.core.$strip>;
|
|
97
85
|
providerType: z.ZodEnum<{
|
|
98
|
-
store: "store";
|
|
99
86
|
integration: "integration";
|
|
87
|
+
store: "store";
|
|
100
88
|
}>;
|
|
101
89
|
}, z.core.$strip>;
|
|
102
|
-
/**
|
|
103
|
-
* Enriched integration schema (catalog + org state)
|
|
104
|
-
*/
|
|
90
|
+
/** Enriched integration schema (catalog + org state) */
|
|
105
91
|
export declare const EnrichedIntegrationSchema: z.ZodObject<{
|
|
106
92
|
key: z.ZodString;
|
|
107
93
|
name: z.ZodString;
|
|
108
94
|
description: z.ZodString;
|
|
109
95
|
category: z.ZodEnum<{
|
|
110
|
-
deployment: "deployment";
|
|
111
96
|
store: "store";
|
|
97
|
+
deployment: "deployment";
|
|
112
98
|
"source-control": "source-control";
|
|
113
99
|
monitoring: "monitoring";
|
|
114
100
|
}>;
|
|
115
101
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
116
102
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
117
103
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
team: "team";
|
|
119
104
|
free: "free";
|
|
120
105
|
pro: "pro";
|
|
106
|
+
team: "team";
|
|
121
107
|
enterprise: "enterprise";
|
|
122
108
|
}>>;
|
|
123
109
|
isBeta: z.ZodBoolean;
|
|
@@ -133,8 +119,8 @@ export declare const EnrichedIntegrationSchema: z.ZodObject<{
|
|
|
133
119
|
}, z.core.$strip>>;
|
|
134
120
|
}, z.core.$strip>;
|
|
135
121
|
providerType: z.ZodEnum<{
|
|
136
|
-
store: "store";
|
|
137
122
|
integration: "integration";
|
|
123
|
+
store: "store";
|
|
138
124
|
}>;
|
|
139
125
|
installed: z.ZodBoolean;
|
|
140
126
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -145,17 +131,13 @@ export declare const EnrichedIntegrationSchema: z.ZodObject<{
|
|
|
145
131
|
locked: z.ZodBoolean;
|
|
146
132
|
lockReason: z.ZodOptional<z.ZodString>;
|
|
147
133
|
}, z.core.$strip>;
|
|
148
|
-
/**
|
|
149
|
-
* Installation error schema
|
|
150
|
-
*/
|
|
134
|
+
/** Installation error schema */
|
|
151
135
|
export declare const InstallationErrorSchema: z.ZodObject<{
|
|
152
136
|
code: z.ZodString;
|
|
153
137
|
message: z.ZodString;
|
|
154
138
|
occurredAt: z.ZodString;
|
|
155
139
|
}, z.core.$strip>;
|
|
156
|
-
/**
|
|
157
|
-
* Installation response schema (v2 - no config exposed)
|
|
158
|
-
*/
|
|
140
|
+
/** Installation response schema (v2 - no config exposed) */
|
|
159
141
|
export declare const InstallationResponseV2Schema: z.ZodObject<{
|
|
160
142
|
id: z.ZodString;
|
|
161
143
|
orgId: z.ZodString;
|
|
@@ -174,9 +156,7 @@ export declare const InstallationResponseV2Schema: z.ZodObject<{
|
|
|
174
156
|
occurredAt: z.ZodString;
|
|
175
157
|
}, z.core.$strip>>;
|
|
176
158
|
}, z.core.$strip>;
|
|
177
|
-
/**
|
|
178
|
-
* Install result schema
|
|
179
|
-
*/
|
|
159
|
+
/** Install result schema */
|
|
180
160
|
export declare const InstallResultSchema: z.ZodObject<{
|
|
181
161
|
installation: z.ZodObject<{
|
|
182
162
|
id: z.ZodString;
|
|
@@ -198,9 +178,7 @@ export declare const InstallResultSchema: z.ZodObject<{
|
|
|
198
178
|
}, z.core.$strip>;
|
|
199
179
|
created: z.ZodBoolean;
|
|
200
180
|
}, z.core.$strip>;
|
|
201
|
-
/**
|
|
202
|
-
* Entitlement override schema
|
|
203
|
-
*/
|
|
181
|
+
/** Entitlement override schema */
|
|
204
182
|
export declare const EntitlementOverrideSchema: z.ZodObject<{
|
|
205
183
|
id: z.ZodString;
|
|
206
184
|
orgId: z.ZodString;
|
|
@@ -214,9 +192,7 @@ export declare const EntitlementOverrideSchema: z.ZodObject<{
|
|
|
214
192
|
createdAt: z.ZodString;
|
|
215
193
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
216
194
|
}, z.core.$strip>;
|
|
217
|
-
/**
|
|
218
|
-
* Entitlement result schema
|
|
219
|
-
*/
|
|
195
|
+
/** Entitlement result schema */
|
|
220
196
|
export declare const EntitlementResultSchema: z.ZodObject<{
|
|
221
197
|
allowed: z.ZodBoolean;
|
|
222
198
|
reason: z.ZodEnum<{
|
|
@@ -226,15 +202,15 @@ export declare const EntitlementResultSchema: z.ZodObject<{
|
|
|
226
202
|
no_requirement: "no_requirement";
|
|
227
203
|
}>;
|
|
228
204
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
229
|
-
team: "team";
|
|
230
205
|
free: "free";
|
|
231
206
|
pro: "pro";
|
|
207
|
+
team: "team";
|
|
232
208
|
enterprise: "enterprise";
|
|
233
209
|
}>>;
|
|
234
210
|
currentPlan: z.ZodOptional<z.ZodEnum<{
|
|
235
|
-
team: "team";
|
|
236
211
|
free: "free";
|
|
237
212
|
pro: "pro";
|
|
213
|
+
team: "team";
|
|
238
214
|
enterprise: "enterprise";
|
|
239
215
|
}>>;
|
|
240
216
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -251,15 +227,13 @@ export declare const EntitlementResultSchema: z.ZodObject<{
|
|
|
251
227
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
252
228
|
}, z.core.$strip>>;
|
|
253
229
|
}, z.core.$strip>;
|
|
254
|
-
/**
|
|
255
|
-
* Integration entitlement schema
|
|
256
|
-
*/
|
|
230
|
+
/** Integration entitlement schema */
|
|
257
231
|
export declare const IntegrationEntitlementSchema: z.ZodObject<{
|
|
258
232
|
key: z.ZodString;
|
|
259
233
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
team: "team";
|
|
261
234
|
free: "free";
|
|
262
235
|
pro: "pro";
|
|
236
|
+
team: "team";
|
|
263
237
|
enterprise: "enterprise";
|
|
264
238
|
}>>;
|
|
265
239
|
allowed: z.ZodBoolean;
|
|
@@ -278,23 +252,21 @@ export declare const IntegrationEntitlementSchema: z.ZodObject<{
|
|
|
278
252
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
279
253
|
}, z.core.$strip>>;
|
|
280
254
|
}, z.core.$strip>;
|
|
281
|
-
/**
|
|
282
|
-
* Effective entitlements schema
|
|
283
|
-
*/
|
|
255
|
+
/** Effective entitlements schema */
|
|
284
256
|
export declare const EffectiveEntitlementsSchema: z.ZodObject<{
|
|
285
257
|
orgId: z.ZodString;
|
|
286
258
|
plan: z.ZodEnum<{
|
|
287
|
-
team: "team";
|
|
288
259
|
free: "free";
|
|
289
260
|
pro: "pro";
|
|
261
|
+
team: "team";
|
|
290
262
|
enterprise: "enterprise";
|
|
291
263
|
}>;
|
|
292
264
|
integrations: z.ZodArray<z.ZodObject<{
|
|
293
265
|
key: z.ZodString;
|
|
294
266
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
295
|
-
team: "team";
|
|
296
267
|
free: "free";
|
|
297
268
|
pro: "pro";
|
|
269
|
+
team: "team";
|
|
298
270
|
enterprise: "enterprise";
|
|
299
271
|
}>>;
|
|
300
272
|
allowed: z.ZodBoolean;
|