samva 0.5.0 → 0.7.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/AGENTS.md +3 -2
- package/README.md +14 -4
- package/dist/{categories-B9Nw2v_F.js → categories-DvsHUJtX.js} +32 -8
- package/dist/client/sdk.gen.d.ts +493 -88
- package/dist/client/types.gen.d.ts +3136 -416
- package/dist/{client-B7gEkvEq.js → client-5O8KsY5Z.js} +2638 -902
- package/dist/{client-attribution-B2yJBXdZ.js → client-attribution-27MNycCV.js} +2 -2
- package/dist/effect/analytics.d.ts +66 -0
- package/dist/effect/analytics.js +21 -0
- package/dist/effect/api-keys.d.ts +198 -34
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.d.ts +53 -0
- package/dist/effect/attachments.js +17 -0
- package/dist/effect/brands.d.ts +212 -0
- package/dist/effect/brands.js +24 -0
- package/dist/effect/campaigns.d.ts +36 -18
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +375 -0
- package/dist/effect/contact-groups.js +29 -0
- package/dist/effect/contacts.d.ts +35 -19
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +188 -47
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.d.ts +111 -0
- package/dist/effect/custom-fields.js +17 -0
- package/dist/effect/email.d.ts +268 -121
- package/dist/effect/email.js +2 -2
- package/dist/effect/generated-metadata.d.ts +20 -4
- package/dist/effect/generated.d.ts +13934 -7968
- package/dist/effect/index.d.ts +7 -2
- package/dist/effect/index.js +9 -4
- package/dist/effect/internal/operation.d.ts +121 -27
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +319 -73
- package/dist/effect/messages.js +1 -1
- package/dist/effect/operations.d.ts +6 -6
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +7 -374
- package/dist/effect/organizations.js +2 -4
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +263 -305
- package/dist/effect/templates.js +7 -5
- package/dist/effect/unsubscribe-groups.d.ts +161 -0
- package/dist/effect/unsubscribe-groups.js +25 -0
- package/dist/effect/webhooks.d.ts +18 -18
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{normalize-BiIJnycv.js → normalize-B79uJIeb.js} +13 -14
- package/dist/normalize.d.ts +3 -7
- package/dist/{operation-B4FjN6wq.js → operation-Cb5V9FJ7.js} +123 -11
- package/dist/promises/errors.gen.d.ts +50 -43
- package/dist/promises/index.d.ts +20 -6
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-CP_nxUus.js → promises-C2yyw-pf.js} +1582 -368
- package/dist/service-map.d.ts +189 -12
- package/package.json +32 -12
- package/dist/effect/design.d.ts +0 -209
- package/dist/effect/design.js +0 -13
|
@@ -6,6 +6,7 @@ export declare const list: ((input?: {
|
|
|
6
6
|
readonly channel?: string | null | undefined;
|
|
7
7
|
readonly status?: string | null | undefined;
|
|
8
8
|
readonly search?: string | null | undefined;
|
|
9
|
+
readonly projectId?: string | null | undefined;
|
|
9
10
|
readonly sortBy?: string | null | undefined;
|
|
10
11
|
readonly sortOrder?: string | null | undefined;
|
|
11
12
|
} | undefined) => import("effect/Effect").Effect<{
|
|
@@ -37,27 +38,15 @@ export declare const list: ((input?: {
|
|
|
37
38
|
} | null;
|
|
38
39
|
} | null;
|
|
39
40
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
41
|
+
readonly brand: {
|
|
42
|
+
readonly slug: string;
|
|
43
|
+
readonly digest: string;
|
|
44
|
+
readonly stale: boolean;
|
|
45
|
+
} | null;
|
|
40
46
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
41
47
|
readonly inputSchema: {
|
|
42
48
|
readonly [x: string]: import("./generated").JsonValue;
|
|
43
49
|
} | null;
|
|
44
|
-
readonly compliance: {
|
|
45
|
-
readonly metaStatus?: string | null;
|
|
46
|
-
readonly submittedAt?: string | null;
|
|
47
|
-
readonly qualityScore?: string | null;
|
|
48
|
-
readonly rejectedReason?: string | null;
|
|
49
|
-
readonly lastSyncedAt?: string | null;
|
|
50
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
51
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
52
|
-
readonly approvedAt?: string | null;
|
|
53
|
-
readonly approvalNotes?: string | null;
|
|
54
|
-
readonly regulatoryRequirements?: readonly {
|
|
55
|
-
readonly region: string;
|
|
56
|
-
readonly requirement: string;
|
|
57
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
58
|
-
readonly notes?: string | null;
|
|
59
|
-
}[] | null;
|
|
60
|
-
} | null;
|
|
61
50
|
readonly usageCount: number;
|
|
62
51
|
readonly lastUsedAt: string | null;
|
|
63
52
|
readonly status: string;
|
|
@@ -74,7 +63,7 @@ export declare const list: ((input?: {
|
|
|
74
63
|
readonly total: number;
|
|
75
64
|
readonly totalPages: number;
|
|
76
65
|
};
|
|
77
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
66
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
78
67
|
readonly pages: (input?: {
|
|
79
68
|
readonly page?: string | null | undefined;
|
|
80
69
|
readonly limit?: string | null | undefined;
|
|
@@ -82,6 +71,7 @@ export declare const list: ((input?: {
|
|
|
82
71
|
readonly channel?: string | null | undefined;
|
|
83
72
|
readonly status?: string | null | undefined;
|
|
84
73
|
readonly search?: string | null | undefined;
|
|
74
|
+
readonly projectId?: string | null | undefined;
|
|
85
75
|
readonly sortBy?: string | null | undefined;
|
|
86
76
|
readonly sortOrder?: string | null | undefined;
|
|
87
77
|
} | undefined) => import("effect/Stream").Stream<{
|
|
@@ -113,27 +103,15 @@ export declare const list: ((input?: {
|
|
|
113
103
|
} | null;
|
|
114
104
|
} | null;
|
|
115
105
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
106
|
+
readonly brand: {
|
|
107
|
+
readonly slug: string;
|
|
108
|
+
readonly digest: string;
|
|
109
|
+
readonly stale: boolean;
|
|
110
|
+
} | null;
|
|
116
111
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
117
112
|
readonly inputSchema: {
|
|
118
113
|
readonly [x: string]: import("./generated").JsonValue;
|
|
119
114
|
} | null;
|
|
120
|
-
readonly compliance: {
|
|
121
|
-
readonly metaStatus?: string | null;
|
|
122
|
-
readonly submittedAt?: string | null;
|
|
123
|
-
readonly qualityScore?: string | null;
|
|
124
|
-
readonly rejectedReason?: string | null;
|
|
125
|
-
readonly lastSyncedAt?: string | null;
|
|
126
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
127
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
128
|
-
readonly approvedAt?: string | null;
|
|
129
|
-
readonly approvalNotes?: string | null;
|
|
130
|
-
readonly regulatoryRequirements?: readonly {
|
|
131
|
-
readonly region: string;
|
|
132
|
-
readonly requirement: string;
|
|
133
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
134
|
-
readonly notes?: string | null;
|
|
135
|
-
}[] | null;
|
|
136
|
-
} | null;
|
|
137
115
|
readonly usageCount: number;
|
|
138
116
|
readonly lastUsedAt: string | null;
|
|
139
117
|
readonly status: string;
|
|
@@ -150,7 +128,7 @@ export declare const list: ((input?: {
|
|
|
150
128
|
readonly total: number;
|
|
151
129
|
readonly totalPages: number;
|
|
152
130
|
};
|
|
153
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
131
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
154
132
|
readonly items: (input?: {
|
|
155
133
|
readonly page?: string | null | undefined;
|
|
156
134
|
readonly limit?: string | null | undefined;
|
|
@@ -158,6 +136,7 @@ export declare const list: ((input?: {
|
|
|
158
136
|
readonly channel?: string | null | undefined;
|
|
159
137
|
readonly status?: string | null | undefined;
|
|
160
138
|
readonly search?: string | null | undefined;
|
|
139
|
+
readonly projectId?: string | null | undefined;
|
|
161
140
|
readonly sortBy?: string | null | undefined;
|
|
162
141
|
readonly sortOrder?: string | null | undefined;
|
|
163
142
|
} | undefined) => import("effect/Stream").Stream<{
|
|
@@ -188,27 +167,15 @@ export declare const list: ((input?: {
|
|
|
188
167
|
} | null;
|
|
189
168
|
} | null;
|
|
190
169
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
170
|
+
readonly brand: {
|
|
171
|
+
readonly slug: string;
|
|
172
|
+
readonly digest: string;
|
|
173
|
+
readonly stale: boolean;
|
|
174
|
+
} | null;
|
|
191
175
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
192
176
|
readonly inputSchema: {
|
|
193
177
|
readonly [x: string]: import("./generated").JsonValue;
|
|
194
178
|
} | null;
|
|
195
|
-
readonly compliance: {
|
|
196
|
-
readonly metaStatus?: string | null;
|
|
197
|
-
readonly submittedAt?: string | null;
|
|
198
|
-
readonly qualityScore?: string | null;
|
|
199
|
-
readonly rejectedReason?: string | null;
|
|
200
|
-
readonly lastSyncedAt?: string | null;
|
|
201
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
202
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
203
|
-
readonly approvedAt?: string | null;
|
|
204
|
-
readonly approvalNotes?: string | null;
|
|
205
|
-
readonly regulatoryRequirements?: readonly {
|
|
206
|
-
readonly region: string;
|
|
207
|
-
readonly requirement: string;
|
|
208
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
209
|
-
readonly notes?: string | null;
|
|
210
|
-
}[] | null;
|
|
211
|
-
} | null;
|
|
212
179
|
readonly usageCount: number;
|
|
213
180
|
readonly lastUsedAt: string | null;
|
|
214
181
|
readonly status: string;
|
|
@@ -218,13 +185,14 @@ export declare const list: ((input?: {
|
|
|
218
185
|
readonly publishedBy?: string | null;
|
|
219
186
|
readonly createdAt: string;
|
|
220
187
|
readonly updatedAt: string;
|
|
221
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
188
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
222
189
|
};
|
|
223
190
|
export declare const create: (input: {
|
|
224
191
|
readonly name: string;
|
|
225
192
|
readonly projectName?: string | null | undefined;
|
|
226
193
|
readonly slug?: string | null | undefined;
|
|
227
194
|
readonly galleryTemplateId?: string | null | undefined;
|
|
195
|
+
readonly useBrand?: boolean | null | undefined;
|
|
228
196
|
readonly description?: string | null | undefined;
|
|
229
197
|
readonly category?: string | null | undefined;
|
|
230
198
|
readonly isActive?: boolean | null | undefined;
|
|
@@ -257,27 +225,15 @@ export declare const create: (input: {
|
|
|
257
225
|
} | null;
|
|
258
226
|
} | null;
|
|
259
227
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
228
|
+
readonly brand: {
|
|
229
|
+
readonly slug: string;
|
|
230
|
+
readonly digest: string;
|
|
231
|
+
readonly stale: boolean;
|
|
232
|
+
} | null;
|
|
260
233
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
261
234
|
readonly inputSchema: {
|
|
262
235
|
readonly [x: string]: import("./generated").JsonValue;
|
|
263
236
|
} | null;
|
|
264
|
-
readonly compliance: {
|
|
265
|
-
readonly metaStatus?: string | null;
|
|
266
|
-
readonly submittedAt?: string | null;
|
|
267
|
-
readonly qualityScore?: string | null;
|
|
268
|
-
readonly rejectedReason?: string | null;
|
|
269
|
-
readonly lastSyncedAt?: string | null;
|
|
270
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
271
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
272
|
-
readonly approvedAt?: string | null;
|
|
273
|
-
readonly approvalNotes?: string | null;
|
|
274
|
-
readonly regulatoryRequirements?: readonly {
|
|
275
|
-
readonly region: string;
|
|
276
|
-
readonly requirement: string;
|
|
277
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
278
|
-
readonly notes?: string | null;
|
|
279
|
-
}[] | null;
|
|
280
|
-
} | null;
|
|
281
237
|
readonly usageCount: number;
|
|
282
238
|
readonly lastUsedAt: string | null;
|
|
283
239
|
readonly status: string;
|
|
@@ -287,177 +243,61 @@ export declare const create: (input: {
|
|
|
287
243
|
readonly publishedBy?: string | null;
|
|
288
244
|
readonly createdAt: string;
|
|
289
245
|
readonly updatedAt: string;
|
|
290
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
291
|
-
export declare const
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
246
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
247
|
+
export declare const addEntry: (input: {
|
|
248
|
+
readonly projectId: string;
|
|
249
|
+
readonly entryPath: string;
|
|
250
|
+
readonly name: string;
|
|
251
|
+
readonly slug: string;
|
|
252
|
+
readonly description?: string | null | undefined;
|
|
295
253
|
readonly category?: string | null | undefined;
|
|
296
|
-
readonly channel?: string | null | undefined;
|
|
297
|
-
readonly status?: string | null | undefined;
|
|
298
|
-
readonly search?: string | null | undefined;
|
|
299
|
-
readonly sortBy?: string | null | undefined;
|
|
300
|
-
readonly sortOrder?: string | null | undefined;
|
|
301
254
|
}) => import("effect/Effect").Effect<{
|
|
302
|
-
readonly
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
readonly
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
};
|
|
349
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
350
|
-
readonly pages: (input: {
|
|
351
|
-
readonly page?: string | null | undefined;
|
|
352
|
-
readonly limit?: string | null | undefined;
|
|
353
|
-
readonly allowedChannels: string | readonly string[];
|
|
354
|
-
readonly category?: string | null | undefined;
|
|
355
|
-
readonly channel?: string | null | undefined;
|
|
356
|
-
readonly status?: string | null | undefined;
|
|
357
|
-
readonly search?: string | null | undefined;
|
|
358
|
-
readonly sortBy?: string | null | undefined;
|
|
359
|
-
readonly sortOrder?: string | null | undefined;
|
|
360
|
-
}) => import("effect/Stream").Stream<{
|
|
361
|
-
readonly items: readonly ({
|
|
362
|
-
readonly kind: "family";
|
|
363
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateFamilyId">;
|
|
364
|
-
readonly name: string;
|
|
365
|
-
readonly members: readonly {
|
|
366
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
367
|
-
readonly name: string;
|
|
368
|
-
readonly slug: string;
|
|
369
|
-
readonly channel: "email";
|
|
370
|
-
readonly description: string | null;
|
|
371
|
-
readonly category: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null;
|
|
372
|
-
readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
|
|
373
|
-
readonly usageCount: number;
|
|
374
|
-
readonly lastUsedAt: string | null;
|
|
375
|
-
readonly workspaceRevision: string | null;
|
|
376
|
-
readonly previewFixture: string | null;
|
|
377
|
-
readonly createdAt: string;
|
|
378
|
-
readonly updatedAt: string;
|
|
379
|
-
}[];
|
|
380
|
-
readonly usageCount: number;
|
|
381
|
-
readonly lastUsedAt: string | null;
|
|
382
|
-
readonly createdAt: string;
|
|
383
|
-
readonly updatedAt: string;
|
|
384
|
-
} | {
|
|
385
|
-
readonly kind: "template";
|
|
386
|
-
readonly template: {
|
|
387
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
388
|
-
readonly name: string;
|
|
389
|
-
readonly slug: string;
|
|
390
|
-
readonly channel: "email";
|
|
391
|
-
readonly description: string | null;
|
|
392
|
-
readonly category: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null;
|
|
393
|
-
readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
|
|
394
|
-
readonly usageCount: number;
|
|
395
|
-
readonly lastUsedAt: string | null;
|
|
396
|
-
readonly workspaceRevision: string | null;
|
|
397
|
-
readonly previewFixture: string | null;
|
|
398
|
-
readonly createdAt: string;
|
|
399
|
-
readonly updatedAt: string;
|
|
400
|
-
};
|
|
401
|
-
})[];
|
|
402
|
-
readonly pagination: {
|
|
403
|
-
readonly page: number;
|
|
404
|
-
readonly limit: number;
|
|
405
|
-
readonly total: number;
|
|
406
|
-
readonly totalPages: number;
|
|
407
|
-
};
|
|
408
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
409
|
-
readonly items: (input: {
|
|
410
|
-
readonly page?: string | null | undefined;
|
|
411
|
-
readonly limit?: string | null | undefined;
|
|
412
|
-
readonly allowedChannels: string | readonly string[];
|
|
413
|
-
readonly category?: string | null | undefined;
|
|
414
|
-
readonly channel?: string | null | undefined;
|
|
415
|
-
readonly status?: string | null | undefined;
|
|
416
|
-
readonly search?: string | null | undefined;
|
|
417
|
-
readonly sortBy?: string | null | undefined;
|
|
418
|
-
readonly sortOrder?: string | null | undefined;
|
|
419
|
-
}) => import("effect/Stream").Stream<{
|
|
420
|
-
readonly kind: "family";
|
|
421
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateFamilyId">;
|
|
422
|
-
readonly name: string;
|
|
423
|
-
readonly members: readonly {
|
|
424
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
425
|
-
readonly name: string;
|
|
426
|
-
readonly slug: string;
|
|
427
|
-
readonly channel: "email";
|
|
428
|
-
readonly description: string | null;
|
|
429
|
-
readonly category: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null;
|
|
430
|
-
readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
|
|
431
|
-
readonly usageCount: number;
|
|
432
|
-
readonly lastUsedAt: string | null;
|
|
433
|
-
readonly workspaceRevision: string | null;
|
|
434
|
-
readonly previewFixture: string | null;
|
|
435
|
-
readonly createdAt: string;
|
|
436
|
-
readonly updatedAt: string;
|
|
437
|
-
}[];
|
|
438
|
-
readonly usageCount: number;
|
|
439
|
-
readonly lastUsedAt: string | null;
|
|
440
|
-
readonly createdAt: string;
|
|
441
|
-
readonly updatedAt: string;
|
|
442
|
-
} | {
|
|
443
|
-
readonly kind: "template";
|
|
444
|
-
readonly template: {
|
|
445
|
-
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
446
|
-
readonly name: string;
|
|
447
|
-
readonly slug: string;
|
|
448
|
-
readonly channel: "email";
|
|
449
|
-
readonly description: string | null;
|
|
450
|
-
readonly category: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null;
|
|
451
|
-
readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
|
|
452
|
-
readonly usageCount: number;
|
|
453
|
-
readonly lastUsedAt: string | null;
|
|
454
|
-
readonly workspaceRevision: string | null;
|
|
455
|
-
readonly previewFixture: string | null;
|
|
456
|
-
readonly createdAt: string;
|
|
457
|
-
readonly updatedAt: string;
|
|
458
|
-
};
|
|
459
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
460
|
-
};
|
|
255
|
+
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
256
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
257
|
+
readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
|
|
258
|
+
readonly entryPath: string;
|
|
259
|
+
readonly name: string;
|
|
260
|
+
readonly slug: string;
|
|
261
|
+
readonly familyId: (string & import("effect/Brand").Brand<"TemplateFamilyId">) | null;
|
|
262
|
+
readonly channel: "email";
|
|
263
|
+
readonly description: string | null;
|
|
264
|
+
readonly category: string | null;
|
|
265
|
+
readonly fromDefault?: {
|
|
266
|
+
readonly email: string;
|
|
267
|
+
readonly name?: string | null;
|
|
268
|
+
} | null;
|
|
269
|
+
readonly replyToDefault?: readonly string[] | null;
|
|
270
|
+
readonly trackingDefault?: {
|
|
271
|
+
readonly opens?: boolean | null;
|
|
272
|
+
readonly clicks?: boolean | null;
|
|
273
|
+
} | null;
|
|
274
|
+
readonly email: {
|
|
275
|
+
readonly subject: string;
|
|
276
|
+
readonly preheader: string | null;
|
|
277
|
+
readonly headers: {
|
|
278
|
+
readonly [x: string]: string;
|
|
279
|
+
} | null;
|
|
280
|
+
} | null;
|
|
281
|
+
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
282
|
+
readonly brand: {
|
|
283
|
+
readonly slug: string;
|
|
284
|
+
readonly digest: string;
|
|
285
|
+
readonly stale: boolean;
|
|
286
|
+
} | null;
|
|
287
|
+
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
288
|
+
readonly inputSchema: {
|
|
289
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
290
|
+
} | null;
|
|
291
|
+
readonly usageCount: number;
|
|
292
|
+
readonly lastUsedAt: string | null;
|
|
293
|
+
readonly status: string;
|
|
294
|
+
readonly isActive: boolean;
|
|
295
|
+
readonly isDefault: boolean;
|
|
296
|
+
readonly publishedAt?: string | null;
|
|
297
|
+
readonly publishedBy?: string | null;
|
|
298
|
+
readonly createdAt: string;
|
|
299
|
+
readonly updatedAt: string;
|
|
300
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
461
301
|
export declare const listFamilies: ((input?: {
|
|
462
302
|
readonly page?: string | null | undefined;
|
|
463
303
|
readonly limit?: string | null | undefined;
|
|
@@ -485,7 +325,7 @@ export declare const listFamilies: ((input?: {
|
|
|
485
325
|
readonly total: number;
|
|
486
326
|
readonly totalPages: number;
|
|
487
327
|
};
|
|
488
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
328
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
489
329
|
readonly pages: (input?: {
|
|
490
330
|
readonly page?: string | null | undefined;
|
|
491
331
|
readonly limit?: string | null | undefined;
|
|
@@ -513,7 +353,7 @@ export declare const listFamilies: ((input?: {
|
|
|
513
353
|
readonly total: number;
|
|
514
354
|
readonly totalPages: number;
|
|
515
355
|
};
|
|
516
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
356
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
517
357
|
readonly items: (input?: {
|
|
518
358
|
readonly page?: string | null | undefined;
|
|
519
359
|
readonly limit?: string | null | undefined;
|
|
@@ -533,7 +373,7 @@ export declare const listFamilies: ((input?: {
|
|
|
533
373
|
}[];
|
|
534
374
|
readonly createdAt: string;
|
|
535
375
|
readonly updatedAt: string;
|
|
536
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
376
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
537
377
|
};
|
|
538
378
|
export declare const createFamily: (input: {
|
|
539
379
|
readonly name: string;
|
|
@@ -553,7 +393,7 @@ export declare const createFamily: (input: {
|
|
|
553
393
|
}[];
|
|
554
394
|
readonly createdAt: string;
|
|
555
395
|
readonly updatedAt: string;
|
|
556
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
396
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
557
397
|
export declare const getFamily: (input: {
|
|
558
398
|
readonly familyId: string;
|
|
559
399
|
}) => import("effect/Effect").Effect<{
|
|
@@ -572,12 +412,12 @@ export declare const getFamily: (input: {
|
|
|
572
412
|
}[];
|
|
573
413
|
readonly createdAt: string;
|
|
574
414
|
readonly updatedAt: string;
|
|
575
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
415
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
576
416
|
export declare const deleteFamily: (input: {
|
|
577
417
|
readonly familyId: string;
|
|
578
418
|
}) => import("effect/Effect").Effect<{
|
|
579
419
|
readonly success: boolean;
|
|
580
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
420
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
581
421
|
export declare const renameFamily: (input: {
|
|
582
422
|
readonly familyId: string;
|
|
583
423
|
readonly name: string;
|
|
@@ -597,7 +437,7 @@ export declare const renameFamily: (input: {
|
|
|
597
437
|
}[];
|
|
598
438
|
readonly createdAt: string;
|
|
599
439
|
readonly updatedAt: string;
|
|
600
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
440
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
601
441
|
export declare const createFamilyFromTemplate: (input: {
|
|
602
442
|
readonly templateId: string;
|
|
603
443
|
readonly name: string;
|
|
@@ -617,7 +457,7 @@ export declare const createFamilyFromTemplate: (input: {
|
|
|
617
457
|
}[];
|
|
618
458
|
readonly createdAt: string;
|
|
619
459
|
readonly updatedAt: string;
|
|
620
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
460
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
621
461
|
export declare const attachFamilyMember: (input: {
|
|
622
462
|
readonly familyId: string;
|
|
623
463
|
readonly templateId: string;
|
|
@@ -637,7 +477,7 @@ export declare const attachFamilyMember: (input: {
|
|
|
637
477
|
}[];
|
|
638
478
|
readonly createdAt: string;
|
|
639
479
|
readonly updatedAt: string;
|
|
640
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
480
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
641
481
|
export declare const detachFamilyMember: (input: {
|
|
642
482
|
readonly familyId: string;
|
|
643
483
|
readonly templateId: string;
|
|
@@ -657,7 +497,7 @@ export declare const detachFamilyMember: (input: {
|
|
|
657
497
|
}[];
|
|
658
498
|
readonly createdAt: string;
|
|
659
499
|
readonly updatedAt: string;
|
|
660
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
500
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
661
501
|
export declare const getById: (input: {
|
|
662
502
|
readonly id: string;
|
|
663
503
|
}) => import("effect/Effect").Effect<{
|
|
@@ -688,27 +528,15 @@ export declare const getById: (input: {
|
|
|
688
528
|
} | null;
|
|
689
529
|
} | null;
|
|
690
530
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
531
|
+
readonly brand: {
|
|
532
|
+
readonly slug: string;
|
|
533
|
+
readonly digest: string;
|
|
534
|
+
readonly stale: boolean;
|
|
535
|
+
} | null;
|
|
691
536
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
692
537
|
readonly inputSchema: {
|
|
693
538
|
readonly [x: string]: import("./generated").JsonValue;
|
|
694
539
|
} | null;
|
|
695
|
-
readonly compliance: {
|
|
696
|
-
readonly metaStatus?: string | null;
|
|
697
|
-
readonly submittedAt?: string | null;
|
|
698
|
-
readonly qualityScore?: string | null;
|
|
699
|
-
readonly rejectedReason?: string | null;
|
|
700
|
-
readonly lastSyncedAt?: string | null;
|
|
701
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
702
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
703
|
-
readonly approvedAt?: string | null;
|
|
704
|
-
readonly approvalNotes?: string | null;
|
|
705
|
-
readonly regulatoryRequirements?: readonly {
|
|
706
|
-
readonly region: string;
|
|
707
|
-
readonly requirement: string;
|
|
708
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
709
|
-
readonly notes?: string | null;
|
|
710
|
-
}[] | null;
|
|
711
|
-
} | null;
|
|
712
540
|
readonly usageCount: number;
|
|
713
541
|
readonly lastUsedAt: string | null;
|
|
714
542
|
readonly status: string;
|
|
@@ -718,17 +546,18 @@ export declare const getById: (input: {
|
|
|
718
546
|
readonly publishedBy?: string | null;
|
|
719
547
|
readonly createdAt: string;
|
|
720
548
|
readonly updatedAt: string;
|
|
721
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
549
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
722
550
|
export declare const remove: (input: {
|
|
723
551
|
readonly id: string;
|
|
724
552
|
}) => import("effect/Effect").Effect<{
|
|
725
553
|
readonly success: boolean;
|
|
726
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
554
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
727
555
|
export declare const update: (input: {
|
|
728
556
|
readonly id: string;
|
|
729
557
|
readonly data: {
|
|
730
558
|
readonly name?: string | null | undefined;
|
|
731
559
|
readonly slug?: string | null | undefined;
|
|
560
|
+
readonly entryPath?: string | null | undefined;
|
|
732
561
|
readonly description?: string | null | undefined;
|
|
733
562
|
readonly category?: string | null | undefined;
|
|
734
563
|
readonly fromDefault?: {
|
|
@@ -766,27 +595,15 @@ export declare const update: (input: {
|
|
|
766
595
|
} | null;
|
|
767
596
|
} | null;
|
|
768
597
|
readonly publicationId: (string & import("effect/Brand").Brand<"TemplatePublicationId">) | null;
|
|
598
|
+
readonly brand: {
|
|
599
|
+
readonly slug: string;
|
|
600
|
+
readonly digest: string;
|
|
601
|
+
readonly stale: boolean;
|
|
602
|
+
} | null;
|
|
769
603
|
readonly inputContractId: (string & import("effect/Brand").Brand<"TemplateInputContractId">) | null;
|
|
770
604
|
readonly inputSchema: {
|
|
771
605
|
readonly [x: string]: import("./generated").JsonValue;
|
|
772
606
|
} | null;
|
|
773
|
-
readonly compliance: {
|
|
774
|
-
readonly metaStatus?: string | null;
|
|
775
|
-
readonly submittedAt?: string | null;
|
|
776
|
-
readonly qualityScore?: string | null;
|
|
777
|
-
readonly rejectedReason?: string | null;
|
|
778
|
-
readonly lastSyncedAt?: string | null;
|
|
779
|
-
readonly approvalStatus?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null;
|
|
780
|
-
readonly approvedBy?: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
781
|
-
readonly approvedAt?: string | null;
|
|
782
|
-
readonly approvalNotes?: string | null;
|
|
783
|
-
readonly regulatoryRequirements?: readonly {
|
|
784
|
-
readonly region: string;
|
|
785
|
-
readonly requirement: string;
|
|
786
|
-
readonly status: "compliant" | "non_compliant" | "pending";
|
|
787
|
-
readonly notes?: string | null;
|
|
788
|
-
}[] | null;
|
|
789
|
-
} | null;
|
|
790
607
|
readonly usageCount: number;
|
|
791
608
|
readonly lastUsedAt: string | null;
|
|
792
609
|
readonly status: string;
|
|
@@ -796,7 +613,7 @@ export declare const update: (input: {
|
|
|
796
613
|
readonly publishedBy?: string | null;
|
|
797
614
|
readonly createdAt: string;
|
|
798
615
|
readonly updatedAt: string;
|
|
799
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
616
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
800
617
|
export declare const openWorkspace: (input: {
|
|
801
618
|
readonly id: string;
|
|
802
619
|
}) => import("effect/Effect").Effect<{
|
|
@@ -879,13 +696,13 @@ export declare const openWorkspace: (input: {
|
|
|
879
696
|
readonly files: {
|
|
880
697
|
readonly [x: string]: string;
|
|
881
698
|
};
|
|
882
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
699
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
883
700
|
export declare const getGitRepository: (input: {
|
|
884
701
|
readonly id: string;
|
|
885
702
|
}) => import("effect/Effect").Effect<{
|
|
886
703
|
readonly remote: string;
|
|
887
704
|
readonly defaultBranch: string;
|
|
888
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
705
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
889
706
|
export declare const issueGitCredential: (input: {
|
|
890
707
|
readonly id: string;
|
|
891
708
|
readonly scope: string;
|
|
@@ -894,7 +711,7 @@ export declare const issueGitCredential: (input: {
|
|
|
894
711
|
readonly username: "x-access-token";
|
|
895
712
|
readonly password: string;
|
|
896
713
|
readonly expiresAt: string;
|
|
897
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
714
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
898
715
|
export declare const patchWorkspace: (input: {
|
|
899
716
|
readonly id: string;
|
|
900
717
|
readonly expectedRevision: string;
|
|
@@ -983,7 +800,95 @@ export declare const patchWorkspace: (input: {
|
|
|
983
800
|
readonly files: {
|
|
984
801
|
readonly [x: string]: string;
|
|
985
802
|
};
|
|
986
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
803
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
804
|
+
export declare const putWorkspaceAsset: (input: {
|
|
805
|
+
readonly id: string;
|
|
806
|
+
readonly expectedRevision: string;
|
|
807
|
+
readonly path: string;
|
|
808
|
+
readonly contentBase64: string;
|
|
809
|
+
readonly replace: boolean;
|
|
810
|
+
readonly idempotencyKey: string;
|
|
811
|
+
}) => import("effect/Effect").Effect<{
|
|
812
|
+
readonly workspace: {
|
|
813
|
+
readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
|
|
814
|
+
readonly organizationId: (string & import("effect/Brand").Brand<"OrganizationId">) | null;
|
|
815
|
+
readonly ownerEpoch: number;
|
|
816
|
+
readonly repositoryName: string;
|
|
817
|
+
readonly defaultBranch: string;
|
|
818
|
+
readonly baseCommit: string;
|
|
819
|
+
readonly remoteHead: string;
|
|
820
|
+
readonly pendingRemoteHead: string | null;
|
|
821
|
+
readonly revision: string;
|
|
822
|
+
readonly overlay: {
|
|
823
|
+
readonly [x: string]: string | null;
|
|
824
|
+
};
|
|
825
|
+
readonly assetChanges: readonly {
|
|
826
|
+
readonly path: string;
|
|
827
|
+
readonly status: "added" | "deleted" | "modified";
|
|
828
|
+
}[];
|
|
829
|
+
readonly conflicts: readonly {
|
|
830
|
+
readonly path: string;
|
|
831
|
+
readonly base: string | null;
|
|
832
|
+
readonly draft: string | null;
|
|
833
|
+
readonly main: string | null;
|
|
834
|
+
}[];
|
|
835
|
+
readonly provenance: {
|
|
836
|
+
readonly references: readonly {
|
|
837
|
+
readonly kind: string;
|
|
838
|
+
readonly digest: string;
|
|
839
|
+
readonly locator?: string;
|
|
840
|
+
}[];
|
|
841
|
+
};
|
|
842
|
+
readonly mounts: readonly ({
|
|
843
|
+
readonly kind: "project";
|
|
844
|
+
readonly root: "/project";
|
|
845
|
+
readonly access: "read-write";
|
|
846
|
+
} | {
|
|
847
|
+
readonly root: string;
|
|
848
|
+
readonly digest: string;
|
|
849
|
+
readonly fileCount: number;
|
|
850
|
+
readonly byteSize: number;
|
|
851
|
+
readonly kind: "started-from";
|
|
852
|
+
readonly access: "read-only";
|
|
853
|
+
readonly templateId: string;
|
|
854
|
+
readonly slug: string;
|
|
855
|
+
readonly name: string;
|
|
856
|
+
} | {
|
|
857
|
+
readonly root: string;
|
|
858
|
+
readonly digest: string;
|
|
859
|
+
readonly fileCount: number;
|
|
860
|
+
readonly byteSize: number;
|
|
861
|
+
readonly kind: "resource";
|
|
862
|
+
readonly access: "read-only";
|
|
863
|
+
readonly resourceId: string;
|
|
864
|
+
readonly name: string;
|
|
865
|
+
} | {
|
|
866
|
+
readonly root: string;
|
|
867
|
+
readonly digest: string;
|
|
868
|
+
readonly fileCount: number;
|
|
869
|
+
readonly byteSize: number;
|
|
870
|
+
readonly kind: "library-template";
|
|
871
|
+
readonly access: "read-only";
|
|
872
|
+
readonly templateId: string;
|
|
873
|
+
readonly slug: string;
|
|
874
|
+
readonly name: string;
|
|
875
|
+
})[];
|
|
876
|
+
readonly libraryManifestDigest: string;
|
|
877
|
+
readonly createdAt: string;
|
|
878
|
+
readonly updatedAt: string;
|
|
879
|
+
readonly createdBy: {
|
|
880
|
+
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
881
|
+
readonly via: "agent" | "api" | "mcp";
|
|
882
|
+
};
|
|
883
|
+
readonly updatedBy: {
|
|
884
|
+
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
885
|
+
readonly via: "agent" | "api" | "mcp";
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
readonly files: {
|
|
889
|
+
readonly [x: string]: string;
|
|
890
|
+
};
|
|
891
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
987
892
|
export declare const resolveWorkspaceConflict: (input: {
|
|
988
893
|
readonly id: string;
|
|
989
894
|
readonly expectedRevision: string;
|
|
@@ -1072,7 +977,7 @@ export declare const resolveWorkspaceConflict: (input: {
|
|
|
1072
977
|
readonly files: {
|
|
1073
978
|
readonly [x: string]: string;
|
|
1074
979
|
};
|
|
1075
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
980
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1076
981
|
export declare const attachWorkspaceResource: (input: {
|
|
1077
982
|
readonly id: string;
|
|
1078
983
|
readonly expectedRevision: string;
|
|
@@ -1161,7 +1066,7 @@ export declare const attachWorkspaceResource: (input: {
|
|
|
1161
1066
|
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
1162
1067
|
readonly via: "agent" | "api" | "mcp";
|
|
1163
1068
|
};
|
|
1164
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1069
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1165
1070
|
export declare const removeWorkspaceResource: (input: {
|
|
1166
1071
|
readonly id: string;
|
|
1167
1072
|
readonly resourceId: string;
|
|
@@ -1242,7 +1147,7 @@ export declare const removeWorkspaceResource: (input: {
|
|
|
1242
1147
|
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
1243
1148
|
readonly via: "agent" | "api" | "mcp";
|
|
1244
1149
|
};
|
|
1245
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1150
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1246
1151
|
export declare const reconcileWorkspace: (input: {
|
|
1247
1152
|
readonly id: string;
|
|
1248
1153
|
readonly expectedRevision: string;
|
|
@@ -1329,7 +1234,7 @@ export declare const reconcileWorkspace: (input: {
|
|
|
1329
1234
|
readonly files: {
|
|
1330
1235
|
readonly [x: string]: string;
|
|
1331
1236
|
};
|
|
1332
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1237
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1333
1238
|
export declare const restoreWorkspace: (input: {
|
|
1334
1239
|
readonly id: string;
|
|
1335
1240
|
readonly expectedRevision: string;
|
|
@@ -1421,7 +1326,7 @@ export declare const restoreWorkspace: (input: {
|
|
|
1421
1326
|
readonly digest: string;
|
|
1422
1327
|
readonly content: string;
|
|
1423
1328
|
};
|
|
1424
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1329
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1425
1330
|
export declare const saveWorkspace: (input: {
|
|
1426
1331
|
readonly id: string;
|
|
1427
1332
|
readonly expectedRevision: string;
|
|
@@ -1482,7 +1387,7 @@ export declare const saveWorkspace: (input: {
|
|
|
1482
1387
|
readonly title: string;
|
|
1483
1388
|
} | null;
|
|
1484
1389
|
}[];
|
|
1485
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1390
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1486
1391
|
export declare const checkWorkspace: (input: {
|
|
1487
1392
|
readonly id: string;
|
|
1488
1393
|
readonly expectedRevision: string;
|
|
@@ -1552,7 +1457,7 @@ export declare const checkWorkspace: (input: {
|
|
|
1552
1457
|
readonly title: string;
|
|
1553
1458
|
} | null;
|
|
1554
1459
|
}[];
|
|
1555
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1460
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1556
1461
|
export declare const renderWorkspaceFixture: (input: {
|
|
1557
1462
|
readonly id: string;
|
|
1558
1463
|
readonly expectedRevision: string;
|
|
@@ -1645,13 +1550,14 @@ export declare const renderWorkspaceFixture: (input: {
|
|
|
1645
1550
|
readonly end: number;
|
|
1646
1551
|
}[];
|
|
1647
1552
|
} | null;
|
|
1648
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1553
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1649
1554
|
export declare const publish: (input: {
|
|
1650
1555
|
readonly id: string;
|
|
1651
1556
|
readonly projectId: string;
|
|
1652
1557
|
readonly commitSha: string;
|
|
1653
1558
|
readonly entryPath: string;
|
|
1654
1559
|
readonly expectedWorkspaceRevision: string;
|
|
1560
|
+
readonly ifCurrentPublicationId?: string | null | undefined;
|
|
1655
1561
|
}) => import("effect/Effect").Effect<{
|
|
1656
1562
|
readonly id: string & import("effect/Brand").Brand<"TemplatePublicationId">;
|
|
1657
1563
|
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
@@ -1701,6 +1607,32 @@ export declare const publish: (input: {
|
|
|
1701
1607
|
readonly entryPath: string;
|
|
1702
1608
|
readonly treeDigest: string;
|
|
1703
1609
|
};
|
|
1610
|
+
readonly brand?: {
|
|
1611
|
+
readonly slug: string;
|
|
1612
|
+
readonly css: string;
|
|
1613
|
+
readonly assets: {
|
|
1614
|
+
readonly logoUrl?: string | null;
|
|
1615
|
+
readonly logoDarkUrl?: string | null;
|
|
1616
|
+
readonly iconUrl?: string | null;
|
|
1617
|
+
};
|
|
1618
|
+
readonly footer: {
|
|
1619
|
+
readonly companyName?: string | null;
|
|
1620
|
+
readonly address?: {
|
|
1621
|
+
readonly street1: string;
|
|
1622
|
+
readonly street2?: string | null;
|
|
1623
|
+
readonly city: string;
|
|
1624
|
+
readonly region: string;
|
|
1625
|
+
readonly postalCode: string;
|
|
1626
|
+
readonly country: string;
|
|
1627
|
+
} | null;
|
|
1628
|
+
readonly socialLinks?: readonly {
|
|
1629
|
+
readonly label: string;
|
|
1630
|
+
readonly url: string;
|
|
1631
|
+
}[] | null;
|
|
1632
|
+
};
|
|
1633
|
+
readonly digest: string;
|
|
1634
|
+
readonly rendersFooter: "every" | "none" | "some";
|
|
1635
|
+
};
|
|
1704
1636
|
};
|
|
1705
1637
|
readonly executable: {
|
|
1706
1638
|
readonly key: string;
|
|
@@ -1764,7 +1696,7 @@ export declare const publish: (input: {
|
|
|
1764
1696
|
readonly publishedAt: string;
|
|
1765
1697
|
readonly publishedBy: string | null;
|
|
1766
1698
|
readonly createdAt: string;
|
|
1767
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1699
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1768
1700
|
export declare const getPublication: (input: {
|
|
1769
1701
|
readonly id: string;
|
|
1770
1702
|
readonly publicationId: string;
|
|
@@ -1817,6 +1749,32 @@ export declare const getPublication: (input: {
|
|
|
1817
1749
|
readonly entryPath: string;
|
|
1818
1750
|
readonly treeDigest: string;
|
|
1819
1751
|
};
|
|
1752
|
+
readonly brand?: {
|
|
1753
|
+
readonly slug: string;
|
|
1754
|
+
readonly css: string;
|
|
1755
|
+
readonly assets: {
|
|
1756
|
+
readonly logoUrl?: string | null;
|
|
1757
|
+
readonly logoDarkUrl?: string | null;
|
|
1758
|
+
readonly iconUrl?: string | null;
|
|
1759
|
+
};
|
|
1760
|
+
readonly footer: {
|
|
1761
|
+
readonly companyName?: string | null;
|
|
1762
|
+
readonly address?: {
|
|
1763
|
+
readonly street1: string;
|
|
1764
|
+
readonly street2?: string | null;
|
|
1765
|
+
readonly city: string;
|
|
1766
|
+
readonly region: string;
|
|
1767
|
+
readonly postalCode: string;
|
|
1768
|
+
readonly country: string;
|
|
1769
|
+
} | null;
|
|
1770
|
+
readonly socialLinks?: readonly {
|
|
1771
|
+
readonly label: string;
|
|
1772
|
+
readonly url: string;
|
|
1773
|
+
}[] | null;
|
|
1774
|
+
};
|
|
1775
|
+
readonly digest: string;
|
|
1776
|
+
readonly rendersFooter: "every" | "none" | "some";
|
|
1777
|
+
};
|
|
1820
1778
|
};
|
|
1821
1779
|
readonly executable: {
|
|
1822
1780
|
readonly key: string;
|
|
@@ -1880,7 +1838,7 @@ export declare const getPublication: (input: {
|
|
|
1880
1838
|
readonly publishedAt: string;
|
|
1881
1839
|
readonly publishedBy: string | null;
|
|
1882
1840
|
readonly createdAt: string;
|
|
1883
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1841
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1884
1842
|
export declare const listInputContracts: (input: {
|
|
1885
1843
|
readonly id: string;
|
|
1886
1844
|
}) => import("effect/Effect").Effect<readonly {
|
|
@@ -1893,7 +1851,7 @@ export declare const listInputContracts: (input: {
|
|
|
1893
1851
|
readonly [x: string]: import("./generated").JsonValue;
|
|
1894
1852
|
};
|
|
1895
1853
|
readonly createdAt: string;
|
|
1896
|
-
}[], import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1854
|
+
}[], import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1897
1855
|
export declare const getInputContract: (input: {
|
|
1898
1856
|
readonly id: string;
|
|
1899
1857
|
readonly inputContractId: string;
|
|
@@ -1907,7 +1865,7 @@ export declare const getInputContract: (input: {
|
|
|
1907
1865
|
readonly [x: string]: import("./generated").JsonValue;
|
|
1908
1866
|
};
|
|
1909
1867
|
readonly createdAt: string;
|
|
1910
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1868
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1911
1869
|
export declare const diffWorkspace: (input: {
|
|
1912
1870
|
readonly id: string;
|
|
1913
1871
|
readonly expectedRevision: string;
|
|
@@ -1925,7 +1883,7 @@ export declare const diffWorkspace: (input: {
|
|
|
1925
1883
|
readonly path: string;
|
|
1926
1884
|
readonly status: "added" | "deleted" | "modified";
|
|
1927
1885
|
}[];
|
|
1928
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1886
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1929
1887
|
export declare const workspaceHistory: (input: {
|
|
1930
1888
|
readonly id: string;
|
|
1931
1889
|
readonly limit?: string | null | undefined;
|
|
@@ -1943,4 +1901,4 @@ export declare const workspaceHistory: (input: {
|
|
|
1943
1901
|
readonly id: string & import("effect/Brand").Brand<"TemplatePublicationId">;
|
|
1944
1902
|
readonly commit: string;
|
|
1945
1903
|
} | null;
|
|
1946
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1904
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|