samva 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -9
- package/dist/client/sdk.gen.d.ts +1106 -215
- package/dist/client/types.gen.d.ts +11522 -6311
- package/dist/{client-mI4S99Ts.js → client-8YXjfsVc.js} +5079 -1655
- package/dist/{client-attribution-Bl4nTEsE.js → client-attribution-Ct2FKITg.js} +2 -2
- package/dist/effect/analytics.d.ts +18 -18
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +99 -43
- package/dist/effect/api-keys.js +2 -4
- package/dist/effect/attachments.d.ts +5 -6
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.d.ts +4 -4
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +30 -60
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +29 -46
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +324 -726
- package/dist/effect/contacts.js +10 -2
- package/dist/effect/conversations.d.ts +575 -1130
- package/dist/effect/conversations.js +14 -2
- package/dist/effect/custom-fields.d.ts +3 -53
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +263 -297
- package/dist/effect/email.js +5 -3
- package/dist/effect/extension-installations.d.ts +218 -0
- package/dist/effect/extension-installations.js +25 -0
- package/dist/effect/extensions.d.ts +192 -0
- package/dist/effect/extensions.js +19 -0
- package/dist/effect/feedback.d.ts +12 -0
- package/dist/effect/feedback.js +13 -0
- package/dist/effect/generated.d.ts +31266 -14269
- package/dist/effect/index.d.ts +6 -1
- package/dist/effect/index.js +7 -2
- package/dist/effect/internal/client.d.ts +3 -0
- package/dist/effect/internal/mailbox-events.d.ts +11 -0
- package/dist/effect/internal/operation.d.ts +20 -374
- package/dist/effect/mailboxes.d.ts +1676 -0
- package/dist/effect/mailboxes.js +3 -0
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +171 -938
- package/dist/effect/messages.js +6 -2
- package/dist/effect/namespaces.d.ts +82 -0
- package/dist/effect/namespaces.js +19 -0
- package/dist/effect/operations.d.ts +68 -12
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +5 -4
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/pagination.d.ts +16 -21
- package/dist/effect/scheduled-messages.d.ts +13 -23
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +204 -281
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.d.ts +21 -75
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.d.ts +117 -39
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +3 -2
- package/dist/mailbox-events-CcWm8lO4.js +617 -0
- package/dist/mailbox-events.d.ts +175 -0
- package/dist/mailboxes-4gJMAJh4.js +147 -0
- package/dist/{operation-DQWJO4jY.js → operation-BuyvAsZ1.js} +403 -67
- package/dist/promises/errors.gen.d.ts +5 -0
- package/dist/promises/index.d.ts +23 -1
- package/dist/promises/index.js +3 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-C7D4oaHn.js → promises-CqAmI39P.js} +3242 -556
- package/dist/service-map.d.ts +458 -36
- package/package.json +22 -2
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 {
|
|
2
|
+
import { n as make, r as sendEmail, t as addEmailSender } from "../operation-BuyvAsZ1.js";
|
|
3
|
+
import { D as TrackingRecipientEmail } from "../client-8YXjfsVc.js";
|
|
4
4
|
//#region src/effect/email.ts
|
|
5
5
|
var email_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
@@ -17,6 +17,7 @@ var email_exports = /* @__PURE__ */ __exportAll({
|
|
|
17
17
|
completeCustomTrackingDomainConnect: () => completeCustomTrackingDomainConnect,
|
|
18
18
|
completeDomainConnect: () => completeDomainConnect,
|
|
19
19
|
completeDomainWarming: () => completeDomainWarming,
|
|
20
|
+
countSuppressions: () => countSuppressions,
|
|
20
21
|
createDomainWarmingPlan: () => createDomainWarmingPlan,
|
|
21
22
|
createForwardingRule: () => createForwardingRule,
|
|
22
23
|
deleteForwardingRule: () => deleteForwardingRule,
|
|
@@ -117,6 +118,7 @@ const getCatchAllConfig = make("emailGetCatchAllConfig");
|
|
|
117
118
|
const updateCatchAllConfig = make("emailUpdateCatchAllConfig");
|
|
118
119
|
const getCatchAllStats = make("emailGetCatchAllStats");
|
|
119
120
|
const listSuppressions = make("emailListSuppressions");
|
|
121
|
+
const countSuppressions = make("emailCountSuppressions");
|
|
120
122
|
const removeSuppression = make("emailRemoveSuppression");
|
|
121
123
|
const listBlocks = make("emailListBlocks");
|
|
122
124
|
const addBlock = make("emailAddBlock");
|
|
@@ -130,6 +132,6 @@ const deleteForwardingRule = make("emailDeleteForwardingRule");
|
|
|
130
132
|
const updateForwardingRule = make("emailUpdateForwardingRule");
|
|
131
133
|
const getForwardingLog = make("emailGetForwardingLog");
|
|
132
134
|
//#endregion
|
|
133
|
-
export { TrackingRecipientEmail, addBlock, addDomain, addSender, advanceDomainVerification, buildCustomTrackingDomainConnectApplyUrl, buildDomainConnectApplyUrl, cancelDomainWarmingBatch, checkBlocked, checkSenderVerification, clearDomainDefaultSender, completeCustomTrackingDomainConnect, completeDomainConnect, completeDomainWarming, 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 };
|
|
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 };
|
|
134
136
|
|
|
135
137
|
//# sourceMappingURL=email.js.map
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
export declare const list: ((input?: {
|
|
2
|
+
readonly limit?: string | null | undefined;
|
|
3
|
+
readonly cursor?: string | null | undefined;
|
|
4
|
+
readonly after?: string | null | undefined;
|
|
5
|
+
readonly before?: string | null | undefined;
|
|
6
|
+
} | undefined) => import("effect/Effect").Effect<{
|
|
7
|
+
readonly items: readonly {
|
|
8
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
9
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
10
|
+
readonly name: string;
|
|
11
|
+
readonly displayName: string;
|
|
12
|
+
readonly version: {
|
|
13
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
14
|
+
readonly version: string;
|
|
15
|
+
};
|
|
16
|
+
readonly runtime: "hosted" | "webhook";
|
|
17
|
+
readonly status: "active" | "disabled";
|
|
18
|
+
readonly createdAt: string;
|
|
19
|
+
}[];
|
|
20
|
+
readonly nextCursor: string | null;
|
|
21
|
+
}, 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>) & {
|
|
22
|
+
readonly pages: (input?: {
|
|
23
|
+
readonly limit?: string | null | undefined;
|
|
24
|
+
readonly cursor?: string | null | undefined;
|
|
25
|
+
readonly after?: string | null | undefined;
|
|
26
|
+
readonly before?: string | null | undefined;
|
|
27
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
28
|
+
readonly items: readonly {
|
|
29
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
30
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly displayName: string;
|
|
33
|
+
readonly version: {
|
|
34
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
35
|
+
readonly version: string;
|
|
36
|
+
};
|
|
37
|
+
readonly runtime: "hosted" | "webhook";
|
|
38
|
+
readonly status: "active" | "disabled";
|
|
39
|
+
readonly createdAt: string;
|
|
40
|
+
}[];
|
|
41
|
+
readonly nextCursor: string | null;
|
|
42
|
+
}, 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>;
|
|
43
|
+
readonly items: (input?: {
|
|
44
|
+
readonly limit?: string | null | undefined;
|
|
45
|
+
readonly cursor?: string | null | undefined;
|
|
46
|
+
readonly after?: string | null | undefined;
|
|
47
|
+
readonly before?: string | null | undefined;
|
|
48
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
49
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
50
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
51
|
+
readonly name: string;
|
|
52
|
+
readonly displayName: string;
|
|
53
|
+
readonly version: {
|
|
54
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
55
|
+
readonly version: string;
|
|
56
|
+
};
|
|
57
|
+
readonly runtime: "hosted" | "webhook";
|
|
58
|
+
readonly status: "active" | "disabled";
|
|
59
|
+
readonly createdAt: string;
|
|
60
|
+
}, 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>;
|
|
61
|
+
};
|
|
62
|
+
export declare const install: (input: {
|
|
63
|
+
readonly extension: string;
|
|
64
|
+
readonly version?: string | null | undefined;
|
|
65
|
+
readonly mailboxIds?: readonly string[] | null | undefined;
|
|
66
|
+
readonly namespaceId?: string | null | undefined;
|
|
67
|
+
readonly permissions?: readonly string[] | null | undefined;
|
|
68
|
+
readonly sendMode?: string | null | undefined;
|
|
69
|
+
readonly webhookUrl?: string | null | undefined;
|
|
70
|
+
}) => import("effect/Effect").Effect<{
|
|
71
|
+
readonly installation: {
|
|
72
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
73
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
74
|
+
readonly name: string;
|
|
75
|
+
readonly displayName: string;
|
|
76
|
+
readonly version: {
|
|
77
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
78
|
+
readonly version: string;
|
|
79
|
+
};
|
|
80
|
+
readonly runtime: "hosted" | "webhook";
|
|
81
|
+
readonly status: "active" | "disabled";
|
|
82
|
+
readonly createdAt: string;
|
|
83
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
84
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
85
|
+
readonly sendMode: "approval" | "send";
|
|
86
|
+
readonly scope: {
|
|
87
|
+
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
88
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
89
|
+
};
|
|
90
|
+
readonly webhook: {
|
|
91
|
+
readonly endpointId: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
92
|
+
readonly url: string;
|
|
93
|
+
} | null;
|
|
94
|
+
readonly updatedAt: string;
|
|
95
|
+
readonly disabledAt: string | null;
|
|
96
|
+
};
|
|
97
|
+
readonly credentials: {
|
|
98
|
+
readonly apiKey: import("effect/Redacted").Redacted<string>;
|
|
99
|
+
readonly webhookSecret: import("effect/Redacted").Redacted<string>;
|
|
100
|
+
} | null;
|
|
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 get: (input: {
|
|
103
|
+
readonly id: string;
|
|
104
|
+
}) => import("effect/Effect").Effect<{
|
|
105
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
106
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
107
|
+
readonly name: string;
|
|
108
|
+
readonly displayName: string;
|
|
109
|
+
readonly version: {
|
|
110
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
111
|
+
readonly version: string;
|
|
112
|
+
};
|
|
113
|
+
readonly runtime: "hosted" | "webhook";
|
|
114
|
+
readonly status: "active" | "disabled";
|
|
115
|
+
readonly createdAt: string;
|
|
116
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
117
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
118
|
+
readonly sendMode: "approval" | "send";
|
|
119
|
+
readonly scope: {
|
|
120
|
+
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
121
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
122
|
+
};
|
|
123
|
+
readonly webhook: {
|
|
124
|
+
readonly endpointId: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
125
|
+
readonly url: string;
|
|
126
|
+
} | null;
|
|
127
|
+
readonly updatedAt: string;
|
|
128
|
+
readonly disabledAt: string | null;
|
|
129
|
+
}, 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>;
|
|
130
|
+
export declare const uninstall: (input: {
|
|
131
|
+
readonly id: string;
|
|
132
|
+
}) => import("effect/Effect").Effect<{
|
|
133
|
+
readonly success: boolean;
|
|
134
|
+
}, 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>;
|
|
135
|
+
export declare const disable: (input: {
|
|
136
|
+
readonly id: string;
|
|
137
|
+
}) => import("effect/Effect").Effect<{
|
|
138
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
139
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
140
|
+
readonly name: string;
|
|
141
|
+
readonly displayName: string;
|
|
142
|
+
readonly version: {
|
|
143
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
144
|
+
readonly version: string;
|
|
145
|
+
};
|
|
146
|
+
readonly runtime: "hosted" | "webhook";
|
|
147
|
+
readonly status: "active" | "disabled";
|
|
148
|
+
readonly createdAt: string;
|
|
149
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
150
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
151
|
+
readonly sendMode: "approval" | "send";
|
|
152
|
+
readonly scope: {
|
|
153
|
+
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
154
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
155
|
+
};
|
|
156
|
+
readonly webhook: {
|
|
157
|
+
readonly endpointId: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
158
|
+
readonly url: string;
|
|
159
|
+
} | null;
|
|
160
|
+
readonly updatedAt: string;
|
|
161
|
+
readonly disabledAt: string | null;
|
|
162
|
+
}, 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>;
|
|
163
|
+
export declare const enable: (input: {
|
|
164
|
+
readonly id: string;
|
|
165
|
+
}) => import("effect/Effect").Effect<{
|
|
166
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
167
|
+
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
168
|
+
readonly name: string;
|
|
169
|
+
readonly displayName: string;
|
|
170
|
+
readonly version: {
|
|
171
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
172
|
+
readonly version: string;
|
|
173
|
+
};
|
|
174
|
+
readonly runtime: "hosted" | "webhook";
|
|
175
|
+
readonly status: "active" | "disabled";
|
|
176
|
+
readonly createdAt: string;
|
|
177
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
178
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
179
|
+
readonly sendMode: "approval" | "send";
|
|
180
|
+
readonly scope: {
|
|
181
|
+
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
182
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
183
|
+
};
|
|
184
|
+
readonly webhook: {
|
|
185
|
+
readonly endpointId: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
186
|
+
readonly url: string;
|
|
187
|
+
} | null;
|
|
188
|
+
readonly updatedAt: string;
|
|
189
|
+
readonly disabledAt: string | null;
|
|
190
|
+
}, 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>;
|
|
191
|
+
export declare const listRuns: (input: {
|
|
192
|
+
readonly id: string;
|
|
193
|
+
}) => import("effect/Effect").Effect<{
|
|
194
|
+
readonly items: readonly {
|
|
195
|
+
readonly id: string;
|
|
196
|
+
readonly eventId: string;
|
|
197
|
+
readonly eventType: "mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
198
|
+
readonly attempt: number;
|
|
199
|
+
readonly startedAt: string;
|
|
200
|
+
readonly durationMs: number;
|
|
201
|
+
readonly outcome: "budget_exhausted" | "failed" | "revoked" | "succeeded" | "timed_out";
|
|
202
|
+
readonly error: string | null;
|
|
203
|
+
}[];
|
|
204
|
+
}, 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>;
|
|
205
|
+
export declare const getRun: (input: {
|
|
206
|
+
readonly id: string;
|
|
207
|
+
readonly runId: string;
|
|
208
|
+
}) => import("effect/Effect").Effect<{
|
|
209
|
+
readonly id: string;
|
|
210
|
+
readonly eventId: string;
|
|
211
|
+
readonly eventType: "mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
212
|
+
readonly attempt: number;
|
|
213
|
+
readonly startedAt: string;
|
|
214
|
+
readonly durationMs: number;
|
|
215
|
+
readonly outcome: "budget_exhausted" | "failed" | "revoked" | "succeeded" | "timed_out";
|
|
216
|
+
readonly error: string | null;
|
|
217
|
+
readonly logs: readonly string[];
|
|
218
|
+
}, 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>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { n as make } from "../operation-BuyvAsZ1.js";
|
|
3
|
+
//#region src/effect/extension-installations.ts
|
|
4
|
+
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
disable: () => disable,
|
|
6
|
+
enable: () => enable,
|
|
7
|
+
get: () => get,
|
|
8
|
+
getRun: () => getRun,
|
|
9
|
+
install: () => install,
|
|
10
|
+
list: () => list,
|
|
11
|
+
listRuns: () => listRuns,
|
|
12
|
+
uninstall: () => uninstall
|
|
13
|
+
});
|
|
14
|
+
const list = make("extensionInstallationsList");
|
|
15
|
+
const install = make("extensionInstallationsInstall");
|
|
16
|
+
const get = make("extensionInstallationsGet");
|
|
17
|
+
const uninstall = make("extensionInstallationsUninstall");
|
|
18
|
+
const disable = make("extensionInstallationsDisable");
|
|
19
|
+
const enable = make("extensionInstallationsEnable");
|
|
20
|
+
const listRuns = make("extensionInstallationsListRuns");
|
|
21
|
+
const getRun = make("extensionInstallationsGetRun");
|
|
22
|
+
//#endregion
|
|
23
|
+
export { disable, enable, get, getRun, install, list, listRuns, extension_installations_exports as t, uninstall };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=extension-installations.js.map
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
export declare const list: ((input?: {
|
|
2
|
+
readonly limit?: string | null | undefined;
|
|
3
|
+
readonly cursor?: string | null | undefined;
|
|
4
|
+
readonly after?: string | null | undefined;
|
|
5
|
+
readonly before?: string | null | undefined;
|
|
6
|
+
} | undefined) => import("effect/Effect").Effect<{
|
|
7
|
+
readonly items: readonly {
|
|
8
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly displayName: string;
|
|
11
|
+
readonly description: string | null;
|
|
12
|
+
readonly runtime: "hosted" | "webhook";
|
|
13
|
+
readonly latestVersion: {
|
|
14
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
15
|
+
readonly version: string;
|
|
16
|
+
};
|
|
17
|
+
readonly createdAt: string;
|
|
18
|
+
readonly updatedAt: string;
|
|
19
|
+
}[];
|
|
20
|
+
readonly nextCursor: string | null;
|
|
21
|
+
}, 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>) & {
|
|
22
|
+
readonly pages: (input?: {
|
|
23
|
+
readonly limit?: string | null | undefined;
|
|
24
|
+
readonly cursor?: string | null | undefined;
|
|
25
|
+
readonly after?: string | null | undefined;
|
|
26
|
+
readonly before?: string | null | undefined;
|
|
27
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
28
|
+
readonly items: readonly {
|
|
29
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly displayName: string;
|
|
32
|
+
readonly description: string | null;
|
|
33
|
+
readonly runtime: "hosted" | "webhook";
|
|
34
|
+
readonly latestVersion: {
|
|
35
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
36
|
+
readonly version: string;
|
|
37
|
+
};
|
|
38
|
+
readonly createdAt: string;
|
|
39
|
+
readonly updatedAt: string;
|
|
40
|
+
}[];
|
|
41
|
+
readonly nextCursor: string | null;
|
|
42
|
+
}, 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>;
|
|
43
|
+
readonly items: (input?: {
|
|
44
|
+
readonly limit?: string | null | undefined;
|
|
45
|
+
readonly cursor?: string | null | undefined;
|
|
46
|
+
readonly after?: string | null | undefined;
|
|
47
|
+
readonly before?: string | null | undefined;
|
|
48
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
49
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
50
|
+
readonly name: string;
|
|
51
|
+
readonly displayName: string;
|
|
52
|
+
readonly description: string | null;
|
|
53
|
+
readonly runtime: "hosted" | "webhook";
|
|
54
|
+
readonly latestVersion: {
|
|
55
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
56
|
+
readonly version: string;
|
|
57
|
+
};
|
|
58
|
+
readonly createdAt: string;
|
|
59
|
+
readonly updatedAt: string;
|
|
60
|
+
}, 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>;
|
|
61
|
+
};
|
|
62
|
+
export declare const publish: (input: {
|
|
63
|
+
readonly manifest: {
|
|
64
|
+
readonly name: string;
|
|
65
|
+
readonly displayName: string;
|
|
66
|
+
readonly description?: string | null | undefined;
|
|
67
|
+
readonly version: string;
|
|
68
|
+
readonly runtime: string;
|
|
69
|
+
readonly events: readonly string[];
|
|
70
|
+
readonly permissions: readonly string[];
|
|
71
|
+
};
|
|
72
|
+
readonly bundle?: string | null | undefined;
|
|
73
|
+
}) => import("effect/Effect").Effect<{
|
|
74
|
+
readonly extension: {
|
|
75
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
76
|
+
readonly name: string;
|
|
77
|
+
readonly displayName: string;
|
|
78
|
+
readonly description: string | null;
|
|
79
|
+
readonly runtime: "hosted" | "webhook";
|
|
80
|
+
readonly latestVersion: {
|
|
81
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
82
|
+
readonly version: string;
|
|
83
|
+
};
|
|
84
|
+
readonly createdAt: string;
|
|
85
|
+
readonly updatedAt: string;
|
|
86
|
+
};
|
|
87
|
+
readonly version: {
|
|
88
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
89
|
+
readonly version: string;
|
|
90
|
+
readonly runtime: "hosted" | "webhook";
|
|
91
|
+
readonly bundle: {
|
|
92
|
+
readonly sha256: string;
|
|
93
|
+
readonly sizeBytes: number;
|
|
94
|
+
} | null;
|
|
95
|
+
readonly publishedAt: string;
|
|
96
|
+
readonly manifest: {
|
|
97
|
+
readonly name: string;
|
|
98
|
+
readonly displayName: string;
|
|
99
|
+
readonly description?: string | null;
|
|
100
|
+
readonly version: string;
|
|
101
|
+
readonly runtime: "hosted" | "webhook";
|
|
102
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
103
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, 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>;
|
|
107
|
+
export declare const get: (input: {
|
|
108
|
+
readonly id: string;
|
|
109
|
+
}) => import("effect/Effect").Effect<{
|
|
110
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
111
|
+
readonly name: string;
|
|
112
|
+
readonly displayName: string;
|
|
113
|
+
readonly description: string | null;
|
|
114
|
+
readonly runtime: "hosted" | "webhook";
|
|
115
|
+
readonly latestVersion: {
|
|
116
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
117
|
+
readonly version: string;
|
|
118
|
+
};
|
|
119
|
+
readonly createdAt: string;
|
|
120
|
+
readonly updatedAt: string;
|
|
121
|
+
}, 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>;
|
|
122
|
+
export declare const listVersions: ((input: {
|
|
123
|
+
readonly id: string;
|
|
124
|
+
readonly limit?: string | null | undefined;
|
|
125
|
+
readonly cursor?: string | null | undefined;
|
|
126
|
+
}) => import("effect/Effect").Effect<{
|
|
127
|
+
readonly items: readonly {
|
|
128
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
129
|
+
readonly version: string;
|
|
130
|
+
readonly runtime: "hosted" | "webhook";
|
|
131
|
+
readonly bundle: {
|
|
132
|
+
readonly sha256: string;
|
|
133
|
+
readonly sizeBytes: number;
|
|
134
|
+
} | null;
|
|
135
|
+
readonly publishedAt: string;
|
|
136
|
+
}[];
|
|
137
|
+
readonly nextCursor: string | null;
|
|
138
|
+
}, 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>) & {
|
|
139
|
+
readonly pages: (input: {
|
|
140
|
+
readonly id: string;
|
|
141
|
+
readonly limit?: string | null | undefined;
|
|
142
|
+
readonly cursor?: string | null | undefined;
|
|
143
|
+
}) => import("effect/Stream").Stream<{
|
|
144
|
+
readonly items: readonly {
|
|
145
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
146
|
+
readonly version: string;
|
|
147
|
+
readonly runtime: "hosted" | "webhook";
|
|
148
|
+
readonly bundle: {
|
|
149
|
+
readonly sha256: string;
|
|
150
|
+
readonly sizeBytes: number;
|
|
151
|
+
} | null;
|
|
152
|
+
readonly publishedAt: string;
|
|
153
|
+
}[];
|
|
154
|
+
readonly nextCursor: string | null;
|
|
155
|
+
}, 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>;
|
|
156
|
+
readonly items: (input: {
|
|
157
|
+
readonly id: string;
|
|
158
|
+
readonly limit?: string | null | undefined;
|
|
159
|
+
readonly cursor?: string | null | undefined;
|
|
160
|
+
}) => import("effect/Stream").Stream<{
|
|
161
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
162
|
+
readonly version: string;
|
|
163
|
+
readonly runtime: "hosted" | "webhook";
|
|
164
|
+
readonly bundle: {
|
|
165
|
+
readonly sha256: string;
|
|
166
|
+
readonly sizeBytes: number;
|
|
167
|
+
} | null;
|
|
168
|
+
readonly publishedAt: string;
|
|
169
|
+
}, 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>;
|
|
170
|
+
};
|
|
171
|
+
export declare const getVersion: (input: {
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly versionId: string;
|
|
174
|
+
}) => import("effect/Effect").Effect<{
|
|
175
|
+
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
176
|
+
readonly version: string;
|
|
177
|
+
readonly runtime: "hosted" | "webhook";
|
|
178
|
+
readonly bundle: {
|
|
179
|
+
readonly sha256: string;
|
|
180
|
+
readonly sizeBytes: number;
|
|
181
|
+
} | null;
|
|
182
|
+
readonly publishedAt: string;
|
|
183
|
+
readonly manifest: {
|
|
184
|
+
readonly name: string;
|
|
185
|
+
readonly displayName: string;
|
|
186
|
+
readonly description?: string | null;
|
|
187
|
+
readonly version: string;
|
|
188
|
+
readonly runtime: "hosted" | "webhook";
|
|
189
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
190
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
191
|
+
};
|
|
192
|
+
}, 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>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { n as make } from "../operation-BuyvAsZ1.js";
|
|
3
|
+
//#region src/effect/extensions.ts
|
|
4
|
+
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
get: () => get,
|
|
6
|
+
getVersion: () => getVersion,
|
|
7
|
+
list: () => list,
|
|
8
|
+
listVersions: () => listVersions,
|
|
9
|
+
publish: () => publish
|
|
10
|
+
});
|
|
11
|
+
const list = make("extensionsList");
|
|
12
|
+
const publish = make("extensionsPublish");
|
|
13
|
+
const get = make("extensionsGet");
|
|
14
|
+
const listVersions = make("extensionsListVersions");
|
|
15
|
+
const getVersion = make("extensionsGetVersion");
|
|
16
|
+
//#endregion
|
|
17
|
+
export { get, getVersion, list, listVersions, publish, extensions_exports as t };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=extensions.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { SendFeedback as SendPayload } from "./generated";
|
|
2
|
+
export declare const send: (input: {
|
|
3
|
+
readonly message: string;
|
|
4
|
+
readonly category?: string | null | undefined;
|
|
5
|
+
readonly context?: {
|
|
6
|
+
readonly operation?: string | null | undefined;
|
|
7
|
+
readonly resourceId?: string | null | undefined;
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
}) => import("effect/Effect").Effect<{
|
|
10
|
+
readonly id: string & import("effect/Brand").Brand<"FeedbackId">;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}, 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>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { n as make } from "../operation-BuyvAsZ1.js";
|
|
3
|
+
import { T as SendFeedback } from "../client-8YXjfsVc.js";
|
|
4
|
+
//#region src/effect/feedback.ts
|
|
5
|
+
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
SendPayload: () => SendFeedback,
|
|
7
|
+
send: () => send
|
|
8
|
+
});
|
|
9
|
+
const send = make("feedbackSend");
|
|
10
|
+
//#endregion
|
|
11
|
+
export { SendFeedback as SendPayload, send, feedback_exports as t };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=feedback.js.map
|