samva 0.34.0 → 0.35.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/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +224 -250
- package/dist/client/sdk.gen.js +84 -210
- package/dist/client/types.gen.d.ts +2894 -401
- package/dist/effect/agents.d.ts +28 -13
- package/dist/effect/agents.js +5 -1
- package/dist/effect/analytics.d.ts +15 -15
- package/dist/effect/api-keys.d.ts +27 -18
- package/dist/effect/campaigns.d.ts +721 -65
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/contact-groups.d.ts +15 -15
- package/dist/effect/contacts.d.ts +56 -52
- package/dist/effect/conversations.d.ts +45 -45
- package/dist/effect/email.d.ts +82 -82
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extensions.d.ts +16 -16
- package/dist/effect/generated/agents.d.ts +1063 -33
- package/dist/effect/generated/agents.js +133 -11
- package/dist/effect/generated/analytics.d.ts +109 -136
- package/dist/effect/generated/analytics.js +65 -36
- package/dist/effect/generated/api-keys.d.ts +240 -19
- package/dist/effect/generated/api-keys.js +24 -8
- package/dist/effect/generated/attachments.d.ts +89 -1
- package/dist/effect/generated/attachments.js +10 -2
- package/dist/effect/generated/brands.d.ts +133 -1
- package/dist/effect/generated/brands.js +22 -10
- package/dist/effect/generated/campaigns.d.ts +1442 -140
- package/dist/effect/generated/campaigns.js +82 -20
- package/dist/effect/generated/contact-events.d.ts +26 -4
- package/dist/effect/generated/contact-events.js +5 -3
- package/dist/effect/generated/contact-groups.d.ts +233 -13
- package/dist/effect/generated/contact-groups.js +33 -17
- package/dist/effect/generated/contacts.d.ts +634 -96
- package/dist/effect/generated/contacts.js +82 -20
- package/dist/effect/generated/conversations.d.ts +398 -106
- package/dist/effect/generated/conversations.js +96 -22
- package/dist/effect/generated/custom-fields.d.ts +89 -1
- package/dist/effect/generated/custom-fields.js +11 -3
- package/dist/effect/generated/email.d.ts +1447 -83
- package/dist/effect/generated/email.js +167 -43
- package/dist/effect/generated/events.d.ts +51 -7
- package/dist/effect/generated/events.js +9 -5
- package/dist/effect/generated/extension-installations.d.ts +208 -10
- package/dist/effect/generated/extension-installations.js +26 -8
- package/dist/effect/generated/extensions.d.ts +123 -13
- package/dist/effect/generated/extensions.js +20 -10
- package/dist/effect/generated/feedback.d.ts +23 -1
- package/dist/effect/generated/feedback.js +6 -4
- package/dist/effect/generated/journeys.d.ts +684 -16
- package/dist/effect/generated/journeys.js +37 -9
- package/dist/effect/generated/mailboxes.d.ts +3085 -627
- package/dist/effect/generated/mailboxes.js +340 -141
- package/dist/effect/generated/media.d.ts +125 -15
- package/dist/effect/generated/media.js +15 -2
- package/dist/effect/generated/messages.d.ts +2036 -117
- package/dist/effect/generated/messages.js +286 -54
- package/dist/effect/generated/namespaces.d.ts +209 -25
- package/dist/effect/generated/namespaces.js +27 -9
- package/dist/effect/generated/newsletter-domains.d.ts +98 -12
- package/dist/effect/generated/newsletter-domains.js +20 -13
- package/dist/effect/generated/newsletter-issues.d.ts +354 -19
- package/dist/effect/generated/newsletter-issues.js +162 -98
- package/dist/effect/generated/newsletters.d.ts +123 -13
- package/dist/effect/generated/newsletters.js +19 -9
- package/dist/effect/generated/operations.d.ts +76 -10
- package/dist/effect/generated/operations.js +12 -6
- package/dist/effect/generated/organizations.d.ts +287 -7
- package/dist/effect/generated/organizations.js +33 -5
- package/dist/effect/generated/scheduled-messages.d.ts +4427 -99
- package/dist/effect/generated/scheduled-messages.js +71 -12
- package/dist/effect/generated/shared.d.ts +2213 -190
- package/dist/effect/generated/shared.js +527 -76
- package/dist/effect/generated/subscriptions.d.ts +23 -1
- package/dist/effect/generated/subscriptions.js +6 -4
- package/dist/effect/generated/templates.d.ts +1718 -136
- package/dist/effect/generated/templates.js +421 -226
- package/dist/effect/generated/topic-forms.d.ts +111 -1
- package/dist/effect/generated/topic-forms.js +23 -13
- package/dist/effect/generated/topics.d.ts +353 -43
- package/dist/effect/generated/topics.js +67 -19
- package/dist/effect/generated/webhooks.d.ts +296 -38
- package/dist/effect/generated/webhooks.js +58 -16
- package/dist/effect/generated/whoami.d.ts +35 -1
- package/dist/effect/generated/whoami.js +4 -2
- package/dist/effect/generated-metadata.d.ts +20 -0
- package/dist/effect/generated-metadata.js +10 -0
- package/dist/effect/index.js +2 -2
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/send.d.ts +1 -1
- package/dist/effect/journeys.d.ts +105 -19
- package/dist/effect/mailboxes.d.ts +405 -174
- package/dist/effect/media.d.ts +1 -1
- package/dist/effect/messages.d.ts +40 -40
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/newsletter-domains.d.ts +5 -5
- package/dist/effect/newsletters.d.ts +1 -1
- package/dist/effect/operations.d.ts +11 -11
- package/dist/effect/organizations.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +863 -8
- package/dist/effect/templates.d.ts +37 -37
- package/dist/effect/topics.d.ts +21 -21
- package/dist/effect/webhooks.d.ts +22 -22
- package/dist/index.js +2 -2
- package/dist/normalize.js +13 -1
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +1 -1
- package/dist/promises/client.js +2 -2
- package/dist/promises/errors.gen.d.ts +22 -2
- package/dist/promises/errors.gen.js +60 -2
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -0
- package/dist/service-map.js +5 -0
- package/package.json +9 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
|
|
3
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
|
|
4
4
|
export type BatchEventsResult = {
|
|
5
5
|
readonly total: number;
|
|
6
6
|
readonly accepted: number;
|
|
@@ -32,10 +32,10 @@ export declare const BatchEventsResult: Schema.Struct<{
|
|
|
32
32
|
}>>;
|
|
33
33
|
}>;
|
|
34
34
|
export type EventsCreateHeaders = {
|
|
35
|
-
readonly "idempotency-key"?: string
|
|
35
|
+
readonly "idempotency-key"?: string;
|
|
36
36
|
};
|
|
37
37
|
export declare const EventsCreateHeaders: Schema.Struct<{
|
|
38
|
-
readonly "idempotency-key": Schema.optionalKey<Schema.
|
|
38
|
+
readonly "idempotency-key": Schema.optionalKey<Schema.String>;
|
|
39
39
|
}>;
|
|
40
40
|
export type EventsCreateRequestJson = {
|
|
41
41
|
readonly contact: ContactEventReference;
|
|
@@ -71,6 +71,8 @@ export declare const EventsCreate200: Schema.Struct<{
|
|
|
71
71
|
readonly occurredAt: Schema.String;
|
|
72
72
|
readonly recordedAt: Schema.String;
|
|
73
73
|
}>;
|
|
74
|
+
export type EventsCreate400 = MalformedRequestError;
|
|
75
|
+
export declare const EventsCreate400: typeof MalformedRequestError;
|
|
74
76
|
export type EventsCreate401 = UnauthorizedError;
|
|
75
77
|
export declare const EventsCreate401: typeof UnauthorizedError;
|
|
76
78
|
export type EventsCreate402 = PaymentRequiredError;
|
|
@@ -90,10 +92,10 @@ export declare const EventsCreate502: typeof BillingProviderError;
|
|
|
90
92
|
export type EventsCreate504 = GatewayTimeoutError;
|
|
91
93
|
export declare const EventsCreate504: typeof GatewayTimeoutError;
|
|
92
94
|
export type EventsBatchHeaders = {
|
|
93
|
-
readonly "idempotency-key"?: string
|
|
95
|
+
readonly "idempotency-key"?: string;
|
|
94
96
|
};
|
|
95
97
|
export declare const EventsBatchHeaders: Schema.Struct<{
|
|
96
|
-
readonly "idempotency-key": Schema.optionalKey<Schema.
|
|
98
|
+
readonly "idempotency-key": Schema.optionalKey<Schema.String>;
|
|
97
99
|
}>;
|
|
98
100
|
export type EventsBatchRequestJson = {
|
|
99
101
|
readonly events: readonly [CreateEventPayload, ...Array<CreateEventPayload>];
|
|
@@ -155,6 +157,8 @@ export declare const EventsBatch200: Schema.Struct<{
|
|
|
155
157
|
readonly error: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
156
158
|
}>>;
|
|
157
159
|
}>;
|
|
160
|
+
export type EventsBatch400 = MalformedRequestError;
|
|
161
|
+
export declare const EventsBatch400: typeof MalformedRequestError;
|
|
158
162
|
export type EventsBatch401 = UnauthorizedError;
|
|
159
163
|
export declare const EventsBatch401: typeof UnauthorizedError;
|
|
160
164
|
export type EventsBatch403 = ForbiddenError;
|
|
@@ -204,7 +208,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
204
208
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
205
209
|
}>]>;
|
|
206
210
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
207
|
-
readonly "idempotency-key": Schema.optionalKey<Schema.
|
|
211
|
+
readonly "idempotency-key": Schema.optionalKey<Schema.String>;
|
|
208
212
|
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
209
213
|
readonly total: Schema.Finite;
|
|
210
214
|
readonly accepted: Schema.Finite;
|
|
@@ -251,6 +255,26 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
251
255
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
252
256
|
readonly message: Schema.String;
|
|
253
257
|
readonly retryAfterSeconds: Schema.Finite;
|
|
258
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
259
|
+
readonly _tag: "MalformedRequestError";
|
|
260
|
+
readonly message: string;
|
|
261
|
+
readonly fields: {
|
|
262
|
+
readonly [x: string]: readonly string[];
|
|
263
|
+
};
|
|
264
|
+
}, readonly [Schema.Struct<{
|
|
265
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
266
|
+
readonly message: Schema.String;
|
|
267
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
268
|
+
}>], {
|
|
269
|
+
readonly _tag: "MalformedRequestError";
|
|
270
|
+
readonly message: string;
|
|
271
|
+
readonly fields: {
|
|
272
|
+
readonly [x: string]: readonly string[];
|
|
273
|
+
};
|
|
274
|
+
}>, Schema.Struct<{
|
|
275
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
276
|
+
readonly message: Schema.String;
|
|
277
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
254
278
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
255
279
|
readonly _tag: "ResourceNotFoundError";
|
|
256
280
|
readonly resource: string;
|
|
@@ -321,7 +345,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
321
345
|
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
322
346
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
323
347
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
324
|
-
readonly "idempotency-key": Schema.optionalKey<Schema.
|
|
348
|
+
readonly "idempotency-key": Schema.optionalKey<Schema.String>;
|
|
325
349
|
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
326
350
|
readonly id: Schema.String;
|
|
327
351
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -390,6 +414,26 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
390
414
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
391
415
|
readonly message: Schema.String;
|
|
392
416
|
readonly retryAfterSeconds: Schema.Finite;
|
|
417
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
418
|
+
readonly _tag: "MalformedRequestError";
|
|
419
|
+
readonly message: string;
|
|
420
|
+
readonly fields: {
|
|
421
|
+
readonly [x: string]: readonly string[];
|
|
422
|
+
};
|
|
423
|
+
}, readonly [Schema.Struct<{
|
|
424
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
425
|
+
readonly message: Schema.String;
|
|
426
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
427
|
+
}>], {
|
|
428
|
+
readonly _tag: "MalformedRequestError";
|
|
429
|
+
readonly message: string;
|
|
430
|
+
readonly fields: {
|
|
431
|
+
readonly [x: string]: readonly string[];
|
|
432
|
+
};
|
|
433
|
+
}>, Schema.Struct<{
|
|
434
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
435
|
+
readonly message: Schema.String;
|
|
436
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
393
437
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<PaymentRequiredError, {
|
|
394
438
|
readonly _tag: "PaymentRequiredError";
|
|
395
439
|
readonly message: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
1
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
// src/effect/generated/events.ts
|
|
@@ -13,14 +13,15 @@ const BatchEventsResult = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
13
13
|
error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
14
14
|
}))
|
|
15
15
|
}).annotate({ identifier: "BatchEventsResult" }))();
|
|
16
|
-
const EventsCreateHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
16
|
+
const EventsCreateHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" }))) }))();
|
|
17
17
|
const EventsCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
18
18
|
contact: ContactEventReference,
|
|
19
|
-
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(
|
|
19
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$")).annotate({ expected: "a string matching the RegExp ^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$" })),
|
|
20
20
|
properties: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null])),
|
|
21
21
|
occurredAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
22
22
|
}))();
|
|
23
23
|
const EventsCreate200 = ContactEvent;
|
|
24
|
+
const EventsCreate400 = MalformedRequestError;
|
|
24
25
|
const EventsCreate401 = UnauthorizedError;
|
|
25
26
|
const EventsCreate402 = PaymentRequiredError;
|
|
26
27
|
const EventsCreate403 = ForbiddenError;
|
|
@@ -30,9 +31,10 @@ const EventsCreate422 = ValidationError;
|
|
|
30
31
|
const EventsCreate500 = InternalError;
|
|
31
32
|
const EventsCreate502 = BillingProviderError;
|
|
32
33
|
const EventsCreate504 = GatewayTimeoutError;
|
|
33
|
-
const EventsBatchHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
34
|
+
const EventsBatchHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" }))) }))();
|
|
34
35
|
const EventsBatchRequestJson = /* @__PURE__ */ (() => Schema.Struct({ events: Schema.TupleWithRest(Schema.Tuple([CreateEventPayload]), [CreateEventPayload]).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })) }))();
|
|
35
36
|
const EventsBatch200 = BatchEventsResult;
|
|
37
|
+
const EventsBatch400 = MalformedRequestError;
|
|
36
38
|
const EventsBatch401 = UnauthorizedError;
|
|
37
39
|
const EventsBatch403 = ForbiddenError;
|
|
38
40
|
const EventsBatch404 = ResourceNotFoundError;
|
|
@@ -44,6 +46,7 @@ var EventsGroup = class extends HttpApiGroup.make("Events").add(HttpApiEndpoint.
|
|
|
44
46
|
payload: EventsCreateRequestJson,
|
|
45
47
|
success: EventsCreate200,
|
|
46
48
|
error: [
|
|
49
|
+
EventsCreate400.pipe(HttpApiSchema.status(400)),
|
|
47
50
|
EventsCreate401.pipe(HttpApiSchema.status(401)),
|
|
48
51
|
EventsCreate402.pipe(HttpApiSchema.status(402)),
|
|
49
52
|
EventsCreate403.pipe(HttpApiSchema.status(403)),
|
|
@@ -59,6 +62,7 @@ var EventsGroup = class extends HttpApiGroup.make("Events").add(HttpApiEndpoint.
|
|
|
59
62
|
payload: EventsBatchRequestJson,
|
|
60
63
|
success: EventsBatch200,
|
|
61
64
|
error: [
|
|
65
|
+
EventsBatch400.pipe(HttpApiSchema.status(400)),
|
|
62
66
|
EventsBatch401.pipe(HttpApiSchema.status(401)),
|
|
63
67
|
EventsBatch403.pipe(HttpApiSchema.status(403)),
|
|
64
68
|
EventsBatch404.pipe(HttpApiSchema.status(404)),
|
|
@@ -67,6 +71,6 @@ var EventsGroup = class extends HttpApiGroup.make("Events").add(HttpApiEndpoint.
|
|
|
67
71
|
EventsBatch504.pipe(HttpApiSchema.status(504))
|
|
68
72
|
]
|
|
69
73
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "events.batch").annotate(OpenApi.Summary, "Record contact events in a batch").annotate(OpenApi.Description, "Validates the full request shape, contact references, and event names before processing. A schema failure rejects the entire batch without writes. Between 1 and 100 valid entries are then processed in input order, with independent indexed results for properties limits, contact resolution, and domain validation. An optional Idempotency-Key header scopes the batch; retries reuse each entry's original receipt by its position in the batch.")).annotate(OpenApi.Description, "Custom contact event ingestion") {};
|
|
70
|
-
export { BatchEventsResult, EventsBatch200, EventsBatch401, EventsBatch403, EventsBatch404, EventsBatch422, EventsBatch500, EventsBatch504, EventsBatchHeaders, EventsBatchRequestJson, EventsCreate200, EventsCreate401, EventsCreate402, EventsCreate403, EventsCreate404, EventsCreate409, EventsCreate422, EventsCreate500, EventsCreate502, EventsCreate504, EventsCreateHeaders, EventsCreateRequestJson, EventsGroup };
|
|
74
|
+
export { BatchEventsResult, EventsBatch200, EventsBatch400, EventsBatch401, EventsBatch403, EventsBatch404, EventsBatch422, EventsBatch500, EventsBatch504, EventsBatchHeaders, EventsBatchRequestJson, EventsCreate200, EventsCreate400, EventsCreate401, EventsCreate402, EventsCreate403, EventsCreate404, EventsCreate409, EventsCreate422, EventsCreate500, EventsCreate502, EventsCreate504, EventsCreateHeaders, EventsCreateRequestJson, EventsGroup };
|
|
71
75
|
|
|
72
76
|
//# sourceMappingURL=events.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, ConflictError,
|
|
4
|
+
import { ApiKeySecurityMiddleware, ConflictError, ExtensionId, ExtensionVersionId, ExtensionVersionRef, ForbiddenError, GatewayTimeoutError, InternalError, MailboxId, MalformedRequestError, NamespaceId, OrganizationId, ResourceNotFoundError, SuccessResponse, UnauthorizedError, UserId, ValidationError, WebhookEndpointId, __SamvaRuntimeSensitiveString } from "./shared";
|
|
5
5
|
export type ExtensionInstallationId = string & EffectBrand.Brand<"ExtensionInstallationId">;
|
|
6
6
|
export declare const ExtensionInstallationId: Schema.brand<Schema.String, "ExtensionInstallationId">;
|
|
7
7
|
export type ExtensionRunSummary = {
|
|
@@ -302,15 +302,15 @@ export declare const UpgradeExtensionResponse: Schema.Struct<{
|
|
|
302
302
|
}>;
|
|
303
303
|
export type ExtensionInstallationsListQuery = {
|
|
304
304
|
readonly limit?: number | null;
|
|
305
|
-
readonly cursor?:
|
|
306
|
-
readonly after?: string
|
|
307
|
-
readonly before?: string
|
|
305
|
+
readonly cursor?: string;
|
|
306
|
+
readonly after?: string;
|
|
307
|
+
readonly before?: string;
|
|
308
308
|
};
|
|
309
309
|
export declare const ExtensionInstallationsListQuery: Schema.Struct<{
|
|
310
310
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
311
|
-
readonly cursor: Schema.optionalKey<Schema.
|
|
312
|
-
readonly after: Schema.optionalKey<Schema.
|
|
313
|
-
readonly before: Schema.optionalKey<Schema.
|
|
311
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
312
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
313
|
+
readonly before: Schema.optionalKey<Schema.String>;
|
|
314
314
|
}>;
|
|
315
315
|
export type ExtensionInstallationsList200 = ExtensionInstallationPage;
|
|
316
316
|
export declare const ExtensionInstallationsList200: Schema.Struct<{
|
|
@@ -329,6 +329,8 @@ export declare const ExtensionInstallationsList200: Schema.Struct<{
|
|
|
329
329
|
}>>;
|
|
330
330
|
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
331
331
|
}>;
|
|
332
|
+
export type ExtensionInstallationsList400 = MalformedRequestError;
|
|
333
|
+
export declare const ExtensionInstallationsList400: typeof MalformedRequestError;
|
|
332
334
|
export type ExtensionInstallationsList401 = UnauthorizedError;
|
|
333
335
|
export declare const ExtensionInstallationsList401: typeof UnauthorizedError;
|
|
334
336
|
export type ExtensionInstallationsList403 = ForbiddenError;
|
|
@@ -392,6 +394,8 @@ export declare const ExtensionInstallationsInstall201: Schema.Struct<{
|
|
|
392
394
|
readonly webhookSecret: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
393
395
|
}>, Schema.Null]>;
|
|
394
396
|
}>;
|
|
397
|
+
export type ExtensionInstallationsInstall400 = MalformedRequestError;
|
|
398
|
+
export declare const ExtensionInstallationsInstall400: typeof MalformedRequestError;
|
|
395
399
|
export type ExtensionInstallationsInstall401 = UnauthorizedError;
|
|
396
400
|
export declare const ExtensionInstallationsInstall401: typeof UnauthorizedError;
|
|
397
401
|
export type ExtensionInstallationsInstall403 = ForbiddenError;
|
|
@@ -439,6 +443,8 @@ export declare const ExtensionInstallationsGet200: Schema.Struct<{
|
|
|
439
443
|
readonly updatedAt: Schema.String;
|
|
440
444
|
readonly disabledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
441
445
|
}>;
|
|
446
|
+
export type ExtensionInstallationsGet400 = MalformedRequestError;
|
|
447
|
+
export declare const ExtensionInstallationsGet400: typeof MalformedRequestError;
|
|
442
448
|
export type ExtensionInstallationsGet401 = UnauthorizedError;
|
|
443
449
|
export declare const ExtensionInstallationsGet401: typeof UnauthorizedError;
|
|
444
450
|
export type ExtensionInstallationsGet403 = ForbiddenError;
|
|
@@ -461,6 +467,8 @@ export type ExtensionInstallationsUninstall200 = SuccessResponse;
|
|
|
461
467
|
export declare const ExtensionInstallationsUninstall200: Schema.Struct<{
|
|
462
468
|
readonly success: Schema.Boolean;
|
|
463
469
|
}>;
|
|
470
|
+
export type ExtensionInstallationsUninstall400 = MalformedRequestError;
|
|
471
|
+
export declare const ExtensionInstallationsUninstall400: typeof MalformedRequestError;
|
|
464
472
|
export type ExtensionInstallationsUninstall401 = UnauthorizedError;
|
|
465
473
|
export declare const ExtensionInstallationsUninstall401: typeof UnauthorizedError;
|
|
466
474
|
export type ExtensionInstallationsUninstall403 = ForbiddenError;
|
|
@@ -508,6 +516,8 @@ export declare const ExtensionInstallationsDisable200: Schema.Struct<{
|
|
|
508
516
|
readonly updatedAt: Schema.String;
|
|
509
517
|
readonly disabledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
510
518
|
}>;
|
|
519
|
+
export type ExtensionInstallationsDisable400 = MalformedRequestError;
|
|
520
|
+
export declare const ExtensionInstallationsDisable400: typeof MalformedRequestError;
|
|
511
521
|
export type ExtensionInstallationsDisable401 = UnauthorizedError;
|
|
512
522
|
export declare const ExtensionInstallationsDisable401: typeof UnauthorizedError;
|
|
513
523
|
export type ExtensionInstallationsDisable403 = ForbiddenError;
|
|
@@ -555,6 +565,8 @@ export declare const ExtensionInstallationsEnable200: Schema.Struct<{
|
|
|
555
565
|
readonly updatedAt: Schema.String;
|
|
556
566
|
readonly disabledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
557
567
|
}>;
|
|
568
|
+
export type ExtensionInstallationsEnable400 = MalformedRequestError;
|
|
569
|
+
export declare const ExtensionInstallationsEnable400: typeof MalformedRequestError;
|
|
558
570
|
export type ExtensionInstallationsEnable401 = UnauthorizedError;
|
|
559
571
|
export declare const ExtensionInstallationsEnable401: typeof UnauthorizedError;
|
|
560
572
|
export type ExtensionInstallationsEnable403 = ForbiddenError;
|
|
@@ -588,6 +600,8 @@ export declare const ExtensionInstallationsListRuns200: Schema.Struct<{
|
|
|
588
600
|
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
589
601
|
}>>;
|
|
590
602
|
}>;
|
|
603
|
+
export type ExtensionInstallationsListRuns400 = MalformedRequestError;
|
|
604
|
+
export declare const ExtensionInstallationsListRuns400: typeof MalformedRequestError;
|
|
591
605
|
export type ExtensionInstallationsListRuns401 = UnauthorizedError;
|
|
592
606
|
export declare const ExtensionInstallationsListRuns401: typeof UnauthorizedError;
|
|
593
607
|
export type ExtensionInstallationsListRuns403 = ForbiddenError;
|
|
@@ -620,6 +634,8 @@ export declare const ExtensionInstallationsGetRun200: Schema.Struct<{
|
|
|
620
634
|
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
621
635
|
readonly logs: Schema.$Array<Schema.String>;
|
|
622
636
|
}>;
|
|
637
|
+
export type ExtensionInstallationsGetRun400 = MalformedRequestError;
|
|
638
|
+
export declare const ExtensionInstallationsGetRun400: typeof MalformedRequestError;
|
|
623
639
|
export type ExtensionInstallationsGetRun401 = UnauthorizedError;
|
|
624
640
|
export declare const ExtensionInstallationsGetRun401: typeof UnauthorizedError;
|
|
625
641
|
export type ExtensionInstallationsGetRun403 = ForbiddenError;
|
|
@@ -710,6 +726,8 @@ export declare const ExtensionInstallationsUpgrade200: Schema.Struct<{
|
|
|
710
726
|
readonly changedAt: Schema.String;
|
|
711
727
|
}>, Schema.Null]>;
|
|
712
728
|
}>;
|
|
729
|
+
export type ExtensionInstallationsUpgrade400 = MalformedRequestError;
|
|
730
|
+
export declare const ExtensionInstallationsUpgrade400: typeof MalformedRequestError;
|
|
713
731
|
export type ExtensionInstallationsUpgrade401 = UnauthorizedError;
|
|
714
732
|
export declare const ExtensionInstallationsUpgrade401: typeof UnauthorizedError;
|
|
715
733
|
export type ExtensionInstallationsUpgrade403 = ForbiddenError;
|
|
@@ -799,6 +817,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
799
817
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
800
818
|
readonly message: Schema.String;
|
|
801
819
|
readonly retryAfterSeconds: Schema.Finite;
|
|
820
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
821
|
+
readonly _tag: "MalformedRequestError";
|
|
822
|
+
readonly message: string;
|
|
823
|
+
readonly fields: {
|
|
824
|
+
readonly [x: string]: readonly string[];
|
|
825
|
+
};
|
|
826
|
+
}, readonly [Schema.Struct<{
|
|
827
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
828
|
+
readonly message: Schema.String;
|
|
829
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
830
|
+
}>], {
|
|
831
|
+
readonly _tag: "MalformedRequestError";
|
|
832
|
+
readonly message: string;
|
|
833
|
+
readonly fields: {
|
|
834
|
+
readonly [x: string]: readonly string[];
|
|
835
|
+
};
|
|
836
|
+
}>, Schema.Struct<{
|
|
837
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
838
|
+
readonly message: Schema.String;
|
|
839
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
802
840
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
803
841
|
readonly _tag: "ResourceNotFoundError";
|
|
804
842
|
readonly resource: string;
|
|
@@ -926,6 +964,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
926
964
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
927
965
|
readonly message: Schema.String;
|
|
928
966
|
readonly retryAfterSeconds: Schema.Finite;
|
|
967
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
968
|
+
readonly _tag: "MalformedRequestError";
|
|
969
|
+
readonly message: string;
|
|
970
|
+
readonly fields: {
|
|
971
|
+
readonly [x: string]: readonly string[];
|
|
972
|
+
};
|
|
973
|
+
}, readonly [Schema.Struct<{
|
|
974
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
975
|
+
readonly message: Schema.String;
|
|
976
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
977
|
+
}>], {
|
|
978
|
+
readonly _tag: "MalformedRequestError";
|
|
979
|
+
readonly message: string;
|
|
980
|
+
readonly fields: {
|
|
981
|
+
readonly [x: string]: readonly string[];
|
|
982
|
+
};
|
|
983
|
+
}>, Schema.Struct<{
|
|
984
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
985
|
+
readonly message: Schema.String;
|
|
986
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
929
987
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
930
988
|
readonly _tag: "ResourceNotFoundError";
|
|
931
989
|
readonly resource: string;
|
|
@@ -1033,6 +1091,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1033
1091
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1034
1092
|
readonly message: Schema.String;
|
|
1035
1093
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1094
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1095
|
+
readonly _tag: "MalformedRequestError";
|
|
1096
|
+
readonly message: string;
|
|
1097
|
+
readonly fields: {
|
|
1098
|
+
readonly [x: string]: readonly string[];
|
|
1099
|
+
};
|
|
1100
|
+
}, readonly [Schema.Struct<{
|
|
1101
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1102
|
+
readonly message: Schema.String;
|
|
1103
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1104
|
+
}>], {
|
|
1105
|
+
readonly _tag: "MalformedRequestError";
|
|
1106
|
+
readonly message: string;
|
|
1107
|
+
readonly fields: {
|
|
1108
|
+
readonly [x: string]: readonly string[];
|
|
1109
|
+
};
|
|
1110
|
+
}>, Schema.Struct<{
|
|
1111
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1112
|
+
readonly message: Schema.String;
|
|
1113
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1036
1114
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1037
1115
|
readonly _tag: "ResourceNotFoundError";
|
|
1038
1116
|
readonly resource: string;
|
|
@@ -1126,6 +1204,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1126
1204
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1127
1205
|
readonly message: Schema.String;
|
|
1128
1206
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1207
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1208
|
+
readonly _tag: "MalformedRequestError";
|
|
1209
|
+
readonly message: string;
|
|
1210
|
+
readonly fields: {
|
|
1211
|
+
readonly [x: string]: readonly string[];
|
|
1212
|
+
};
|
|
1213
|
+
}, readonly [Schema.Struct<{
|
|
1214
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1215
|
+
readonly message: Schema.String;
|
|
1216
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1217
|
+
}>], {
|
|
1218
|
+
readonly _tag: "MalformedRequestError";
|
|
1219
|
+
readonly message: string;
|
|
1220
|
+
readonly fields: {
|
|
1221
|
+
readonly [x: string]: readonly string[];
|
|
1222
|
+
};
|
|
1223
|
+
}>, Schema.Struct<{
|
|
1224
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1225
|
+
readonly message: Schema.String;
|
|
1226
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1129
1227
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1130
1228
|
readonly _tag: "ResourceNotFoundError";
|
|
1131
1229
|
readonly resource: string;
|
|
@@ -1265,6 +1363,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1265
1363
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1266
1364
|
readonly message: Schema.String;
|
|
1267
1365
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1366
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1367
|
+
readonly _tag: "MalformedRequestError";
|
|
1368
|
+
readonly message: string;
|
|
1369
|
+
readonly fields: {
|
|
1370
|
+
readonly [x: string]: readonly string[];
|
|
1371
|
+
};
|
|
1372
|
+
}, readonly [Schema.Struct<{
|
|
1373
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1374
|
+
readonly message: Schema.String;
|
|
1375
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1376
|
+
}>], {
|
|
1377
|
+
readonly _tag: "MalformedRequestError";
|
|
1378
|
+
readonly message: string;
|
|
1379
|
+
readonly fields: {
|
|
1380
|
+
readonly [x: string]: readonly string[];
|
|
1381
|
+
};
|
|
1382
|
+
}>, Schema.Struct<{
|
|
1383
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1384
|
+
readonly message: Schema.String;
|
|
1385
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1268
1386
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1269
1387
|
readonly _tag: "ResourceNotFoundError";
|
|
1270
1388
|
readonly resource: string;
|
|
@@ -1319,9 +1437,9 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1319
1437
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
1320
1438
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"extensionInstallationsList", "GET", "/v1/extension-installations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1321
1439
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1322
|
-
readonly cursor: Schema.optionalKey<Schema.
|
|
1323
|
-
readonly after: Schema.optionalKey<Schema.
|
|
1324
|
-
readonly before: Schema.optionalKey<Schema.
|
|
1440
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
1441
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1442
|
+
readonly before: Schema.optionalKey<Schema.String>;
|
|
1325
1443
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1326
1444
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1327
1445
|
readonly id: Schema.brand<Schema.String, "ExtensionInstallationId">;
|
|
@@ -1365,6 +1483,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1365
1483
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1366
1484
|
readonly message: Schema.String;
|
|
1367
1485
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1486
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1487
|
+
readonly _tag: "MalformedRequestError";
|
|
1488
|
+
readonly message: string;
|
|
1489
|
+
readonly fields: {
|
|
1490
|
+
readonly [x: string]: readonly string[];
|
|
1491
|
+
};
|
|
1492
|
+
}, readonly [Schema.Struct<{
|
|
1493
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1494
|
+
readonly message: Schema.String;
|
|
1495
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1496
|
+
}>], {
|
|
1497
|
+
readonly _tag: "MalformedRequestError";
|
|
1498
|
+
readonly message: string;
|
|
1499
|
+
readonly fields: {
|
|
1500
|
+
readonly [x: string]: readonly string[];
|
|
1501
|
+
};
|
|
1502
|
+
}>, Schema.Struct<{
|
|
1503
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1504
|
+
readonly message: Schema.String;
|
|
1505
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1368
1506
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1369
1507
|
readonly _tag: "ResourceNotFoundError";
|
|
1370
1508
|
readonly resource: string;
|
|
@@ -1458,6 +1596,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1458
1596
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1459
1597
|
readonly message: Schema.String;
|
|
1460
1598
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1599
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1600
|
+
readonly _tag: "MalformedRequestError";
|
|
1601
|
+
readonly message: string;
|
|
1602
|
+
readonly fields: {
|
|
1603
|
+
readonly [x: string]: readonly string[];
|
|
1604
|
+
};
|
|
1605
|
+
}, readonly [Schema.Struct<{
|
|
1606
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1607
|
+
readonly message: Schema.String;
|
|
1608
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1609
|
+
}>], {
|
|
1610
|
+
readonly _tag: "MalformedRequestError";
|
|
1611
|
+
readonly message: string;
|
|
1612
|
+
readonly fields: {
|
|
1613
|
+
readonly [x: string]: readonly string[];
|
|
1614
|
+
};
|
|
1615
|
+
}>, Schema.Struct<{
|
|
1616
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1617
|
+
readonly message: Schema.String;
|
|
1618
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1461
1619
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1462
1620
|
readonly _tag: "ResourceNotFoundError";
|
|
1463
1621
|
readonly resource: string;
|
|
@@ -1562,6 +1720,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1562
1720
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1563
1721
|
readonly message: Schema.String;
|
|
1564
1722
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1723
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1724
|
+
readonly _tag: "MalformedRequestError";
|
|
1725
|
+
readonly message: string;
|
|
1726
|
+
readonly fields: {
|
|
1727
|
+
readonly [x: string]: readonly string[];
|
|
1728
|
+
};
|
|
1729
|
+
}, readonly [Schema.Struct<{
|
|
1730
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1731
|
+
readonly message: Schema.String;
|
|
1732
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1733
|
+
}>], {
|
|
1734
|
+
readonly _tag: "MalformedRequestError";
|
|
1735
|
+
readonly message: string;
|
|
1736
|
+
readonly fields: {
|
|
1737
|
+
readonly [x: string]: readonly string[];
|
|
1738
|
+
};
|
|
1739
|
+
}>, Schema.Struct<{
|
|
1740
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1741
|
+
readonly message: Schema.String;
|
|
1742
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1565
1743
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1566
1744
|
readonly _tag: "ResourceNotFoundError";
|
|
1567
1745
|
readonly resource: string;
|
|
@@ -1728,6 +1906,26 @@ declare const ExtensionInstallationsGroup_base: HttpApiGroup.HttpApiGroup<"Exten
|
|
|
1728
1906
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
1729
1907
|
readonly message: Schema.String;
|
|
1730
1908
|
readonly retryAfterSeconds: Schema.Finite;
|
|
1909
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
1910
|
+
readonly _tag: "MalformedRequestError";
|
|
1911
|
+
readonly message: string;
|
|
1912
|
+
readonly fields: {
|
|
1913
|
+
readonly [x: string]: readonly string[];
|
|
1914
|
+
};
|
|
1915
|
+
}, readonly [Schema.Struct<{
|
|
1916
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1917
|
+
readonly message: Schema.String;
|
|
1918
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1919
|
+
}>], {
|
|
1920
|
+
readonly _tag: "MalformedRequestError";
|
|
1921
|
+
readonly message: string;
|
|
1922
|
+
readonly fields: {
|
|
1923
|
+
readonly [x: string]: readonly string[];
|
|
1924
|
+
};
|
|
1925
|
+
}>, Schema.Struct<{
|
|
1926
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
1927
|
+
readonly message: Schema.String;
|
|
1928
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
1731
1929
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
1732
1930
|
readonly _tag: "ResourceNotFoundError";
|
|
1733
1931
|
readonly resource: string;
|