@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,825 @@
1
+ import { z } from "zod";
2
+ //#region src/v0/marketplace.d.ts
3
+ declare const marketplaceTagSchema: z.ZodLazy<z.ZodString>;
4
+ declare const marketplaceOwnerIdSchema: z.ZodLazy<z.ZodString>;
5
+ /** Scoped package names resolve to stable organization ownership, not a user or project owner. */
6
+ declare const marketplaceOrganizationOwnerScopeSchema: z.ZodLazy<z.ZodObject<{
7
+ kind: z.ZodLiteral<"org">;
8
+ orgId: z.ZodLazy<z.ZodString>;
9
+ }, z.core.$strict>>;
10
+ declare const marketplaceOwnerScopeSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
11
+ kind: z.ZodLiteral<"system">;
12
+ }, z.core.$strip>, z.ZodLazy<z.ZodObject<{
13
+ kind: z.ZodLiteral<"org">;
14
+ orgId: z.ZodLazy<z.ZodString>;
15
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
16
+ kind: z.ZodLiteral<"user">;
17
+ userId: z.ZodLazy<z.ZodString>;
18
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
19
+ kind: z.ZodLiteral<"app">;
20
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
21
+ kind: z.ZodLiteral<"org">;
22
+ orgId: z.ZodLazy<z.ZodString>;
23
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
24
+ kind: z.ZodLiteral<"user">;
25
+ userId: z.ZodLazy<z.ZodString>;
26
+ }, z.core.$strip>>], "kind">;
27
+ appId: z.ZodLazy<z.ZodString>;
28
+ }, z.core.$strip>>, z.ZodObject<{
29
+ kind: z.ZodLiteral<"project">;
30
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
31
+ kind: z.ZodLiteral<"org">;
32
+ orgId: z.ZodLazy<z.ZodString>;
33
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
34
+ kind: z.ZodLiteral<"user">;
35
+ userId: z.ZodLazy<z.ZodString>;
36
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
37
+ kind: z.ZodLiteral<"app">;
38
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
39
+ kind: z.ZodLiteral<"org">;
40
+ orgId: z.ZodLazy<z.ZodString>;
41
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
42
+ kind: z.ZodLiteral<"user">;
43
+ userId: z.ZodLazy<z.ZodString>;
44
+ }, z.core.$strip>>], "kind">;
45
+ appId: z.ZodLazy<z.ZodString>;
46
+ }, z.core.$strip>>], "kind">;
47
+ projectId: z.ZodLazy<z.ZodString>;
48
+ }, z.core.$strip>], "kind">>;
49
+ type MarketplaceOwnerScope = z.infer<typeof marketplaceOwnerScopeSchema>;
50
+ declare const marketplaceOwnerSchema: z.ZodLazy<z.ZodObject<{
51
+ scope: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
52
+ kind: z.ZodLiteral<"system">;
53
+ }, z.core.$strip>, z.ZodLazy<z.ZodObject<{
54
+ kind: z.ZodLiteral<"org">;
55
+ orgId: z.ZodLazy<z.ZodString>;
56
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
57
+ kind: z.ZodLiteral<"user">;
58
+ userId: z.ZodLazy<z.ZodString>;
59
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
60
+ kind: z.ZodLiteral<"app">;
61
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
62
+ kind: z.ZodLiteral<"org">;
63
+ orgId: z.ZodLazy<z.ZodString>;
64
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
65
+ kind: z.ZodLiteral<"user">;
66
+ userId: z.ZodLazy<z.ZodString>;
67
+ }, z.core.$strip>>], "kind">;
68
+ appId: z.ZodLazy<z.ZodString>;
69
+ }, z.core.$strip>>, z.ZodObject<{
70
+ kind: z.ZodLiteral<"project">;
71
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
72
+ kind: z.ZodLiteral<"org">;
73
+ orgId: z.ZodLazy<z.ZodString>;
74
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
75
+ kind: z.ZodLiteral<"user">;
76
+ userId: z.ZodLazy<z.ZodString>;
77
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
78
+ kind: z.ZodLiteral<"app">;
79
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
80
+ kind: z.ZodLiteral<"org">;
81
+ orgId: z.ZodLazy<z.ZodString>;
82
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
83
+ kind: z.ZodLiteral<"user">;
84
+ userId: z.ZodLazy<z.ZodString>;
85
+ }, z.core.$strip>>], "kind">;
86
+ appId: z.ZodLazy<z.ZodString>;
87
+ }, z.core.$strip>>], "kind">;
88
+ projectId: z.ZodLazy<z.ZodString>;
89
+ }, z.core.$strip>], "kind">>;
90
+ publisherName: z.ZodString;
91
+ }, z.core.$strip>>;
92
+ type MarketplaceOwner = z.infer<typeof marketplaceOwnerSchema>;
93
+ /** System hosts the public Marketplace; each organization has its own members-only Marketplace. */
94
+ declare const marketplaceScopeSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
95
+ kind: z.ZodLiteral<"system">;
96
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
97
+ kind: z.ZodLiteral<"org">;
98
+ orgId: z.ZodString;
99
+ }, z.core.$strict>>], "kind">>;
100
+ type MarketplaceScope = z.infer<typeof marketplaceScopeSchema>;
101
+ /** Organization visibility publishes into the owning organization's Marketplace. */
102
+ declare const marketplaceVisibilitySchema: z.ZodLazy<z.ZodEnum<{
103
+ organization: "organization";
104
+ public: "public";
105
+ }>>;
106
+ type MarketplaceVisibility = z.infer<typeof marketplaceVisibilitySchema>;
107
+ declare const marketplaceListingContentSchema: z.ZodLazy<z.ZodObject<{
108
+ name: z.ZodString;
109
+ summary: z.ZodString;
110
+ description: z.ZodString;
111
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
112
+ }, z.core.$strip>>;
113
+ type MarketplaceListingContent = z.infer<typeof marketplaceListingContentSchema>;
114
+ declare const MARKETPLACE_RELEASE_IDENTIFIER: string;
115
+ declare const MARKETPLACE_PRERELEASE_IDENTIFIER: string;
116
+ /** Each destination workspace has one root lock file, independent of installation folders. */
117
+ declare const MARKETPLACE_LOCK_PATH = "/workspace/marketplace-lock.json";
118
+ declare const MARKETPLACE_CATEGORIES: readonly ["communication", "developer-tools", "operations", "productivity", "reporting"];
119
+ declare const marketplaceSlugSchema: z.ZodLazy<z.ZodString>;
120
+ declare const marketplacePackageOwnerSchema: z.ZodLazy<z.ZodObject<{
121
+ publisherName: z.ZodString;
122
+ scope: z.ZodLazy<z.ZodObject<{
123
+ kind: z.ZodLiteral<"org">;
124
+ orgId: z.ZodLazy<z.ZodString>;
125
+ }, z.core.$strict>>;
126
+ }, z.core.$strip>>;
127
+ declare const marketplaceCategorySchema: z.ZodLazy<z.ZodEnum<{
128
+ communication: "communication";
129
+ "developer-tools": "developer-tools";
130
+ operations: "operations";
131
+ productivity: "productivity";
132
+ reporting: "reporting";
133
+ }>>;
134
+ declare const marketplaceListingMetadataSchema: z.ZodLazy<z.ZodObject<{
135
+ name: z.ZodString;
136
+ summary: z.ZodString;
137
+ description: z.ZodString;
138
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
139
+ category: z.ZodLazy<z.ZodEnum<{
140
+ communication: "communication";
141
+ "developer-tools": "developer-tools";
142
+ operations: "operations";
143
+ productivity: "productivity";
144
+ reporting: "reporting";
145
+ }>>;
146
+ }, z.core.$strip>>;
147
+ type MarketplaceListingMetadata = z.infer<typeof marketplaceListingMetadataSchema>;
148
+ declare const marketplaceIngestionTargetScopeSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
149
+ kind: z.ZodLiteral<"org">;
150
+ orgId: z.ZodString;
151
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
152
+ kind: z.ZodLiteral<"project">;
153
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
154
+ kind: z.ZodLiteral<"org">;
155
+ orgId: z.ZodString;
156
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
157
+ kind: z.ZodLiteral<"user">;
158
+ userId: z.ZodString;
159
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
160
+ kind: z.ZodLiteral<"app">;
161
+ owner: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
162
+ kind: z.ZodLiteral<"org">;
163
+ orgId: z.ZodString;
164
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
165
+ kind: z.ZodLiteral<"user">;
166
+ userId: z.ZodString;
167
+ }, z.core.$strict>>], "kind">>;
168
+ appId: z.ZodString;
169
+ }, z.core.$strict>>], "kind">;
170
+ projectId: z.ZodString;
171
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
172
+ kind: z.ZodLiteral<"user">;
173
+ userId: z.ZodString;
174
+ }, z.core.$strict>>], "kind">>;
175
+ type MarketplaceIngestionTargetScope = z.infer<typeof marketplaceIngestionTargetScopeSchema>;
176
+ type MarketplaceCategory = z.infer<typeof marketplaceCategorySchema>;
177
+ /** The workspace lock reserves its file path, including attempts to use it as a directory. */
178
+ declare function isMarketplaceLockPath(path: string): boolean;
179
+ declare const MARKETPLACE_VERSION_PATTERN: RegExp;
180
+ declare const MARKETPLACE_MAX_PAGE_SIZE = 60;
181
+ declare const MARKETPLACE_DEFAULT_PAGE_SIZE = 18;
182
+ /** Each Marketplace curates a small featured set, so one bounded read loads every entry. */
183
+ declare const MARKETPLACE_FEATURED_LIMIT = 24;
184
+ declare const MARKETPLACE_DATABASE_ID_MAX_LENGTH = 128;
185
+ declare const marketplaceVersionSchema: z.ZodLazy<z.ZodString>;
186
+ declare const marketplaceListingIdSchema: z.ZodLazy<z.ZodString>;
187
+ declare const packageIdentitySchema: z.ZodLazy<z.ZodObject<{
188
+ name: z.ZodString;
189
+ listingId: z.ZodLazy<z.ZodString>;
190
+ version: z.ZodLazy<z.ZodString>;
191
+ snapshotId: z.ZodString;
192
+ owner: z.ZodLazy<z.ZodObject<{
193
+ publisherName: z.ZodString;
194
+ scope: z.ZodLazy<z.ZodObject<{
195
+ kind: z.ZodLiteral<"org">;
196
+ orgId: z.ZodLazy<z.ZodString>;
197
+ }, z.core.$strict>>;
198
+ }, z.core.$strip>>;
199
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
200
+ kind: z.ZodLiteral<"system">;
201
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
202
+ kind: z.ZodLiteral<"org">;
203
+ orgId: z.ZodString;
204
+ }, z.core.$strict>>], "kind">>;
205
+ files: z.ZodArray<z.ZodObject<{
206
+ relativePath: z.ZodString;
207
+ sizeBytes: z.ZodNumber;
208
+ checksum: z.ZodString;
209
+ }, z.core.$strict>>;
210
+ sizeBytes: z.ZodNumber;
211
+ }, z.core.$strict>>;
212
+ declare const marketplaceVersionSchemaPublic: z.ZodLazy<z.ZodObject<{
213
+ version: z.ZodLazy<z.ZodString>;
214
+ publishedAt: z.ZodString;
215
+ }, z.core.$strip>>;
216
+ type MarketplaceVersion = z.infer<typeof marketplaceVersionSchemaPublic>;
217
+ declare const marketplaceVersionPageFields: {
218
+ versionPageSize: z.ZodLazy<z.ZodDefault<z.ZodNumber>>;
219
+ versionCursor: z.ZodLazy<z.ZodOptional<z.ZodString>>;
220
+ };
221
+ declare const marketplacePublicListingSchema: z.ZodLazy<z.ZodObject<{
222
+ name: z.ZodString;
223
+ summary: z.ZodString;
224
+ description: z.ZodString;
225
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
226
+ category: z.ZodLazy<z.ZodEnum<{
227
+ communication: "communication";
228
+ "developer-tools": "developer-tools";
229
+ operations: "operations";
230
+ productivity: "productivity";
231
+ reporting: "reporting";
232
+ }>>;
233
+ listingId: z.ZodLazy<z.ZodString>;
234
+ slug: z.ZodLazy<z.ZodString>;
235
+ publisherName: z.ZodString;
236
+ status: z.ZodLiteral<"published">;
237
+ latestVersion: z.ZodLazy<z.ZodString>;
238
+ publishedAt: z.ZodString;
239
+ updatedAt: z.ZodString;
240
+ featured: z.ZodBoolean;
241
+ }, z.core.$strip>>;
242
+ type MarketplaceListing = z.infer<typeof marketplacePublicListingSchema>;
243
+ declare const marketplaceListingPageInputSchema: z.ZodLazy<z.ZodObject<{
244
+ category: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
245
+ communication: "communication";
246
+ "developer-tools": "developer-tools";
247
+ operations: "operations";
248
+ productivity: "productivity";
249
+ reporting: "reporting";
250
+ }>>>;
251
+ pageSize: z.ZodDefault<z.ZodNumber>;
252
+ cursor: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>>;
254
+ type MarketplaceListingPageInput = z.input<typeof marketplaceListingPageInputSchema>;
255
+ /** Installation paths are absolute directories within the destination workspace. */
256
+ declare const marketplaceInstallationRootSchema: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
257
+ /** Installation callers share the existing workflow restart result contract. */
258
+ declare const marketplaceIngestionRestartResultSchema: z.ZodLazy<z.ZodObject<{
259
+ listingId: z.ZodLazy<z.ZodString>;
260
+ version: z.ZodLazy<z.ZodString>;
261
+ workflowInstanceId: z.ZodString;
262
+ action: z.ZodEnum<{
263
+ created: "created";
264
+ restarted: "restarted";
265
+ unchanged: "unchanged";
266
+ }>;
267
+ workflowStatus: z.ZodEnum<{
268
+ active: "active";
269
+ paused: "paused";
270
+ errored: "errored";
271
+ terminated: "terminated";
272
+ complete: "complete";
273
+ waiting: "waiting";
274
+ }>;
275
+ }, z.core.$strip>>;
276
+ type MarketplaceIngestionRestartResult = z.infer<typeof marketplaceIngestionRestartResultSchema>;
277
+ /** Installation names the Marketplace holding the listing; listing ids repeat across Marketplaces. */
278
+ declare const marketplaceIngestionRequestInputSchema: z.ZodLazy<z.ZodObject<{
279
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
280
+ kind: z.ZodLiteral<"system">;
281
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
282
+ kind: z.ZodLiteral<"org">;
283
+ orgId: z.ZodString;
284
+ }, z.core.$strict>>], "kind">>;
285
+ targetScope: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
286
+ kind: z.ZodLiteral<"org">;
287
+ orgId: z.ZodString;
288
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
289
+ kind: z.ZodLiteral<"project">;
290
+ owner: z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
291
+ kind: z.ZodLiteral<"org">;
292
+ orgId: z.ZodString;
293
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
294
+ kind: z.ZodLiteral<"user">;
295
+ userId: z.ZodString;
296
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
297
+ kind: z.ZodLiteral<"app">;
298
+ owner: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodLazy<z.ZodObject<{
299
+ kind: z.ZodLiteral<"org">;
300
+ orgId: z.ZodString;
301
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
302
+ kind: z.ZodLiteral<"user">;
303
+ userId: z.ZodString;
304
+ }, z.core.$strict>>], "kind">>;
305
+ appId: z.ZodString;
306
+ }, z.core.$strict>>], "kind">;
307
+ projectId: z.ZodString;
308
+ }, z.core.$strict>>, z.ZodLazy<z.ZodObject<{
309
+ kind: z.ZodLiteral<"user">;
310
+ userId: z.ZodString;
311
+ }, z.core.$strict>>], "kind">>;
312
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
313
+ listingId: z.ZodLazy<z.ZodString>;
314
+ version: z.ZodOptional<z.ZodLazy<z.ZodString>>;
315
+ }, z.core.$strip>>;
316
+ type MarketplaceIngestionRequestInput = z.infer<typeof marketplaceIngestionRequestInputSchema>;
317
+ /** Installation reports the existing workflow result and its organization coordinator. */
318
+ declare const packagesInstallResultSchema: z.ZodLazy<z.ZodObject<{
319
+ listingId: z.ZodLazy<z.ZodString>;
320
+ version: z.ZodLazy<z.ZodString>;
321
+ workflowInstanceId: z.ZodString;
322
+ action: z.ZodEnum<{
323
+ created: "created";
324
+ restarted: "restarted";
325
+ unchanged: "unchanged";
326
+ }>;
327
+ workflowStatus: z.ZodEnum<{
328
+ active: "active";
329
+ paused: "paused";
330
+ errored: "errored";
331
+ terminated: "terminated";
332
+ complete: "complete";
333
+ waiting: "waiting";
334
+ }>;
335
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
336
+ workflowScope: z.ZodObject<{
337
+ kind: z.ZodLiteral<"org">;
338
+ orgId: z.ZodString;
339
+ }, z.core.$strip>;
340
+ }, z.core.$strip>>;
341
+ /** Package installation takes its destination scope and organization Marketplace from the runtime, not caller input. */
342
+ declare const packagesInstallInputSchema: z.ZodLazy<z.ZodObject<{
343
+ version: z.ZodOptional<z.ZodLazy<z.ZodString>>;
344
+ listingId: z.ZodLazy<z.ZodString>;
345
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
346
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
347
+ organization: "organization";
348
+ public: "public";
349
+ }>>>>;
350
+ }, z.core.$strict>>;
351
+ /** Registry search returns compact metadata and a cursor for the next candidate page. */
352
+ declare const marketplaceSearchResultSchema: z.ZodLazy<z.ZodObject<{
353
+ listings: z.ZodArray<z.ZodObject<{
354
+ name: z.ZodString;
355
+ category: z.ZodLazy<z.ZodEnum<{
356
+ communication: "communication";
357
+ "developer-tools": "developer-tools";
358
+ operations: "operations";
359
+ productivity: "productivity";
360
+ reporting: "reporting";
361
+ }>>;
362
+ summary: z.ZodString;
363
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
364
+ listingId: z.ZodLazy<z.ZodString>;
365
+ publisherName: z.ZodString;
366
+ latestVersion: z.ZodLazy<z.ZodString>;
367
+ featured: z.ZodBoolean;
368
+ }, z.core.$strip>>;
369
+ nextCursor: z.ZodNullable<z.ZodString>;
370
+ hasNextPage: z.ZodBoolean;
371
+ }, z.core.$strip>>;
372
+ /** Search cursors advance through registry candidates, including pages without matches. */
373
+ declare const marketplaceSearchInputSchema: z.ZodLazy<z.ZodObject<{
374
+ category: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
375
+ communication: "communication";
376
+ "developer-tools": "developer-tools";
377
+ operations: "operations";
378
+ productivity: "productivity";
379
+ reporting: "reporting";
380
+ }>>>;
381
+ pageSize: z.ZodDefault<z.ZodNumber>;
382
+ cursor: z.ZodOptional<z.ZodString>;
383
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
384
+ organization: "organization";
385
+ public: "public";
386
+ }>>>>;
387
+ query: z.ZodString;
388
+ }, z.core.$strip>>;
389
+ declare const marketplacePublishedListingInputSchema: z.ZodLazy<z.ZodObject<{
390
+ versionPageSize: z.ZodLazy<z.ZodDefault<z.ZodNumber>>;
391
+ versionCursor: z.ZodLazy<z.ZodOptional<z.ZodString>>;
392
+ listingId: z.ZodLazy<z.ZodString>;
393
+ }, z.core.$strip>>;
394
+ type MarketplacePublishedListingInput = z.input<typeof marketplacePublishedListingInputSchema>;
395
+ declare const marketplaceViewInputSchema: z.ZodLazy<z.ZodObject<{
396
+ versionPageSize: z.ZodLazy<z.ZodDefault<z.ZodNumber>>;
397
+ versionCursor: z.ZodLazy<z.ZodOptional<z.ZodString>>;
398
+ listingId: z.ZodLazy<z.ZodString>;
399
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
400
+ organization: "organization";
401
+ public: "public";
402
+ }>>>>;
403
+ }, z.core.$strip>>;
404
+ /** A dry run writes nothing; accepted packages return their durable System workflow identity. */
405
+ declare const marketplacePublishResultSchema: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
406
+ name: z.ZodString;
407
+ listingId: z.ZodLazy<z.ZodString>;
408
+ version: z.ZodLazy<z.ZodString>;
409
+ snapshotId: z.ZodString;
410
+ owner: z.ZodLazy<z.ZodObject<{
411
+ publisherName: z.ZodString;
412
+ scope: z.ZodLazy<z.ZodObject<{
413
+ kind: z.ZodLiteral<"org">;
414
+ orgId: z.ZodLazy<z.ZodString>;
415
+ }, z.core.$strict>>;
416
+ }, z.core.$strip>>;
417
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
418
+ kind: z.ZodLiteral<"system">;
419
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
420
+ kind: z.ZodLiteral<"org">;
421
+ orgId: z.ZodString;
422
+ }, z.core.$strict>>], "kind">>;
423
+ files: z.ZodArray<z.ZodObject<{
424
+ relativePath: z.ZodString;
425
+ sizeBytes: z.ZodNumber;
426
+ checksum: z.ZodString;
427
+ }, z.core.$strict>>;
428
+ sizeBytes: z.ZodNumber;
429
+ state: z.ZodLiteral<"preview">;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ name: z.ZodString;
432
+ listingId: z.ZodLazy<z.ZodString>;
433
+ version: z.ZodLazy<z.ZodString>;
434
+ snapshotId: z.ZodString;
435
+ owner: z.ZodLazy<z.ZodObject<{
436
+ publisherName: z.ZodString;
437
+ scope: z.ZodLazy<z.ZodObject<{
438
+ kind: z.ZodLiteral<"org">;
439
+ orgId: z.ZodLazy<z.ZodString>;
440
+ }, z.core.$strict>>;
441
+ }, z.core.$strip>>;
442
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
443
+ kind: z.ZodLiteral<"system">;
444
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
445
+ kind: z.ZodLiteral<"org">;
446
+ orgId: z.ZodString;
447
+ }, z.core.$strict>>], "kind">>;
448
+ files: z.ZodArray<z.ZodObject<{
449
+ relativePath: z.ZodString;
450
+ sizeBytes: z.ZodNumber;
451
+ checksum: z.ZodString;
452
+ }, z.core.$strict>>;
453
+ sizeBytes: z.ZodNumber;
454
+ state: z.ZodEnum<{
455
+ published: "published";
456
+ requested: "requested";
457
+ }>;
458
+ workflowInstanceId: z.ZodString;
459
+ workflowScope: z.ZodObject<{
460
+ kind: z.ZodLiteral<"system">;
461
+ }, z.core.$strict>;
462
+ }, z.core.$strict>], "state">>;
463
+ type MarketplacePublishResult = z.output<typeof marketplacePublishResultSchema>;
464
+ /** Publishing switches are enforced against the original caller, never the coordinator. */
465
+ declare const marketplacePublishInputSchema: z.ZodLazy<z.ZodObject<{
466
+ packageRoot: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
467
+ visibility: z.ZodLazy<z.ZodEnum<{
468
+ organization: "organization";
469
+ public: "public";
470
+ }>>;
471
+ dryRun: z.ZodDefault<z.ZodBoolean>;
472
+ skipAuthorCheck: z.ZodDefault<z.ZodBoolean>;
473
+ skipVersionCheck: z.ZodDefault<z.ZodBoolean>;
474
+ }, z.core.$strict>>;
475
+ /** The workspace lock records one successful release per listing and installation folder. */
476
+ declare const marketplaceLockSchema: z.ZodLazy<z.ZodObject<{
477
+ entries: z.ZodArray<z.ZodObject<{
478
+ marketplace: z.ZodDefault<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
479
+ kind: z.ZodLiteral<"system">;
480
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
481
+ kind: z.ZodLiteral<"org">;
482
+ orgId: z.ZodString;
483
+ }, z.core.$strict>>], "kind">>>;
484
+ listingId: z.ZodLazy<z.ZodString>;
485
+ version: z.ZodLazy<z.ZodString>;
486
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
487
+ }, z.core.$strict>>;
488
+ }, z.core.$strict>>;
489
+ declare const marketplaceListingDetailSchema: z.ZodLazy<z.ZodObject<{
490
+ listing: z.ZodLazy<z.ZodObject<{
491
+ name: z.ZodString;
492
+ summary: z.ZodString;
493
+ description: z.ZodString;
494
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
495
+ category: z.ZodLazy<z.ZodEnum<{
496
+ communication: "communication";
497
+ "developer-tools": "developer-tools";
498
+ operations: "operations";
499
+ productivity: "productivity";
500
+ reporting: "reporting";
501
+ }>>;
502
+ listingId: z.ZodLazy<z.ZodString>;
503
+ slug: z.ZodLazy<z.ZodString>;
504
+ publisherName: z.ZodString;
505
+ status: z.ZodLiteral<"published">;
506
+ latestVersion: z.ZodLazy<z.ZodString>;
507
+ publishedAt: z.ZodString;
508
+ updatedAt: z.ZodString;
509
+ featured: z.ZodBoolean;
510
+ }, z.core.$strip>>;
511
+ versions: z.ZodArray<z.ZodLazy<z.ZodObject<{
512
+ version: z.ZodLazy<z.ZodString>;
513
+ publishedAt: z.ZodString;
514
+ }, z.core.$strip>>>;
515
+ nextVersionCursor: z.ZodOptional<z.ZodString>;
516
+ hasNextVersionPage: z.ZodBoolean;
517
+ }, z.core.$strip>>;
518
+ type MarketplaceListingDetail = z.infer<typeof marketplaceListingDetailSchema>;
519
+ /** Hidden entries belong to listings that are no longer published. */
520
+ declare const marketplaceFeatureStateSchema: z.ZodLazy<z.ZodEnum<{
521
+ active: "active";
522
+ expired: "expired";
523
+ scheduled: "scheduled";
524
+ hidden: "hidden";
525
+ }>>;
526
+ type MarketplaceFeatureState = z.infer<typeof marketplaceFeatureStateSchema>;
527
+ /** Curators see every entry with its state; browsers only see active entries. */
528
+ declare const marketplaceFeatureEntrySchema: z.ZodLazy<z.ZodObject<{
529
+ listingId: z.ZodLazy<z.ZodString>;
530
+ name: z.ZodString;
531
+ state: z.ZodLazy<z.ZodEnum<{
532
+ active: "active";
533
+ expired: "expired";
534
+ scheduled: "scheduled";
535
+ hidden: "hidden";
536
+ }>>;
537
+ priority: z.ZodNumber;
538
+ note: z.ZodNullable<z.ZodString>;
539
+ startsAt: z.ZodString;
540
+ until: z.ZodNullable<z.ZodString>;
541
+ featuredBy: z.ZodString;
542
+ createdAt: z.ZodString;
543
+ updatedAt: z.ZodString;
544
+ }, z.core.$strip>>;
545
+ type MarketplaceFeatureEntry = z.infer<typeof marketplaceFeatureEntrySchema>;
546
+ /** Featuring an already featured listing replaces its window, priority, and note. */
547
+ declare const marketplaceFeaturedResultSchema: z.ZodLazy<z.ZodObject<{
548
+ entries: z.ZodArray<z.ZodLazy<z.ZodObject<{
549
+ listingId: z.ZodLazy<z.ZodString>;
550
+ name: z.ZodString;
551
+ state: z.ZodLazy<z.ZodEnum<{
552
+ active: "active";
553
+ expired: "expired";
554
+ scheduled: "scheduled";
555
+ hidden: "hidden";
556
+ }>>;
557
+ priority: z.ZodNumber;
558
+ note: z.ZodNullable<z.ZodString>;
559
+ startsAt: z.ZodString;
560
+ until: z.ZodNullable<z.ZodString>;
561
+ featuredBy: z.ZodString;
562
+ createdAt: z.ZodString;
563
+ updatedAt: z.ZodString;
564
+ }, z.core.$strip>>>;
565
+ limit: z.ZodNumber;
566
+ }, z.core.$strip>>;
567
+ type MarketplaceFeaturedResult = z.infer<typeof marketplaceFeaturedResultSchema>;
568
+ declare const marketplaceOperations: {
569
+ "marketplace.search": {
570
+ description: string;
571
+ permissions: {
572
+ readonly namespace: "marketplace";
573
+ readonly permission: "read";
574
+ }[];
575
+ input: z.ZodLazy<z.ZodObject<{
576
+ category: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
577
+ communication: "communication";
578
+ "developer-tools": "developer-tools";
579
+ operations: "operations";
580
+ productivity: "productivity";
581
+ reporting: "reporting";
582
+ }>>>;
583
+ pageSize: z.ZodDefault<z.ZodNumber>;
584
+ cursor: z.ZodOptional<z.ZodString>;
585
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
586
+ organization: "organization";
587
+ public: "public";
588
+ }>>>>;
589
+ query: z.ZodString;
590
+ }, z.core.$strip>>;
591
+ output: z.ZodLazy<z.ZodObject<{
592
+ listings: z.ZodArray<z.ZodObject<{
593
+ name: z.ZodString;
594
+ category: z.ZodLazy<z.ZodEnum<{
595
+ communication: "communication";
596
+ "developer-tools": "developer-tools";
597
+ operations: "operations";
598
+ productivity: "productivity";
599
+ reporting: "reporting";
600
+ }>>;
601
+ summary: z.ZodString;
602
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
603
+ listingId: z.ZodLazy<z.ZodString>;
604
+ publisherName: z.ZodString;
605
+ latestVersion: z.ZodLazy<z.ZodString>;
606
+ featured: z.ZodBoolean;
607
+ }, z.core.$strip>>;
608
+ nextCursor: z.ZodNullable<z.ZodString>;
609
+ hasNextPage: z.ZodBoolean;
610
+ }, z.core.$strip>>;
611
+ };
612
+ "marketplace.view": {
613
+ description: string;
614
+ permissions: {
615
+ readonly namespace: "marketplace";
616
+ readonly permission: "read";
617
+ }[];
618
+ input: z.ZodLazy<z.ZodObject<{
619
+ versionPageSize: z.ZodLazy<z.ZodDefault<z.ZodNumber>>;
620
+ versionCursor: z.ZodLazy<z.ZodOptional<z.ZodString>>;
621
+ listingId: z.ZodLazy<z.ZodString>;
622
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
623
+ organization: "organization";
624
+ public: "public";
625
+ }>>>>;
626
+ }, z.core.$strip>>;
627
+ output: z.ZodLazy<z.ZodObject<{
628
+ listing: z.ZodLazy<z.ZodObject<{
629
+ name: z.ZodString;
630
+ summary: z.ZodString;
631
+ description: z.ZodString;
632
+ tags: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodString>>>;
633
+ category: z.ZodLazy<z.ZodEnum<{
634
+ communication: "communication";
635
+ "developer-tools": "developer-tools";
636
+ operations: "operations";
637
+ productivity: "productivity";
638
+ reporting: "reporting";
639
+ }>>;
640
+ listingId: z.ZodLazy<z.ZodString>;
641
+ slug: z.ZodLazy<z.ZodString>;
642
+ publisherName: z.ZodString;
643
+ status: z.ZodLiteral<"published">;
644
+ latestVersion: z.ZodLazy<z.ZodString>;
645
+ publishedAt: z.ZodString;
646
+ updatedAt: z.ZodString;
647
+ featured: z.ZodBoolean;
648
+ }, z.core.$strip>>;
649
+ versions: z.ZodArray<z.ZodLazy<z.ZodObject<{
650
+ version: z.ZodLazy<z.ZodString>;
651
+ publishedAt: z.ZodString;
652
+ }, z.core.$strip>>>;
653
+ nextVersionCursor: z.ZodOptional<z.ZodString>;
654
+ hasNextVersionPage: z.ZodBoolean;
655
+ }, z.core.$strip>>;
656
+ };
657
+ "marketplace.publish": {
658
+ description: string;
659
+ permissions: {
660
+ readonly namespace: "marketplace";
661
+ readonly permission: "publish";
662
+ }[];
663
+ input: z.ZodLazy<z.ZodObject<{
664
+ packageRoot: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
665
+ visibility: z.ZodLazy<z.ZodEnum<{
666
+ organization: "organization";
667
+ public: "public";
668
+ }>>;
669
+ dryRun: z.ZodDefault<z.ZodBoolean>;
670
+ skipAuthorCheck: z.ZodDefault<z.ZodBoolean>;
671
+ skipVersionCheck: z.ZodDefault<z.ZodBoolean>;
672
+ }, z.core.$strict>>;
673
+ output: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
674
+ name: z.ZodString;
675
+ listingId: z.ZodLazy<z.ZodString>;
676
+ version: z.ZodLazy<z.ZodString>;
677
+ snapshotId: z.ZodString;
678
+ owner: z.ZodLazy<z.ZodObject<{
679
+ publisherName: z.ZodString;
680
+ scope: z.ZodLazy<z.ZodObject<{
681
+ kind: z.ZodLiteral<"org">;
682
+ orgId: z.ZodLazy<z.ZodString>;
683
+ }, z.core.$strict>>;
684
+ }, z.core.$strip>>;
685
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
686
+ kind: z.ZodLiteral<"system">;
687
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
688
+ kind: z.ZodLiteral<"org">;
689
+ orgId: z.ZodString;
690
+ }, z.core.$strict>>], "kind">>;
691
+ files: z.ZodArray<z.ZodObject<{
692
+ relativePath: z.ZodString;
693
+ sizeBytes: z.ZodNumber;
694
+ checksum: z.ZodString;
695
+ }, z.core.$strict>>;
696
+ sizeBytes: z.ZodNumber;
697
+ state: z.ZodLiteral<"preview">;
698
+ }, z.core.$strict>, z.ZodObject<{
699
+ name: z.ZodString;
700
+ listingId: z.ZodLazy<z.ZodString>;
701
+ version: z.ZodLazy<z.ZodString>;
702
+ snapshotId: z.ZodString;
703
+ owner: z.ZodLazy<z.ZodObject<{
704
+ publisherName: z.ZodString;
705
+ scope: z.ZodLazy<z.ZodObject<{
706
+ kind: z.ZodLiteral<"org">;
707
+ orgId: z.ZodLazy<z.ZodString>;
708
+ }, z.core.$strict>>;
709
+ }, z.core.$strip>>;
710
+ marketplace: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
711
+ kind: z.ZodLiteral<"system">;
712
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
713
+ kind: z.ZodLiteral<"org">;
714
+ orgId: z.ZodString;
715
+ }, z.core.$strict>>], "kind">>;
716
+ files: z.ZodArray<z.ZodObject<{
717
+ relativePath: z.ZodString;
718
+ sizeBytes: z.ZodNumber;
719
+ checksum: z.ZodString;
720
+ }, z.core.$strict>>;
721
+ sizeBytes: z.ZodNumber;
722
+ state: z.ZodEnum<{
723
+ published: "published";
724
+ requested: "requested";
725
+ }>;
726
+ workflowInstanceId: z.ZodString;
727
+ workflowScope: z.ZodObject<{
728
+ kind: z.ZodLiteral<"system">;
729
+ }, z.core.$strict>;
730
+ }, z.core.$strict>], "state">>;
731
+ };
732
+ "marketplace.featured": {
733
+ description: string;
734
+ permissions: {
735
+ readonly namespace: "marketplace";
736
+ readonly permission: "read";
737
+ }[];
738
+ input: z.ZodLazy<z.ZodObject<{}, z.core.$strict>>;
739
+ output: z.ZodLazy<z.ZodObject<{
740
+ entries: z.ZodArray<z.ZodLazy<z.ZodObject<{
741
+ listingId: z.ZodLazy<z.ZodString>;
742
+ name: z.ZodString;
743
+ state: z.ZodLazy<z.ZodEnum<{
744
+ active: "active";
745
+ expired: "expired";
746
+ scheduled: "scheduled";
747
+ hidden: "hidden";
748
+ }>>;
749
+ priority: z.ZodNumber;
750
+ note: z.ZodNullable<z.ZodString>;
751
+ startsAt: z.ZodString;
752
+ until: z.ZodNullable<z.ZodString>;
753
+ featuredBy: z.ZodString;
754
+ createdAt: z.ZodString;
755
+ updatedAt: z.ZodString;
756
+ }, z.core.$strip>>>;
757
+ limit: z.ZodNumber;
758
+ }, z.core.$strip>>;
759
+ };
760
+ };
761
+ declare const packagesOperations: {
762
+ "packages.install": {
763
+ description: string;
764
+ permissions: {
765
+ readonly namespace: "packages";
766
+ readonly permission: "install";
767
+ }[];
768
+ input: z.ZodLazy<z.ZodObject<{
769
+ version: z.ZodOptional<z.ZodLazy<z.ZodString>>;
770
+ listingId: z.ZodLazy<z.ZodString>;
771
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
772
+ visibility: z.ZodLazy<z.ZodDefault<z.ZodLazy<z.ZodEnum<{
773
+ organization: "organization";
774
+ public: "public";
775
+ }>>>>;
776
+ }, z.core.$strict>>;
777
+ output: z.ZodLazy<z.ZodObject<{
778
+ listingId: z.ZodLazy<z.ZodString>;
779
+ version: z.ZodLazy<z.ZodString>;
780
+ workflowInstanceId: z.ZodString;
781
+ action: z.ZodEnum<{
782
+ created: "created";
783
+ restarted: "restarted";
784
+ unchanged: "unchanged";
785
+ }>;
786
+ workflowStatus: z.ZodEnum<{
787
+ active: "active";
788
+ paused: "paused";
789
+ errored: "errored";
790
+ terminated: "terminated";
791
+ complete: "complete";
792
+ waiting: "waiting";
793
+ }>;
794
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
795
+ workflowScope: z.ZodObject<{
796
+ kind: z.ZodLiteral<"org">;
797
+ orgId: z.ZodString;
798
+ }, z.core.$strip>;
799
+ }, z.core.$strip>>;
800
+ };
801
+ "packages.ls": {
802
+ description: string;
803
+ permissions: {
804
+ readonly namespace: "packages";
805
+ readonly permission: "read";
806
+ }[];
807
+ input: z.ZodLazy<z.ZodObject<{}, z.core.$strict>>;
808
+ output: z.ZodLazy<z.ZodObject<{
809
+ entries: z.ZodArray<z.ZodObject<{
810
+ marketplace: z.ZodDefault<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
811
+ kind: z.ZodLiteral<"system">;
812
+ }, z.core.$strict>, z.ZodLazy<z.ZodObject<{
813
+ kind: z.ZodLiteral<"org">;
814
+ orgId: z.ZodString;
815
+ }, z.core.$strict>>], "kind">>>;
816
+ listingId: z.ZodLazy<z.ZodString>;
817
+ version: z.ZodLazy<z.ZodString>;
818
+ installationRoot: z.ZodLazy<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
819
+ }, z.core.$strict>>;
820
+ }, z.core.$strict>>;
821
+ };
822
+ };
823
+ //#endregion
824
+ export { MARKETPLACE_CATEGORIES, MARKETPLACE_DATABASE_ID_MAX_LENGTH, MARKETPLACE_DEFAULT_PAGE_SIZE, MARKETPLACE_FEATURED_LIMIT, MARKETPLACE_LOCK_PATH, MARKETPLACE_MAX_PAGE_SIZE, MARKETPLACE_PRERELEASE_IDENTIFIER, MARKETPLACE_RELEASE_IDENTIFIER, MARKETPLACE_VERSION_PATTERN, MarketplaceCategory, MarketplaceFeatureEntry, MarketplaceFeatureState, MarketplaceFeaturedResult, MarketplaceIngestionRequestInput, MarketplaceIngestionRestartResult, MarketplaceIngestionTargetScope, MarketplaceListing, MarketplaceListingContent, MarketplaceListingDetail, MarketplaceListingMetadata, MarketplaceListingPageInput, MarketplaceOwner, MarketplaceOwnerScope, MarketplacePublishResult, MarketplacePublishedListingInput, MarketplaceScope, MarketplaceVersion, MarketplaceVisibility, isMarketplaceLockPath, marketplaceCategorySchema, marketplaceFeatureEntrySchema, marketplaceFeatureStateSchema, marketplaceFeaturedResultSchema, marketplaceIngestionRequestInputSchema, marketplaceIngestionRestartResultSchema, marketplaceIngestionTargetScopeSchema, marketplaceInstallationRootSchema, marketplaceListingContentSchema, marketplaceListingDetailSchema, marketplaceListingIdSchema, marketplaceListingMetadataSchema, marketplaceListingPageInputSchema, marketplaceLockSchema, marketplaceOperations, marketplaceOrganizationOwnerScopeSchema, marketplaceOwnerIdSchema, marketplaceOwnerSchema, marketplaceOwnerScopeSchema, marketplacePackageOwnerSchema, marketplacePublicListingSchema, marketplacePublishInputSchema, marketplacePublishResultSchema, marketplacePublishedListingInputSchema, marketplaceScopeSchema, marketplaceSearchInputSchema, marketplaceSearchResultSchema, marketplaceSlugSchema, marketplaceTagSchema, marketplaceVersionPageFields, marketplaceVersionSchema, marketplaceVersionSchemaPublic, marketplaceViewInputSchema, marketplaceVisibilitySchema, packageIdentitySchema, packagesInstallInputSchema, packagesInstallResultSchema, packagesOperations };
825
+ //# sourceMappingURL=marketplace.d.ts.map