samva 0.26.0 → 0.28.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 +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactGroupId, ContactId, ContactIdentity, ContactIdentityId, ConversationId, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
1
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactGroupId, ContactId, ContactIdentity, ContactIdentityId, ConversationId, Cursor, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, TopicId, 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
|
//#region src/effect/generated/contacts.ts
|
|
@@ -31,6 +31,10 @@ const ContactPreferences = /* @__PURE__ */ Schema.Struct({
|
|
|
31
31
|
}), Schema.Null]))
|
|
32
32
|
}), Schema.Null]))
|
|
33
33
|
}).annotate({ identifier: "ContactPreferences" });
|
|
34
|
+
const ContactImportJobId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^cimport_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
35
|
+
expected: "a string matching the RegExp ^cimport_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
36
|
+
identifier: "ContactImportJobId"
|
|
37
|
+
})).pipe(Schema.brand("ContactImportJobId"));
|
|
34
38
|
const BulkUpdateResult = /* @__PURE__ */ Schema.Struct({
|
|
35
39
|
updated: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
36
40
|
failed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
@@ -156,11 +160,85 @@ const Contact = /* @__PURE__ */ Schema.Struct({
|
|
|
156
160
|
preferences: Schema.Union([ContactPreferences, Schema.Null]),
|
|
157
161
|
tags: Schema.Array(Schema.String),
|
|
158
162
|
metadata: Schema.Union([JsonObject, Schema.Null]),
|
|
163
|
+
importProvenance: Schema.Union([Schema.Struct({
|
|
164
|
+
first: Schema.Struct({
|
|
165
|
+
jobId: ContactImportJobId,
|
|
166
|
+
topicId: TopicId,
|
|
167
|
+
preset: Schema.Union([
|
|
168
|
+
Schema.Literal("beehiiv"),
|
|
169
|
+
Schema.Literal("substack"),
|
|
170
|
+
Schema.Literal("kit"),
|
|
171
|
+
Schema.Literal("mailchimp")
|
|
172
|
+
]),
|
|
173
|
+
importedAt: Schema.String,
|
|
174
|
+
summary: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
175
|
+
signupAt: Schema.Union([Schema.Struct({
|
|
176
|
+
value: Schema.String.check(Schema.isMaxCodePoints(160).annotate({ expected: "a string with at most 160 code points" })).check(Schema.isMaxLength(160).annotate({ expected: "a value with a length of at most 160" })),
|
|
177
|
+
kind: Schema.Union([Schema.Literal("time"), Schema.Literal("text")])
|
|
178
|
+
}), Schema.Null]),
|
|
179
|
+
sources: Schema.Array(Schema.String.check(Schema.isMaxCodePoints(160).annotate({ expected: "a string with at most 160 code points" })).check(Schema.isMaxLength(160).annotate({ expected: "a value with a length of at most 160" }))).check(Schema.isMaxLength(8).annotate({ expected: "a value with a length of at most 8" })),
|
|
180
|
+
omittedSources: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
181
|
+
}), Schema.Null])),
|
|
182
|
+
evidence: Schema.Array(Schema.Struct({
|
|
183
|
+
file: Schema.String,
|
|
184
|
+
row: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
185
|
+
declared: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
186
|
+
kind: Schema.Literal("export_scope"),
|
|
187
|
+
scope: Schema.Union([
|
|
188
|
+
Schema.Literal("subscribed"),
|
|
189
|
+
Schema.Literal("unsubscribed"),
|
|
190
|
+
Schema.Literal("suppressed"),
|
|
191
|
+
Schema.Literal("cleaned/bounced")
|
|
192
|
+
])
|
|
193
|
+
})]),
|
|
194
|
+
suppressionFree: Schema.Boolean,
|
|
195
|
+
sourceStatus: Schema.Union([Schema.String, Schema.Null]),
|
|
196
|
+
signupAt: Schema.Union([Schema.String, Schema.Null]),
|
|
197
|
+
source: Schema.Union([Schema.String, Schema.Null])
|
|
198
|
+
}))
|
|
199
|
+
}),
|
|
200
|
+
latest: Schema.Struct({
|
|
201
|
+
jobId: ContactImportJobId,
|
|
202
|
+
topicId: TopicId,
|
|
203
|
+
preset: Schema.Union([
|
|
204
|
+
Schema.Literal("beehiiv"),
|
|
205
|
+
Schema.Literal("substack"),
|
|
206
|
+
Schema.Literal("kit"),
|
|
207
|
+
Schema.Literal("mailchimp")
|
|
208
|
+
]),
|
|
209
|
+
importedAt: Schema.String,
|
|
210
|
+
summary: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
211
|
+
signupAt: Schema.Union([Schema.Struct({
|
|
212
|
+
value: Schema.String.check(Schema.isMaxCodePoints(160).annotate({ expected: "a string with at most 160 code points" })).check(Schema.isMaxLength(160).annotate({ expected: "a value with a length of at most 160" })),
|
|
213
|
+
kind: Schema.Union([Schema.Literal("time"), Schema.Literal("text")])
|
|
214
|
+
}), Schema.Null]),
|
|
215
|
+
sources: Schema.Array(Schema.String.check(Schema.isMaxCodePoints(160).annotate({ expected: "a string with at most 160 code points" })).check(Schema.isMaxLength(160).annotate({ expected: "a value with a length of at most 160" }))).check(Schema.isMaxLength(8).annotate({ expected: "a value with a length of at most 8" })),
|
|
216
|
+
omittedSources: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
217
|
+
}), Schema.Null])),
|
|
218
|
+
evidence: Schema.Array(Schema.Struct({
|
|
219
|
+
file: Schema.String,
|
|
220
|
+
row: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
221
|
+
declared: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
222
|
+
kind: Schema.Literal("export_scope"),
|
|
223
|
+
scope: Schema.Union([
|
|
224
|
+
Schema.Literal("subscribed"),
|
|
225
|
+
Schema.Literal("unsubscribed"),
|
|
226
|
+
Schema.Literal("suppressed"),
|
|
227
|
+
Schema.Literal("cleaned/bounced")
|
|
228
|
+
])
|
|
229
|
+
})]),
|
|
230
|
+
suppressionFree: Schema.Boolean,
|
|
231
|
+
sourceStatus: Schema.Union([Schema.String, Schema.Null]),
|
|
232
|
+
signupAt: Schema.Union([Schema.String, Schema.Null]),
|
|
233
|
+
source: Schema.Union([Schema.String, Schema.Null])
|
|
234
|
+
}))
|
|
235
|
+
})
|
|
236
|
+
}), Schema.Null]),
|
|
159
237
|
createdAt: Schema.String,
|
|
160
238
|
updatedAt: Schema.String
|
|
161
239
|
}).annotate({ identifier: "Contact" });
|
|
162
240
|
const ContactsListQuery = /* @__PURE__ */ Schema.Struct({
|
|
163
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
241
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
164
242
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
165
243
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
166
244
|
search: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -256,7 +334,7 @@ const ContactsUpdate502 = BillingProviderError;
|
|
|
256
334
|
const ContactsUpdate504 = GatewayTimeoutError;
|
|
257
335
|
const ContactsGetActivityTimelinePathParams = /* @__PURE__ */ Schema.Struct({ id: ContactId });
|
|
258
336
|
const ContactsGetActivityTimelineQuery = /* @__PURE__ */ Schema.Struct({
|
|
259
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
337
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
260
338
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
261
339
|
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null]))
|
|
262
340
|
});
|
|
@@ -284,7 +362,7 @@ const ContactsGetEngagement500 = InternalError;
|
|
|
284
362
|
const ContactsGetEngagement504 = GatewayTimeoutError;
|
|
285
363
|
const ContactsGetGroupMembershipsPathParams = /* @__PURE__ */ Schema.Struct({ id: ContactId });
|
|
286
364
|
const ContactsGetGroupMembershipsQuery = /* @__PURE__ */ Schema.Struct({
|
|
287
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
365
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
288
366
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
|
|
289
367
|
});
|
|
290
368
|
const ContactsGetGroupMemberships200 = ContactGroupMembershipPage;
|
|
@@ -355,7 +433,7 @@ const ContactsRemoveTags404 = ResourceNotFoundError;
|
|
|
355
433
|
const ContactsRemoveTags422 = ValidationError;
|
|
356
434
|
const ContactsRemoveTags500 = InternalError;
|
|
357
435
|
const ContactsRemoveTags504 = GatewayTimeoutError;
|
|
358
|
-
const ContactsBulkDeleteRequestJson = /* @__PURE__ */ Schema.Struct({ ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]) });
|
|
436
|
+
const ContactsBulkDeleteRequestJson = /* @__PURE__ */ Schema.Struct({ ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })) });
|
|
359
437
|
const ContactsBulkDelete200 = /* @__PURE__ */ Schema.Struct({
|
|
360
438
|
deleted: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
361
439
|
failed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
@@ -366,56 +444,8 @@ const ContactsBulkDelete422 = ValidationError;
|
|
|
366
444
|
const ContactsBulkDelete500 = InternalError;
|
|
367
445
|
const ContactsBulkDelete502 = BillingProviderError;
|
|
368
446
|
const ContactsBulkDelete504 = GatewayTimeoutError;
|
|
369
|
-
const ContactsBulkImportRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
370
|
-
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
371
|
-
contacts: Schema.Array(Schema.Struct({
|
|
372
|
-
name: Schema.String,
|
|
373
|
-
displayName: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
374
|
-
avatar: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
375
|
-
identities: Schema.optionalKey(Schema.Union([Schema.Array(ContactIdentityInput), Schema.Null])),
|
|
376
|
-
profile: Schema.optionalKey(Schema.Union([Schema.Union([ContactProfile, Schema.Null]), Schema.Null])),
|
|
377
|
-
preferences: Schema.optionalKey(Schema.Union([Schema.Union([ContactPreferences, Schema.Null]), Schema.Null])),
|
|
378
|
-
tags: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
379
|
-
status: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
380
|
-
Schema.Literal("active"),
|
|
381
|
-
Schema.Literal("paused"),
|
|
382
|
-
Schema.Literal("blocked"),
|
|
383
|
-
Schema.Literal("archived")
|
|
384
|
-
]), Schema.Null])),
|
|
385
|
-
statusReason: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
386
|
-
externalId: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
387
|
-
metadata: Schema.optionalKey(Schema.Union([Schema.Union([JsonObject, Schema.Null]), Schema.Null]))
|
|
388
|
-
})),
|
|
389
|
-
onConflict: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("skip"), Schema.Literal("update")]), Schema.Null]))
|
|
390
|
-
});
|
|
391
|
-
const ContactsBulkImport200 = /* @__PURE__ */ Schema.Struct({
|
|
392
|
-
total: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
393
|
-
created: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
394
|
-
updated: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
395
|
-
skipped: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
396
|
-
errors: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
397
|
-
results: Schema.Array(Schema.Struct({
|
|
398
|
-
index: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
399
|
-
status: Schema.Union([
|
|
400
|
-
Schema.Literal("created"),
|
|
401
|
-
Schema.Literal("updated"),
|
|
402
|
-
Schema.Literal("skipped"),
|
|
403
|
-
Schema.Literal("error")
|
|
404
|
-
]),
|
|
405
|
-
contactId: Schema.optionalKey(Schema.Union([ContactId, Schema.Null])),
|
|
406
|
-
error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
407
|
-
}))
|
|
408
|
-
});
|
|
409
|
-
const ContactsBulkImport401 = UnauthorizedError;
|
|
410
|
-
const ContactsBulkImport402 = PaymentRequiredError;
|
|
411
|
-
const ContactsBulkImport403 = ForbiddenError;
|
|
412
|
-
const ContactsBulkImport404 = ResourceNotFoundError;
|
|
413
|
-
const ContactsBulkImport422 = ValidationError;
|
|
414
|
-
const ContactsBulkImport500 = InternalError;
|
|
415
|
-
const ContactsBulkImport502 = BillingProviderError;
|
|
416
|
-
const ContactsBulkImport504 = GatewayTimeoutError;
|
|
417
447
|
const ContactsBulkUpdateStatusRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
418
|
-
ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]),
|
|
448
|
+
ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })),
|
|
419
449
|
status: Schema.Union([
|
|
420
450
|
Schema.Literal("active"),
|
|
421
451
|
Schema.Literal("paused"),
|
|
@@ -432,7 +462,7 @@ const ContactsBulkUpdateStatus500 = InternalError;
|
|
|
432
462
|
const ContactsBulkUpdateStatus502 = BillingProviderError;
|
|
433
463
|
const ContactsBulkUpdateStatus504 = GatewayTimeoutError;
|
|
434
464
|
const ContactsBulkUpdateTagsRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
435
|
-
ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]),
|
|
465
|
+
ids: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })),
|
|
436
466
|
operation: Schema.Union([
|
|
437
467
|
Schema.Literal("add"),
|
|
438
468
|
Schema.Literal("remove"),
|
|
@@ -447,7 +477,7 @@ const ContactsBulkUpdateTags422 = ValidationError;
|
|
|
447
477
|
const ContactsBulkUpdateTags500 = InternalError;
|
|
448
478
|
const ContactsBulkUpdateTags504 = GatewayTimeoutError;
|
|
449
479
|
const ContactsExportRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
450
|
-
ids: Schema.optionalKey(Schema.Union([Schema.Array(ContactId), Schema.Null])),
|
|
480
|
+
ids: Schema.optionalKey(Schema.Union([Schema.Array(ContactId).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })), Schema.Null])),
|
|
451
481
|
format: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("json"), Schema.Literal("csv")]), Schema.Null])),
|
|
452
482
|
filters: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
453
483
|
status: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
@@ -509,6 +539,221 @@ const ContactsFindOrCreate422 = ValidationError;
|
|
|
509
539
|
const ContactsFindOrCreate500 = InternalError;
|
|
510
540
|
const ContactsFindOrCreate502 = BillingProviderError;
|
|
511
541
|
const ContactsFindOrCreate504 = GatewayTimeoutError;
|
|
542
|
+
const ContactsStartImportRequestJson = /* @__PURE__ */ Schema.Union([Schema.Struct({
|
|
543
|
+
mode: Schema.Literal("new"),
|
|
544
|
+
input: Schema.Struct({
|
|
545
|
+
preset: Schema.Union([
|
|
546
|
+
Schema.Literal("beehiiv"),
|
|
547
|
+
Schema.Literal("substack"),
|
|
548
|
+
Schema.Literal("kit"),
|
|
549
|
+
Schema.Literal("mailchimp")
|
|
550
|
+
]),
|
|
551
|
+
topicId: TopicId,
|
|
552
|
+
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
553
|
+
files: Schema.TupleWithRest(Schema.Tuple([Schema.Struct({
|
|
554
|
+
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.isBetweenLength(1, 255).annotate({ expected: "a value with a length between 1 and 255" })),
|
|
555
|
+
csv: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
556
|
+
evidence: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
557
|
+
kind: Schema.Literal("export_scope"),
|
|
558
|
+
scope: Schema.Union([
|
|
559
|
+
Schema.Literal("subscribed"),
|
|
560
|
+
Schema.Literal("unsubscribed"),
|
|
561
|
+
Schema.Literal("suppressed"),
|
|
562
|
+
Schema.Literal("cleaned/bounced")
|
|
563
|
+
])
|
|
564
|
+
})]),
|
|
565
|
+
suppressionFree: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "The operator declares this beehiiv export was filtered to Suppression does not exist." }))
|
|
566
|
+
})]), [Schema.Struct({
|
|
567
|
+
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.isBetweenLength(1, 255).annotate({ expected: "a value with a length between 1 and 255" })),
|
|
568
|
+
csv: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
569
|
+
evidence: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
570
|
+
kind: Schema.Literal("export_scope"),
|
|
571
|
+
scope: Schema.Union([
|
|
572
|
+
Schema.Literal("subscribed"),
|
|
573
|
+
Schema.Literal("unsubscribed"),
|
|
574
|
+
Schema.Literal("suppressed"),
|
|
575
|
+
Schema.Literal("cleaned/bounced")
|
|
576
|
+
])
|
|
577
|
+
})]),
|
|
578
|
+
suppressionFree: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "The operator declares this beehiiv export was filtered to Suppression does not exist." }))
|
|
579
|
+
})]).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" }))
|
|
580
|
+
}),
|
|
581
|
+
planHash: Schema.String,
|
|
582
|
+
idempotencyKey: 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.isBetweenLength(1, 255).annotate({ expected: "a value with a length between 1 and 255" }))
|
|
583
|
+
}), Schema.Struct({
|
|
584
|
+
mode: Schema.Literal("resume"),
|
|
585
|
+
jobId: ContactImportJobId,
|
|
586
|
+
expectedGeneration: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
587
|
+
})]);
|
|
588
|
+
const ContactsStartImport202 = /* @__PURE__ */ Schema.Struct({
|
|
589
|
+
id: ContactImportJobId,
|
|
590
|
+
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
591
|
+
topicId: TopicId,
|
|
592
|
+
preset: Schema.Union([
|
|
593
|
+
Schema.Literal("beehiiv"),
|
|
594
|
+
Schema.Literal("substack"),
|
|
595
|
+
Schema.Literal("kit"),
|
|
596
|
+
Schema.Literal("mailchimp")
|
|
597
|
+
]),
|
|
598
|
+
status: Schema.Union([
|
|
599
|
+
Schema.Literal("queued"),
|
|
600
|
+
Schema.Literal("running"),
|
|
601
|
+
Schema.Literal("finalizing"),
|
|
602
|
+
Schema.Literal("completed"),
|
|
603
|
+
Schema.Literal("failed")
|
|
604
|
+
]),
|
|
605
|
+
generation: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
606
|
+
counts: Schema.Struct({
|
|
607
|
+
totalRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
608
|
+
uniqueAddresses: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
609
|
+
subscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
610
|
+
unsubscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
611
|
+
suppressed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
612
|
+
skipped: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
613
|
+
conflicts: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
614
|
+
created: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
615
|
+
existing: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
616
|
+
}),
|
|
617
|
+
processedRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
618
|
+
totalRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
619
|
+
createdAt: Schema.String,
|
|
620
|
+
startedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
621
|
+
updatedAt: Schema.String,
|
|
622
|
+
completedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
623
|
+
failure: Schema.Union([Schema.Struct({
|
|
624
|
+
code: Schema.String,
|
|
625
|
+
message: Schema.String,
|
|
626
|
+
retryable: Schema.Boolean
|
|
627
|
+
}), Schema.Null]),
|
|
628
|
+
resumable: Schema.Boolean
|
|
629
|
+
});
|
|
630
|
+
const ContactsStartImport401 = UnauthorizedError;
|
|
631
|
+
const ContactsStartImport402 = PaymentRequiredError;
|
|
632
|
+
const ContactsStartImport403 = /* @__PURE__ */ Schema.Union([ForbiddenError, FlagDisabledError]);
|
|
633
|
+
const ContactsStartImport404 = ResourceNotFoundError;
|
|
634
|
+
const ContactsStartImport409 = ConflictError;
|
|
635
|
+
const ContactsStartImport422 = ValidationError;
|
|
636
|
+
const ContactsStartImport500 = InternalError;
|
|
637
|
+
const ContactsStartImport502 = BillingProviderError;
|
|
638
|
+
const ContactsStartImport504 = GatewayTimeoutError;
|
|
639
|
+
const ContactsGetImportJobPathParams = /* @__PURE__ */ Schema.Struct({ id: ContactImportJobId });
|
|
640
|
+
const ContactsGetImportJob200 = /* @__PURE__ */ Schema.Struct({
|
|
641
|
+
id: ContactImportJobId,
|
|
642
|
+
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
643
|
+
topicId: TopicId,
|
|
644
|
+
preset: Schema.Union([
|
|
645
|
+
Schema.Literal("beehiiv"),
|
|
646
|
+
Schema.Literal("substack"),
|
|
647
|
+
Schema.Literal("kit"),
|
|
648
|
+
Schema.Literal("mailchimp")
|
|
649
|
+
]),
|
|
650
|
+
status: Schema.Union([
|
|
651
|
+
Schema.Literal("queued"),
|
|
652
|
+
Schema.Literal("running"),
|
|
653
|
+
Schema.Literal("finalizing"),
|
|
654
|
+
Schema.Literal("completed"),
|
|
655
|
+
Schema.Literal("failed")
|
|
656
|
+
]),
|
|
657
|
+
generation: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
658
|
+
counts: Schema.Struct({
|
|
659
|
+
totalRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
660
|
+
uniqueAddresses: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
661
|
+
subscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
662
|
+
unsubscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
663
|
+
suppressed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
664
|
+
skipped: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
665
|
+
conflicts: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
666
|
+
created: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
667
|
+
existing: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
668
|
+
}),
|
|
669
|
+
processedRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
670
|
+
totalRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
671
|
+
createdAt: Schema.String,
|
|
672
|
+
startedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
673
|
+
updatedAt: Schema.String,
|
|
674
|
+
completedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
675
|
+
failure: Schema.Union([Schema.Struct({
|
|
676
|
+
code: Schema.String,
|
|
677
|
+
message: Schema.String,
|
|
678
|
+
retryable: Schema.Boolean
|
|
679
|
+
}), Schema.Null]),
|
|
680
|
+
resumable: Schema.Boolean
|
|
681
|
+
});
|
|
682
|
+
const ContactsGetImportJob401 = UnauthorizedError;
|
|
683
|
+
const ContactsGetImportJob403 = ForbiddenError;
|
|
684
|
+
const ContactsGetImportJob404 = ResourceNotFoundError;
|
|
685
|
+
const ContactsGetImportJob422 = ValidationError;
|
|
686
|
+
const ContactsGetImportJob500 = InternalError;
|
|
687
|
+
const ContactsGetImportJob504 = GatewayTimeoutError;
|
|
688
|
+
const ContactsPlanImportRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
689
|
+
preset: Schema.Union([
|
|
690
|
+
Schema.Literal("beehiiv"),
|
|
691
|
+
Schema.Literal("substack"),
|
|
692
|
+
Schema.Literal("kit"),
|
|
693
|
+
Schema.Literal("mailchimp")
|
|
694
|
+
]),
|
|
695
|
+
topicId: TopicId,
|
|
696
|
+
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
697
|
+
files: Schema.TupleWithRest(Schema.Tuple([Schema.Struct({
|
|
698
|
+
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.isBetweenLength(1, 255).annotate({ expected: "a value with a length between 1 and 255" })),
|
|
699
|
+
csv: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
700
|
+
evidence: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
701
|
+
kind: Schema.Literal("export_scope"),
|
|
702
|
+
scope: Schema.Union([
|
|
703
|
+
Schema.Literal("subscribed"),
|
|
704
|
+
Schema.Literal("unsubscribed"),
|
|
705
|
+
Schema.Literal("suppressed"),
|
|
706
|
+
Schema.Literal("cleaned/bounced")
|
|
707
|
+
])
|
|
708
|
+
})]),
|
|
709
|
+
suppressionFree: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "The operator declares this beehiiv export was filtered to Suppression does not exist." }))
|
|
710
|
+
})]), [Schema.Struct({
|
|
711
|
+
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.isBetweenLength(1, 255).annotate({ expected: "a value with a length between 1 and 255" })),
|
|
712
|
+
csv: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
713
|
+
evidence: Schema.Union([Schema.Struct({ kind: Schema.Literal("status_column") }), Schema.Struct({
|
|
714
|
+
kind: Schema.Literal("export_scope"),
|
|
715
|
+
scope: Schema.Union([
|
|
716
|
+
Schema.Literal("subscribed"),
|
|
717
|
+
Schema.Literal("unsubscribed"),
|
|
718
|
+
Schema.Literal("suppressed"),
|
|
719
|
+
Schema.Literal("cleaned/bounced")
|
|
720
|
+
])
|
|
721
|
+
})]),
|
|
722
|
+
suppressionFree: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "The operator declares this beehiiv export was filtered to Suppression does not exist." }))
|
|
723
|
+
})]).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" }))
|
|
724
|
+
});
|
|
725
|
+
const ContactsPlanImport200 = /* @__PURE__ */ Schema.Struct({
|
|
726
|
+
planHash: Schema.String,
|
|
727
|
+
presetVersion: Schema.String,
|
|
728
|
+
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
729
|
+
topicId: TopicId,
|
|
730
|
+
canStart: Schema.Boolean,
|
|
731
|
+
counts: Schema.Struct({
|
|
732
|
+
totalRows: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
733
|
+
uniqueAddresses: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
734
|
+
subscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
735
|
+
unsubscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
736
|
+
suppressed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
737
|
+
skipped: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
738
|
+
conflicts: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
739
|
+
created: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
740
|
+
existing: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
741
|
+
}),
|
|
742
|
+
diagnostics: Schema.Array(Schema.Struct({
|
|
743
|
+
file: Schema.String,
|
|
744
|
+
row: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
745
|
+
code: Schema.String,
|
|
746
|
+
message: Schema.String,
|
|
747
|
+
email: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
748
|
+
})),
|
|
749
|
+
diagnosticsTruncated: Schema.Boolean
|
|
750
|
+
});
|
|
751
|
+
const ContactsPlanImport401 = UnauthorizedError;
|
|
752
|
+
const ContactsPlanImport403 = /* @__PURE__ */ Schema.Union([ForbiddenError, FlagDisabledError]);
|
|
753
|
+
const ContactsPlanImport404 = ResourceNotFoundError;
|
|
754
|
+
const ContactsPlanImport422 = ValidationError;
|
|
755
|
+
const ContactsPlanImport500 = InternalError;
|
|
756
|
+
const ContactsPlanImport504 = GatewayTimeoutError;
|
|
512
757
|
var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpoint.get("contactsList", "/v1/contacts", {
|
|
513
758
|
query: ContactsListQuery,
|
|
514
759
|
success: ContactsList200,
|
|
@@ -676,20 +921,7 @@ var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpo
|
|
|
676
921
|
ContactsBulkDelete502.pipe(HttpApiSchema.status(502)),
|
|
677
922
|
ContactsBulkDelete504.pipe(HttpApiSchema.status(504))
|
|
678
923
|
]
|
|
679
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkDelete").annotate(OpenApi.Summary, "Bulk delete contacts").annotate(OpenApi.Description, "Permanently deletes multiple contacts by ID, returning counts of deleted and failed records."), HttpApiEndpoint.post("
|
|
680
|
-
payload: ContactsBulkImportRequestJson,
|
|
681
|
-
success: ContactsBulkImport200,
|
|
682
|
-
error: [
|
|
683
|
-
ContactsBulkImport401.pipe(HttpApiSchema.status(401)),
|
|
684
|
-
ContactsBulkImport402.pipe(HttpApiSchema.status(402)),
|
|
685
|
-
ContactsBulkImport403.pipe(HttpApiSchema.status(403)),
|
|
686
|
-
ContactsBulkImport404.pipe(HttpApiSchema.status(404)),
|
|
687
|
-
ContactsBulkImport422.pipe(HttpApiSchema.status(422)),
|
|
688
|
-
ContactsBulkImport500,
|
|
689
|
-
ContactsBulkImport502.pipe(HttpApiSchema.status(502)),
|
|
690
|
-
ContactsBulkImport504.pipe(HttpApiSchema.status(504))
|
|
691
|
-
]
|
|
692
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkImport").annotate(OpenApi.Summary, "Bulk import contacts").annotate(OpenApi.Description, "Creates contacts in bulk from a list of entries shaped like a create request, returning per-entry results with created, updated, skipped, and error counts. An entry whose identities match an existing contact is skipped, or updates it with `onConflict: \"update\"`."), HttpApiEndpoint.post("contactsBulkUpdateStatus", "/v1/contacts/bulk-update-status", {
|
|
924
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkDelete").annotate(OpenApi.Summary, "Bulk delete contacts").annotate(OpenApi.Description, "Permanently deletes multiple contacts by ID, returning counts of deleted and failed records. One request carries at most 1000 ids."), HttpApiEndpoint.post("contactsBulkUpdateStatus", "/v1/contacts/bulk-update-status", {
|
|
693
925
|
payload: ContactsBulkUpdateStatusRequestJson,
|
|
694
926
|
success: ContactsBulkUpdateStatus200,
|
|
695
927
|
error: [
|
|
@@ -701,7 +933,7 @@ var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpo
|
|
|
701
933
|
ContactsBulkUpdateStatus502.pipe(HttpApiSchema.status(502)),
|
|
702
934
|
ContactsBulkUpdateStatus504.pipe(HttpApiSchema.status(504))
|
|
703
935
|
]
|
|
704
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkUpdateStatus").annotate(OpenApi.Summary, "Bulk update contact status").annotate(OpenApi.Description, "Sets the status on multiple contacts in one request, returning counts of updated and failed records."), HttpApiEndpoint.post("contactsBulkUpdateTags", "/v1/contacts/bulk-update-tags", {
|
|
936
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkUpdateStatus").annotate(OpenApi.Summary, "Bulk update contact status").annotate(OpenApi.Description, "Sets the status on multiple contacts in one request, returning counts of updated and failed records. One request carries at most 1000 ids."), HttpApiEndpoint.post("contactsBulkUpdateTags", "/v1/contacts/bulk-update-tags", {
|
|
705
937
|
payload: ContactsBulkUpdateTagsRequestJson,
|
|
706
938
|
success: ContactsBulkUpdateTags200,
|
|
707
939
|
error: [
|
|
@@ -711,7 +943,7 @@ var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpo
|
|
|
711
943
|
ContactsBulkUpdateTags500,
|
|
712
944
|
ContactsBulkUpdateTags504.pipe(HttpApiSchema.status(504))
|
|
713
945
|
]
|
|
714
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkUpdateTags").annotate(OpenApi.Summary, "Bulk update contact tags").annotate(OpenApi.Description, "Adds, removes, or replaces tags on multiple contacts in one request, returning counts of updated and failed records."), HttpApiEndpoint.post("contactsExport", "/v1/contacts/export", {
|
|
946
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.bulkUpdateTags").annotate(OpenApi.Summary, "Bulk update contact tags").annotate(OpenApi.Description, "Adds, removes, or replaces tags on multiple contacts in one request, returning counts of updated and failed records. One request carries at most 1000 ids."), HttpApiEndpoint.post("contactsExport", "/v1/contacts/export", {
|
|
715
947
|
payload: ContactsExportRequestJson,
|
|
716
948
|
success: ContactsExport200,
|
|
717
949
|
error: [
|
|
@@ -721,7 +953,7 @@ var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpo
|
|
|
721
953
|
ContactsExport500,
|
|
722
954
|
ContactsExport504.pipe(HttpApiSchema.status(504))
|
|
723
955
|
]
|
|
724
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.export").annotate(OpenApi.Summary, "Export contacts").annotate(OpenApi.Description, "Exports contacts as JSON or CSV, returning the serialized data and a count of exported records."), HttpApiEndpoint.post("contactsFind", "/v1/contacts/find", {
|
|
956
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.export").annotate(OpenApi.Summary, "Export contacts").annotate(OpenApi.Description, "Exports contacts as JSON or CSV, returning the serialized data and a count of exported records. The ids filter takes at most 1000 ids."), HttpApiEndpoint.post("contactsFind", "/v1/contacts/find", {
|
|
725
957
|
payload: ContactsFindRequestJson,
|
|
726
958
|
success: ContactsFind200,
|
|
727
959
|
error: [
|
|
@@ -747,8 +979,44 @@ var ContactsGroup = class extends HttpApiGroup.make("Contacts").add(HttpApiEndpo
|
|
|
747
979
|
ContactsFindOrCreate502.pipe(HttpApiSchema.status(502)),
|
|
748
980
|
ContactsFindOrCreate504.pipe(HttpApiSchema.status(504))
|
|
749
981
|
]
|
|
750
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.findOrCreate").annotate(OpenApi.Summary, "Find or create a contact").annotate(OpenApi.Description, "Looks up exactly one identifier through `lookup: { type, value }`. Returns `{ contact, created: false }` unchanged when it exists. Otherwise creates the lookup identity (or external ID), applies `create` attributes, and returns `{ contact, created: true }`. Additional addresses belong in `create.identities`, custom fields in `create.profile.customFields`; custom field keys must be defined and values must match their types. An external ID lookup cannot be contradicted by `create.externalId`. Creation returns HTTP 409 ConflictError if an externalId or address belongs to another contact; the conflicting field is named and no contact is created. Use the update endpoint to change an existing contact.")
|
|
982
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.findOrCreate").annotate(OpenApi.Summary, "Find or create a contact").annotate(OpenApi.Description, "Looks up exactly one identifier through `lookup: { type, value }`. Returns `{ contact, created: false }` unchanged when it exists. Otherwise creates the lookup identity (or external ID), applies `create` attributes, and returns `{ contact, created: true }`. Additional addresses belong in `create.identities`, custom fields in `create.profile.customFields`; custom field keys must be defined and values must match their types. An external ID lookup cannot be contradicted by `create.externalId`. Creation returns HTTP 409 ConflictError if an externalId or address belongs to another contact; the conflicting field is named and no contact is created. Use the update endpoint to change an existing contact."), HttpApiEndpoint.post("contactsStartImport", "/v1/contacts/imports", {
|
|
983
|
+
payload: ContactsStartImportRequestJson,
|
|
984
|
+
success: ContactsStartImport202.pipe(HttpApiSchema.status(202)),
|
|
985
|
+
error: [
|
|
986
|
+
ContactsStartImport401.pipe(HttpApiSchema.status(401)),
|
|
987
|
+
ContactsStartImport402.pipe(HttpApiSchema.status(402)),
|
|
988
|
+
ContactsStartImport403.pipe(HttpApiSchema.status(403)),
|
|
989
|
+
ContactsStartImport404.pipe(HttpApiSchema.status(404)),
|
|
990
|
+
ContactsStartImport409.pipe(HttpApiSchema.status(409)),
|
|
991
|
+
ContactsStartImport422.pipe(HttpApiSchema.status(422)),
|
|
992
|
+
ContactsStartImport500,
|
|
993
|
+
ContactsStartImport502.pipe(HttpApiSchema.status(502)),
|
|
994
|
+
ContactsStartImport504.pipe(HttpApiSchema.status(504))
|
|
995
|
+
]
|
|
996
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.startImport").annotate(OpenApi.Summary, "Start or resume a list migration").annotate(OpenApi.Description, "The complete encoded JSON request, including new-start metadata, must not exceed 3000000 bytes. Admits a durable import using the preview hash and an idempotency key, or resumes the same persisted input at its committed cursor. Imports never restore an existing unsubscribe, suppression or bounce. Namespace-scoped credentials cannot create organization-wide suppressions; those rows are conflicts and create no contact. New active contacts are billable and normal contact events apply. Requires listMigration for new admissions."), HttpApiEndpoint.get("contactsGetImportJob", "/v1/contacts/imports/:id", {
|
|
997
|
+
params: ContactsGetImportJobPathParams,
|
|
998
|
+
success: ContactsGetImportJob200,
|
|
999
|
+
error: [
|
|
1000
|
+
ContactsGetImportJob401.pipe(HttpApiSchema.status(401)),
|
|
1001
|
+
ContactsGetImportJob403.pipe(HttpApiSchema.status(403)),
|
|
1002
|
+
ContactsGetImportJob404.pipe(HttpApiSchema.status(404)),
|
|
1003
|
+
ContactsGetImportJob422.pipe(HttpApiSchema.status(422)),
|
|
1004
|
+
ContactsGetImportJob500,
|
|
1005
|
+
ContactsGetImportJob504.pipe(HttpApiSchema.status(504))
|
|
1006
|
+
]
|
|
1007
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.getImportJob").annotate(OpenApi.Summary, "Get list migration progress").annotate(OpenApi.Description, "Returns the visible import job's committed counts, generation, terminal failure and resumability. The job persists across worker restarts and page reloads. Admitted jobs remain readable when listMigration is disabled."), HttpApiEndpoint.post("contactsPlanImport", "/v1/contacts/imports/plan", {
|
|
1008
|
+
payload: ContactsPlanImportRequestJson,
|
|
1009
|
+
success: ContactsPlanImport200,
|
|
1010
|
+
error: [
|
|
1011
|
+
ContactsPlanImport401.pipe(HttpApiSchema.status(401)),
|
|
1012
|
+
ContactsPlanImport403.pipe(HttpApiSchema.status(403)),
|
|
1013
|
+
ContactsPlanImport404.pipe(HttpApiSchema.status(404)),
|
|
1014
|
+
ContactsPlanImport422.pipe(HttpApiSchema.status(422)),
|
|
1015
|
+
ContactsPlanImport500,
|
|
1016
|
+
ContactsPlanImport504.pipe(HttpApiSchema.status(504))
|
|
1017
|
+
]
|
|
1018
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "contacts.planImport").annotate(OpenApi.Summary, "Preview a list migration").annotate(OpenApi.Description, "The complete encoded JSON request must not exceed 3000000 bytes. Reads multiple declared export files without changing contacts. Restrictive evidence wins per address. Returns estimated counts and at most 100 diagnostics; processing rechecks current restrictions. Filenames never establish permission. Requires listMigration. Missing required columns refuse the file; unknown status values are conflicts and never subscribe a reader.")).annotate(OpenApi.Description, "Contact CRUD, bulk operations, engagement metrics, and activity timeline") {};
|
|
751
1019
|
//#endregion
|
|
752
|
-
export { BulkUpdateResult, Contact, ContactActivityPage, ContactCustomFields, ContactGroupMembershipPage, ContactIdentityInput, ContactListMembership, ContactLocation, ContactLookup, ContactPage, ContactPreferences, ContactProfile, ContactProfileUpdate, ContactSummary, ContactsAddIdentity200, ContactsAddIdentity401, ContactsAddIdentity403, ContactsAddIdentity404, ContactsAddIdentity409, ContactsAddIdentity422, ContactsAddIdentity500, ContactsAddIdentity504, ContactsAddIdentityPathParams, ContactsAddIdentityRequestJson, ContactsAddTags200, ContactsAddTags401, ContactsAddTags403, ContactsAddTags404, ContactsAddTags422, ContactsAddTags500, ContactsAddTags504, ContactsAddTagsPathParams, ContactsAddTagsRequestJson, ContactsBulkDelete200, ContactsBulkDelete401, ContactsBulkDelete403, ContactsBulkDelete422, ContactsBulkDelete500, ContactsBulkDelete502, ContactsBulkDelete504, ContactsBulkDeleteRequestJson,
|
|
1020
|
+
export { BulkUpdateResult, Contact, ContactActivityPage, ContactCustomFields, ContactGroupMembershipPage, ContactIdentityInput, ContactImportJobId, ContactListMembership, ContactLocation, ContactLookup, ContactPage, ContactPreferences, ContactProfile, ContactProfileUpdate, ContactSummary, ContactsAddIdentity200, ContactsAddIdentity401, ContactsAddIdentity403, ContactsAddIdentity404, ContactsAddIdentity409, ContactsAddIdentity422, ContactsAddIdentity500, ContactsAddIdentity504, ContactsAddIdentityPathParams, ContactsAddIdentityRequestJson, ContactsAddTags200, ContactsAddTags401, ContactsAddTags403, ContactsAddTags404, ContactsAddTags422, ContactsAddTags500, ContactsAddTags504, ContactsAddTagsPathParams, ContactsAddTagsRequestJson, ContactsBulkDelete200, ContactsBulkDelete401, ContactsBulkDelete403, ContactsBulkDelete422, ContactsBulkDelete500, ContactsBulkDelete502, ContactsBulkDelete504, ContactsBulkDeleteRequestJson, ContactsBulkUpdateStatus200, ContactsBulkUpdateStatus401, ContactsBulkUpdateStatus402, ContactsBulkUpdateStatus403, ContactsBulkUpdateStatus422, ContactsBulkUpdateStatus500, ContactsBulkUpdateStatus502, ContactsBulkUpdateStatus504, ContactsBulkUpdateStatusRequestJson, ContactsBulkUpdateTags200, ContactsBulkUpdateTags401, ContactsBulkUpdateTags403, ContactsBulkUpdateTags422, ContactsBulkUpdateTags500, ContactsBulkUpdateTags504, ContactsBulkUpdateTagsRequestJson, ContactsCreate201, ContactsCreate401, ContactsCreate402, ContactsCreate403, ContactsCreate404, ContactsCreate409, ContactsCreate422, ContactsCreate500, ContactsCreate502, ContactsCreate504, ContactsCreateRequestJson, ContactsExport200, ContactsExport401, ContactsExport403, ContactsExport422, ContactsExport500, ContactsExport504, ContactsExportRequestJson, ContactsFind200, ContactsFind401, ContactsFind403, ContactsFind404, ContactsFind409, ContactsFind422, ContactsFind500, ContactsFind504, ContactsFindOrCreate200, ContactsFindOrCreate401, ContactsFindOrCreate402, ContactsFindOrCreate403, ContactsFindOrCreate404, ContactsFindOrCreate409, ContactsFindOrCreate422, ContactsFindOrCreate500, ContactsFindOrCreate502, ContactsFindOrCreate504, ContactsFindOrCreateRequestJson, ContactsFindRequestJson, ContactsGet200, ContactsGet401, ContactsGet403, ContactsGet404, ContactsGet422, ContactsGet500, ContactsGet504, ContactsGetActivityTimeline200, ContactsGetActivityTimeline401, ContactsGetActivityTimeline403, ContactsGetActivityTimeline404, ContactsGetActivityTimeline422, ContactsGetActivityTimeline500, ContactsGetActivityTimeline504, ContactsGetActivityTimelinePathParams, ContactsGetActivityTimelineQuery, ContactsGetEngagement200, ContactsGetEngagement401, ContactsGetEngagement403, ContactsGetEngagement404, ContactsGetEngagement422, ContactsGetEngagement500, ContactsGetEngagement504, ContactsGetEngagementPathParams, ContactsGetGroupMemberships200, ContactsGetGroupMemberships401, ContactsGetGroupMemberships403, ContactsGetGroupMemberships404, ContactsGetGroupMemberships422, ContactsGetGroupMemberships500, ContactsGetGroupMemberships504, ContactsGetGroupMembershipsPathParams, ContactsGetGroupMembershipsQuery, ContactsGetImportJob200, ContactsGetImportJob401, ContactsGetImportJob403, ContactsGetImportJob404, ContactsGetImportJob422, ContactsGetImportJob500, ContactsGetImportJob504, ContactsGetImportJobPathParams, ContactsGetPathParams, ContactsGroup, ContactsList200, ContactsList401, ContactsList403, ContactsList422, ContactsList500, ContactsList504, ContactsListQuery, ContactsPlanImport200, ContactsPlanImport401, ContactsPlanImport403, ContactsPlanImport404, ContactsPlanImport422, ContactsPlanImport500, ContactsPlanImport504, ContactsPlanImportRequestJson, ContactsRemove200, ContactsRemove401, ContactsRemove403, ContactsRemove404, ContactsRemove422, ContactsRemove500, ContactsRemove502, ContactsRemove504, ContactsRemoveIdentity200, ContactsRemoveIdentity401, ContactsRemoveIdentity403, ContactsRemoveIdentity404, ContactsRemoveIdentity422, ContactsRemoveIdentity500, ContactsRemoveIdentity504, ContactsRemoveIdentityPathParams, ContactsRemovePathParams, ContactsRemoveTags200, ContactsRemoveTags401, ContactsRemoveTags403, ContactsRemoveTags404, ContactsRemoveTags422, ContactsRemoveTags500, ContactsRemoveTags504, ContactsRemoveTagsPathParams, ContactsRemoveTagsRequestJson, ContactsSetConsent200, ContactsSetConsent401, ContactsSetConsent403, ContactsSetConsent404, ContactsSetConsent422, ContactsSetConsent500, ContactsSetConsent504, ContactsSetConsentPathParams, ContactsSetConsentRequestJson, ContactsStartImport202, ContactsStartImport401, ContactsStartImport402, ContactsStartImport403, ContactsStartImport404, ContactsStartImport409, ContactsStartImport422, ContactsStartImport500, ContactsStartImport502, ContactsStartImport504, ContactsStartImportRequestJson, ContactsUpdate200, ContactsUpdate401, ContactsUpdate402, ContactsUpdate403, ContactsUpdate404, ContactsUpdate422, ContactsUpdate500, ContactsUpdate502, ContactsUpdate504, ContactsUpdatePathParams, ContactsUpdateRequestJson };
|
|
753
1021
|
|
|
754
1022
|
//# sourceMappingURL=contacts.js.map
|