samva 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +5 -0
- package/README.md +18 -3
- package/dist/{rolldown-runtime-D7D4PA-g.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/client/client/client.gen.js +174 -0
- package/dist/client/client/utils.gen.js +177 -0
- package/dist/client/client.gen.js +8 -0
- package/dist/client/core/auth.gen.js +12 -0
- package/dist/client/core/bodySerializer.gen.js +6 -0
- package/dist/client/core/params.gen.js +77 -0
- package/dist/client/core/pathSerializer.gen.js +82 -0
- package/dist/client/core/serverSentEvents.gen.js +96 -0
- package/dist/client/core/utils.gen.js +78 -0
- package/dist/client/sdk.gen.d.ts +39 -23
- package/dist/{promises---Kbh-7z.js → client/sdk.gen.js} +87 -2314
- package/dist/client/types.gen.d.ts +175 -44
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +23 -2
- package/dist/effect/api-keys.d.ts +12 -12
- package/dist/effect/api-keys.js +29 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +19 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +26 -3
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +35 -2
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.js +3 -3
- package/dist/effect/contact-groups.d.ts +53 -17
- package/dist/effect/contact-groups.js +31 -2
- package/dist/effect/contacts.d.ts +244 -41
- package/dist/effect/contacts.js +54 -2
- package/dist/effect/conversations.d.ts +28 -28
- package/dist/effect/conversations.js +37 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +19 -2
- package/dist/effect/email.d.ts +75 -75
- package/dist/effect/email.js +140 -2
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/events.js +17 -3
- package/dist/effect/extension-installations.d.ts +23 -23
- package/dist/effect/extension-installations.js +29 -2
- package/dist/effect/extensions.d.ts +12 -12
- package/dist/effect/extensions.js +21 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +14 -3
- package/dist/{analytics-CaqPRsry.js → effect/generated/analytics.js} +4 -23
- package/dist/{api-keys-Ce1Y4_Ip.js → effect/generated/api-keys.js} +4 -29
- package/dist/{attachments-DYqVIraC.js → effect/generated/attachments.js} +3 -18
- package/dist/{brands-ZwuOGIWO.js → effect/generated/brands.js} +5 -25
- package/dist/{campaigns-DZlz1E9E.js → effect/generated/campaigns.js} +4 -35
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/effect/generated/contact-groups.d.ts +33 -3
- package/dist/{contact-groups-BLbFXnjq.js → effect/generated/contact-groups.js} +3 -30
- package/dist/effect/generated/contacts.d.ts +477 -54
- package/dist/{contacts-BbsoXXB4.js → effect/generated/contacts.js} +41 -89
- package/dist/effect/generated/conversations.d.ts +25 -25
- package/dist/{conversations-_sRHueML.js → effect/generated/conversations.js} +4 -37
- package/dist/{custom-fields-BHWbwlKn.js → effect/generated/custom-fields.js} +5 -19
- package/dist/{email-R0NAA9PW.js → effect/generated/email.js} +995 -1146
- package/dist/{events-CxbTUHYT.js → effect/generated/events.js} +3 -15
- package/dist/effect/generated/extension-installations.d.ts +44 -44
- package/dist/{extension-installations-CD94LPmk.js → effect/generated/extension-installations.js} +10 -29
- package/dist/effect/generated/extensions.d.ts +10 -10
- package/dist/{extensions-BKyNQLvu.js → effect/generated/extensions.js} +5 -20
- package/dist/{feedback-Bpa09JOS.js → effect/generated/feedback.js} +3 -12
- package/dist/{journeys-CARo_BJT.js → effect/generated/journeys.js} +3 -38
- package/dist/effect/generated/mailboxes.d.ts +310 -0
- package/dist/{mailboxes-BRDn7BIK.js → effect/generated/mailboxes.js} +829 -954
- package/dist/{media-VrrtNnft.js → effect/generated/media.js} +3 -3
- package/dist/effect/generated/messages.d.ts +31 -0
- package/dist/effect/generated/messages.js +677 -0
- package/dist/{namespaces-CcvEbG-y.js → effect/generated/namespaces.js} +3 -20
- package/dist/{operations-CmB3FHwf.js → effect/generated/operations.js} +3 -16
- package/dist/effect/generated/organizations.d.ts +13 -11
- package/dist/{organizations-A-plufWc.js → effect/generated/organizations.js} +9 -26
- package/dist/{scheduled-messages-DkKZRRaN.js → effect/generated/scheduled-messages.js} +4 -21
- package/dist/effect/generated/shared.d.ts +70 -20
- package/dist/effect/generated/shared.js +1073 -0
- package/dist/{subscriptions-DEXYtMXg.js → effect/generated/subscriptions.js} +3 -9
- package/dist/{templates-DZomxsG7.js → effect/generated/templates.js} +3 -78
- package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
- package/dist/{unsubscribe-groups-Iqk4Isf9.js → effect/generated/unsubscribe-groups.js} +77 -84
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/{webhooks-CPXuu8Xf.js → effect/generated/webhooks.js} +12 -34
- package/dist/{whoami-Ccz0jwlt.js → effect/generated/whoami.js} +5 -10
- package/dist/effect/generated-metadata.d.ts +7 -2
- package/dist/effect/generated-metadata.js +925 -0
- package/dist/effect/index.d.ts +1 -2
- package/dist/effect/index.js +32 -32
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +18 -18
- package/dist/effect/journeys.js +39 -2
- package/dist/effect/mailboxes.d.ts +314 -182
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -10
- package/dist/effect/messages.d.ts +19 -14
- package/dist/effect/messages.js +15 -14
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +21 -2
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +17 -2
- package/dist/effect/organizations.d.ts +11 -11
- package/dist/effect/organizations.js +25 -2
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/{runtime-P0l1_2-C.js → effect/runtime.js} +2 -2
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +21 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +10 -2
- package/dist/effect/templates.d.ts +39 -39
- package/dist/effect/templates.js +80 -3
- package/dist/effect/unsubscribe-groups.d.ts +39 -28
- package/dist/effect/unsubscribe-groups.js +29 -2
- package/dist/effect/webhooks.d.ts +22 -22
- package/dist/effect/webhooks.js +35 -3
- package/dist/effect/whoami.d.ts +9 -9
- package/dist/effect/whoami.js +10 -2
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Bi1hDltp.js → inline-attachments.js} +13 -7
- package/dist/mailbox-events.d.ts +31 -4
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +41 -13
- package/dist/{normalize-B79uJIeb.js → normalize.js} +2 -2
- package/dist/package.js +6 -0
- package/dist/promises/errors.gen.js +1340 -0
- package/dist/promises/index.d.ts +1 -1
- package/dist/promises/index.js +288 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -4
- package/dist/{operation-n_IYgNVK.js → service-map.js} +12 -150
- package/package.json +6 -2
- package/dist/categories-CA4XIQAb.js +0 -1011
- package/dist/client-DOzUrdTE.js +0 -1115
- package/dist/send-Bxc0XfGE.js +0 -722
package/dist/effect/email.js
CHANGED
|
@@ -1,2 +1,140 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { EmailGroup, TrackingRecipientEmail } from "./generated/email.js";
|
|
4
|
+
import { addEmailSender } from "./internal/email-sender.js";
|
|
5
|
+
import { sendEmail } from "./internal/send.js";
|
|
6
|
+
//#region src/effect/email.ts
|
|
7
|
+
var email_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
9
|
+
addBlock: () => addBlock,
|
|
10
|
+
addDomain: () => addDomain,
|
|
11
|
+
addSender: () => addSender,
|
|
12
|
+
advanceDomainVerification: () => advanceDomainVerification,
|
|
13
|
+
buildCustomTrackingDomainConnectApplyUrl: () => buildCustomTrackingDomainConnectApplyUrl,
|
|
14
|
+
buildDomainConnectApplyUrl: () => buildDomainConnectApplyUrl,
|
|
15
|
+
cancelDomainWarmingBatch: () => cancelDomainWarmingBatch,
|
|
16
|
+
checkBlocked: () => checkBlocked,
|
|
17
|
+
checkSenderVerification: () => checkSenderVerification,
|
|
18
|
+
completeCustomTrackingDomainConnect: () => completeCustomTrackingDomainConnect,
|
|
19
|
+
completeDomainConnect: () => completeDomainConnect,
|
|
20
|
+
completeDomainWarming: () => completeDomainWarming,
|
|
21
|
+
countSuppressions: () => countSuppressions,
|
|
22
|
+
createDomainWarmingPlan: () => createDomainWarmingPlan,
|
|
23
|
+
createForwardingRule: () => createForwardingRule,
|
|
24
|
+
deleteForwardingRule: () => deleteForwardingRule,
|
|
25
|
+
detectRegistrar: () => detectRegistrar,
|
|
26
|
+
disableCatchAll: () => disableCatchAll,
|
|
27
|
+
disableCustomTracking: () => disableCustomTracking,
|
|
28
|
+
enableCatchAll: () => enableCatchAll,
|
|
29
|
+
enableCustomTracking: () => enableCustomTracking,
|
|
30
|
+
enableReceiving: () => enableReceiving,
|
|
31
|
+
getBlockLogs: () => getBlockLogs,
|
|
32
|
+
getCatchAllConfig: () => getCatchAllConfig,
|
|
33
|
+
getCatchAllStats: () => getCatchAllStats,
|
|
34
|
+
getCustomTracking: () => getCustomTracking,
|
|
35
|
+
getCustomTrackingDomainConnect: () => getCustomTrackingDomainConnect,
|
|
36
|
+
getDomainById: () => getDomainById,
|
|
37
|
+
getDomainConnect: () => getDomainConnect,
|
|
38
|
+
getDomainVerification: () => getDomainVerification,
|
|
39
|
+
getDomainWarming: () => getDomainWarming,
|
|
40
|
+
getForwardingLog: () => getForwardingLog,
|
|
41
|
+
getOnboardingReview: () => getOnboardingReview,
|
|
42
|
+
getReceivingStatus: () => getReceivingStatus,
|
|
43
|
+
getRecipientTrackingPreference: () => getRecipientTrackingPreference,
|
|
44
|
+
getSender: () => getSender,
|
|
45
|
+
getStats: () => getStats,
|
|
46
|
+
getTrackingDefaults: () => getTrackingDefaults,
|
|
47
|
+
listBlocks: () => listBlocks,
|
|
48
|
+
listDomains: () => listDomains,
|
|
49
|
+
listForwardingRules: () => listForwardingRules,
|
|
50
|
+
listSenders: () => listSenders,
|
|
51
|
+
listSuppressions: () => listSuppressions,
|
|
52
|
+
pauseDomainWarming: () => pauseDomainWarming,
|
|
53
|
+
reapplyOnboardingReview: () => reapplyOnboardingReview,
|
|
54
|
+
recheckCustomTracking: () => recheckCustomTracking,
|
|
55
|
+
removeBlock: () => removeBlock,
|
|
56
|
+
removeDomain: () => removeDomain,
|
|
57
|
+
removeSender: () => removeSender,
|
|
58
|
+
removeSuppression: () => removeSuppression,
|
|
59
|
+
respondToOnboardingInformationRequest: () => respondToOnboardingInformationRequest,
|
|
60
|
+
resumeDomainWarming: () => resumeDomainWarming,
|
|
61
|
+
rotateDomainDkim: () => rotateDomainDkim,
|
|
62
|
+
send: () => send,
|
|
63
|
+
setDefaultDomain: () => setDefaultDomain,
|
|
64
|
+
setDefaultSender: () => setDefaultSender,
|
|
65
|
+
updateBlock: () => updateBlock,
|
|
66
|
+
updateCatchAllConfig: () => updateCatchAllConfig,
|
|
67
|
+
updateDomainConfig: () => updateDomainConfig,
|
|
68
|
+
updateDomainWarmingPolicy: () => updateDomainWarmingPolicy,
|
|
69
|
+
updateForwardingRule: () => updateForwardingRule,
|
|
70
|
+
updateRecipientTrackingPreference: () => updateRecipientTrackingPreference,
|
|
71
|
+
updateTrackingDefaults: () => updateTrackingDefaults
|
|
72
|
+
});
|
|
73
|
+
const make = /* @__PURE__ */ forGroup(EmailGroup);
|
|
74
|
+
const send = sendEmail;
|
|
75
|
+
const getTrackingDefaults = /* @__PURE__ */ make("emailGetTrackingDefaults");
|
|
76
|
+
const updateTrackingDefaults = /* @__PURE__ */ make("emailUpdateTrackingDefaults");
|
|
77
|
+
const getRecipientTrackingPreference = /* @__PURE__ */ make("emailGetRecipientTrackingPreference");
|
|
78
|
+
const updateRecipientTrackingPreference = /* @__PURE__ */ make("emailUpdateRecipientTrackingPreference");
|
|
79
|
+
const listDomains = /* @__PURE__ */ make("emailListDomains");
|
|
80
|
+
const addDomain = /* @__PURE__ */ make("emailAddDomain");
|
|
81
|
+
const rotateDomainDkim = /* @__PURE__ */ make("emailRotateDomainDkim");
|
|
82
|
+
const getDomainVerification = /* @__PURE__ */ make("emailGetDomainVerification");
|
|
83
|
+
const advanceDomainVerification = /* @__PURE__ */ make("emailAdvanceDomainVerification");
|
|
84
|
+
const getDomainById = /* @__PURE__ */ make("emailGetDomainById");
|
|
85
|
+
const removeDomain = /* @__PURE__ */ make("emailRemoveDomain");
|
|
86
|
+
const setDefaultDomain = /* @__PURE__ */ make("emailSetDefaultDomain");
|
|
87
|
+
const updateDomainConfig = /* @__PURE__ */ make("emailUpdateDomainConfig");
|
|
88
|
+
const detectRegistrar = /* @__PURE__ */ make("emailDetectRegistrar");
|
|
89
|
+
const getDomainConnect = /* @__PURE__ */ make("emailGetDomainConnect");
|
|
90
|
+
const buildDomainConnectApplyUrl = /* @__PURE__ */ make("emailBuildDomainConnectApplyUrl");
|
|
91
|
+
const completeDomainConnect = /* @__PURE__ */ make("emailCompleteDomainConnect");
|
|
92
|
+
const enableReceiving = /* @__PURE__ */ make("emailEnableReceiving");
|
|
93
|
+
const getReceivingStatus = /* @__PURE__ */ make("emailGetReceivingStatus");
|
|
94
|
+
const enableCustomTracking = /* @__PURE__ */ make("emailEnableCustomTracking");
|
|
95
|
+
const getCustomTracking = /* @__PURE__ */ make("emailGetCustomTracking");
|
|
96
|
+
const recheckCustomTracking = /* @__PURE__ */ make("emailRecheckCustomTracking");
|
|
97
|
+
const getCustomTrackingDomainConnect = /* @__PURE__ */ make("emailGetCustomTrackingDomainConnect");
|
|
98
|
+
const buildCustomTrackingDomainConnectApplyUrl = /* @__PURE__ */ make("emailBuildCustomTrackingDomainConnectApplyUrl");
|
|
99
|
+
const completeCustomTrackingDomainConnect = /* @__PURE__ */ make("emailCompleteCustomTrackingDomainConnect");
|
|
100
|
+
const disableCustomTracking = /* @__PURE__ */ make("emailDisableCustomTracking");
|
|
101
|
+
const getDomainWarming = /* @__PURE__ */ make("emailGetDomainWarming");
|
|
102
|
+
const createDomainWarmingPlan = /* @__PURE__ */ make("emailCreateDomainWarmingPlan");
|
|
103
|
+
const updateDomainWarmingPolicy = /* @__PURE__ */ make("emailUpdateDomainWarmingPolicy");
|
|
104
|
+
const cancelDomainWarmingBatch = /* @__PURE__ */ make("emailCancelDomainWarmingBatch");
|
|
105
|
+
const pauseDomainWarming = /* @__PURE__ */ make("emailPauseDomainWarming");
|
|
106
|
+
const resumeDomainWarming = /* @__PURE__ */ make("emailResumeDomainWarming");
|
|
107
|
+
const completeDomainWarming = /* @__PURE__ */ make("emailCompleteDomainWarming");
|
|
108
|
+
const getOnboardingReview = /* @__PURE__ */ make("emailGetOnboardingReview");
|
|
109
|
+
const reapplyOnboardingReview = /* @__PURE__ */ make("emailReapplyOnboardingReview");
|
|
110
|
+
const respondToOnboardingInformationRequest = /* @__PURE__ */ make("emailRespondToOnboardingInformationRequest");
|
|
111
|
+
const listSenders = /* @__PURE__ */ make("emailListSenders");
|
|
112
|
+
const getSender = /* @__PURE__ */ make("emailGetSender");
|
|
113
|
+
const addSender = addEmailSender;
|
|
114
|
+
const checkSenderVerification = /* @__PURE__ */ make("emailCheckSenderVerification");
|
|
115
|
+
const removeSender = /* @__PURE__ */ make("emailRemoveSender");
|
|
116
|
+
const setDefaultSender = /* @__PURE__ */ make("emailSetDefaultSender");
|
|
117
|
+
const getStats = /* @__PURE__ */ make("emailGetStats");
|
|
118
|
+
const enableCatchAll = /* @__PURE__ */ make("emailEnableCatchAll");
|
|
119
|
+
const disableCatchAll = /* @__PURE__ */ make("emailDisableCatchAll");
|
|
120
|
+
const getCatchAllConfig = /* @__PURE__ */ make("emailGetCatchAllConfig");
|
|
121
|
+
const updateCatchAllConfig = /* @__PURE__ */ make("emailUpdateCatchAllConfig");
|
|
122
|
+
const getCatchAllStats = /* @__PURE__ */ make("emailGetCatchAllStats");
|
|
123
|
+
const listSuppressions = /* @__PURE__ */ make("emailListSuppressions");
|
|
124
|
+
const countSuppressions = /* @__PURE__ */ make("emailCountSuppressions");
|
|
125
|
+
const removeSuppression = /* @__PURE__ */ make("emailRemoveSuppression");
|
|
126
|
+
const listBlocks = /* @__PURE__ */ make("emailListBlocks");
|
|
127
|
+
const addBlock = /* @__PURE__ */ make("emailAddBlock");
|
|
128
|
+
const removeBlock = /* @__PURE__ */ make("emailRemoveBlock");
|
|
129
|
+
const updateBlock = /* @__PURE__ */ make("emailUpdateBlock");
|
|
130
|
+
const getBlockLogs = /* @__PURE__ */ make("emailGetBlockLogs");
|
|
131
|
+
const checkBlocked = /* @__PURE__ */ make("emailCheckBlocked");
|
|
132
|
+
const listForwardingRules = /* @__PURE__ */ make("emailListForwardingRules");
|
|
133
|
+
const createForwardingRule = /* @__PURE__ */ make("emailCreateForwardingRule");
|
|
134
|
+
const deleteForwardingRule = /* @__PURE__ */ make("emailDeleteForwardingRule");
|
|
135
|
+
const updateForwardingRule = /* @__PURE__ */ make("emailUpdateForwardingRule");
|
|
136
|
+
const getForwardingLog = /* @__PURE__ */ make("emailGetForwardingLog");
|
|
137
|
+
//#endregion
|
|
138
|
+
export { TrackingRecipientEmail, addBlock, addDomain, addSender, advanceDomainVerification, buildCustomTrackingDomainConnectApplyUrl, buildDomainConnectApplyUrl, cancelDomainWarmingBatch, checkBlocked, checkSenderVerification, completeCustomTrackingDomainConnect, completeDomainConnect, completeDomainWarming, countSuppressions, createDomainWarmingPlan, createForwardingRule, deleteForwardingRule, detectRegistrar, disableCatchAll, disableCustomTracking, email_exports, 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, updateBlock, updateCatchAllConfig, updateDomainConfig, updateDomainWarmingPolicy, updateForwardingRule, updateRecipientTrackingPreference, updateTrackingDefaults };
|
|
139
|
+
|
|
140
|
+
//# sourceMappingURL=email.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError, DeliveryUnavailableError, } from "./generated/shared";
|
|
2
|
+
export { MediaUploadError } from "../inline-attachments";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { MediaUploadError } from "../inline-attachments.js";
|
|
2
|
+
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError } from "./generated/shared.js";
|
|
3
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError };
|
package/dist/effect/events.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare const create: (input: {
|
|
|
53
53
|
};
|
|
54
54
|
readonly occurredAt: string;
|
|
55
55
|
readonly recordedAt: string;
|
|
56
|
-
}, import("./
|
|
56
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
57
57
|
export declare const batch: (input: {
|
|
58
58
|
readonly events: readonly {
|
|
59
59
|
readonly contact: {
|
|
@@ -118,4 +118,4 @@ export declare const batch: (input: {
|
|
|
118
118
|
} | null;
|
|
119
119
|
readonly error?: string | null;
|
|
120
120
|
}[];
|
|
121
|
-
}, import("./
|
|
121
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
package/dist/effect/events.js
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { CreateEventPayload } from "./generated/shared.js";
|
|
3
|
+
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { EventsGroup } from "./generated/events.js";
|
|
5
|
+
//#region src/effect/events.ts
|
|
6
|
+
var events_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
CreateEventPayload: () => CreateEventPayload,
|
|
8
|
+
batch: () => batch,
|
|
9
|
+
create: () => create
|
|
10
|
+
});
|
|
11
|
+
const make = /* @__PURE__ */ forGroup(EventsGroup);
|
|
12
|
+
const create = /* @__PURE__ */ make("eventsCreate");
|
|
13
|
+
const batch = /* @__PURE__ */ make("eventsBatch");
|
|
14
|
+
//#endregion
|
|
15
|
+
export { CreateEventPayload, batch, create, events_exports };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -18,7 +18,7 @@ export declare const list: ((input?: {
|
|
|
18
18
|
readonly createdAt: string;
|
|
19
19
|
}[];
|
|
20
20
|
readonly nextCursor: string | null;
|
|
21
|
-
}, import("./
|
|
21
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
22
22
|
readonly pages: (input?: {
|
|
23
23
|
readonly limit?: string | null | undefined;
|
|
24
24
|
readonly cursor?: string | null | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const list: ((input?: {
|
|
|
39
39
|
readonly createdAt: string;
|
|
40
40
|
}[];
|
|
41
41
|
readonly nextCursor: string | null;
|
|
42
|
-
}, import("./
|
|
42
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
43
43
|
readonly items: (input?: {
|
|
44
44
|
readonly limit?: string | null | undefined;
|
|
45
45
|
readonly cursor?: string | null | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const list: ((input?: {
|
|
|
57
57
|
readonly runtime: "hosted" | "webhook";
|
|
58
58
|
readonly status: "active" | "disabled";
|
|
59
59
|
readonly createdAt: string;
|
|
60
|
-
}, import("./
|
|
60
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
61
61
|
};
|
|
62
62
|
export declare const install: (input: {
|
|
63
63
|
readonly extension: string;
|
|
@@ -80,7 +80,7 @@ export declare const install: (input: {
|
|
|
80
80
|
readonly runtime: "hosted" | "webhook";
|
|
81
81
|
readonly status: "active" | "disabled";
|
|
82
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")[];
|
|
83
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
84
84
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
85
85
|
readonly sendMode: "approval" | "send";
|
|
86
86
|
readonly scope: {
|
|
@@ -98,11 +98,11 @@ export declare const install: (input: {
|
|
|
98
98
|
readonly apiKey: import("effect/Redacted").Redacted<string>;
|
|
99
99
|
readonly webhookSecret: import("effect/Redacted").Redacted<string>;
|
|
100
100
|
} | null;
|
|
101
|
-
}, import("./
|
|
101
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
102
102
|
export declare const upgrade: (input: {
|
|
103
103
|
readonly id: string;
|
|
104
104
|
readonly version?: string | null | undefined;
|
|
105
|
-
readonly acceptPermissions?: 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")[] | null | undefined;
|
|
105
|
+
readonly acceptPermissions?: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.action.resolved" | "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")[] | null | undefined;
|
|
106
106
|
readonly dryRun?: boolean | null | undefined;
|
|
107
107
|
}) => import("effect/Effect").Effect<{
|
|
108
108
|
readonly installation: {
|
|
@@ -117,7 +117,7 @@ export declare const upgrade: (input: {
|
|
|
117
117
|
readonly runtime: "hosted" | "webhook";
|
|
118
118
|
readonly status: "active" | "disabled";
|
|
119
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")[];
|
|
120
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
121
121
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
122
122
|
readonly sendMode: "approval" | "send";
|
|
123
123
|
readonly scope: {
|
|
@@ -140,8 +140,8 @@ export declare const upgrade: (input: {
|
|
|
140
140
|
readonly version: string;
|
|
141
141
|
};
|
|
142
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")[];
|
|
143
|
+
readonly added: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.action.resolved" | "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.action.resolved" | "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
145
|
};
|
|
146
146
|
readonly dryRun: boolean;
|
|
147
147
|
readonly versionChange: {
|
|
@@ -158,13 +158,13 @@ export declare const upgrade: (input: {
|
|
|
158
158
|
readonly version: string;
|
|
159
159
|
};
|
|
160
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")[];
|
|
161
|
+
readonly added: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.action.resolved" | "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.action.resolved" | "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
163
|
};
|
|
164
164
|
readonly changedBy: string & import("effect/Brand").Brand<"UserId">;
|
|
165
165
|
readonly changedAt: string;
|
|
166
166
|
} | null;
|
|
167
|
-
}, import("./
|
|
167
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
168
168
|
export declare const get: (input: {
|
|
169
169
|
readonly id: string;
|
|
170
170
|
}) => import("effect/Effect").Effect<{
|
|
@@ -179,7 +179,7 @@ export declare const get: (input: {
|
|
|
179
179
|
readonly runtime: "hosted" | "webhook";
|
|
180
180
|
readonly status: "active" | "disabled";
|
|
181
181
|
readonly createdAt: string;
|
|
182
|
-
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
182
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
183
183
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
184
184
|
readonly sendMode: "approval" | "send";
|
|
185
185
|
readonly scope: {
|
|
@@ -192,12 +192,12 @@ export declare const get: (input: {
|
|
|
192
192
|
} | null;
|
|
193
193
|
readonly updatedAt: string;
|
|
194
194
|
readonly disabledAt: string | null;
|
|
195
|
-
}, import("./
|
|
195
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
196
196
|
export declare const uninstall: (input: {
|
|
197
197
|
readonly id: string;
|
|
198
198
|
}) => import("effect/Effect").Effect<{
|
|
199
199
|
readonly success: boolean;
|
|
200
|
-
}, import("./
|
|
200
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
201
201
|
export declare const disable: (input: {
|
|
202
202
|
readonly id: string;
|
|
203
203
|
}) => import("effect/Effect").Effect<{
|
|
@@ -212,7 +212,7 @@ export declare const disable: (input: {
|
|
|
212
212
|
readonly runtime: "hosted" | "webhook";
|
|
213
213
|
readonly status: "active" | "disabled";
|
|
214
214
|
readonly createdAt: string;
|
|
215
|
-
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
215
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
216
216
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
217
217
|
readonly sendMode: "approval" | "send";
|
|
218
218
|
readonly scope: {
|
|
@@ -225,7 +225,7 @@ export declare const disable: (input: {
|
|
|
225
225
|
} | null;
|
|
226
226
|
readonly updatedAt: string;
|
|
227
227
|
readonly disabledAt: string | null;
|
|
228
|
-
}, import("./
|
|
228
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
229
229
|
export declare const enable: (input: {
|
|
230
230
|
readonly id: string;
|
|
231
231
|
}) => import("effect/Effect").Effect<{
|
|
@@ -240,7 +240,7 @@ export declare const enable: (input: {
|
|
|
240
240
|
readonly runtime: "hosted" | "webhook";
|
|
241
241
|
readonly status: "active" | "disabled";
|
|
242
242
|
readonly createdAt: string;
|
|
243
|
-
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
243
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
244
244
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
245
245
|
readonly sendMode: "approval" | "send";
|
|
246
246
|
readonly scope: {
|
|
@@ -253,32 +253,32 @@ export declare const enable: (input: {
|
|
|
253
253
|
} | null;
|
|
254
254
|
readonly updatedAt: string;
|
|
255
255
|
readonly disabledAt: string | null;
|
|
256
|
-
}, import("./
|
|
256
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
257
257
|
export declare const listRuns: (input: {
|
|
258
258
|
readonly id: string;
|
|
259
259
|
}) => import("effect/Effect").Effect<{
|
|
260
260
|
readonly items: readonly {
|
|
261
261
|
readonly id: string;
|
|
262
262
|
readonly eventId: string;
|
|
263
|
-
readonly eventType: "mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
263
|
+
readonly eventType: "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
264
264
|
readonly attempt: number;
|
|
265
265
|
readonly startedAt: string;
|
|
266
266
|
readonly durationMs: number;
|
|
267
267
|
readonly outcome: "budget_exhausted" | "failed" | "revoked" | "succeeded" | "timed_out";
|
|
268
268
|
readonly error: string | null;
|
|
269
269
|
}[];
|
|
270
|
-
}, import("./
|
|
270
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
271
271
|
export declare const getRun: (input: {
|
|
272
272
|
readonly id: string;
|
|
273
273
|
readonly runId: string;
|
|
274
274
|
}) => import("effect/Effect").Effect<{
|
|
275
275
|
readonly id: string;
|
|
276
276
|
readonly eventId: string;
|
|
277
|
-
readonly eventType: "mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
277
|
+
readonly eventType: "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent";
|
|
278
278
|
readonly attempt: number;
|
|
279
279
|
readonly startedAt: string;
|
|
280
280
|
readonly durationMs: number;
|
|
281
281
|
readonly outcome: "budget_exhausted" | "failed" | "revoked" | "succeeded" | "timed_out";
|
|
282
282
|
readonly error: string | null;
|
|
283
283
|
readonly logs: readonly string[];
|
|
284
|
-
}, import("./
|
|
284
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { ExtensionInstallationsGroup } from "./generated/extension-installations.js";
|
|
4
|
+
//#region src/effect/extension-installations.ts
|
|
5
|
+
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
disable: () => disable,
|
|
7
|
+
enable: () => enable,
|
|
8
|
+
get: () => get,
|
|
9
|
+
getRun: () => getRun,
|
|
10
|
+
install: () => install,
|
|
11
|
+
list: () => list,
|
|
12
|
+
listRuns: () => listRuns,
|
|
13
|
+
uninstall: () => uninstall,
|
|
14
|
+
upgrade: () => upgrade
|
|
15
|
+
});
|
|
16
|
+
const make = /* @__PURE__ */ forGroup(ExtensionInstallationsGroup);
|
|
17
|
+
const list = /* @__PURE__ */ make("extensionInstallationsList");
|
|
18
|
+
const install = /* @__PURE__ */ make("extensionInstallationsInstall");
|
|
19
|
+
const upgrade = /* @__PURE__ */ make("extensionInstallationsUpgrade");
|
|
20
|
+
const get = /* @__PURE__ */ make("extensionInstallationsGet");
|
|
21
|
+
const uninstall = /* @__PURE__ */ make("extensionInstallationsUninstall");
|
|
22
|
+
const disable = /* @__PURE__ */ make("extensionInstallationsDisable");
|
|
23
|
+
const enable = /* @__PURE__ */ make("extensionInstallationsEnable");
|
|
24
|
+
const listRuns = /* @__PURE__ */ make("extensionInstallationsListRuns");
|
|
25
|
+
const getRun = /* @__PURE__ */ make("extensionInstallationsGetRun");
|
|
26
|
+
//#endregion
|
|
27
|
+
export { disable, enable, extension_installations_exports, get, getRun, install, list, listRuns, uninstall, upgrade };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=extension-installations.js.map
|
|
@@ -18,7 +18,7 @@ export declare const list: ((input?: {
|
|
|
18
18
|
readonly updatedAt: string;
|
|
19
19
|
}[];
|
|
20
20
|
readonly nextCursor: string | null;
|
|
21
|
-
}, import("./
|
|
21
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
22
22
|
readonly pages: (input?: {
|
|
23
23
|
readonly limit?: string | null | undefined;
|
|
24
24
|
readonly cursor?: string | null | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const list: ((input?: {
|
|
|
39
39
|
readonly updatedAt: string;
|
|
40
40
|
}[];
|
|
41
41
|
readonly nextCursor: string | null;
|
|
42
|
-
}, import("./
|
|
42
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
43
43
|
readonly items: (input?: {
|
|
44
44
|
readonly limit?: string | null | undefined;
|
|
45
45
|
readonly cursor?: string | null | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const list: ((input?: {
|
|
|
57
57
|
};
|
|
58
58
|
readonly createdAt: string;
|
|
59
59
|
readonly updatedAt: string;
|
|
60
|
-
}, import("./
|
|
60
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
61
61
|
};
|
|
62
62
|
export declare const publish: (input: {
|
|
63
63
|
readonly manifest: {
|
|
@@ -66,7 +66,7 @@ export declare const publish: (input: {
|
|
|
66
66
|
readonly description?: string | null | undefined;
|
|
67
67
|
readonly version: string;
|
|
68
68
|
readonly runtime: "hosted" | "webhook";
|
|
69
|
-
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
69
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
70
70
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
71
71
|
};
|
|
72
72
|
readonly bundle?: string | null | undefined;
|
|
@@ -99,11 +99,11 @@ export declare const publish: (input: {
|
|
|
99
99
|
readonly description?: string | null;
|
|
100
100
|
readonly version: string;
|
|
101
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")[];
|
|
102
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
103
103
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
}, import("./
|
|
106
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
107
107
|
export declare const get: (input: {
|
|
108
108
|
readonly id: string;
|
|
109
109
|
}) => import("effect/Effect").Effect<{
|
|
@@ -118,7 +118,7 @@ export declare const get: (input: {
|
|
|
118
118
|
};
|
|
119
119
|
readonly createdAt: string;
|
|
120
120
|
readonly updatedAt: string;
|
|
121
|
-
}, import("./
|
|
121
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
122
122
|
export declare const listVersions: ((input: {
|
|
123
123
|
readonly id: string;
|
|
124
124
|
readonly limit?: string | null | undefined;
|
|
@@ -135,7 +135,7 @@ export declare const listVersions: ((input: {
|
|
|
135
135
|
readonly publishedAt: string;
|
|
136
136
|
}[];
|
|
137
137
|
readonly nextCursor: string | null;
|
|
138
|
-
}, import("./
|
|
138
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
139
139
|
readonly pages: (input: {
|
|
140
140
|
readonly id: string;
|
|
141
141
|
readonly limit?: string | null | undefined;
|
|
@@ -152,7 +152,7 @@ export declare const listVersions: ((input: {
|
|
|
152
152
|
readonly publishedAt: string;
|
|
153
153
|
}[];
|
|
154
154
|
readonly nextCursor: string | null;
|
|
155
|
-
}, import("./
|
|
155
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
156
156
|
readonly items: (input: {
|
|
157
157
|
readonly id: string;
|
|
158
158
|
readonly limit?: string | null | undefined;
|
|
@@ -166,7 +166,7 @@ export declare const listVersions: ((input: {
|
|
|
166
166
|
readonly sizeBytes: number;
|
|
167
167
|
} | null;
|
|
168
168
|
readonly publishedAt: string;
|
|
169
|
-
}, import("./
|
|
169
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
170
170
|
};
|
|
171
171
|
export declare const getVersion: (input: {
|
|
172
172
|
readonly id: string;
|
|
@@ -186,7 +186,7 @@ export declare const getVersion: (input: {
|
|
|
186
186
|
readonly description?: string | null;
|
|
187
187
|
readonly version: string;
|
|
188
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")[];
|
|
189
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
190
190
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
191
191
|
};
|
|
192
|
-
}, import("./
|
|
192
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { ExtensionsGroup } from "./generated/extensions.js";
|
|
4
|
+
//#region src/effect/extensions.ts
|
|
5
|
+
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
get: () => get,
|
|
7
|
+
getVersion: () => getVersion,
|
|
8
|
+
list: () => list,
|
|
9
|
+
listVersions: () => listVersions,
|
|
10
|
+
publish: () => publish
|
|
11
|
+
});
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(ExtensionsGroup);
|
|
13
|
+
const list = /* @__PURE__ */ make("extensionsList");
|
|
14
|
+
const publish = /* @__PURE__ */ make("extensionsPublish");
|
|
15
|
+
const get = /* @__PURE__ */ make("extensionsGet");
|
|
16
|
+
const listVersions = /* @__PURE__ */ make("extensionsListVersions");
|
|
17
|
+
const getVersion = /* @__PURE__ */ make("extensionsGetVersion");
|
|
18
|
+
//#endregion
|
|
19
|
+
export { extensions_exports, get, getVersion, list, listVersions, publish };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=extensions.js.map
|
|
@@ -9,4 +9,4 @@ export declare const send: (input: {
|
|
|
9
9
|
}) => import("effect/Effect").Effect<{
|
|
10
10
|
readonly id: string & import("effect/Brand").Brand<"FeedbackId">;
|
|
11
11
|
readonly createdAt: string;
|
|
12
|
-
}, import("./
|
|
12
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
package/dist/effect/feedback.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { SendFeedback } from "./generated/shared.js";
|
|
3
|
+
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { FeedbackGroup } from "./generated/feedback.js";
|
|
5
|
+
//#region src/effect/feedback.ts
|
|
6
|
+
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
SendPayload: () => SendFeedback,
|
|
8
|
+
send: () => send
|
|
9
|
+
});
|
|
10
|
+
const send = /* @__PURE__ */ (/* @__PURE__ */ forGroup(FeedbackGroup))("feedbackSend");
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SendFeedback as SendPayload, feedback_exports, send };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=feedback.js.map
|