samva 0.11.0 → 0.12.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/client/sdk.gen.d.ts +23 -7
- package/dist/client/types.gen.d.ts +134 -1
- package/dist/{client-8YXjfsVc.js → client-Cj1bqIEe.js} +120 -14
- package/dist/{client-attribution-Ct2FKITg.js → client-attribution-BTWYSXxo.js} +2 -2
- 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.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.js +1 -1
- 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 +86 -1
- package/dist/effect/email.js +7 -3
- package/dist/effect/extension-installations.js +1 -1
- package/dist/effect/extensions.js +1 -1
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated.d.ts +498 -3
- package/dist/effect/index.js +2 -2
- package/dist/effect/mailboxes.js +2 -2
- package/dist/effect/media.js +1 -1
- 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/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 +2 -2
- 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-BtcktcNB.js} +4 -4
- package/dist/{operation-BuyvAsZ1.js → operation-BEghYyLu.js} +10 -2
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-CqAmI39P.js → promises-BzrwhHEW.js} +48 -8
- package/dist/service-map.d.ts +10 -0
- package/package.json +2 -2
|
@@ -390,6 +390,22 @@ declare const EmailChannelError_base: Schema.Class<EmailChannelError, Schema.Str
|
|
|
390
390
|
}>, import("effect/Cause").YieldableError>;
|
|
391
391
|
export declare class EmailChannelError extends EmailChannelError_base {
|
|
392
392
|
}
|
|
393
|
+
export type CustomTrackingCertificate = {
|
|
394
|
+
readonly reason: {
|
|
395
|
+
readonly code: "initializing" | "awaiting-hostname" | "awaiting-dcv" | "issuing" | "caa-blocked" | "validation-error" | "timed-out" | "verifying-route" | "ready" | "provider-unreachable";
|
|
396
|
+
readonly message: string;
|
|
397
|
+
};
|
|
398
|
+
readonly lastCheckedAt: string | null;
|
|
399
|
+
readonly nextCheckAt: string | null;
|
|
400
|
+
};
|
|
401
|
+
export declare const CustomTrackingCertificate: Schema.Struct<{
|
|
402
|
+
readonly reason: Schema.Struct<{
|
|
403
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
404
|
+
readonly message: Schema.String;
|
|
405
|
+
}>;
|
|
406
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
407
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
408
|
+
}>;
|
|
393
409
|
export type CustomTrackingDnsRecord = {
|
|
394
410
|
readonly name: string;
|
|
395
411
|
readonly type: string;
|
|
@@ -2078,6 +2094,68 @@ export declare const BlockLogPage: Schema.Struct<{
|
|
|
2078
2094
|
}>>;
|
|
2079
2095
|
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2080
2096
|
}>;
|
|
2097
|
+
export type ReceivingStatus = {
|
|
2098
|
+
readonly domain: string;
|
|
2099
|
+
readonly receivingHost: string;
|
|
2100
|
+
readonly sending: {
|
|
2101
|
+
readonly satisfied: boolean;
|
|
2102
|
+
readonly phase: "dns-setup" | "provisioning" | "verifying" | "ready" | "degraded" | "failed";
|
|
2103
|
+
};
|
|
2104
|
+
readonly destination: {
|
|
2105
|
+
readonly satisfied: boolean;
|
|
2106
|
+
readonly endpointId: WebhookEndpointId | null;
|
|
2107
|
+
readonly forwardingRules: number;
|
|
2108
|
+
readonly mailboxes: number;
|
|
2109
|
+
};
|
|
2110
|
+
readonly receiving: {
|
|
2111
|
+
readonly satisfied: boolean;
|
|
2112
|
+
readonly catchAll: boolean;
|
|
2113
|
+
};
|
|
2114
|
+
readonly mx: {
|
|
2115
|
+
readonly satisfied: boolean;
|
|
2116
|
+
readonly state: "pointing-here" | "elsewhere" | "missing" | "unknown";
|
|
2117
|
+
readonly expected: {
|
|
2118
|
+
readonly exchange: string;
|
|
2119
|
+
readonly priority: number;
|
|
2120
|
+
};
|
|
2121
|
+
readonly current: ReadonlyArray<{
|
|
2122
|
+
readonly exchange: string;
|
|
2123
|
+
readonly priority: number;
|
|
2124
|
+
}>;
|
|
2125
|
+
};
|
|
2126
|
+
readonly ready: boolean;
|
|
2127
|
+
};
|
|
2128
|
+
export declare const ReceivingStatus: Schema.Struct<{
|
|
2129
|
+
readonly domain: Schema.String;
|
|
2130
|
+
readonly receivingHost: Schema.String;
|
|
2131
|
+
readonly sending: Schema.Struct<{
|
|
2132
|
+
readonly satisfied: Schema.Boolean;
|
|
2133
|
+
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
2134
|
+
}>;
|
|
2135
|
+
readonly destination: Schema.Struct<{
|
|
2136
|
+
readonly satisfied: Schema.Boolean;
|
|
2137
|
+
readonly endpointId: Schema.Union<readonly [Schema.brand<Schema.String, "WebhookEndpointId">, Schema.Null]>;
|
|
2138
|
+
readonly forwardingRules: Schema.Finite;
|
|
2139
|
+
readonly mailboxes: Schema.Finite;
|
|
2140
|
+
}>;
|
|
2141
|
+
readonly receiving: Schema.Struct<{
|
|
2142
|
+
readonly satisfied: Schema.Boolean;
|
|
2143
|
+
readonly catchAll: Schema.Boolean;
|
|
2144
|
+
}>;
|
|
2145
|
+
readonly mx: Schema.Struct<{
|
|
2146
|
+
readonly satisfied: Schema.Boolean;
|
|
2147
|
+
readonly state: Schema.Union<readonly [Schema.Literal<"pointing-here">, Schema.Literal<"elsewhere">, Schema.Literal<"missing">, Schema.Literal<"unknown">]>;
|
|
2148
|
+
readonly expected: Schema.Struct<{
|
|
2149
|
+
readonly exchange: Schema.String;
|
|
2150
|
+
readonly priority: Schema.Finite;
|
|
2151
|
+
}>;
|
|
2152
|
+
readonly current: Schema.$Array<Schema.Struct<{
|
|
2153
|
+
readonly exchange: Schema.String;
|
|
2154
|
+
readonly priority: Schema.Finite;
|
|
2155
|
+
}>>;
|
|
2156
|
+
}>;
|
|
2157
|
+
readonly ready: Schema.Boolean;
|
|
2158
|
+
}>;
|
|
2081
2159
|
export type WebhookEndpoint = {
|
|
2082
2160
|
readonly id: WebhookEndpointId;
|
|
2083
2161
|
readonly name: string;
|
|
@@ -2249,6 +2327,7 @@ export type CustomTrackingStatus = {
|
|
|
2249
2327
|
readonly hostname: string;
|
|
2250
2328
|
readonly region: string;
|
|
2251
2329
|
readonly sslStatus: string | null;
|
|
2330
|
+
readonly certificate: CustomTrackingCertificate | null;
|
|
2252
2331
|
readonly dnsRecords: {
|
|
2253
2332
|
readonly tracking: CustomTrackingDnsRecord | null;
|
|
2254
2333
|
readonly dcvDelegation: CustomTrackingDnsRecord | null;
|
|
@@ -2266,6 +2345,14 @@ export declare const CustomTrackingStatus: Schema.Struct<{
|
|
|
2266
2345
|
readonly hostname: Schema.String;
|
|
2267
2346
|
readonly region: Schema.String;
|
|
2268
2347
|
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2348
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
2349
|
+
readonly reason: Schema.Struct<{
|
|
2350
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
2351
|
+
readonly message: Schema.String;
|
|
2352
|
+
}>;
|
|
2353
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2354
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2355
|
+
}>, Schema.Null]>;
|
|
2269
2356
|
readonly dnsRecords: Schema.Struct<{
|
|
2270
2357
|
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
2271
2358
|
readonly name: Schema.String;
|
|
@@ -2390,6 +2477,7 @@ export type ForwardingRuleList = {
|
|
|
2390
2477
|
readonly id: EmailForwardingRuleId;
|
|
2391
2478
|
readonly name: string;
|
|
2392
2479
|
readonly description: string | null;
|
|
2480
|
+
readonly domainId: EmailDomainId | null;
|
|
2393
2481
|
readonly sourcePattern: string | null;
|
|
2394
2482
|
readonly forwardTo: ReadonlyArray<string>;
|
|
2395
2483
|
readonly preserveHeaders: boolean;
|
|
@@ -2406,6 +2494,7 @@ export declare const ForwardingRuleList: Schema.Struct<{
|
|
|
2406
2494
|
readonly id: Schema.brand<Schema.String, "EmailForwardingRuleId">;
|
|
2407
2495
|
readonly name: Schema.String;
|
|
2408
2496
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2497
|
+
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
2409
2498
|
readonly sourcePattern: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2410
2499
|
readonly forwardTo: Schema.$Array<Schema.String>;
|
|
2411
2500
|
readonly preserveHeaders: Schema.Boolean;
|
|
@@ -12468,6 +12557,14 @@ export declare const EmailGetCustomTracking200: Schema.Struct<{
|
|
|
12468
12557
|
readonly hostname: Schema.String;
|
|
12469
12558
|
readonly region: Schema.String;
|
|
12470
12559
|
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12560
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
12561
|
+
readonly reason: Schema.Struct<{
|
|
12562
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
12563
|
+
readonly message: Schema.String;
|
|
12564
|
+
}>;
|
|
12565
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12566
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12567
|
+
}>, Schema.Null]>;
|
|
12471
12568
|
readonly dnsRecords: Schema.Struct<{
|
|
12472
12569
|
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
12473
12570
|
readonly name: Schema.String;
|
|
@@ -12516,6 +12613,14 @@ export declare const EmailEnableCustomTracking200: Schema.Struct<{
|
|
|
12516
12613
|
readonly hostname: Schema.String;
|
|
12517
12614
|
readonly region: Schema.String;
|
|
12518
12615
|
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12616
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
12617
|
+
readonly reason: Schema.Struct<{
|
|
12618
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
12619
|
+
readonly message: Schema.String;
|
|
12620
|
+
}>;
|
|
12621
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12622
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12623
|
+
}>, Schema.Null]>;
|
|
12519
12624
|
readonly dnsRecords: Schema.Struct<{
|
|
12520
12625
|
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
12521
12626
|
readonly name: Schema.String;
|
|
@@ -12654,6 +12759,62 @@ export type EmailCompleteCustomTrackingDomainConnect500 = InternalError;
|
|
|
12654
12759
|
export declare const EmailCompleteCustomTrackingDomainConnect500: typeof InternalError;
|
|
12655
12760
|
export type EmailCompleteCustomTrackingDomainConnect504 = GatewayTimeoutError;
|
|
12656
12761
|
export declare const EmailCompleteCustomTrackingDomainConnect504: typeof GatewayTimeoutError;
|
|
12762
|
+
export type EmailRecheckCustomTrackingPathParams = {
|
|
12763
|
+
readonly id: EmailDomainId;
|
|
12764
|
+
};
|
|
12765
|
+
export declare const EmailRecheckCustomTrackingPathParams: Schema.Struct<{
|
|
12766
|
+
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
12767
|
+
}>;
|
|
12768
|
+
export type EmailRecheckCustomTracking200 = CustomTrackingStatus;
|
|
12769
|
+
export declare const EmailRecheckCustomTracking200: Schema.Struct<{
|
|
12770
|
+
readonly enabled: Schema.Boolean;
|
|
12771
|
+
readonly customTracking: Schema.Union<readonly [Schema.Struct<{
|
|
12772
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
|
|
12773
|
+
readonly label: Schema.String;
|
|
12774
|
+
readonly hostname: Schema.String;
|
|
12775
|
+
readonly region: Schema.String;
|
|
12776
|
+
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12777
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
12778
|
+
readonly reason: Schema.Struct<{
|
|
12779
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
12780
|
+
readonly message: Schema.String;
|
|
12781
|
+
}>;
|
|
12782
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12783
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12784
|
+
}>, Schema.Null]>;
|
|
12785
|
+
readonly dnsRecords: Schema.Struct<{
|
|
12786
|
+
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
12787
|
+
readonly name: Schema.String;
|
|
12788
|
+
readonly type: Schema.String;
|
|
12789
|
+
readonly value: Schema.String;
|
|
12790
|
+
}>, Schema.Null]>;
|
|
12791
|
+
readonly dcvDelegation: Schema.Union<readonly [Schema.Struct<{
|
|
12792
|
+
readonly name: Schema.String;
|
|
12793
|
+
readonly type: Schema.String;
|
|
12794
|
+
readonly value: Schema.String;
|
|
12795
|
+
}>, Schema.Null]>;
|
|
12796
|
+
}>;
|
|
12797
|
+
readonly caaBlocked: Schema.Boolean;
|
|
12798
|
+
readonly verificationErrors: Schema.$Array<Schema.String>;
|
|
12799
|
+
readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12800
|
+
}>, Schema.Null]>;
|
|
12801
|
+
}>;
|
|
12802
|
+
export type EmailRecheckCustomTracking401 = UnauthorizedError;
|
|
12803
|
+
export declare const EmailRecheckCustomTracking401: typeof UnauthorizedError;
|
|
12804
|
+
export type EmailRecheckCustomTracking403 = ForbiddenError;
|
|
12805
|
+
export declare const EmailRecheckCustomTracking403: typeof ForbiddenError;
|
|
12806
|
+
export type EmailRecheckCustomTracking404 = ResourceNotFoundError;
|
|
12807
|
+
export declare const EmailRecheckCustomTracking404: typeof ResourceNotFoundError;
|
|
12808
|
+
export type EmailRecheckCustomTracking409 = ConflictError;
|
|
12809
|
+
export declare const EmailRecheckCustomTracking409: typeof ConflictError;
|
|
12810
|
+
export type EmailRecheckCustomTracking422 = ValidationError;
|
|
12811
|
+
export declare const EmailRecheckCustomTracking422: typeof ValidationError;
|
|
12812
|
+
export type EmailRecheckCustomTracking500 = InternalError;
|
|
12813
|
+
export declare const EmailRecheckCustomTracking500: typeof InternalError;
|
|
12814
|
+
export type EmailRecheckCustomTracking502 = EmailChannelError;
|
|
12815
|
+
export declare const EmailRecheckCustomTracking502: typeof EmailChannelError;
|
|
12816
|
+
export type EmailRecheckCustomTracking504 = GatewayTimeoutError;
|
|
12817
|
+
export declare const EmailRecheckCustomTracking504: typeof GatewayTimeoutError;
|
|
12657
12818
|
export type EmailSetDefaultDomainPathParams = {
|
|
12658
12819
|
readonly id: EmailDomainId;
|
|
12659
12820
|
};
|
|
@@ -12860,10 +13021,10 @@ export declare const EmailEnableCatchAllPathParams: Schema.Struct<{
|
|
|
12860
13021
|
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
12861
13022
|
}>;
|
|
12862
13023
|
export type EmailEnableCatchAllRequestJson = {
|
|
12863
|
-
readonly endpointId
|
|
13024
|
+
readonly endpointId?: WebhookEndpointId | null;
|
|
12864
13025
|
};
|
|
12865
13026
|
export declare const EmailEnableCatchAllRequestJson: Schema.Struct<{
|
|
12866
|
-
readonly endpointId: Schema.brand<Schema.String, "WebhookEndpointId"
|
|
13027
|
+
readonly endpointId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "WebhookEndpointId">, Schema.Null]>>;
|
|
12867
13028
|
}>;
|
|
12868
13029
|
export type EmailEnableCatchAll201 = {
|
|
12869
13030
|
readonly success: true;
|
|
@@ -12923,6 +13084,56 @@ export type EmailEnableReceiving500 = InternalError;
|
|
|
12923
13084
|
export declare const EmailEnableReceiving500: typeof InternalError;
|
|
12924
13085
|
export type EmailEnableReceiving504 = GatewayTimeoutError;
|
|
12925
13086
|
export declare const EmailEnableReceiving504: typeof GatewayTimeoutError;
|
|
13087
|
+
export type EmailGetReceivingStatusPathParams = {
|
|
13088
|
+
readonly id: EmailDomainId;
|
|
13089
|
+
};
|
|
13090
|
+
export declare const EmailGetReceivingStatusPathParams: Schema.Struct<{
|
|
13091
|
+
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
13092
|
+
}>;
|
|
13093
|
+
export type EmailGetReceivingStatus200 = ReceivingStatus;
|
|
13094
|
+
export declare const EmailGetReceivingStatus200: Schema.Struct<{
|
|
13095
|
+
readonly domain: Schema.String;
|
|
13096
|
+
readonly receivingHost: Schema.String;
|
|
13097
|
+
readonly sending: Schema.Struct<{
|
|
13098
|
+
readonly satisfied: Schema.Boolean;
|
|
13099
|
+
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
13100
|
+
}>;
|
|
13101
|
+
readonly destination: Schema.Struct<{
|
|
13102
|
+
readonly satisfied: Schema.Boolean;
|
|
13103
|
+
readonly endpointId: Schema.Union<readonly [Schema.brand<Schema.String, "WebhookEndpointId">, Schema.Null]>;
|
|
13104
|
+
readonly forwardingRules: Schema.Finite;
|
|
13105
|
+
readonly mailboxes: Schema.Finite;
|
|
13106
|
+
}>;
|
|
13107
|
+
readonly receiving: Schema.Struct<{
|
|
13108
|
+
readonly satisfied: Schema.Boolean;
|
|
13109
|
+
readonly catchAll: Schema.Boolean;
|
|
13110
|
+
}>;
|
|
13111
|
+
readonly mx: Schema.Struct<{
|
|
13112
|
+
readonly satisfied: Schema.Boolean;
|
|
13113
|
+
readonly state: Schema.Union<readonly [Schema.Literal<"pointing-here">, Schema.Literal<"elsewhere">, Schema.Literal<"missing">, Schema.Literal<"unknown">]>;
|
|
13114
|
+
readonly expected: Schema.Struct<{
|
|
13115
|
+
readonly exchange: Schema.String;
|
|
13116
|
+
readonly priority: Schema.Finite;
|
|
13117
|
+
}>;
|
|
13118
|
+
readonly current: Schema.$Array<Schema.Struct<{
|
|
13119
|
+
readonly exchange: Schema.String;
|
|
13120
|
+
readonly priority: Schema.Finite;
|
|
13121
|
+
}>>;
|
|
13122
|
+
}>;
|
|
13123
|
+
readonly ready: Schema.Boolean;
|
|
13124
|
+
}>;
|
|
13125
|
+
export type EmailGetReceivingStatus401 = UnauthorizedError;
|
|
13126
|
+
export declare const EmailGetReceivingStatus401: typeof UnauthorizedError;
|
|
13127
|
+
export type EmailGetReceivingStatus403 = ForbiddenError;
|
|
13128
|
+
export declare const EmailGetReceivingStatus403: typeof ForbiddenError;
|
|
13129
|
+
export type EmailGetReceivingStatus404 = ResourceNotFoundError;
|
|
13130
|
+
export declare const EmailGetReceivingStatus404: typeof ResourceNotFoundError;
|
|
13131
|
+
export type EmailGetReceivingStatus422 = ValidationError;
|
|
13132
|
+
export declare const EmailGetReceivingStatus422: typeof ValidationError;
|
|
13133
|
+
export type EmailGetReceivingStatus500 = InternalError;
|
|
13134
|
+
export declare const EmailGetReceivingStatus500: typeof InternalError;
|
|
13135
|
+
export type EmailGetReceivingStatus504 = GatewayTimeoutError;
|
|
13136
|
+
export declare const EmailGetReceivingStatus504: typeof GatewayTimeoutError;
|
|
12926
13137
|
export type EmailDetectRegistrarPathParams = {
|
|
12927
13138
|
readonly id: EmailDomainId;
|
|
12928
13139
|
};
|
|
@@ -13923,6 +14134,7 @@ export declare const EmailListForwardingRules200: Schema.Struct<{
|
|
|
13923
14134
|
readonly id: Schema.brand<Schema.String, "EmailForwardingRuleId">;
|
|
13924
14135
|
readonly name: Schema.String;
|
|
13925
14136
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14137
|
+
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
13926
14138
|
readonly sourcePattern: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13927
14139
|
readonly forwardTo: Schema.$Array<Schema.String>;
|
|
13928
14140
|
readonly preserveHeaders: Schema.Boolean;
|
|
@@ -35776,7 +35988,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
35776
35988
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailEnableCatchAll", "POST", "/v1/email/domains/:id/enable-catch-all", Schema.toCodecStringTree<Schema.Struct<{
|
|
35777
35989
|
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
35778
35990
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
35779
|
-
readonly endpointId: Schema.brand<Schema.String, "WebhookEndpointId"
|
|
35991
|
+
readonly endpointId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "WebhookEndpointId">, Schema.Null]>>;
|
|
35780
35992
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
35781
35993
|
readonly success: Schema.Literal<true>;
|
|
35782
35994
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ExternalServiceError, {
|
|
@@ -35883,6 +36095,14 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
35883
36095
|
readonly hostname: Schema.String;
|
|
35884
36096
|
readonly region: Schema.String;
|
|
35885
36097
|
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36098
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
36099
|
+
readonly reason: Schema.Struct<{
|
|
36100
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
36101
|
+
readonly message: Schema.String;
|
|
36102
|
+
}>;
|
|
36103
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36104
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36105
|
+
}>, Schema.Null]>;
|
|
35886
36106
|
readonly dnsRecords: Schema.Struct<{
|
|
35887
36107
|
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
35888
36108
|
readonly name: Schema.String;
|
|
@@ -36343,6 +36563,14 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
36343
36563
|
readonly hostname: Schema.String;
|
|
36344
36564
|
readonly region: Schema.String;
|
|
36345
36565
|
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36566
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
36567
|
+
readonly reason: Schema.Struct<{
|
|
36568
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
36569
|
+
readonly message: Schema.String;
|
|
36570
|
+
}>;
|
|
36571
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36572
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36573
|
+
}>, Schema.Null]>;
|
|
36346
36574
|
readonly dnsRecords: Schema.Struct<{
|
|
36347
36575
|
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
36348
36576
|
readonly name: Schema.String;
|
|
@@ -37210,6 +37438,118 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
37210
37438
|
readonly _tag: Schema.tag<"ValidationError">;
|
|
37211
37439
|
readonly message: Schema.String;
|
|
37212
37440
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
37441
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailGetReceivingStatus", "GET", "/v1/email/domains/:id/receiving-status", Schema.toCodecStringTree<Schema.Struct<{
|
|
37442
|
+
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
37443
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
37444
|
+
readonly domain: Schema.String;
|
|
37445
|
+
readonly receivingHost: Schema.String;
|
|
37446
|
+
readonly sending: Schema.Struct<{
|
|
37447
|
+
readonly satisfied: Schema.Boolean;
|
|
37448
|
+
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
37449
|
+
}>;
|
|
37450
|
+
readonly destination: Schema.Struct<{
|
|
37451
|
+
readonly satisfied: Schema.Boolean;
|
|
37452
|
+
readonly endpointId: Schema.Union<readonly [Schema.brand<Schema.String, "WebhookEndpointId">, Schema.Null]>;
|
|
37453
|
+
readonly forwardingRules: Schema.Finite;
|
|
37454
|
+
readonly mailboxes: Schema.Finite;
|
|
37455
|
+
}>;
|
|
37456
|
+
readonly receiving: Schema.Struct<{
|
|
37457
|
+
readonly satisfied: Schema.Boolean;
|
|
37458
|
+
readonly catchAll: Schema.Boolean;
|
|
37459
|
+
}>;
|
|
37460
|
+
readonly mx: Schema.Struct<{
|
|
37461
|
+
readonly satisfied: Schema.Boolean;
|
|
37462
|
+
readonly state: Schema.Union<readonly [Schema.Literal<"pointing-here">, Schema.Literal<"elsewhere">, Schema.Literal<"missing">, Schema.Literal<"unknown">]>;
|
|
37463
|
+
readonly expected: Schema.Struct<{
|
|
37464
|
+
readonly exchange: Schema.String;
|
|
37465
|
+
readonly priority: Schema.Finite;
|
|
37466
|
+
}>;
|
|
37467
|
+
readonly current: Schema.$Array<Schema.Struct<{
|
|
37468
|
+
readonly exchange: Schema.String;
|
|
37469
|
+
readonly priority: Schema.Finite;
|
|
37470
|
+
}>>;
|
|
37471
|
+
}>;
|
|
37472
|
+
readonly ready: Schema.Boolean;
|
|
37473
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
37474
|
+
readonly _tag: "ForbiddenError";
|
|
37475
|
+
readonly message: string;
|
|
37476
|
+
}, readonly [Schema.Struct<{
|
|
37477
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
37478
|
+
readonly message: Schema.String;
|
|
37479
|
+
}>], {
|
|
37480
|
+
readonly _tag: "ForbiddenError";
|
|
37481
|
+
readonly message: string;
|
|
37482
|
+
}>, Schema.Struct<{
|
|
37483
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
37484
|
+
readonly message: Schema.String;
|
|
37485
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
37486
|
+
readonly _tag: "GatewayTimeoutError";
|
|
37487
|
+
readonly message: string;
|
|
37488
|
+
readonly retryAfterSeconds: number;
|
|
37489
|
+
}, readonly [Schema.Struct<{
|
|
37490
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
37491
|
+
readonly message: Schema.String;
|
|
37492
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
37493
|
+
}>], {
|
|
37494
|
+
readonly _tag: "GatewayTimeoutError";
|
|
37495
|
+
readonly message: string;
|
|
37496
|
+
readonly retryAfterSeconds: number;
|
|
37497
|
+
}>, Schema.Struct<{
|
|
37498
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
37499
|
+
readonly message: Schema.String;
|
|
37500
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
37501
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
37502
|
+
readonly _tag: "ResourceNotFoundError";
|
|
37503
|
+
readonly resource: string;
|
|
37504
|
+
readonly id: string;
|
|
37505
|
+
readonly message: string;
|
|
37506
|
+
}, readonly [Schema.Struct<{
|
|
37507
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
37508
|
+
readonly resource: Schema.String;
|
|
37509
|
+
readonly id: Schema.String;
|
|
37510
|
+
readonly message: Schema.String;
|
|
37511
|
+
}>], {
|
|
37512
|
+
readonly _tag: "ResourceNotFoundError";
|
|
37513
|
+
readonly resource: string;
|
|
37514
|
+
readonly id: string;
|
|
37515
|
+
readonly message: string;
|
|
37516
|
+
}>, Schema.Struct<{
|
|
37517
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
37518
|
+
readonly resource: Schema.String;
|
|
37519
|
+
readonly id: Schema.String;
|
|
37520
|
+
readonly message: Schema.String;
|
|
37521
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
37522
|
+
readonly _tag: "UnauthorizedError";
|
|
37523
|
+
readonly message: string;
|
|
37524
|
+
}, readonly [Schema.Struct<{
|
|
37525
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
37526
|
+
readonly message: Schema.String;
|
|
37527
|
+
}>], {
|
|
37528
|
+
readonly _tag: "UnauthorizedError";
|
|
37529
|
+
readonly message: string;
|
|
37530
|
+
}>, Schema.Struct<{
|
|
37531
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
37532
|
+
readonly message: Schema.String;
|
|
37533
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
37534
|
+
readonly _tag: "ValidationError";
|
|
37535
|
+
readonly message: string;
|
|
37536
|
+
readonly fields?: {
|
|
37537
|
+
readonly [x: string]: readonly string[];
|
|
37538
|
+
} | null;
|
|
37539
|
+
}, readonly [Schema.Struct<{
|
|
37540
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
37541
|
+
readonly message: Schema.String;
|
|
37542
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
37543
|
+
}>], {
|
|
37544
|
+
readonly _tag: "ValidationError";
|
|
37545
|
+
readonly message: string;
|
|
37546
|
+
readonly fields?: {
|
|
37547
|
+
readonly [x: string]: readonly string[];
|
|
37548
|
+
} | null;
|
|
37549
|
+
}>, Schema.Struct<{
|
|
37550
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
37551
|
+
readonly message: Schema.String;
|
|
37552
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
37213
37553
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailGetRecipientTrackingPreference", "GET", "/v1/email/tracking/recipients", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
37214
37554
|
readonly email: Schema.String;
|
|
37215
37555
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -37708,6 +38048,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
37708
38048
|
readonly id: Schema.brand<Schema.String, "EmailForwardingRuleId">;
|
|
37709
38049
|
readonly name: Schema.String;
|
|
37710
38050
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38051
|
+
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
37711
38052
|
readonly sourcePattern: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
37712
38053
|
readonly forwardTo: Schema.$Array<Schema.String>;
|
|
37713
38054
|
readonly preserveHeaders: Schema.Boolean;
|
|
@@ -38224,6 +38565,160 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
38224
38565
|
readonly _tag: Schema.tag<"ValidationError">;
|
|
38225
38566
|
readonly message: Schema.String;
|
|
38226
38567
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
38568
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailRecheckCustomTracking", "POST", "/v1/email/domains/:id/custom-tracking/recheck", Schema.toCodecStringTree<Schema.Struct<{
|
|
38569
|
+
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
38570
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
38571
|
+
readonly enabled: Schema.Boolean;
|
|
38572
|
+
readonly customTracking: Schema.Union<readonly [Schema.Struct<{
|
|
38573
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
|
|
38574
|
+
readonly label: Schema.String;
|
|
38575
|
+
readonly hostname: Schema.String;
|
|
38576
|
+
readonly region: Schema.String;
|
|
38577
|
+
readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38578
|
+
readonly certificate: Schema.Union<readonly [Schema.Struct<{
|
|
38579
|
+
readonly reason: Schema.Struct<{
|
|
38580
|
+
readonly code: Schema.Union<readonly [Schema.Literal<"initializing">, Schema.Literal<"awaiting-hostname">, Schema.Literal<"awaiting-dcv">, Schema.Literal<"issuing">, Schema.Literal<"caa-blocked">, Schema.Literal<"validation-error">, Schema.Literal<"timed-out">, Schema.Literal<"verifying-route">, Schema.Literal<"ready">, Schema.Literal<"provider-unreachable">]>;
|
|
38581
|
+
readonly message: Schema.String;
|
|
38582
|
+
}>;
|
|
38583
|
+
readonly lastCheckedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38584
|
+
readonly nextCheckAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38585
|
+
}>, Schema.Null]>;
|
|
38586
|
+
readonly dnsRecords: Schema.Struct<{
|
|
38587
|
+
readonly tracking: Schema.Union<readonly [Schema.Struct<{
|
|
38588
|
+
readonly name: Schema.String;
|
|
38589
|
+
readonly type: Schema.String;
|
|
38590
|
+
readonly value: Schema.String;
|
|
38591
|
+
}>, Schema.Null]>;
|
|
38592
|
+
readonly dcvDelegation: Schema.Union<readonly [Schema.Struct<{
|
|
38593
|
+
readonly name: Schema.String;
|
|
38594
|
+
readonly type: Schema.String;
|
|
38595
|
+
readonly value: Schema.String;
|
|
38596
|
+
}>, Schema.Null]>;
|
|
38597
|
+
}>;
|
|
38598
|
+
readonly caaBlocked: Schema.Boolean;
|
|
38599
|
+
readonly verificationErrors: Schema.$Array<Schema.String>;
|
|
38600
|
+
readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38601
|
+
}>, Schema.Null]>;
|
|
38602
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
38603
|
+
readonly _tag: "ConflictError";
|
|
38604
|
+
readonly message: string;
|
|
38605
|
+
readonly resource: string;
|
|
38606
|
+
readonly id?: string | null;
|
|
38607
|
+
}, readonly [Schema.Struct<{
|
|
38608
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
38609
|
+
readonly message: Schema.String;
|
|
38610
|
+
readonly resource: Schema.String;
|
|
38611
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
38612
|
+
}>], {
|
|
38613
|
+
readonly _tag: "ConflictError";
|
|
38614
|
+
readonly message: string;
|
|
38615
|
+
readonly resource: string;
|
|
38616
|
+
readonly id?: string | null;
|
|
38617
|
+
}>, Schema.Struct<{
|
|
38618
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
38619
|
+
readonly message: Schema.String;
|
|
38620
|
+
readonly resource: Schema.String;
|
|
38621
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
38622
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<EmailChannelError, {
|
|
38623
|
+
readonly _tag: "EmailChannelError";
|
|
38624
|
+
readonly reason: "auth" | "rate_limited" | "rejected" | "transport";
|
|
38625
|
+
readonly message: string;
|
|
38626
|
+
readonly statusCode?: number | null;
|
|
38627
|
+
}, readonly [Schema.Struct<{
|
|
38628
|
+
readonly _tag: Schema.tag<"EmailChannelError">;
|
|
38629
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"transport">, Schema.Literal<"rejected">, Schema.Literal<"rate_limited">, Schema.Literal<"auth">]>;
|
|
38630
|
+
readonly message: Schema.String;
|
|
38631
|
+
readonly statusCode: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
38632
|
+
}>], {
|
|
38633
|
+
readonly _tag: "EmailChannelError";
|
|
38634
|
+
readonly reason: "auth" | "rate_limited" | "rejected" | "transport";
|
|
38635
|
+
readonly message: string;
|
|
38636
|
+
readonly statusCode?: number | null;
|
|
38637
|
+
}>, Schema.Struct<{
|
|
38638
|
+
readonly _tag: Schema.tag<"EmailChannelError">;
|
|
38639
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"transport">, Schema.Literal<"rejected">, Schema.Literal<"rate_limited">, Schema.Literal<"auth">]>;
|
|
38640
|
+
readonly message: Schema.String;
|
|
38641
|
+
readonly statusCode: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
38642
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
38643
|
+
readonly _tag: "ForbiddenError";
|
|
38644
|
+
readonly message: string;
|
|
38645
|
+
}, readonly [Schema.Struct<{
|
|
38646
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
38647
|
+
readonly message: Schema.String;
|
|
38648
|
+
}>], {
|
|
38649
|
+
readonly _tag: "ForbiddenError";
|
|
38650
|
+
readonly message: string;
|
|
38651
|
+
}>, Schema.Struct<{
|
|
38652
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
38653
|
+
readonly message: Schema.String;
|
|
38654
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
38655
|
+
readonly _tag: "GatewayTimeoutError";
|
|
38656
|
+
readonly message: string;
|
|
38657
|
+
readonly retryAfterSeconds: number;
|
|
38658
|
+
}, readonly [Schema.Struct<{
|
|
38659
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
38660
|
+
readonly message: Schema.String;
|
|
38661
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
38662
|
+
}>], {
|
|
38663
|
+
readonly _tag: "GatewayTimeoutError";
|
|
38664
|
+
readonly message: string;
|
|
38665
|
+
readonly retryAfterSeconds: number;
|
|
38666
|
+
}>, Schema.Struct<{
|
|
38667
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
38668
|
+
readonly message: Schema.String;
|
|
38669
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
38670
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
38671
|
+
readonly _tag: "ResourceNotFoundError";
|
|
38672
|
+
readonly resource: string;
|
|
38673
|
+
readonly id: string;
|
|
38674
|
+
readonly message: string;
|
|
38675
|
+
}, readonly [Schema.Struct<{
|
|
38676
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
38677
|
+
readonly resource: Schema.String;
|
|
38678
|
+
readonly id: Schema.String;
|
|
38679
|
+
readonly message: Schema.String;
|
|
38680
|
+
}>], {
|
|
38681
|
+
readonly _tag: "ResourceNotFoundError";
|
|
38682
|
+
readonly resource: string;
|
|
38683
|
+
readonly id: string;
|
|
38684
|
+
readonly message: string;
|
|
38685
|
+
}>, Schema.Struct<{
|
|
38686
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
38687
|
+
readonly resource: Schema.String;
|
|
38688
|
+
readonly id: Schema.String;
|
|
38689
|
+
readonly message: Schema.String;
|
|
38690
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
38691
|
+
readonly _tag: "UnauthorizedError";
|
|
38692
|
+
readonly message: string;
|
|
38693
|
+
}, readonly [Schema.Struct<{
|
|
38694
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
38695
|
+
readonly message: Schema.String;
|
|
38696
|
+
}>], {
|
|
38697
|
+
readonly _tag: "UnauthorizedError";
|
|
38698
|
+
readonly message: string;
|
|
38699
|
+
}>, Schema.Struct<{
|
|
38700
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
38701
|
+
readonly message: Schema.String;
|
|
38702
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
38703
|
+
readonly _tag: "ValidationError";
|
|
38704
|
+
readonly message: string;
|
|
38705
|
+
readonly fields?: {
|
|
38706
|
+
readonly [x: string]: readonly string[];
|
|
38707
|
+
} | null;
|
|
38708
|
+
}, readonly [Schema.Struct<{
|
|
38709
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
38710
|
+
readonly message: Schema.String;
|
|
38711
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
38712
|
+
}>], {
|
|
38713
|
+
readonly _tag: "ValidationError";
|
|
38714
|
+
readonly message: string;
|
|
38715
|
+
readonly fields?: {
|
|
38716
|
+
readonly [x: string]: readonly string[];
|
|
38717
|
+
} | null;
|
|
38718
|
+
}>, Schema.Struct<{
|
|
38719
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
38720
|
+
readonly message: Schema.String;
|
|
38721
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
38227
38722
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailRemoveBlock", "DELETE", "/v1/email/blocks/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
38228
38723
|
readonly id: Schema.brand<Schema.String, "BlockedEmailId">;
|
|
38229
38724
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
package/dist/effect/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ResourceNotFoundError, M as ValidationError, O as UnauthorizedError, S as RateLimitedError, _ as ForbiddenError, a as AnalyticsQueryError, b as OnboardingReviewRequiredError, c as CampaignFooterRequiredError, g as FlagDisabledError, h as ExternalServiceError, l as ConflictError, m as EmailChannelError, o as BillingProviderError, p as DeliveryUnavailableError, s as BrandAddressRequiredError, v as GatewayTimeoutError, x as PaymentRequiredError, y as InternalError } from "../client-
|
|
1
|
+
import { C as ResourceNotFoundError, M as ValidationError, O as UnauthorizedError, S as RateLimitedError, _ as ForbiddenError, a as AnalyticsQueryError, b as OnboardingReviewRequiredError, c as CampaignFooterRequiredError, g as FlagDisabledError, h as ExternalServiceError, l as ConflictError, m as EmailChannelError, o as BillingProviderError, p as DeliveryUnavailableError, s as BrandAddressRequiredError, v as GatewayTimeoutError, x as PaymentRequiredError, y as InternalError } from "../client-Cj1bqIEe.js";
|
|
2
2
|
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-DvsHUJtX.js";
|
|
3
3
|
import { t as retry_exports } from "./retry.js";
|
|
4
4
|
import { t as analytics_exports } from "./analytics.js";
|
|
@@ -15,7 +15,7 @@ import { t as email_exports } from "./email.js";
|
|
|
15
15
|
import { t as extension_installations_exports } from "./extension-installations.js";
|
|
16
16
|
import { t as extensions_exports } from "./extensions.js";
|
|
17
17
|
import { t as feedback_exports } from "./feedback.js";
|
|
18
|
-
import { L as mailboxes_exports } from "../mailboxes-
|
|
18
|
+
import { L as mailboxes_exports } from "../mailboxes-BtcktcNB.js";
|
|
19
19
|
import { t as media_exports } from "./media.js";
|
|
20
20
|
import { t as messages_exports } from "./messages.js";
|
|
21
21
|
import { t as namespaces_exports } from "./namespaces.js";
|
package/dist/effect/mailboxes.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as MailboxEventStreamError } from "../mailbox-events-
|
|
2
|
-
import { $ as updatePolicy, A as listGrants, B as remove, C as getThread, D as listDrafts, E as listActions, F as listThreadNotes, G as revokeGrant, H as reply, I as listThreads, J as update, K as sendDraft, M as listPolicies, N as listQuarantine, O as listEvents, P as listThreadMessages, Q as updateNote, R as pause, S as getPolicy, T as list, U as replyAll, V as removeThreadLabels, W as resume, X as updateGrant, Y as updateDraft, Z as updateLabel, _ as getAgentActivity, a as createGrant, b as getMessageAttachment, c as createPolicy, d as deleteNote, et as updateThread, f as deletePolicy, g as get, h as forward, i as createDraft, j as listLabels, k as listFolders, l as deleteDraft, m as discardMessage, n as approveAction, o as createLabel, p as denyAction, q as sendMessage, r as create, s as createNote, t as addThreadLabels, tt as events, u as deleteLabel, v as getDraft, w as getThreadContent, x as getMessageRaw, y as getMessage, z as releaseMessage } from "../mailboxes-
|
|
1
|
+
import { n as MailboxEventStreamError } from "../mailbox-events-CsbF35vH.js";
|
|
2
|
+
import { $ as updatePolicy, A as listGrants, B as remove, C as getThread, D as listDrafts, E as listActions, F as listThreadNotes, G as revokeGrant, H as reply, I as listThreads, J as update, K as sendDraft, M as listPolicies, N as listQuarantine, O as listEvents, P as listThreadMessages, Q as updateNote, R as pause, S as getPolicy, T as list, U as replyAll, V as removeThreadLabels, W as resume, X as updateGrant, Y as updateDraft, Z as updateLabel, _ as getAgentActivity, a as createGrant, b as getMessageAttachment, c as createPolicy, d as deleteNote, et as updateThread, f as deletePolicy, g as get, h as forward, i as createDraft, j as listLabels, k as listFolders, l as deleteDraft, m as discardMessage, n as approveAction, o as createLabel, p as denyAction, q as sendMessage, r as create, s as createNote, t as addThreadLabels, tt as events, u as deleteLabel, v as getDraft, w as getThreadContent, x as getMessageRaw, y as getMessage, z as releaseMessage } from "../mailboxes-BtcktcNB.js";
|
|
3
3
|
export { MailboxEventStreamError, addThreadLabels, approveAction, create, createDraft, createGrant, createLabel, createNote, createPolicy, deleteDraft, deleteLabel, deleteNote, deletePolicy, denyAction, discardMessage, events, forward, get, getAgentActivity, getDraft, getMessage, getMessageAttachment, getMessageRaw, getPolicy, getThread, getThreadContent, list, listActions, listDrafts, listEvents, listFolders, listGrants, listLabels, listPolicies, listQuarantine, listThreadMessages, listThreadNotes, listThreads, pause, releaseMessage, remove, removeThreadLabels, reply, replyAll, resume, revokeGrant, sendDraft, sendMessage, update, updateDraft, updateGrant, updateLabel, updateNote, updatePolicy, updateThread };
|