samva 0.11.0 → 0.13.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/dist/{categories-DvsHUJtX.js → categories-Bcwq5jPV.js} +5 -1
- package/dist/client/sdk.gen.d.ts +48 -21
- package/dist/client/types.gen.d.ts +340 -64
- package/dist/{client-8YXjfsVc.js → client-DYPNDvVU.js} +330 -75
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +1 -1
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +0 -3
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +40 -8
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +87 -2
- package/dist/effect/email.js +7 -3
- package/dist/effect/extension-installations.d.ts +66 -0
- package/dist/effect/extension-installations.js +5 -3
- package/dist/effect/extensions.js +1 -1
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated-metadata.d.ts +4 -0
- package/dist/effect/generated.d.ts +1312 -162
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +5 -4
- package/dist/effect/internal/client.d.ts +14 -0
- package/dist/effect/internal/operation.d.ts +5 -2
- package/dist/effect/mailboxes.d.ts +6 -6
- package/dist/effect/mailboxes.js +2 -2
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +2 -2
- package/dist/effect/messages.js +1 -1
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +1 -1
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +4 -3
- package/dist/inline-attachments-B56eS0MF.js +121 -0
- package/dist/inline-attachments.d.ts +65 -0
- package/dist/{mailbox-events-CcWm8lO4.js → mailbox-events-CsbF35vH.js} +18 -6
- package/dist/mailbox-events.d.ts +8 -5
- package/dist/{mailboxes-4gJMAJh4.js → mailboxes-D3Kx7elM.js} +4 -4
- package/dist/{operation-BuyvAsZ1.js → operation-B_Ty1LG-.js} +45 -3
- package/dist/promises/errors.gen.d.ts +14 -2
- package/dist/promises/index.d.ts +1 -0
- package/dist/promises/index.js +4 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-CqAmI39P.js → promises-D9FJyU0q.js} +178 -20
- package/dist/service-map.d.ts +15 -0
- package/package.json +2 -2
- package/dist/client-attribution-Ct2FKITg.js +0 -9
package/dist/effect/analytics.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/analytics.ts
|
|
4
4
|
var analytics_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
exportData: () => exportData,
|
package/dist/effect/api-keys.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/api-keys.ts
|
|
4
4
|
var api_keys_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
create: () => create,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/attachments.ts
|
|
4
4
|
var attachments_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
downloadUrl: () => downloadUrl,
|
package/dist/effect/brands.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
3
|
-
import { k as UpdateBrand, u as CreateBrand } from "../client-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
|
+
import { k as UpdateBrand, u as CreateBrand } from "../client-DYPNDvVU.js";
|
|
4
4
|
//#region src/effect/brands.ts
|
|
5
5
|
var brands_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
CreatePayload: () => CreateBrand,
|
|
@@ -1042,7 +1042,7 @@ export declare const scheduleRun: (input: {
|
|
|
1042
1042
|
readonly memberRole: string;
|
|
1043
1043
|
readonly createdAt: string;
|
|
1044
1044
|
readonly updatedAt: string;
|
|
1045
|
-
}, import("./generated").BrandAddressRequiredError | import("./generated").CampaignFooterRequiredError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1045
|
+
}, import("./generated").BrandAddressRequiredError | import("./generated").CampaignFooterRequiredError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").SenderNotReadyError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1046
1046
|
export declare const getRun: (input: {
|
|
1047
1047
|
readonly id: string;
|
|
1048
1048
|
readonly runId: string;
|
package/dist/effect/campaigns.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/campaigns.ts
|
|
4
4
|
var campaigns_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
archive: () => archive,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isTransient, a as catchNotFoundError, c as catchValidationError, d as isAuthError, f as isBillingError, g as isThrottlingError, h as isRetryable, i as catchConflictError, l as categoriesOf, m as isNotFoundError, n as catchBillingError, o as catchThrottlingError, p as isConflictError, r as catchCategory, s as catchTransient, t as catchAuthError, u as hasCategory, v as isValidationError } from "../categories-
|
|
1
|
+
import { _ as isTransient, a as catchNotFoundError, c as catchValidationError, d as isAuthError, f as isBillingError, g as isThrottlingError, h as isRetryable, i as catchConflictError, l as categoriesOf, m as isNotFoundError, n as catchBillingError, o as catchThrottlingError, p as isConflictError, r as catchCategory, s as catchTransient, t as catchAuthError, u as hasCategory, v as isValidationError } from "../categories-Bcwq5jPV.js";
|
|
2
2
|
export { catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
|
package/dist/effect/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { i as raw, n as layer, r as layerFetch, t as Service } from "../client-
|
|
2
|
+
import { i as raw, n as layer, r as layerFetch, t as Service } from "../client-DYPNDvVU.js";
|
|
3
3
|
//#region src/effect/client.ts
|
|
4
4
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
Service: () => Service,
|
|
@@ -208,8 +208,6 @@ export declare const remove: (input: {
|
|
|
208
208
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
209
209
|
export declare const preview: (input: {
|
|
210
210
|
readonly criteria: {
|
|
211
|
-
readonly contactTypes?: readonly string[] | null | undefined;
|
|
212
|
-
readonly capabilities?: readonly string[] | null | undefined;
|
|
213
211
|
readonly tags?: readonly string[] | null | undefined;
|
|
214
212
|
readonly channels?: readonly string[] | null | undefined;
|
|
215
213
|
readonly match?: string | null | undefined;
|
|
@@ -246,7 +244,6 @@ export declare const preview: (input: {
|
|
|
246
244
|
readonly sample: readonly {
|
|
247
245
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
248
246
|
readonly name: string;
|
|
249
|
-
readonly type: string;
|
|
250
247
|
readonly status: string;
|
|
251
248
|
}[];
|
|
252
249
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/contact-groups.ts
|
|
4
4
|
var contact_groups_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
addMembers: () => addMembers,
|
|
@@ -691,14 +691,46 @@ export declare const getEngagement: (input: {
|
|
|
691
691
|
export declare const bulkImport: (input: {
|
|
692
692
|
readonly contacts: readonly {
|
|
693
693
|
readonly name: string;
|
|
694
|
-
readonly
|
|
695
|
-
readonly
|
|
694
|
+
readonly displayName?: string | null | undefined;
|
|
695
|
+
readonly avatar?: string | null | undefined;
|
|
696
|
+
readonly identities?: readonly {
|
|
697
|
+
readonly channel: string;
|
|
698
|
+
readonly identifier: string;
|
|
699
|
+
readonly verified?: boolean | null | undefined;
|
|
700
|
+
}[] | null | undefined;
|
|
701
|
+
readonly profile?: {
|
|
702
|
+
readonly firstName?: string | null | undefined;
|
|
703
|
+
readonly lastName?: string | null | undefined;
|
|
704
|
+
readonly company?: string | null | undefined;
|
|
705
|
+
readonly jobTitle?: string | null | undefined;
|
|
706
|
+
readonly location?: {
|
|
707
|
+
readonly country: string;
|
|
708
|
+
readonly state: string;
|
|
709
|
+
readonly city: string;
|
|
710
|
+
readonly timezone: string;
|
|
711
|
+
} | null | undefined;
|
|
712
|
+
readonly customFields?: {
|
|
713
|
+
readonly [x: string]: string | number | boolean | null | undefined;
|
|
714
|
+
} | null | undefined;
|
|
715
|
+
readonly source?: string | null | undefined;
|
|
716
|
+
} | null | undefined;
|
|
717
|
+
readonly preferences?: {
|
|
718
|
+
readonly preferredChannels?: readonly string[] | null | undefined;
|
|
719
|
+
readonly language?: string | null | undefined;
|
|
720
|
+
readonly timezone?: string | null | undefined;
|
|
721
|
+
readonly notifications?: {
|
|
722
|
+
readonly email?: boolean | null | undefined;
|
|
723
|
+
readonly quiet_hours?: {
|
|
724
|
+
readonly start: string;
|
|
725
|
+
readonly end: string;
|
|
726
|
+
} | null | undefined;
|
|
727
|
+
} | null | undefined;
|
|
728
|
+
} | null | undefined;
|
|
696
729
|
readonly tags?: readonly string[] | null | undefined;
|
|
697
|
-
readonly
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly
|
|
701
|
-
readonly customFields?: {
|
|
730
|
+
readonly status?: string | null | undefined;
|
|
731
|
+
readonly statusReason?: string | null | undefined;
|
|
732
|
+
readonly externalId?: string | null | undefined;
|
|
733
|
+
readonly metadata?: {
|
|
702
734
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
703
735
|
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
704
736
|
} | null)[] | {
|
|
@@ -724,7 +756,7 @@ export declare const bulkImport: (input: {
|
|
|
724
756
|
} | null | undefined;
|
|
725
757
|
} | null | undefined;
|
|
726
758
|
}[];
|
|
727
|
-
readonly
|
|
759
|
+
readonly onConflict?: string | null | undefined;
|
|
728
760
|
}) => import("effect/Effect").Effect<{
|
|
729
761
|
readonly total: number;
|
|
730
762
|
readonly created: number;
|
package/dist/effect/contacts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/contacts.ts
|
|
4
4
|
var contacts_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
addIdentity: () => addIdentity,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/conversations.ts
|
|
4
4
|
var conversations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
addCategories: () => addCategories,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/custom-fields.ts
|
|
4
4
|
var custom_fields_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
create: () => create,
|
package/dist/effect/email.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
12
12
|
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
13
13
|
}[];
|
|
14
14
|
readonly createdAt: string;
|
|
15
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").DeliveryUnavailableError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").OnboardingReviewRequiredError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
15
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").DeliveryUnavailableError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("..").MediaUploadError | import("./generated").OnboardingReviewRequiredError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").SenderNotReadyError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
16
16
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
17
17
|
readonly opens: boolean;
|
|
18
18
|
readonly clicks: boolean;
|
|
@@ -513,6 +513,39 @@ export declare const enableReceiving: (input: {
|
|
|
513
513
|
readonly success: true;
|
|
514
514
|
readonly recipients: readonly string[];
|
|
515
515
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
516
|
+
export declare const getReceivingStatus: (input: {
|
|
517
|
+
readonly id: string;
|
|
518
|
+
}) => import("effect/Effect").Effect<{
|
|
519
|
+
readonly domain: string;
|
|
520
|
+
readonly receivingHost: string;
|
|
521
|
+
readonly sending: {
|
|
522
|
+
readonly satisfied: boolean;
|
|
523
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
524
|
+
};
|
|
525
|
+
readonly destination: {
|
|
526
|
+
readonly satisfied: boolean;
|
|
527
|
+
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
528
|
+
readonly forwardingRules: number;
|
|
529
|
+
readonly mailboxes: number;
|
|
530
|
+
};
|
|
531
|
+
readonly receiving: {
|
|
532
|
+
readonly satisfied: boolean;
|
|
533
|
+
readonly catchAll: boolean;
|
|
534
|
+
};
|
|
535
|
+
readonly mx: {
|
|
536
|
+
readonly satisfied: boolean;
|
|
537
|
+
readonly state: "elsewhere" | "missing" | "pointing-here" | "unknown";
|
|
538
|
+
readonly expected: {
|
|
539
|
+
readonly exchange: string;
|
|
540
|
+
readonly priority: number;
|
|
541
|
+
};
|
|
542
|
+
readonly current: readonly {
|
|
543
|
+
readonly exchange: string;
|
|
544
|
+
readonly priority: number;
|
|
545
|
+
}[];
|
|
546
|
+
};
|
|
547
|
+
readonly ready: boolean;
|
|
548
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
516
549
|
export declare const enableCustomTracking: (input: {
|
|
517
550
|
readonly id: string;
|
|
518
551
|
readonly label?: string | null | undefined;
|
|
@@ -524,6 +557,14 @@ export declare const enableCustomTracking: (input: {
|
|
|
524
557
|
readonly hostname: string;
|
|
525
558
|
readonly region: string;
|
|
526
559
|
readonly sslStatus: string | null;
|
|
560
|
+
readonly certificate: {
|
|
561
|
+
readonly reason: {
|
|
562
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
563
|
+
readonly message: string;
|
|
564
|
+
};
|
|
565
|
+
readonly lastCheckedAt: string | null;
|
|
566
|
+
readonly nextCheckAt: string | null;
|
|
567
|
+
} | null;
|
|
527
568
|
readonly dnsRecords: {
|
|
528
569
|
readonly tracking: {
|
|
529
570
|
readonly name: string;
|
|
@@ -551,6 +592,14 @@ export declare const getCustomTracking: (input: {
|
|
|
551
592
|
readonly hostname: string;
|
|
552
593
|
readonly region: string;
|
|
553
594
|
readonly sslStatus: string | null;
|
|
595
|
+
readonly certificate: {
|
|
596
|
+
readonly reason: {
|
|
597
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
598
|
+
readonly message: string;
|
|
599
|
+
};
|
|
600
|
+
readonly lastCheckedAt: string | null;
|
|
601
|
+
readonly nextCheckAt: string | null;
|
|
602
|
+
} | null;
|
|
554
603
|
readonly dnsRecords: {
|
|
555
604
|
readonly tracking: {
|
|
556
605
|
readonly name: string;
|
|
@@ -568,6 +617,41 @@ export declare const getCustomTracking: (input: {
|
|
|
568
617
|
readonly teardownScheduledAt: string | null;
|
|
569
618
|
} | null;
|
|
570
619
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
620
|
+
export declare const recheckCustomTracking: (input: {
|
|
621
|
+
readonly id: string;
|
|
622
|
+
}) => import("effect/Effect").Effect<{
|
|
623
|
+
readonly enabled: boolean;
|
|
624
|
+
readonly customTracking: {
|
|
625
|
+
readonly status: "active" | "caa-blocked" | "disabled" | "pending" | "teardown-scheduled";
|
|
626
|
+
readonly label: string;
|
|
627
|
+
readonly hostname: string;
|
|
628
|
+
readonly region: string;
|
|
629
|
+
readonly sslStatus: string | null;
|
|
630
|
+
readonly certificate: {
|
|
631
|
+
readonly reason: {
|
|
632
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
633
|
+
readonly message: string;
|
|
634
|
+
};
|
|
635
|
+
readonly lastCheckedAt: string | null;
|
|
636
|
+
readonly nextCheckAt: string | null;
|
|
637
|
+
} | null;
|
|
638
|
+
readonly dnsRecords: {
|
|
639
|
+
readonly tracking: {
|
|
640
|
+
readonly name: string;
|
|
641
|
+
readonly type: string;
|
|
642
|
+
readonly value: string;
|
|
643
|
+
} | null;
|
|
644
|
+
readonly dcvDelegation: {
|
|
645
|
+
readonly name: string;
|
|
646
|
+
readonly type: string;
|
|
647
|
+
readonly value: string;
|
|
648
|
+
} | null;
|
|
649
|
+
};
|
|
650
|
+
readonly caaBlocked: boolean;
|
|
651
|
+
readonly verificationErrors: readonly string[];
|
|
652
|
+
readonly teardownScheduledAt: string | null;
|
|
653
|
+
} | null;
|
|
654
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
571
655
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
572
656
|
readonly id: string;
|
|
573
657
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1318,7 +1402,7 @@ export declare const getStats: (input?: {
|
|
|
1318
1402
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1319
1403
|
export declare const enableCatchAll: (input: {
|
|
1320
1404
|
readonly id: string;
|
|
1321
|
-
readonly endpointId
|
|
1405
|
+
readonly endpointId?: string | null | undefined;
|
|
1322
1406
|
}) => import("effect/Effect").Effect<{
|
|
1323
1407
|
readonly success: true;
|
|
1324
1408
|
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
@@ -1614,6 +1698,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
1614
1698
|
readonly id: string & import("effect/Brand").Brand<"EmailForwardingRuleId">;
|
|
1615
1699
|
readonly name: string;
|
|
1616
1700
|
readonly description: string | null;
|
|
1701
|
+
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1617
1702
|
readonly sourcePattern: string | null;
|
|
1618
1703
|
readonly forwardTo: readonly string[];
|
|
1619
1704
|
readonly preserveHeaders: boolean;
|
package/dist/effect/email.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make, r as sendEmail, t as addEmailSender } from "../operation-
|
|
3
|
-
import { D as TrackingRecipientEmail } from "../client-
|
|
2
|
+
import { n as make, r as sendEmail, t as addEmailSender } from "../operation-B_Ty1LG-.js";
|
|
3
|
+
import { D as TrackingRecipientEmail } from "../client-DYPNDvVU.js";
|
|
4
4
|
//#region src/effect/email.ts
|
|
5
5
|
var email_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
@@ -38,6 +38,7 @@ var email_exports = /* @__PURE__ */ __exportAll({
|
|
|
38
38
|
getDomainWarming: () => getDomainWarming,
|
|
39
39
|
getForwardingLog: () => getForwardingLog,
|
|
40
40
|
getOnboardingReview: () => getOnboardingReview,
|
|
41
|
+
getReceivingStatus: () => getReceivingStatus,
|
|
41
42
|
getRecipientTrackingPreference: () => getRecipientTrackingPreference,
|
|
42
43
|
getSender: () => getSender,
|
|
43
44
|
getStats: () => getStats,
|
|
@@ -49,6 +50,7 @@ var email_exports = /* @__PURE__ */ __exportAll({
|
|
|
49
50
|
listSuppressions: () => listSuppressions,
|
|
50
51
|
pauseDomainWarming: () => pauseDomainWarming,
|
|
51
52
|
reapplyOnboardingReview: () => reapplyOnboardingReview,
|
|
53
|
+
recheckCustomTracking: () => recheckCustomTracking,
|
|
52
54
|
removeBlock: () => removeBlock,
|
|
53
55
|
removeDomain: () => removeDomain,
|
|
54
56
|
removeSender: () => removeSender,
|
|
@@ -89,8 +91,10 @@ const getDomainConnect = make("emailGetDomainConnect");
|
|
|
89
91
|
const buildDomainConnectApplyUrl = make("emailBuildDomainConnectApplyUrl");
|
|
90
92
|
const completeDomainConnect = make("emailCompleteDomainConnect");
|
|
91
93
|
const enableReceiving = make("emailEnableReceiving");
|
|
94
|
+
const getReceivingStatus = make("emailGetReceivingStatus");
|
|
92
95
|
const enableCustomTracking = make("emailEnableCustomTracking");
|
|
93
96
|
const getCustomTracking = make("emailGetCustomTracking");
|
|
97
|
+
const recheckCustomTracking = make("emailRecheckCustomTracking");
|
|
94
98
|
const getCustomTrackingDomainConnect = make("emailGetCustomTrackingDomainConnect");
|
|
95
99
|
const buildCustomTrackingDomainConnectApplyUrl = make("emailBuildCustomTrackingDomainConnectApplyUrl");
|
|
96
100
|
const completeCustomTrackingDomainConnect = make("emailCompleteCustomTrackingDomainConnect");
|
|
@@ -132,6 +136,6 @@ const deleteForwardingRule = make("emailDeleteForwardingRule");
|
|
|
132
136
|
const updateForwardingRule = make("emailUpdateForwardingRule");
|
|
133
137
|
const getForwardingLog = make("emailGetForwardingLog");
|
|
134
138
|
//#endregion
|
|
135
|
-
export { TrackingRecipientEmail, addBlock, addDomain, addSender, advanceDomainVerification, buildCustomTrackingDomainConnectApplyUrl, buildDomainConnectApplyUrl, cancelDomainWarmingBatch, checkBlocked, checkSenderVerification, clearDomainDefaultSender, completeCustomTrackingDomainConnect, completeDomainConnect, completeDomainWarming, countSuppressions, createDomainWarmingPlan, createForwardingRule, deleteForwardingRule, detectRegistrar, disableCatchAll, disableCustomTracking, enableCatchAll, enableCustomTracking, enableReceiving, getBlockLogs, getCatchAllConfig, getCatchAllStats, getCustomTracking, getCustomTrackingDomainConnect, getDomainById, getDomainConnect, getDomainVerification, getDomainWarming, getForwardingLog, getOnboardingReview, getRecipientTrackingPreference, getSender, getStats, getTrackingDefaults, listBlocks, listDomains, listForwardingRules, listSenders, listSuppressions, pauseDomainWarming, reapplyOnboardingReview, removeBlock, removeDomain, removeSender, removeSuppression, respondToOnboardingInformationRequest, resumeDomainWarming, rotateDomainDkim, send, setDefaultDomain, setDefaultSender, setDomainDefaultSender, email_exports as t, updateBlock, updateCatchAllConfig, updateDomainConfig, updateDomainWarmingPolicy, updateForwardingRule, updateRecipientTrackingPreference, updateTrackingDefaults };
|
|
139
|
+
export { TrackingRecipientEmail, addBlock, addDomain, addSender, advanceDomainVerification, buildCustomTrackingDomainConnectApplyUrl, buildDomainConnectApplyUrl, cancelDomainWarmingBatch, checkBlocked, checkSenderVerification, clearDomainDefaultSender, completeCustomTrackingDomainConnect, completeDomainConnect, completeDomainWarming, countSuppressions, createDomainWarmingPlan, createForwardingRule, deleteForwardingRule, detectRegistrar, disableCatchAll, disableCustomTracking, enableCatchAll, enableCustomTracking, enableReceiving, getBlockLogs, getCatchAllConfig, getCatchAllStats, getCustomTracking, getCustomTrackingDomainConnect, getDomainById, getDomainConnect, getDomainVerification, getDomainWarming, getForwardingLog, getOnboardingReview, getReceivingStatus, getRecipientTrackingPreference, getSender, getStats, getTrackingDefaults, listBlocks, listDomains, listForwardingRules, listSenders, listSuppressions, pauseDomainWarming, reapplyOnboardingReview, recheckCustomTracking, removeBlock, removeDomain, removeSender, removeSuppression, respondToOnboardingInformationRequest, resumeDomainWarming, rotateDomainDkim, send, setDefaultDomain, setDefaultSender, setDomainDefaultSender, email_exports as t, updateBlock, updateCatchAllConfig, updateDomainConfig, updateDomainWarmingPolicy, updateForwardingRule, updateRecipientTrackingPreference, updateTrackingDefaults };
|
|
136
140
|
|
|
137
141
|
//# sourceMappingURL=email.js.map
|
|
@@ -99,6 +99,72 @@ export declare const install: (input: {
|
|
|
99
99
|
readonly webhookSecret: import("effect/Redacted").Redacted<string>;
|
|
100
100
|
} | null;
|
|
101
101
|
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
102
|
+
export declare const upgrade: (input: {
|
|
103
|
+
readonly id: string;
|
|
104
|
+
readonly version?: string | null | undefined;
|
|
105
|
+
readonly acceptPermissions?: readonly string[] | null | undefined;
|
|
106
|
+
readonly dryRun?: boolean | null | undefined;
|
|
107
|
+
}) => import("effect/Effect").Effect<{
|
|
108
|
+
readonly installation: {
|
|
109
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
110
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
111
|
+
readonly name: string;
|
|
112
|
+
readonly displayName: string;
|
|
113
|
+
readonly version: {
|
|
114
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
115
|
+
readonly version: string;
|
|
116
|
+
};
|
|
117
|
+
readonly runtime: "hosted" | "webhook";
|
|
118
|
+
readonly status: "active" | "disabled";
|
|
119
|
+
readonly createdAt: string;
|
|
120
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
121
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
122
|
+
readonly sendMode: "approval" | "send";
|
|
123
|
+
readonly scope: {
|
|
124
|
+
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
125
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
126
|
+
};
|
|
127
|
+
readonly webhook: {
|
|
128
|
+
readonly endpointId: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
129
|
+
readonly url: string;
|
|
130
|
+
} | null;
|
|
131
|
+
readonly updatedAt: string;
|
|
132
|
+
readonly disabledAt: string | null;
|
|
133
|
+
};
|
|
134
|
+
readonly fromVersion: {
|
|
135
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
136
|
+
readonly version: string;
|
|
137
|
+
};
|
|
138
|
+
readonly toVersion: {
|
|
139
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
140
|
+
readonly version: string;
|
|
141
|
+
};
|
|
142
|
+
readonly permissionDiff: {
|
|
143
|
+
readonly added: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[];
|
|
144
|
+
readonly removed: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[];
|
|
145
|
+
};
|
|
146
|
+
readonly dryRun: boolean;
|
|
147
|
+
readonly versionChange: {
|
|
148
|
+
readonly id: string;
|
|
149
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
150
|
+
readonly installationId: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
151
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
152
|
+
readonly fromVersion: {
|
|
153
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
154
|
+
readonly version: string;
|
|
155
|
+
};
|
|
156
|
+
readonly toVersion: {
|
|
157
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
158
|
+
readonly version: string;
|
|
159
|
+
};
|
|
160
|
+
readonly permissionDiff: {
|
|
161
|
+
readonly added: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[];
|
|
162
|
+
readonly removed: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[];
|
|
163
|
+
};
|
|
164
|
+
readonly changedBy: string & import("effect/Brand").Brand<"UserId">;
|
|
165
|
+
readonly changedAt: string;
|
|
166
|
+
} | null;
|
|
167
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
102
168
|
export declare const get: (input: {
|
|
103
169
|
readonly id: string;
|
|
104
170
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/extension-installations.ts
|
|
4
4
|
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
disable: () => disable,
|
|
@@ -9,10 +9,12 @@ var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
9
|
install: () => install,
|
|
10
10
|
list: () => list,
|
|
11
11
|
listRuns: () => listRuns,
|
|
12
|
-
uninstall: () => uninstall
|
|
12
|
+
uninstall: () => uninstall,
|
|
13
|
+
upgrade: () => upgrade
|
|
13
14
|
});
|
|
14
15
|
const list = make("extensionInstallationsList");
|
|
15
16
|
const install = make("extensionInstallationsInstall");
|
|
17
|
+
const upgrade = make("extensionInstallationsUpgrade");
|
|
16
18
|
const get = make("extensionInstallationsGet");
|
|
17
19
|
const uninstall = make("extensionInstallationsUninstall");
|
|
18
20
|
const disable = make("extensionInstallationsDisable");
|
|
@@ -20,6 +22,6 @@ const enable = make("extensionInstallationsEnable");
|
|
|
20
22
|
const listRuns = make("extensionInstallationsListRuns");
|
|
21
23
|
const getRun = make("extensionInstallationsGetRun");
|
|
22
24
|
//#endregion
|
|
23
|
-
export { disable, enable, get, getRun, install, list, listRuns, extension_installations_exports as t, uninstall };
|
|
25
|
+
export { disable, enable, get, getRun, install, list, listRuns, extension_installations_exports as t, uninstall, upgrade };
|
|
24
26
|
|
|
25
27
|
//# sourceMappingURL=extension-installations.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
3
|
//#region src/effect/extensions.ts
|
|
4
4
|
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
get: () => get,
|
package/dist/effect/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
3
|
-
import { T as SendFeedback } from "../client-
|
|
2
|
+
import { n as make } from "../operation-B_Ty1LG-.js";
|
|
3
|
+
import { T as SendFeedback } from "../client-DYPNDvVU.js";
|
|
4
4
|
//#region src/effect/feedback.ts
|
|
5
5
|
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
SendPayload: () => SendFeedback,
|
|
@@ -63,6 +63,10 @@ export declare const SamvaErrorMetadata: {
|
|
|
63
63
|
readonly categories: readonly ["notFound"];
|
|
64
64
|
readonly retryable: false;
|
|
65
65
|
};
|
|
66
|
+
readonly SenderNotReadyError: {
|
|
67
|
+
readonly categories: readonly ["transient"];
|
|
68
|
+
readonly retryable: true;
|
|
69
|
+
};
|
|
66
70
|
readonly UnauthorizedError: {
|
|
67
71
|
readonly categories: readonly ["auth"];
|
|
68
72
|
readonly retryable: false;
|