samva 0.34.0 → 0.36.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 +17 -0
- package/README.md +2 -1
- package/dist/client/sdk.gen.d.ts +325 -331
- package/dist/client/sdk.gen.js +406 -454
- package/dist/client/types.gen.d.ts +3465 -750
- package/dist/effect/agents.d.ts +222 -17
- package/dist/effect/agents.js +7 -1
- package/dist/effect/analytics.d.ts +21 -15
- package/dist/effect/api-keys.d.ts +30 -24
- package/dist/effect/campaigns.d.ts +695 -39
- 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 +51 -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 +64 -12
- package/dist/effect/extensions.d.ts +16 -16
- package/dist/effect/generated/agents.d.ts +2902 -150
- package/dist/effect/generated/agents.js +219 -31
- package/dist/effect/generated/analytics.d.ts +127 -136
- package/dist/effect/generated/analytics.js +72 -37
- package/dist/effect/generated/api-keys.d.ts +243 -47
- package/dist/effect/generated/api-keys.js +27 -12
- 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 +1467 -143
- package/dist/effect/generated/campaigns.js +84 -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 +501 -108
- package/dist/effect/generated/conversations.js +106 -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 +1052 -77
- package/dist/effect/generated/extension-installations.js +45 -31
- 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/index.d.ts +3 -1
- package/dist/effect/generated/journeys.d.ts +684 -16
- package/dist/effect/generated/journeys.js +37 -9
- package/dist/effect/generated/mailboxes.d.ts +6169 -1734
- package/dist/effect/generated/mailboxes.js +549 -344
- 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 +215 -55
- package/dist/effect/generated/namespaces.js +30 -12
- 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/policies.d.ts +953 -0
- package/dist/effect/generated/policies.js +116 -0
- package/dist/effect/generated/scheduled-messages.d.ts +4418 -49
- package/dist/effect/generated/scheduled-messages.js +77 -13
- package/dist/effect/generated/shared.d.ts +3213 -521
- package/dist/effect/generated/shared.js +713 -128
- package/dist/effect/generated/subscriptions.d.ts +23 -1
- package/dist/effect/generated/subscriptions.js +6 -4
- package/dist/effect/generated/templates.d.ts +2081 -693
- package/dist/effect/generated/templates.js +482 -267
- 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 +318 -57
- package/dist/effect/generated/webhooks.js +68 -17
- package/dist/effect/generated/whoami.d.ts +35 -5
- package/dist/effect/generated/whoami.js +4 -2
- package/dist/effect/generated-metadata.d.ts +56 -32
- package/dist/effect/generated-metadata.js +137 -105
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -2
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/operation.js +5 -32
- package/dist/effect/internal/send.d.ts +1 -1
- package/dist/effect/journeys.d.ts +169 -83
- package/dist/effect/mailboxes.d.ts +978 -301
- package/dist/effect/mailboxes.js +1 -11
- 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/policies.d.ts +65 -0
- package/dist/effect/policies.js +16 -0
- package/dist/effect/scheduled-messages.d.ts +869 -8
- package/dist/effect/templates.d.ts +43 -45
- package/dist/effect/templates.js +5 -3
- package/dist/effect/topics.d.ts +23 -23
- package/dist/effect/webhooks.d.ts +29 -26
- package/dist/index.js +2 -2
- package/dist/mailbox/test.js +11 -4
- package/dist/mailbox/types.d.ts +39 -3
- package/dist/normalize.js +13 -1
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +4 -2
- package/dist/promises/client.js +5 -3
- package/dist/promises/errors.gen.d.ts +38 -2
- package/dist/promises/errors.gen.js +394 -34
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +39 -28
- package/dist/service-map.js +220 -782
- package/package.json +13 -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
|