samva 0.29.0 → 0.30.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 +23 -5
- package/README.md +166 -133
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/client/client/client.gen.js +1 -2
- package/dist/client/client/utils.gen.js +1 -2
- package/dist/client/client.gen.js +1 -2
- package/dist/client/core/auth.gen.js +1 -2
- package/dist/client/core/bodySerializer.gen.js +1 -2
- package/dist/client/core/params.gen.js +1 -2
- package/dist/client/core/pathSerializer.gen.js +1 -2
- package/dist/client/core/serverSentEvents.gen.js +1 -2
- package/dist/client/core/utils.gen.js +1 -2
- package/dist/client/sdk.gen.d.ts +216 -191
- package/dist/client/sdk.gen.js +2392 -1153
- package/dist/client/types.gen.d.ts +766 -376
- package/dist/client-attribution.js +1 -2
- package/dist/effect/agents.d.ts +33 -11
- package/dist/effect/agents.js +1 -2
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +1 -2
- package/dist/effect/api-keys.d.ts +8 -8
- package/dist/effect/api-keys.js +1 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +1 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +1 -2
- package/dist/effect/campaigns.d.ts +15 -16
- package/dist/effect/campaigns.js +1 -2
- package/dist/effect/categories.js +1 -2
- package/dist/effect/client.js +1 -2
- package/dist/effect/contact-groups.d.ts +10 -10
- package/dist/effect/contact-groups.js +1 -2
- package/dist/effect/contacts.d.ts +23 -24
- package/dist/effect/contacts.js +1 -2
- package/dist/effect/conversations.d.ts +13 -13
- package/dist/effect/conversations.js +1 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +1 -2
- package/dist/effect/email.d.ts +61 -63
- package/dist/effect/email.js +1 -2
- package/dist/effect/events.d.ts +2 -4
- package/dist/effect/events.js +1 -2
- package/dist/effect/extension-installations.d.ts +9 -9
- package/dist/effect/extension-installations.js +1 -2
- package/dist/effect/extensions.d.ts +5 -5
- package/dist/effect/extensions.js +1 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +1 -2
- package/dist/effect/generated/agents.d.ts +264 -22
- package/dist/effect/generated/agents.js +2 -3
- package/dist/effect/generated/analytics.js +1 -2
- package/dist/effect/generated/api-keys.js +1 -2
- package/dist/effect/generated/attachments.js +1 -2
- package/dist/effect/generated/brands.js +1 -2
- package/dist/effect/generated/campaigns.d.ts +160 -155
- package/dist/effect/generated/campaigns.js +7 -9
- package/dist/effect/generated/contact-events.js +1 -2
- package/dist/effect/generated/contact-groups.d.ts +26 -26
- package/dist/effect/generated/contact-groups.js +22 -19
- package/dist/effect/generated/contacts.d.ts +119 -90
- package/dist/effect/generated/contacts.js +32 -32
- package/dist/effect/generated/conversations.d.ts +22 -22
- package/dist/effect/generated/conversations.js +7 -8
- package/dist/effect/generated/custom-fields.d.ts +6 -6
- package/dist/effect/generated/custom-fields.js +3 -4
- package/dist/effect/generated/email.d.ts +38 -38
- package/dist/effect/generated/email.js +13 -14
- package/dist/effect/generated/events.d.ts +18 -9
- package/dist/effect/generated/events.js +8 -6
- package/dist/effect/generated/extension-installations.d.ts +2 -2
- package/dist/effect/generated/extension-installations.js +6 -3
- package/dist/effect/generated/extensions.js +1 -2
- package/dist/effect/generated/feedback.js +1 -2
- package/dist/effect/generated/index.d.ts +7 -5
- package/dist/effect/generated/journeys.js +1 -2
- package/dist/effect/generated/mailboxes.d.ts +44 -44
- package/dist/effect/generated/mailboxes.js +17 -18
- package/dist/effect/generated/media.js +1 -2
- package/dist/effect/generated/messages.d.ts +42 -42
- package/dist/effect/generated/messages.js +3 -4
- package/dist/effect/generated/namespaces.js +1 -2
- package/dist/effect/generated/{publication-domains.d.ts → newsletter-domains.d.ts} +304 -80
- package/dist/effect/generated/newsletter-domains.js +218 -0
- package/dist/effect/generated/{topic-issues.d.ts → newsletter-issues.d.ts} +330 -288
- package/dist/effect/generated/{topic-issues.js → newsletter-issues.js} +255 -246
- package/dist/effect/generated/newsletters.d.ts +741 -0
- package/dist/effect/generated/newsletters.js +143 -0
- package/dist/effect/generated/operations.js +1 -2
- package/dist/effect/generated/organizations.d.ts +9 -9
- package/dist/effect/generated/organizations.js +4 -5
- package/dist/effect/generated/scheduled-messages.d.ts +174 -169
- package/dist/effect/generated/scheduled-messages.js +7 -7
- package/dist/effect/generated/shared.d.ts +276 -208
- package/dist/effect/generated/shared.js +50 -36
- package/dist/effect/generated/subscriptions.js +1 -2
- package/dist/effect/generated/templates.d.ts +118 -67
- package/dist/effect/generated/templates.js +43 -35
- package/dist/effect/generated/topic-forms.d.ts +79 -19
- package/dist/effect/generated/topic-forms.js +13 -14
- package/dist/effect/generated/topics.d.ts +27 -65
- package/dist/effect/generated/topics.js +13 -20
- package/dist/effect/generated/webhooks.d.ts +9 -9
- package/dist/effect/generated/webhooks.js +4 -5
- package/dist/effect/generated/whoami.js +1 -2
- package/dist/effect/generated-metadata.d.ts +475 -70
- package/dist/effect/generated-metadata.js +642 -432
- package/dist/effect/index.d.ts +3 -2
- package/dist/effect/index.js +4 -3
- package/dist/effect/internal/client.d.ts +5 -0
- package/dist/effect/internal/client.js +9 -5
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/email-sender.js +4 -3
- package/dist/effect/internal/mailbox-events.js +1 -2
- package/dist/effect/internal/operation.d.ts +4 -15
- package/dist/effect/internal/operation.js +21 -33
- package/dist/effect/internal/send.js +2 -3
- package/dist/effect/journeys.d.ts +14 -14
- package/dist/effect/journeys.js +1 -2
- package/dist/effect/mailboxes.d.ts +60 -70
- package/dist/effect/mailboxes.js +1 -2
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +1 -2
- package/dist/effect/messages.d.ts +9 -9
- package/dist/effect/messages.js +1 -2
- package/dist/effect/namespaces.d.ts +8 -8
- package/dist/effect/namespaces.js +1 -2
- package/dist/effect/newsletter-domains.d.ts +71 -0
- package/dist/effect/newsletter-domains.js +18 -0
- package/dist/effect/{topic-issues.d.ts → newsletter-issues.d.ts} +11 -15
- package/dist/effect/newsletter-issues.js +32 -0
- package/dist/effect/newsletters.d.ts +22 -0
- package/dist/effect/newsletters.js +20 -0
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/operations.js +1 -2
- package/dist/effect/organizations.d.ts +8 -10
- package/dist/effect/organizations.js +1 -2
- package/dist/effect/pagination.js +1 -2
- package/dist/effect/retry.d.ts +4 -4
- package/dist/effect/retry.js +5 -6
- package/dist/effect/runtime.js +1 -2
- package/dist/effect/scheduled-messages.d.ts +5 -6
- package/dist/effect/scheduled-messages.js +1 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +1 -2
- package/dist/effect/templates.d.ts +34 -43
- package/dist/effect/templates.js +1 -2
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +1 -2
- package/dist/effect/topics.d.ts +9 -13
- package/dist/effect/topics.js +1 -2
- package/dist/effect/webhooks.d.ts +11 -11
- package/dist/effect/webhooks.js +1 -2
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +1 -2
- package/dist/index.js +2 -2
- package/dist/inline-attachments.js +1 -2
- package/dist/mailbox/dispatch.d.ts +10 -0
- package/dist/mailbox/dispatch.js +66 -0
- package/dist/mailbox/index.d.ts +17 -0
- package/dist/mailbox/index.js +30 -0
- package/dist/mailbox/test.d.ts +25 -0
- package/dist/mailbox/test.js +174 -0
- package/dist/mailbox/types.d.ts +184 -0
- package/dist/mailbox/webhook.d.ts +10 -0
- package/dist/mailbox/webhook.js +41 -0
- package/dist/mailbox-events.js +1 -2
- package/dist/normalize.js +1 -2
- package/dist/package.js +2 -3
- package/dist/promises/client.d.ts +215 -0
- package/dist/promises/client.js +324 -0
- package/dist/promises/errors.gen.js +1 -2
- package/dist/promises/index.d.ts +2 -196
- package/dist/promises/index.js +3 -295
- package/dist/promises/request.d.ts +15 -0
- package/dist/promises/request.js +75 -0
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +3 -0
- package/dist/request-policy.js +16 -0
- package/dist/service-map.d.ts +78 -47
- package/dist/service-map.js +52 -32
- package/package.json +34 -18
- package/dist/effect/generated/publication-domains.js +0 -163
- package/dist/effect/publication-domains.d.ts +0 -14
- package/dist/effect/publication-domains.js +0 -17
- package/dist/effect/topic-issues.js +0 -33
package/dist/effect/email.d.ts
CHANGED
|
@@ -14,24 +14,24 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
14
14
|
}[];
|
|
15
15
|
readonly createdAt: string;
|
|
16
16
|
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").DeliveryUnavailableError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").FromAddressRequiredError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("..").MediaUploadError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
17
|
-
export declare const getTrackingDefaults: (
|
|
17
|
+
export declare const getTrackingDefaults: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetTrackingDefaults">;
|
|
18
18
|
export declare const updateTrackingDefaults: (input?: {
|
|
19
19
|
readonly opens?: boolean | undefined;
|
|
20
20
|
readonly clicks?: boolean | undefined;
|
|
21
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailUpdateTrackingDefaults">;
|
|
21
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateTrackingDefaults">;
|
|
22
22
|
export declare const getRecipientTrackingPreference: (input: {
|
|
23
23
|
readonly email: string;
|
|
24
|
-
}) => import("./internal/operation").OperationResult<"emailGetRecipientTrackingPreference">;
|
|
24
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetRecipientTrackingPreference">;
|
|
25
25
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
26
26
|
readonly email: string;
|
|
27
27
|
readonly optedOut: boolean;
|
|
28
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateRecipientTrackingPreference">;
|
|
28
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateRecipientTrackingPreference">;
|
|
29
29
|
export declare const listDomains: ((input?: {
|
|
30
30
|
readonly limit?: number | null | undefined;
|
|
31
31
|
readonly cursor?: string | null | undefined;
|
|
32
32
|
readonly sendable?: true | null | undefined;
|
|
33
33
|
readonly namespaceId?: string | null | undefined;
|
|
34
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailListDomains">) & {
|
|
34
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListDomains">) & {
|
|
35
35
|
readonly pages: (input?: {
|
|
36
36
|
readonly limit?: number | null | undefined;
|
|
37
37
|
readonly cursor?: string | null | undefined;
|
|
@@ -89,27 +89,25 @@ export declare const addDomain: (input: {
|
|
|
89
89
|
readonly zone: string;
|
|
90
90
|
} | null | undefined;
|
|
91
91
|
readonly namespaceId?: string | null | undefined;
|
|
92
|
-
}) => import("./internal/operation").OperationResult<"emailAddDomain">;
|
|
92
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddDomain">;
|
|
93
93
|
export declare const rotateDomainDkim: (input: {
|
|
94
94
|
readonly id: string;
|
|
95
|
-
}
|
|
96
|
-
readonly idempotencyKey: string;
|
|
97
|
-
}) => import("./internal/operation").OperationResult<"emailRotateDomainDkim">;
|
|
95
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRotateDomainDkim">;
|
|
98
96
|
export declare const getDomainVerification: (input: {
|
|
99
97
|
readonly id: string;
|
|
100
|
-
}) => import("./internal/operation").OperationResult<"emailGetDomainVerification">;
|
|
98
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainVerification">;
|
|
101
99
|
export declare const advanceDomainVerification: (input: {
|
|
102
100
|
readonly id: string;
|
|
103
|
-
}) => import("./internal/operation").OperationResult<"emailAdvanceDomainVerification">;
|
|
101
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAdvanceDomainVerification">;
|
|
104
102
|
export declare const getDomainById: (input: {
|
|
105
103
|
readonly id: string;
|
|
106
|
-
}) => import("./internal/operation").OperationResult<"emailGetDomainById">;
|
|
104
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainById">;
|
|
107
105
|
export declare const removeDomain: (input: {
|
|
108
106
|
readonly id: string;
|
|
109
|
-
}) => import("./internal/operation").OperationResult<"emailRemoveDomain">;
|
|
107
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveDomain">;
|
|
110
108
|
export declare const setDefaultDomain: (input: {
|
|
111
109
|
readonly id: string;
|
|
112
|
-
}) => import("./internal/operation").OperationResult<"emailSetDefaultDomain">;
|
|
110
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailSetDefaultDomain">;
|
|
113
111
|
export declare const updateDomainConfig: (input: {
|
|
114
112
|
readonly id: string;
|
|
115
113
|
readonly openTracking?: boolean | null | undefined;
|
|
@@ -118,102 +116,102 @@ export declare const updateDomainConfig: (input: {
|
|
|
118
116
|
readonly topicId?: string | null | undefined;
|
|
119
117
|
readonly footerEnabled?: boolean | null | undefined;
|
|
120
118
|
readonly brandSlug?: string | null | undefined;
|
|
121
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateDomainConfig">;
|
|
119
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainConfig">;
|
|
122
120
|
export declare const detectRegistrar: (input: {
|
|
123
121
|
readonly id: string;
|
|
124
122
|
readonly domain: string;
|
|
125
|
-
}) => import("./internal/operation").OperationResult<"emailDetectRegistrar">;
|
|
123
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDetectRegistrar">;
|
|
126
124
|
export declare const getDomainConnect: (input: {
|
|
127
125
|
readonly id: string;
|
|
128
126
|
readonly mode: "send-and-receive" | "send-only";
|
|
129
|
-
}) => import("./internal/operation").OperationResult<"emailGetDomainConnect">;
|
|
127
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainConnect">;
|
|
130
128
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
131
129
|
readonly id: string;
|
|
132
130
|
readonly mode: "send-and-receive" | "send-only";
|
|
133
|
-
}) => import("./internal/operation").OperationResult<"emailBuildDomainConnectApplyUrl">;
|
|
131
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailBuildDomainConnectApplyUrl">;
|
|
134
132
|
export declare const completeDomainConnect: (input: {
|
|
135
133
|
readonly id: string;
|
|
136
134
|
readonly state: string;
|
|
137
135
|
readonly error?: string | null | undefined;
|
|
138
136
|
readonly errorDescription?: string | null | undefined;
|
|
139
|
-
}) => import("./internal/operation").OperationResult<"emailCompleteDomainConnect">;
|
|
137
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteDomainConnect">;
|
|
140
138
|
export declare const enableReceiving: (input: {
|
|
141
139
|
readonly id: string;
|
|
142
140
|
readonly domain: string;
|
|
143
141
|
readonly catchAll?: boolean | null | undefined;
|
|
144
142
|
readonly endpointId?: string | null | undefined;
|
|
145
143
|
readonly addresses?: readonly string[] | null | undefined;
|
|
146
|
-
}) => import("./internal/operation").OperationResult<"emailEnableReceiving">;
|
|
144
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailEnableReceiving">;
|
|
147
145
|
export declare const getReceivingStatus: (input: {
|
|
148
146
|
readonly id: string;
|
|
149
|
-
}) => import("./internal/operation").OperationResult<"emailGetReceivingStatus">;
|
|
147
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetReceivingStatus">;
|
|
150
148
|
export declare const enableCustomTracking: (input: {
|
|
151
149
|
readonly id: string;
|
|
152
150
|
readonly label?: string | null | undefined;
|
|
153
151
|
readonly parentDomain?: string | null | undefined;
|
|
154
|
-
}) => import("./internal/operation").OperationResult<"emailEnableCustomTracking">;
|
|
152
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailEnableCustomTracking">;
|
|
155
153
|
export declare const getCustomTracking: (input: {
|
|
156
154
|
readonly id: string;
|
|
157
|
-
}) => import("./internal/operation").OperationResult<"emailGetCustomTracking">;
|
|
155
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCustomTracking">;
|
|
158
156
|
export declare const recheckCustomTracking: (input: {
|
|
159
157
|
readonly id: string;
|
|
160
|
-
}) => import("./internal/operation").OperationResult<"emailRecheckCustomTracking">;
|
|
158
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRecheckCustomTracking">;
|
|
161
159
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
162
160
|
readonly id: string;
|
|
163
|
-
}) => import("./internal/operation").OperationResult<"emailGetCustomTrackingDomainConnect">;
|
|
161
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCustomTrackingDomainConnect">;
|
|
164
162
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
165
163
|
readonly id: string;
|
|
166
|
-
}) => import("./internal/operation").OperationResult<"emailBuildCustomTrackingDomainConnectApplyUrl">;
|
|
164
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailBuildCustomTrackingDomainConnectApplyUrl">;
|
|
167
165
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
168
166
|
readonly id: string;
|
|
169
167
|
readonly state: string;
|
|
170
168
|
readonly error?: string | null | undefined;
|
|
171
169
|
readonly errorDescription?: string | null | undefined;
|
|
172
|
-
}) => import("./internal/operation").OperationResult<"emailCompleteCustomTrackingDomainConnect">;
|
|
170
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteCustomTrackingDomainConnect">;
|
|
173
171
|
export declare const disableCustomTracking: (input: {
|
|
174
172
|
readonly id: string;
|
|
175
|
-
}) => import("./internal/operation").OperationResult<"emailDisableCustomTracking">;
|
|
173
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDisableCustomTracking">;
|
|
176
174
|
export declare const getDomainWarming: (input: {
|
|
177
175
|
readonly id: string;
|
|
178
|
-
}) => import("./internal/operation").OperationResult<"emailGetDomainWarming">;
|
|
176
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainWarming">;
|
|
179
177
|
export declare const createDomainWarmingPlan: (input: {
|
|
180
178
|
readonly id: string;
|
|
181
179
|
readonly identity: "migrating" | "new" | "returning";
|
|
182
180
|
readonly initialDailyRecipients: number;
|
|
183
181
|
readonly dailyGrowthPercent: number;
|
|
184
182
|
readonly targetDailyRecipients: number;
|
|
185
|
-
}) => import("./internal/operation").OperationResult<"emailCreateDomainWarmingPlan">;
|
|
183
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCreateDomainWarmingPlan">;
|
|
186
184
|
export declare const updateDomainWarmingPolicy: (input: {
|
|
187
185
|
readonly id: string;
|
|
188
186
|
readonly dailyGrowthPercent: number;
|
|
189
187
|
readonly targetDailyRecipients: number;
|
|
190
188
|
readonly note?: string | null | undefined;
|
|
191
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateDomainWarmingPolicy">;
|
|
189
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainWarmingPolicy">;
|
|
192
190
|
export declare const cancelDomainWarmingBatch: (input: {
|
|
193
191
|
readonly id: string;
|
|
194
192
|
readonly batchId: string;
|
|
195
|
-
}) => import("./internal/operation").OperationResult<"emailCancelDomainWarmingBatch">;
|
|
193
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCancelDomainWarmingBatch">;
|
|
196
194
|
export declare const pauseDomainWarming: (input: {
|
|
197
195
|
readonly id: string;
|
|
198
196
|
readonly note?: string | null | undefined;
|
|
199
|
-
}) => import("./internal/operation").OperationResult<"emailPauseDomainWarming">;
|
|
197
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailPauseDomainWarming">;
|
|
200
198
|
export declare const resumeDomainWarming: (input: {
|
|
201
199
|
readonly id: string;
|
|
202
200
|
readonly note?: string | null | undefined;
|
|
203
|
-
}) => import("./internal/operation").OperationResult<"emailResumeDomainWarming">;
|
|
201
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailResumeDomainWarming">;
|
|
204
202
|
export declare const completeDomainWarming: (input: {
|
|
205
203
|
readonly id: string;
|
|
206
204
|
readonly note?: string | null | undefined;
|
|
207
|
-
}) => import("./internal/operation").OperationResult<"emailCompleteDomainWarming">;
|
|
208
|
-
export declare const getOnboardingReview: (
|
|
205
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteDomainWarming">;
|
|
206
|
+
export declare const getOnboardingReview: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetOnboardingReview">;
|
|
209
207
|
export declare const reapplyOnboardingReview: (input: {
|
|
210
208
|
readonly expectedGeneration: number;
|
|
211
|
-
}) => import("./internal/operation").OperationResult<"emailReapplyOnboardingReview">;
|
|
209
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailReapplyOnboardingReview">;
|
|
212
210
|
export declare const respondToOnboardingInformationRequest: (input: {
|
|
213
211
|
readonly expectedGeneration: number;
|
|
214
212
|
readonly responseText: string;
|
|
215
213
|
readonly evidenceMediaIds: readonly string[];
|
|
216
|
-
}) => import("./internal/operation").OperationResult<"emailRespondToOnboardingInformationRequest">;
|
|
214
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRespondToOnboardingInformationRequest">;
|
|
217
215
|
export declare const listSenders: ((input?: {
|
|
218
216
|
readonly limit?: number | null | undefined;
|
|
219
217
|
readonly cursor?: string | null | undefined;
|
|
@@ -221,7 +219,7 @@ export declare const listSenders: ((input?: {
|
|
|
221
219
|
readonly isActive?: boolean | null | undefined;
|
|
222
220
|
readonly isDefault?: boolean | null | undefined;
|
|
223
221
|
readonly namespaceId?: string | null | undefined;
|
|
224
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailListSenders">) & {
|
|
222
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListSenders">) & {
|
|
225
223
|
readonly pages: (input?: {
|
|
226
224
|
readonly limit?: number | null | undefined;
|
|
227
225
|
readonly cursor?: string | null | undefined;
|
|
@@ -292,7 +290,7 @@ export declare const listSenders: ((input?: {
|
|
|
292
290
|
};
|
|
293
291
|
export declare const getSender: (input: {
|
|
294
292
|
readonly id: string;
|
|
295
|
-
}) => import("./internal/operation").OperationResult<"emailGetSender">;
|
|
293
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetSender">;
|
|
296
294
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
297
295
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
298
296
|
readonly email: string;
|
|
@@ -303,43 +301,43 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
303
301
|
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | 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>;
|
|
304
302
|
export declare const checkSenderVerification: (input: {
|
|
305
303
|
readonly id: string;
|
|
306
|
-
}) => import("./internal/operation").OperationResult<"emailCheckSenderVerification">;
|
|
304
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckSenderVerification">;
|
|
307
305
|
export declare const removeSender: (input: {
|
|
308
306
|
readonly id: string;
|
|
309
|
-
}) => import("./internal/operation").OperationResult<"emailRemoveSender">;
|
|
307
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveSender">;
|
|
310
308
|
export declare const setDefaultSender: (input: {
|
|
311
309
|
readonly id: string;
|
|
312
|
-
}) => import("./internal/operation").OperationResult<"emailSetDefaultSender">;
|
|
310
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailSetDefaultSender">;
|
|
313
311
|
export declare const getStats: (input?: {
|
|
314
312
|
readonly after?: string | null | undefined;
|
|
315
313
|
readonly before?: string | null | undefined;
|
|
316
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailGetStats">;
|
|
314
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetStats">;
|
|
317
315
|
export declare const enableCatchAll: (input: {
|
|
318
316
|
readonly id: string;
|
|
319
317
|
readonly endpointId?: string | null | undefined;
|
|
320
|
-
}) => import("./internal/operation").OperationResult<"emailEnableCatchAll">;
|
|
318
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailEnableCatchAll">;
|
|
321
319
|
export declare const disableCatchAll: (input: {
|
|
322
320
|
readonly id: string;
|
|
323
|
-
}) => import("./internal/operation").OperationResult<"emailDisableCatchAll">;
|
|
321
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDisableCatchAll">;
|
|
324
322
|
export declare const getCatchAllConfig: (input: {
|
|
325
323
|
readonly domainId: string;
|
|
326
|
-
}) => import("./internal/operation").OperationResult<"emailGetCatchAllConfig">;
|
|
324
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCatchAllConfig">;
|
|
327
325
|
export declare const updateCatchAllConfig: (input: {
|
|
328
326
|
readonly domainId: string;
|
|
329
327
|
readonly endpointId?: string | null | undefined;
|
|
330
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateCatchAllConfig">;
|
|
328
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateCatchAllConfig">;
|
|
331
329
|
export declare const getCatchAllStats: (input: {
|
|
332
330
|
readonly domainId: string;
|
|
333
331
|
readonly after?: string | null | undefined;
|
|
334
332
|
readonly before?: string | null | undefined;
|
|
335
|
-
}) => import("./internal/operation").OperationResult<"emailGetCatchAllStats">;
|
|
333
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCatchAllStats">;
|
|
336
334
|
export declare const listSuppressions: ((input?: {
|
|
337
335
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
338
336
|
readonly status?: "active" | "expired" | null | undefined;
|
|
339
337
|
readonly search?: string | null | undefined;
|
|
340
338
|
readonly limit?: number | null | undefined;
|
|
341
339
|
readonly cursor?: string | null | undefined;
|
|
342
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailListSuppressions">) & {
|
|
340
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListSuppressions">) & {
|
|
343
341
|
readonly pages: (input?: {
|
|
344
342
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
345
343
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -380,16 +378,16 @@ export declare const listSuppressions: ((input?: {
|
|
|
380
378
|
readonly createdAt: string;
|
|
381
379
|
}, 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>;
|
|
382
380
|
};
|
|
383
|
-
export declare const countSuppressions: (
|
|
381
|
+
export declare const countSuppressions: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCountSuppressions">;
|
|
384
382
|
export declare const removeSuppression: (input: {
|
|
385
383
|
readonly id: string;
|
|
386
|
-
}) => import("./internal/operation").OperationResult<"emailRemoveSuppression">;
|
|
384
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveSuppression">;
|
|
387
385
|
export declare const listBlocks: ((input?: {
|
|
388
386
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
389
387
|
readonly isActive?: boolean | null | undefined;
|
|
390
388
|
readonly limit?: number | null | undefined;
|
|
391
389
|
readonly cursor?: string | null | undefined;
|
|
392
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailListBlocks">) & {
|
|
390
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListBlocks">) & {
|
|
393
391
|
readonly pages: (input?: {
|
|
394
392
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
395
393
|
readonly isActive?: boolean | null | undefined;
|
|
@@ -434,17 +432,17 @@ export declare const addBlock: (input: {
|
|
|
434
432
|
readonly reason: string;
|
|
435
433
|
readonly notes?: string | null | undefined;
|
|
436
434
|
readonly expiresAt?: string | null | undefined;
|
|
437
|
-
}) => import("./internal/operation").OperationResult<"emailAddBlock">;
|
|
435
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddBlock">;
|
|
438
436
|
export declare const removeBlock: (input: {
|
|
439
437
|
readonly id: string;
|
|
440
|
-
}) => import("./internal/operation").OperationResult<"emailRemoveBlock">;
|
|
438
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveBlock">;
|
|
441
439
|
export declare const updateBlock: (input: {
|
|
442
440
|
readonly id: string;
|
|
443
441
|
readonly reason?: string | null | undefined;
|
|
444
442
|
readonly notes?: string | null | undefined;
|
|
445
443
|
readonly isActive?: boolean | null | undefined;
|
|
446
444
|
readonly expiresAt?: string | null | undefined;
|
|
447
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateBlock">;
|
|
445
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateBlock">;
|
|
448
446
|
export declare const getBlockLogs: ((input?: {
|
|
449
447
|
readonly blockedEmailId?: string | null | undefined;
|
|
450
448
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -452,7 +450,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
452
450
|
readonly before?: string | null | undefined;
|
|
453
451
|
readonly limit?: number | null | undefined;
|
|
454
452
|
readonly cursor?: string | null | undefined;
|
|
455
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailGetBlockLogs">) & {
|
|
453
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetBlockLogs">) & {
|
|
456
454
|
readonly pages: (input?: {
|
|
457
455
|
readonly blockedEmailId?: string | null | undefined;
|
|
458
456
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -499,11 +497,11 @@ export declare const getBlockLogs: ((input?: {
|
|
|
499
497
|
};
|
|
500
498
|
export declare const checkBlocked: (input: {
|
|
501
499
|
readonly emailAddress: string;
|
|
502
|
-
}) => import("./internal/operation").OperationResult<"emailCheckBlocked">;
|
|
500
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckBlocked">;
|
|
503
501
|
export declare const listForwardingRules: (input?: {
|
|
504
502
|
readonly domainId?: string | null | undefined;
|
|
505
503
|
readonly isActive?: boolean | null | undefined;
|
|
506
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailListForwardingRules">;
|
|
504
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListForwardingRules">;
|
|
507
505
|
export declare const createForwardingRule: (input: {
|
|
508
506
|
readonly name: string;
|
|
509
507
|
readonly description?: string | null | undefined;
|
|
@@ -546,10 +544,10 @@ export declare const createForwardingRule: (input: {
|
|
|
546
544
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
547
545
|
} | null | undefined;
|
|
548
546
|
} | null | undefined;
|
|
549
|
-
}) => import("./internal/operation").OperationResult<"emailCreateForwardingRule">;
|
|
547
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCreateForwardingRule">;
|
|
550
548
|
export declare const deleteForwardingRule: (input: {
|
|
551
549
|
readonly id: string;
|
|
552
|
-
}) => import("./internal/operation").OperationResult<"emailDeleteForwardingRule">;
|
|
550
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDeleteForwardingRule">;
|
|
553
551
|
export declare const updateForwardingRule: (input: {
|
|
554
552
|
readonly id: string;
|
|
555
553
|
readonly name?: string | null | undefined;
|
|
@@ -593,7 +591,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
593
591
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
594
592
|
} | null | undefined;
|
|
595
593
|
} | null | undefined;
|
|
596
|
-
}) => import("./internal/operation").OperationResult<"emailUpdateForwardingRule">;
|
|
594
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateForwardingRule">;
|
|
597
595
|
export declare const getForwardingLog: ((input?: {
|
|
598
596
|
readonly forwardingRuleId?: string | null | undefined;
|
|
599
597
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -601,7 +599,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
601
599
|
readonly before?: string | null | undefined;
|
|
602
600
|
readonly limit?: number | null | undefined;
|
|
603
601
|
readonly cursor?: string | null | undefined;
|
|
604
|
-
} | undefined) => import("./internal/operation").OperationResult<"emailGetForwardingLog">) & {
|
|
602
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetForwardingLog">) & {
|
|
605
603
|
readonly pages: (input?: {
|
|
606
604
|
readonly forwardingRuleId?: string | null | undefined;
|
|
607
605
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
package/dist/effect/email.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forGroup } from "./internal/operation.js";
|
|
|
3
3
|
import { EmailGroup, TrackingRecipientEmail } from "./generated/email.js";
|
|
4
4
|
import { addEmailSender } from "./internal/email-sender.js";
|
|
5
5
|
import { sendEmail } from "./internal/send.js";
|
|
6
|
-
|
|
6
|
+
// src/effect/email.ts
|
|
7
7
|
var email_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
9
9
|
addBlock: () => addBlock,
|
|
@@ -134,7 +134,6 @@ const createForwardingRule = /* @__PURE__ */ make("emailCreateForwardingRule");
|
|
|
134
134
|
const deleteForwardingRule = /* @__PURE__ */ make("emailDeleteForwardingRule");
|
|
135
135
|
const updateForwardingRule = /* @__PURE__ */ make("emailUpdateForwardingRule");
|
|
136
136
|
const getForwardingLog = /* @__PURE__ */ make("emailGetForwardingLog");
|
|
137
|
-
//#endregion
|
|
138
137
|
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
138
|
|
|
140
139
|
//# sourceMappingURL=email.js.map
|
package/dist/effect/events.d.ts
CHANGED
|
@@ -42,8 +42,7 @@ export declare const create: (input: {
|
|
|
42
42
|
} | null | undefined;
|
|
43
43
|
} | null | undefined;
|
|
44
44
|
readonly occurredAt?: string | null | undefined;
|
|
45
|
-
|
|
46
|
-
}) => import("./internal/operation").OperationResult<"eventsCreate">;
|
|
45
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"eventsCreate">;
|
|
47
46
|
export declare const batch: (input: {
|
|
48
47
|
readonly events: readonly {
|
|
49
48
|
readonly contact: {
|
|
@@ -86,6 +85,5 @@ export declare const batch: (input: {
|
|
|
86
85
|
} | null | undefined;
|
|
87
86
|
} | null | undefined;
|
|
88
87
|
readonly occurredAt?: string | null | undefined;
|
|
89
|
-
readonly idempotencyKey?: string | null | undefined;
|
|
90
88
|
}[];
|
|
91
|
-
}) => import("./internal/operation").OperationResult<"eventsBatch">;
|
|
89
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"eventsBatch">;
|
package/dist/effect/events.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { CreateEventPayload } from "./generated/shared.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
4
|
import { EventsGroup } from "./generated/events.js";
|
|
5
|
-
|
|
5
|
+
// src/effect/events.ts
|
|
6
6
|
var events_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
CreateEventPayload: () => CreateEventPayload,
|
|
8
8
|
batch: () => batch,
|
|
@@ -11,7 +11,6 @@ var events_exports = /* @__PURE__ */ __exportAll({
|
|
|
11
11
|
const make = /* @__PURE__ */ forGroup(EventsGroup);
|
|
12
12
|
const create = /* @__PURE__ */ make("eventsCreate");
|
|
13
13
|
const batch = /* @__PURE__ */ make("eventsBatch");
|
|
14
|
-
//#endregion
|
|
15
14
|
export { CreateEventPayload, batch, create, events_exports };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=events.js.map
|
|
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
|
|
|
3
3
|
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly after?: string | null | undefined;
|
|
5
5
|
readonly before?: string | null | undefined;
|
|
6
|
-
} | undefined) => import("./internal/operation").OperationResult<"extensionInstallationsList">) & {
|
|
6
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | null | undefined;
|
|
@@ -52,29 +52,29 @@ export declare const install: (input: {
|
|
|
52
52
|
readonly permissions?: readonly ("quarantine.read" | "read" | "send" | "update")[] | null | undefined;
|
|
53
53
|
readonly sendMode?: "approval" | "send" | null | undefined;
|
|
54
54
|
readonly webhookUrl?: string | null | undefined;
|
|
55
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsInstall">;
|
|
55
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsInstall">;
|
|
56
56
|
export declare const upgrade: (input: {
|
|
57
57
|
readonly id: string;
|
|
58
58
|
readonly version?: string | null | undefined;
|
|
59
59
|
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;
|
|
60
60
|
readonly dryRun?: boolean | null | undefined;
|
|
61
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsUpgrade">;
|
|
61
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsUpgrade">;
|
|
62
62
|
export declare const get: (input: {
|
|
63
63
|
readonly id: string;
|
|
64
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsGet">;
|
|
64
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsGet">;
|
|
65
65
|
export declare const uninstall: (input: {
|
|
66
66
|
readonly id: string;
|
|
67
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsUninstall">;
|
|
67
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsUninstall">;
|
|
68
68
|
export declare const disable: (input: {
|
|
69
69
|
readonly id: string;
|
|
70
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsDisable">;
|
|
70
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsDisable">;
|
|
71
71
|
export declare const enable: (input: {
|
|
72
72
|
readonly id: string;
|
|
73
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsEnable">;
|
|
73
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsEnable">;
|
|
74
74
|
export declare const listRuns: (input: {
|
|
75
75
|
readonly id: string;
|
|
76
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsListRuns">;
|
|
76
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsListRuns">;
|
|
77
77
|
export declare const getRun: (input: {
|
|
78
78
|
readonly id: string;
|
|
79
79
|
readonly runId: string;
|
|
80
|
-
}) => import("./internal/operation").OperationResult<"extensionInstallationsGetRun">;
|
|
80
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsGetRun">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { ExtensionInstallationsGroup } from "./generated/extension-installations.js";
|
|
4
|
-
|
|
4
|
+
// src/effect/extension-installations.ts
|
|
5
5
|
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
disable: () => disable,
|
|
7
7
|
enable: () => enable,
|
|
@@ -23,7 +23,6 @@ const disable = /* @__PURE__ */ make("extensionInstallationsDisable");
|
|
|
23
23
|
const enable = /* @__PURE__ */ make("extensionInstallationsEnable");
|
|
24
24
|
const listRuns = /* @__PURE__ */ make("extensionInstallationsListRuns");
|
|
25
25
|
const getRun = /* @__PURE__ */ make("extensionInstallationsGetRun");
|
|
26
|
-
//#endregion
|
|
27
26
|
export { disable, enable, extension_installations_exports, get, getRun, install, list, listRuns, uninstall, upgrade };
|
|
28
27
|
|
|
29
28
|
//# sourceMappingURL=extension-installations.js.map
|
|
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
|
|
|
3
3
|
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly after?: string | null | undefined;
|
|
5
5
|
readonly before?: string | null | undefined;
|
|
6
|
-
} | undefined) => import("./internal/operation").OperationResult<"extensionsList">) & {
|
|
6
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | null | undefined;
|
|
@@ -55,15 +55,15 @@ export declare const publish: (input: {
|
|
|
55
55
|
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
56
56
|
};
|
|
57
57
|
readonly bundle?: string | null | undefined;
|
|
58
|
-
}) => import("./internal/operation").OperationResult<"extensionsPublish">;
|
|
58
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsPublish">;
|
|
59
59
|
export declare const get: (input: {
|
|
60
60
|
readonly id: string;
|
|
61
|
-
}) => import("./internal/operation").OperationResult<"extensionsGet">;
|
|
61
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsGet">;
|
|
62
62
|
export declare const listVersions: ((input: {
|
|
63
63
|
readonly id: string;
|
|
64
64
|
readonly limit?: number | null | undefined;
|
|
65
65
|
readonly cursor?: string | null | undefined;
|
|
66
|
-
}) => import("./internal/operation").OperationResult<"extensionsListVersions">) & {
|
|
66
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsListVersions">) & {
|
|
67
67
|
readonly pages: (input: {
|
|
68
68
|
readonly id: string;
|
|
69
69
|
readonly limit?: number | null | undefined;
|
|
@@ -99,4 +99,4 @@ export declare const listVersions: ((input: {
|
|
|
99
99
|
export declare const getVersion: (input: {
|
|
100
100
|
readonly id: string;
|
|
101
101
|
readonly versionId: string;
|
|
102
|
-
}) => import("./internal/operation").OperationResult<"extensionsGetVersion">;
|
|
102
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsGetVersion">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { ExtensionsGroup } from "./generated/extensions.js";
|
|
4
|
-
|
|
4
|
+
// src/effect/extensions.ts
|
|
5
5
|
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
get: () => get,
|
|
7
7
|
getVersion: () => getVersion,
|
|
@@ -15,7 +15,6 @@ const publish = /* @__PURE__ */ make("extensionsPublish");
|
|
|
15
15
|
const get = /* @__PURE__ */ make("extensionsGet");
|
|
16
16
|
const listVersions = /* @__PURE__ */ make("extensionsListVersions");
|
|
17
17
|
const getVersion = /* @__PURE__ */ make("extensionsGetVersion");
|
|
18
|
-
//#endregion
|
|
19
18
|
export { extensions_exports, get, getVersion, list, listVersions, publish };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=extensions.js.map
|
|
@@ -6,4 +6,4 @@ export declare const send: (input: {
|
|
|
6
6
|
readonly operation?: string | null | undefined;
|
|
7
7
|
readonly resourceId?: string | null | undefined;
|
|
8
8
|
} | null | undefined;
|
|
9
|
-
}) => import("./internal/operation").OperationResult<"feedbackSend">;
|
|
9
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"feedbackSend">;
|
package/dist/effect/feedback.js
CHANGED
|
@@ -2,13 +2,12 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { SendFeedback } from "./generated/shared.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
4
|
import { FeedbackGroup } from "./generated/feedback.js";
|
|
5
|
-
|
|
5
|
+
// src/effect/feedback.ts
|
|
6
6
|
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
SendPayload: () => SendFeedback,
|
|
8
8
|
send: () => send
|
|
9
9
|
});
|
|
10
10
|
const send = /* @__PURE__ */ (/* @__PURE__ */ forGroup(FeedbackGroup))("feedbackSend");
|
|
11
|
-
//#endregion
|
|
12
11
|
export { SendFeedback as SendPayload, feedback_exports, send };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=feedback.js.map
|