samva 0.16.0 → 0.18.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 +9 -1
- package/README.md +57 -1
- 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 +174 -3
- package/dist/{promises-KrA2nSLg.js → client/sdk.gen.js} +464 -2289
- package/dist/client/types.gen.d.ts +1126 -11
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +11 -9
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +13 -12
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +9 -7
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +12 -10
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +17 -15
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/client.js +4 -5
- package/dist/effect/contact-groups.d.ts +14 -14
- package/dist/effect/contact-groups.js +15 -13
- package/dist/effect/contacts.d.ts +77 -25
- package/dist/effect/contacts.js +27 -22
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +18 -16
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +9 -7
- package/dist/effect/email.d.ts +78 -77
- package/dist/effect/email.js +68 -65
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +121 -0
- package/dist/effect/events.js +17 -0
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +14 -12
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +10 -8
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +6 -5
- package/dist/effect/generated/analytics.d.ts +715 -0
- package/dist/effect/generated/analytics.js +188 -0
- package/dist/effect/generated/api-keys.d.ts +1627 -0
- package/dist/effect/generated/api-keys.js +249 -0
- package/dist/effect/generated/attachments.d.ts +554 -0
- package/dist/effect/generated/attachments.js +125 -0
- package/dist/effect/generated/brands.d.ts +1118 -0
- package/dist/effect/generated/brands.js +155 -0
- package/dist/effect/generated/campaigns.d.ts +3783 -0
- package/dist/effect/generated/campaigns.js +491 -0
- package/dist/effect/generated/contact-events.d.ts +158 -0
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/effect/generated/contact-groups.d.ts +1445 -0
- package/dist/effect/generated/contact-groups.js +419 -0
- package/dist/effect/generated/contacts.d.ts +3789 -0
- package/dist/effect/generated/contacts.js +709 -0
- package/dist/effect/generated/conversations.d.ts +2870 -0
- package/dist/effect/generated/conversations.js +461 -0
- package/dist/effect/generated/custom-fields.d.ts +562 -0
- package/dist/effect/generated/custom-fields.js +162 -0
- package/dist/effect/generated/email.d.ts +10622 -0
- package/dist/effect/generated/email.js +2347 -0
- package/dist/effect/generated/events.d.ts +463 -0
- package/dist/effect/generated/events.js +70 -0
- package/dist/effect/generated/extension-installations.d.ts +1786 -0
- package/dist/effect/generated/extension-installations.js +382 -0
- package/dist/effect/generated/extensions.d.ts +927 -0
- package/dist/effect/generated/extensions.js +203 -0
- package/dist/effect/generated/feedback.d.ts +116 -0
- package/dist/effect/generated/feedback.js +43 -0
- package/dist/effect/generated/index.d.ts +61 -0
- package/dist/effect/generated/journeys.d.ts +6135 -0
- package/dist/effect/generated/journeys.js +464 -0
- package/dist/effect/generated/mailboxes.d.ts +13641 -0
- package/dist/effect/generated/mailboxes.js +2312 -0
- package/dist/effect/generated/media.d.ts +741 -0
- package/dist/effect/generated/media.js +181 -0
- package/dist/effect/generated/messages.d.ts +2355 -0
- package/dist/effect/generated/messages.js +671 -0
- package/dist/effect/generated/namespaces.d.ts +654 -0
- package/dist/effect/generated/namespaces.js +135 -0
- package/dist/effect/generated/operations.d.ts +514 -0
- package/dist/effect/generated/operations.js +80 -0
- package/dist/effect/generated/organizations.d.ts +1111 -0
- package/dist/effect/generated/organizations.js +231 -0
- package/dist/effect/generated/scheduled-messages.d.ts +1798 -0
- package/dist/effect/generated/scheduled-messages.js +190 -0
- package/dist/effect/generated/shared.d.ts +3250 -0
- package/dist/effect/generated/shared.js +1053 -0
- package/dist/effect/generated/subscriptions.d.ts +188 -0
- package/dist/effect/generated/subscriptions.js +61 -0
- package/dist/effect/generated/templates.d.ts +8177 -0
- package/dist/effect/generated/templates.js +2214 -0
- package/dist/effect/generated/unsubscribe-groups.d.ts +1153 -0
- package/dist/effect/generated/unsubscribe-groups.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +1697 -0
- package/dist/effect/generated/webhooks.js +500 -0
- package/dist/effect/generated/whoami.d.ts +291 -0
- package/dist/effect/generated/whoami.js +54 -0
- package/dist/effect/generated-metadata.d.ts +1627 -0
- package/dist/effect/generated-metadata.js +919 -0
- package/dist/effect/index.d.ts +3 -2
- package/dist/effect/index.js +33 -31
- package/dist/effect/internal/client.d.ts +10 -7
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.d.ts +17 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.d.ts +12 -72
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.d.ts +60 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +2153 -0
- package/dist/effect/journeys.js +39 -0
- package/dist/effect/mailboxes.d.ts +80 -80
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -8
- package/dist/effect/messages.d.ts +16 -16
- package/dist/effect/messages.js +15 -12
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +10 -8
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +8 -6
- package/dist/effect/organizations.d.ts +7 -7
- package/dist/effect/organizations.js +12 -10
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/effect/runtime.js +25 -0
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +10 -8
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +5 -4
- package/dist/effect/templates.d.ts +40 -40
- package/dist/effect/templates.js +39 -37
- package/dist/effect/unsubscribe-groups.d.ts +11 -11
- package/dist/effect/unsubscribe-groups.js +14 -12
- package/dist/effect/webhooks.d.ts +23 -23
- package/dist/effect/webhooks.js +16 -14
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +5 -4
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Cegg6tTF.js → inline-attachments.js} +13 -7
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +2 -2
- 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 +7 -3
- package/dist/promises/index.js +288 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +85 -0
- package/dist/{operation-BTXjPrwf.js → service-map.js} +58 -219
- package/package.json +17 -3
- package/dist/categories-DV51kr2H.js +0 -187
- package/dist/client-BMUew5Wp.js +0 -13794
- package/dist/effect/generated.d.ts +0 -64004
- package/dist/mailboxes-Thp5z0oX.js +0 -161
package/dist/effect/email.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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";
|
|
4
6
|
//#region src/effect/email.ts
|
|
5
7
|
var email_exports = /* @__PURE__ */ __exportAll({
|
|
6
8
|
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
@@ -68,70 +70,71 @@ var email_exports = /* @__PURE__ */ __exportAll({
|
|
|
68
70
|
updateRecipientTrackingPreference: () => updateRecipientTrackingPreference,
|
|
69
71
|
updateTrackingDefaults: () => updateTrackingDefaults
|
|
70
72
|
});
|
|
73
|
+
const make = /* @__PURE__ */ forGroup(EmailGroup);
|
|
71
74
|
const send = sendEmail;
|
|
72
|
-
const getTrackingDefaults = make("emailGetTrackingDefaults");
|
|
73
|
-
const updateTrackingDefaults = make("emailUpdateTrackingDefaults");
|
|
74
|
-
const getRecipientTrackingPreference = make("emailGetRecipientTrackingPreference");
|
|
75
|
-
const updateRecipientTrackingPreference = make("emailUpdateRecipientTrackingPreference");
|
|
76
|
-
const listDomains = make("emailListDomains");
|
|
77
|
-
const addDomain = make("emailAddDomain");
|
|
78
|
-
const rotateDomainDkim = make("emailRotateDomainDkim");
|
|
79
|
-
const getDomainVerification = make("emailGetDomainVerification");
|
|
80
|
-
const advanceDomainVerification = make("emailAdvanceDomainVerification");
|
|
81
|
-
const getDomainById = make("emailGetDomainById");
|
|
82
|
-
const removeDomain = make("emailRemoveDomain");
|
|
83
|
-
const setDefaultDomain = make("emailSetDefaultDomain");
|
|
84
|
-
const updateDomainConfig = make("emailUpdateDomainConfig");
|
|
85
|
-
const detectRegistrar = make("emailDetectRegistrar");
|
|
86
|
-
const getDomainConnect = make("emailGetDomainConnect");
|
|
87
|
-
const buildDomainConnectApplyUrl = make("emailBuildDomainConnectApplyUrl");
|
|
88
|
-
const completeDomainConnect = make("emailCompleteDomainConnect");
|
|
89
|
-
const enableReceiving = make("emailEnableReceiving");
|
|
90
|
-
const getReceivingStatus = make("emailGetReceivingStatus");
|
|
91
|
-
const enableCustomTracking = make("emailEnableCustomTracking");
|
|
92
|
-
const getCustomTracking = make("emailGetCustomTracking");
|
|
93
|
-
const recheckCustomTracking = make("emailRecheckCustomTracking");
|
|
94
|
-
const getCustomTrackingDomainConnect = make("emailGetCustomTrackingDomainConnect");
|
|
95
|
-
const buildCustomTrackingDomainConnectApplyUrl = make("emailBuildCustomTrackingDomainConnectApplyUrl");
|
|
96
|
-
const completeCustomTrackingDomainConnect = make("emailCompleteCustomTrackingDomainConnect");
|
|
97
|
-
const disableCustomTracking = make("emailDisableCustomTracking");
|
|
98
|
-
const getDomainWarming = make("emailGetDomainWarming");
|
|
99
|
-
const createDomainWarmingPlan = make("emailCreateDomainWarmingPlan");
|
|
100
|
-
const updateDomainWarmingPolicy = make("emailUpdateDomainWarmingPolicy");
|
|
101
|
-
const cancelDomainWarmingBatch = make("emailCancelDomainWarmingBatch");
|
|
102
|
-
const pauseDomainWarming = make("emailPauseDomainWarming");
|
|
103
|
-
const resumeDomainWarming = make("emailResumeDomainWarming");
|
|
104
|
-
const completeDomainWarming = make("emailCompleteDomainWarming");
|
|
105
|
-
const getOnboardingReview = make("emailGetOnboardingReview");
|
|
106
|
-
const reapplyOnboardingReview = make("emailReapplyOnboardingReview");
|
|
107
|
-
const respondToOnboardingInformationRequest = make("emailRespondToOnboardingInformationRequest");
|
|
108
|
-
const listSenders = make("emailListSenders");
|
|
109
|
-
const getSender = make("emailGetSender");
|
|
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");
|
|
110
113
|
const addSender = addEmailSender;
|
|
111
|
-
const checkSenderVerification = make("emailCheckSenderVerification");
|
|
112
|
-
const removeSender = make("emailRemoveSender");
|
|
113
|
-
const setDefaultSender = make("emailSetDefaultSender");
|
|
114
|
-
const getStats = make("emailGetStats");
|
|
115
|
-
const enableCatchAll = make("emailEnableCatchAll");
|
|
116
|
-
const disableCatchAll = make("emailDisableCatchAll");
|
|
117
|
-
const getCatchAllConfig = make("emailGetCatchAllConfig");
|
|
118
|
-
const updateCatchAllConfig = make("emailUpdateCatchAllConfig");
|
|
119
|
-
const getCatchAllStats = make("emailGetCatchAllStats");
|
|
120
|
-
const listSuppressions = make("emailListSuppressions");
|
|
121
|
-
const countSuppressions = make("emailCountSuppressions");
|
|
122
|
-
const removeSuppression = make("emailRemoveSuppression");
|
|
123
|
-
const listBlocks = make("emailListBlocks");
|
|
124
|
-
const addBlock = make("emailAddBlock");
|
|
125
|
-
const removeBlock = make("emailRemoveBlock");
|
|
126
|
-
const updateBlock = make("emailUpdateBlock");
|
|
127
|
-
const getBlockLogs = make("emailGetBlockLogs");
|
|
128
|
-
const checkBlocked = make("emailCheckBlocked");
|
|
129
|
-
const listForwardingRules = make("emailListForwardingRules");
|
|
130
|
-
const createForwardingRule = make("emailCreateForwardingRule");
|
|
131
|
-
const deleteForwardingRule = make("emailDeleteForwardingRule");
|
|
132
|
-
const updateForwardingRule = make("emailUpdateForwardingRule");
|
|
133
|
-
const getForwardingLog = make("emailGetForwardingLog");
|
|
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");
|
|
134
137
|
//#endregion
|
|
135
|
-
export { TrackingRecipientEmail, addBlock, addDomain, addSender, advanceDomainVerification, buildCustomTrackingDomainConnectApplyUrl, buildDomainConnectApplyUrl, cancelDomainWarmingBatch, checkBlocked, checkSenderVerification, completeCustomTrackingDomainConnect, completeDomainConnect, completeDomainWarming, countSuppressions, createDomainWarmingPlan, createForwardingRule, deleteForwardingRule, detectRegistrar, disableCatchAll, disableCustomTracking, enableCatchAll, enableCustomTracking, enableReceiving, getBlockLogs, getCatchAllConfig, getCatchAllStats, getCustomTracking, getCustomTrackingDomainConnect, getDomainById, getDomainConnect, getDomainVerification, getDomainWarming, getForwardingLog, getOnboardingReview, getReceivingStatus, getRecipientTrackingPreference, getSender, getStats, getTrackingDefaults, listBlocks, listDomains, listForwardingRules, listSenders, listSuppressions, pauseDomainWarming, reapplyOnboardingReview, recheckCustomTracking, removeBlock, removeDomain, removeSender, removeSuppression, respondToOnboardingInformationRequest, resumeDomainWarming, rotateDomainDkim, send, setDefaultDomain, setDefaultSender,
|
|
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 };
|
|
136
139
|
|
|
137
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 };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export { CreateEventPayload } from "./generated/shared";
|
|
2
|
+
export declare const create: (input: {
|
|
3
|
+
readonly contact: {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly externalId?: undefined;
|
|
6
|
+
readonly email?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
readonly externalId: string;
|
|
9
|
+
readonly id?: undefined;
|
|
10
|
+
readonly email?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
readonly email: string;
|
|
13
|
+
readonly id?: undefined;
|
|
14
|
+
readonly externalId?: undefined;
|
|
15
|
+
};
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly properties?: {
|
|
18
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
19
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
20
|
+
} | null)[] | {
|
|
21
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
22
|
+
} | null)[] | {
|
|
23
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
24
|
+
} | null)[] | {
|
|
25
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
26
|
+
} | null)[] | {
|
|
27
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
28
|
+
} | null)[] | {
|
|
29
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
30
|
+
} | null)[] | {
|
|
31
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
32
|
+
} | null)[] | {
|
|
33
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
34
|
+
} | null)[] | {
|
|
35
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
36
|
+
} | null)[] | {
|
|
37
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
38
|
+
} | null)[] | {
|
|
39
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
40
|
+
} | null)[] | {
|
|
41
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
} | null | undefined;
|
|
44
|
+
readonly occurredAt?: string | null | undefined;
|
|
45
|
+
readonly idempotencyKey?: string | null | undefined;
|
|
46
|
+
}) => import("effect/Effect").Effect<{
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly contactId: string & import("effect/Brand").Brand<"ContactId">;
|
|
49
|
+
readonly name: string;
|
|
50
|
+
readonly source: "api" | "samva";
|
|
51
|
+
readonly properties: {
|
|
52
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
53
|
+
};
|
|
54
|
+
readonly occurredAt: string;
|
|
55
|
+
readonly recordedAt: string;
|
|
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
|
+
export declare const batch: (input: {
|
|
58
|
+
readonly events: readonly {
|
|
59
|
+
readonly contact: {
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly externalId?: undefined;
|
|
62
|
+
readonly email?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
readonly externalId: string;
|
|
65
|
+
readonly id?: undefined;
|
|
66
|
+
readonly email?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
readonly email: string;
|
|
69
|
+
readonly id?: undefined;
|
|
70
|
+
readonly externalId?: undefined;
|
|
71
|
+
};
|
|
72
|
+
readonly name: string;
|
|
73
|
+
readonly properties?: {
|
|
74
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
75
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
76
|
+
} | null)[] | {
|
|
77
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
78
|
+
} | null)[] | {
|
|
79
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
80
|
+
} | null)[] | {
|
|
81
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
82
|
+
} | null)[] | {
|
|
83
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
84
|
+
} | null)[] | {
|
|
85
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
86
|
+
} | null)[] | {
|
|
87
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
88
|
+
} | null)[] | {
|
|
89
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
90
|
+
} | null)[] | {
|
|
91
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
92
|
+
} | null)[] | {
|
|
93
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
94
|
+
} | null)[] | {
|
|
95
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
96
|
+
} | null | undefined;
|
|
97
|
+
} | null | undefined;
|
|
98
|
+
readonly occurredAt?: string | null | undefined;
|
|
99
|
+
readonly idempotencyKey?: string | null | undefined;
|
|
100
|
+
}[];
|
|
101
|
+
}) => import("effect/Effect").Effect<{
|
|
102
|
+
readonly total: number;
|
|
103
|
+
readonly accepted: number;
|
|
104
|
+
readonly errors: number;
|
|
105
|
+
readonly results: readonly {
|
|
106
|
+
readonly index: number;
|
|
107
|
+
readonly status: "accepted" | "error";
|
|
108
|
+
readonly event?: {
|
|
109
|
+
readonly id: string;
|
|
110
|
+
readonly contactId: string & import("effect/Brand").Brand<"ContactId">;
|
|
111
|
+
readonly name: string;
|
|
112
|
+
readonly source: "api" | "samva";
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
115
|
+
};
|
|
116
|
+
readonly occurredAt: string;
|
|
117
|
+
readonly recordedAt: string;
|
|
118
|
+
} | null;
|
|
119
|
+
readonly error?: string | null;
|
|
120
|
+
}[];
|
|
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>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -98,7 +98,7 @@ 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;
|
|
@@ -164,7 +164,7 @@ export declare const upgrade: (input: {
|
|
|
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<{
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -253,7 +253,7 @@ 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<{
|
|
@@ -267,7 +267,7 @@ export declare const listRuns: (input: {
|
|
|
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;
|
|
@@ -281,4 +281,4 @@ export declare const getRun: (input: {
|
|
|
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,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { ExtensionInstallationsGroup } from "./generated/extension-installations.js";
|
|
3
4
|
//#region src/effect/extension-installations.ts
|
|
4
5
|
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
5
6
|
disable: () => disable,
|
|
@@ -12,16 +13,17 @@ var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
|
12
13
|
uninstall: () => uninstall,
|
|
13
14
|
upgrade: () => upgrade
|
|
14
15
|
});
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
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");
|
|
24
26
|
//#endregion
|
|
25
|
-
export { disable, enable, get, getRun, install, list, listRuns,
|
|
27
|
+
export { disable, enable, extension_installations_exports, get, getRun, install, list, listRuns, uninstall, upgrade };
|
|
26
28
|
|
|
27
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: {
|
|
@@ -103,7 +103,7 @@ export declare const publish: (input: {
|
|
|
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;
|
|
@@ -189,4 +189,4 @@ export declare const getVersion: (input: {
|
|
|
189
189
|
readonly events: readonly ("mailbox.action.pending_approval" | "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,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { ExtensionsGroup } from "./generated/extensions.js";
|
|
3
4
|
//#region src/effect/extensions.ts
|
|
4
5
|
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
5
6
|
get: () => get,
|
|
@@ -8,12 +9,13 @@ var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
9
|
listVersions: () => listVersions,
|
|
9
10
|
publish: () => publish
|
|
10
11
|
});
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
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");
|
|
16
18
|
//#endregion
|
|
17
|
-
export { get, getVersion, list, listVersions, publish
|
|
19
|
+
export { extensions_exports, get, getVersion, list, listVersions, publish };
|
|
18
20
|
|
|
19
21
|
//# sourceMappingURL=extensions.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SendFeedback as SendPayload } from "./generated";
|
|
1
|
+
export { SendFeedback as SendPayload } from "./generated/shared";
|
|
2
2
|
export declare const send: (input: {
|
|
3
3
|
readonly message: string;
|
|
4
4
|
readonly category?: "bug" | "confusing" | "missing" | "other" | null | undefined;
|
|
@@ -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,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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";
|
|
4
5
|
//#region src/effect/feedback.ts
|
|
5
6
|
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
SendPayload: () => SendFeedback,
|
|
7
8
|
send: () => send
|
|
8
9
|
});
|
|
9
|
-
const send =
|
|
10
|
+
const send = /* @__PURE__ */ (/* @__PURE__ */ forGroup(FeedbackGroup))("feedbackSend");
|
|
10
11
|
//#endregion
|
|
11
|
-
export { SendFeedback as SendPayload,
|
|
12
|
+
export { SendFeedback as SendPayload, feedback_exports, send };
|
|
12
13
|
|
|
13
14
|
//# sourceMappingURL=feedback.js.map
|