samva 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +225 -251
- package/dist/client/sdk.gen.js +85 -211
- package/dist/client/types.gen.d.ts +2897 -403
- package/dist/effect/agents.d.ts +28 -13
- package/dist/effect/agents.js +5 -1
- package/dist/effect/analytics.d.ts +15 -15
- package/dist/effect/api-keys.d.ts +27 -18
- package/dist/effect/campaigns.d.ts +721 -65
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/contact-groups.d.ts +15 -15
- package/dist/effect/contacts.d.ts +56 -52
- package/dist/effect/conversations.d.ts +45 -45
- package/dist/effect/email.d.ts +82 -82
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extensions.d.ts +16 -16
- package/dist/effect/generated/agents.d.ts +1063 -33
- package/dist/effect/generated/agents.js +133 -11
- package/dist/effect/generated/analytics.d.ts +109 -136
- package/dist/effect/generated/analytics.js +65 -36
- package/dist/effect/generated/api-keys.d.ts +240 -19
- package/dist/effect/generated/api-keys.js +24 -8
- package/dist/effect/generated/attachments.d.ts +89 -1
- package/dist/effect/generated/attachments.js +10 -2
- package/dist/effect/generated/brands.d.ts +133 -1
- package/dist/effect/generated/brands.js +22 -10
- package/dist/effect/generated/campaigns.d.ts +1442 -140
- package/dist/effect/generated/campaigns.js +82 -20
- package/dist/effect/generated/contact-events.d.ts +26 -4
- package/dist/effect/generated/contact-events.js +5 -3
- package/dist/effect/generated/contact-groups.d.ts +233 -13
- package/dist/effect/generated/contact-groups.js +33 -17
- package/dist/effect/generated/contacts.d.ts +634 -96
- package/dist/effect/generated/contacts.js +82 -20
- package/dist/effect/generated/conversations.d.ts +398 -106
- package/dist/effect/generated/conversations.js +96 -22
- package/dist/effect/generated/custom-fields.d.ts +89 -1
- package/dist/effect/generated/custom-fields.js +11 -3
- package/dist/effect/generated/email.d.ts +1447 -83
- package/dist/effect/generated/email.js +167 -43
- package/dist/effect/generated/events.d.ts +51 -7
- package/dist/effect/generated/events.js +9 -5
- package/dist/effect/generated/extension-installations.d.ts +208 -10
- package/dist/effect/generated/extension-installations.js +26 -8
- package/dist/effect/generated/extensions.d.ts +123 -13
- package/dist/effect/generated/extensions.js +20 -10
- package/dist/effect/generated/feedback.d.ts +23 -1
- package/dist/effect/generated/feedback.js +6 -4
- package/dist/effect/generated/journeys.d.ts +684 -16
- package/dist/effect/generated/journeys.js +37 -9
- package/dist/effect/generated/mailboxes.d.ts +3085 -627
- package/dist/effect/generated/mailboxes.js +340 -141
- package/dist/effect/generated/media.d.ts +125 -15
- package/dist/effect/generated/media.js +15 -2
- package/dist/effect/generated/messages.d.ts +2036 -117
- package/dist/effect/generated/messages.js +286 -54
- package/dist/effect/generated/namespaces.d.ts +209 -25
- package/dist/effect/generated/namespaces.js +27 -9
- package/dist/effect/generated/newsletter-domains.d.ts +98 -12
- package/dist/effect/generated/newsletter-domains.js +20 -13
- package/dist/effect/generated/newsletter-issues.d.ts +354 -19
- package/dist/effect/generated/newsletter-issues.js +162 -98
- package/dist/effect/generated/newsletters.d.ts +123 -13
- package/dist/effect/generated/newsletters.js +19 -9
- package/dist/effect/generated/operations.d.ts +76 -10
- package/dist/effect/generated/operations.js +12 -6
- package/dist/effect/generated/organizations.d.ts +287 -7
- package/dist/effect/generated/organizations.js +33 -5
- package/dist/effect/generated/scheduled-messages.d.ts +4427 -99
- package/dist/effect/generated/scheduled-messages.js +71 -12
- package/dist/effect/generated/shared.d.ts +2213 -190
- package/dist/effect/generated/shared.js +527 -76
- package/dist/effect/generated/subscriptions.d.ts +23 -1
- package/dist/effect/generated/subscriptions.js +6 -4
- package/dist/effect/generated/templates.d.ts +1718 -136
- package/dist/effect/generated/templates.js +421 -226
- package/dist/effect/generated/topic-forms.d.ts +111 -1
- package/dist/effect/generated/topic-forms.js +23 -13
- package/dist/effect/generated/topics.d.ts +353 -43
- package/dist/effect/generated/topics.js +67 -19
- package/dist/effect/generated/webhooks.d.ts +308 -46
- package/dist/effect/generated/webhooks.js +67 -19
- package/dist/effect/generated/whoami.d.ts +35 -1
- package/dist/effect/generated/whoami.js +4 -2
- package/dist/effect/generated-metadata.d.ts +20 -0
- package/dist/effect/generated-metadata.js +10 -0
- package/dist/effect/index.js +2 -2
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/send.d.ts +1 -1
- package/dist/effect/journeys.d.ts +105 -19
- package/dist/effect/mailboxes.d.ts +405 -174
- package/dist/effect/media.d.ts +1 -1
- package/dist/effect/messages.d.ts +40 -40
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/newsletter-domains.d.ts +5 -5
- package/dist/effect/newsletters.d.ts +1 -1
- package/dist/effect/operations.d.ts +11 -11
- package/dist/effect/organizations.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +863 -8
- package/dist/effect/templates.d.ts +37 -37
- package/dist/effect/topics.d.ts +21 -21
- package/dist/effect/webhooks.d.ts +28 -26
- package/dist/index.js +2 -2
- package/dist/normalize.js +13 -1
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +1 -1
- package/dist/promises/client.js +2 -2
- package/dist/promises/errors.gen.d.ts +22 -2
- package/dist/promises/errors.gen.js +60 -2
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -0
- package/dist/service-map.js +5 -0
- package/package.json +9 -8
package/dist/effect/email.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
13
13
|
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
14
14
|
}[];
|
|
15
15
|
readonly createdAt: string;
|
|
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>;
|
|
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("./errors").MalformedRequestError | 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
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;
|
|
@@ -28,15 +28,15 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
28
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
|
-
readonly cursor?: string |
|
|
31
|
+
readonly cursor?: string | undefined;
|
|
32
32
|
readonly sendable?: true | null | undefined;
|
|
33
|
-
readonly namespaceId?: string |
|
|
33
|
+
readonly namespaceId?: string | undefined;
|
|
34
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
|
-
readonly cursor?: string |
|
|
37
|
+
readonly cursor?: string | undefined;
|
|
38
38
|
readonly sendable?: true | null | undefined;
|
|
39
|
-
readonly namespaceId?: string |
|
|
39
|
+
readonly namespaceId?: string | undefined;
|
|
40
40
|
} | undefined) => import("effect/Stream").Stream<{
|
|
41
41
|
readonly items: readonly {
|
|
42
42
|
readonly unknownRecipientMailboxId: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
@@ -58,12 +58,12 @@ export declare const listDomains: ((input?: {
|
|
|
58
58
|
readonly updatedAt: string;
|
|
59
59
|
}[];
|
|
60
60
|
readonly nextCursor: string | null;
|
|
61
|
-
}, 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>;
|
|
61
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
62
62
|
readonly items: (input?: {
|
|
63
63
|
readonly limit?: number | null | undefined;
|
|
64
|
-
readonly cursor?: string |
|
|
64
|
+
readonly cursor?: string | undefined;
|
|
65
65
|
readonly sendable?: true | null | undefined;
|
|
66
|
-
readonly namespaceId?: string |
|
|
66
|
+
readonly namespaceId?: string | undefined;
|
|
67
67
|
} | undefined) => import("effect/Stream").Stream<{
|
|
68
68
|
readonly unknownRecipientMailboxId: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
69
69
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
@@ -82,7 +82,7 @@ export declare const listDomains: ((input?: {
|
|
|
82
82
|
readonly series: readonly number[];
|
|
83
83
|
readonly createdAt: string;
|
|
84
84
|
readonly updatedAt: string;
|
|
85
|
-
}, 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>;
|
|
85
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
86
86
|
};
|
|
87
87
|
export declare const addDomain: (input: {
|
|
88
88
|
readonly domain: string;
|
|
@@ -216,19 +216,19 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
216
216
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRespondToOnboardingInformationRequest">;
|
|
217
217
|
export declare const listSenders: ((input?: {
|
|
218
218
|
readonly limit?: number | null | undefined;
|
|
219
|
-
readonly cursor?: string |
|
|
220
|
-
readonly verificationStatus?: "failed" | "pending" | "verified" |
|
|
219
|
+
readonly cursor?: string | undefined;
|
|
220
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | undefined;
|
|
221
221
|
readonly isActive?: boolean | null | undefined;
|
|
222
222
|
readonly isDefault?: boolean | null | undefined;
|
|
223
|
-
readonly namespaceId?: string |
|
|
223
|
+
readonly namespaceId?: string | undefined;
|
|
224
224
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListSenders">) & {
|
|
225
225
|
readonly pages: (input?: {
|
|
226
226
|
readonly limit?: number | null | undefined;
|
|
227
|
-
readonly cursor?: string |
|
|
228
|
-
readonly verificationStatus?: "failed" | "pending" | "verified" |
|
|
227
|
+
readonly cursor?: string | undefined;
|
|
228
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | undefined;
|
|
229
229
|
readonly isActive?: boolean | null | undefined;
|
|
230
230
|
readonly isDefault?: boolean | null | undefined;
|
|
231
|
-
readonly namespaceId?: string |
|
|
231
|
+
readonly namespaceId?: string | undefined;
|
|
232
232
|
} | undefined) => import("effect/Stream").Stream<{
|
|
233
233
|
readonly items: readonly {
|
|
234
234
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
@@ -256,14 +256,14 @@ export declare const listSenders: ((input?: {
|
|
|
256
256
|
readonly updatedAt: string;
|
|
257
257
|
}[];
|
|
258
258
|
readonly nextCursor: string | null;
|
|
259
|
-
}, 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>;
|
|
259
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
260
260
|
readonly items: (input?: {
|
|
261
261
|
readonly limit?: number | null | undefined;
|
|
262
|
-
readonly cursor?: string |
|
|
263
|
-
readonly verificationStatus?: "failed" | "pending" | "verified" |
|
|
262
|
+
readonly cursor?: string | undefined;
|
|
263
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | undefined;
|
|
264
264
|
readonly isActive?: boolean | null | undefined;
|
|
265
265
|
readonly isDefault?: boolean | null | undefined;
|
|
266
|
-
readonly namespaceId?: string |
|
|
266
|
+
readonly namespaceId?: string | undefined;
|
|
267
267
|
} | undefined) => import("effect/Stream").Stream<{
|
|
268
268
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
269
269
|
readonly organizationId: string;
|
|
@@ -288,7 +288,7 @@ export declare const listSenders: ((input?: {
|
|
|
288
288
|
readonly isActive: boolean;
|
|
289
289
|
readonly createdAt: string;
|
|
290
290
|
readonly updatedAt: string;
|
|
291
|
-
}, 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>;
|
|
291
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
292
292
|
};
|
|
293
293
|
export declare const getSender: (input: {
|
|
294
294
|
readonly id: string;
|
|
@@ -300,7 +300,7 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
300
300
|
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
301
301
|
readonly providerFailureCode: string | null;
|
|
302
302
|
readonly createdAt: string;
|
|
303
|
-
}, 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>;
|
|
303
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
304
304
|
export declare const checkSenderVerification: (input: {
|
|
305
305
|
readonly id: string;
|
|
306
306
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckSenderVerification">;
|
|
@@ -311,8 +311,8 @@ export declare const setDefaultSender: (input: {
|
|
|
311
311
|
readonly id: string;
|
|
312
312
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailSetDefaultSender">;
|
|
313
313
|
export declare const getStats: (input?: {
|
|
314
|
-
readonly after?: string |
|
|
315
|
-
readonly before?: string |
|
|
314
|
+
readonly after?: string | undefined;
|
|
315
|
+
readonly before?: string | undefined;
|
|
316
316
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetStats">;
|
|
317
317
|
export declare const enableCatchAll: (input: {
|
|
318
318
|
readonly id: string;
|
|
@@ -331,22 +331,22 @@ export declare const updateCatchAllConfig: (input: {
|
|
|
331
331
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateCatchAllConfig">;
|
|
332
332
|
export declare const getCatchAllStats: (input: {
|
|
333
333
|
readonly domainId: string;
|
|
334
|
-
readonly after?: string |
|
|
335
|
-
readonly before?: string |
|
|
334
|
+
readonly after?: string | undefined;
|
|
335
|
+
readonly before?: string | undefined;
|
|
336
336
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCatchAllStats">;
|
|
337
337
|
export declare const listSuppressions: ((input?: {
|
|
338
|
-
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" |
|
|
339
|
-
readonly status?: "active" | "expired" |
|
|
340
|
-
readonly search?: string |
|
|
338
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | undefined;
|
|
339
|
+
readonly status?: "active" | "expired" | undefined;
|
|
340
|
+
readonly search?: string | undefined;
|
|
341
341
|
readonly limit?: number | null | undefined;
|
|
342
|
-
readonly cursor?: string |
|
|
342
|
+
readonly cursor?: string | undefined;
|
|
343
343
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListSuppressions">) & {
|
|
344
344
|
readonly pages: (input?: {
|
|
345
|
-
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" |
|
|
346
|
-
readonly status?: "active" | "expired" |
|
|
347
|
-
readonly search?: string |
|
|
345
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | undefined;
|
|
346
|
+
readonly status?: "active" | "expired" | undefined;
|
|
347
|
+
readonly search?: string | undefined;
|
|
348
348
|
readonly limit?: number | null | undefined;
|
|
349
|
-
readonly cursor?: string |
|
|
349
|
+
readonly cursor?: string | undefined;
|
|
350
350
|
} | undefined) => import("effect/Stream").Stream<{
|
|
351
351
|
readonly items: readonly {
|
|
352
352
|
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
@@ -361,13 +361,13 @@ export declare const listSuppressions: ((input?: {
|
|
|
361
361
|
readonly createdAt: string;
|
|
362
362
|
}[];
|
|
363
363
|
readonly nextCursor: string | null;
|
|
364
|
-
}, 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>;
|
|
364
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
365
365
|
readonly items: (input?: {
|
|
366
|
-
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" |
|
|
367
|
-
readonly status?: "active" | "expired" |
|
|
368
|
-
readonly search?: string |
|
|
366
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | undefined;
|
|
367
|
+
readonly status?: "active" | "expired" | undefined;
|
|
368
|
+
readonly search?: string | undefined;
|
|
369
369
|
readonly limit?: number | null | undefined;
|
|
370
|
-
readonly cursor?: string |
|
|
370
|
+
readonly cursor?: string | undefined;
|
|
371
371
|
} | undefined) => import("effect/Stream").Stream<{
|
|
372
372
|
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
373
373
|
readonly email: string;
|
|
@@ -379,23 +379,23 @@ export declare const listSuppressions: ((input?: {
|
|
|
379
379
|
readonly isActive: boolean;
|
|
380
380
|
readonly expiresAt: string | null;
|
|
381
381
|
readonly createdAt: string;
|
|
382
|
-
}, 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
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
383
383
|
};
|
|
384
384
|
export declare const countSuppressions: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCountSuppressions">;
|
|
385
385
|
export declare const removeSuppression: (input: {
|
|
386
386
|
readonly id: string;
|
|
387
387
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveSuppression">;
|
|
388
388
|
export declare const listBlocks: ((input?: {
|
|
389
|
-
readonly blockType?: "domain" | "email" |
|
|
389
|
+
readonly blockType?: "domain" | "email" | undefined;
|
|
390
390
|
readonly isActive?: boolean | null | undefined;
|
|
391
391
|
readonly limit?: number | null | undefined;
|
|
392
|
-
readonly cursor?: string |
|
|
392
|
+
readonly cursor?: string | undefined;
|
|
393
393
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListBlocks">) & {
|
|
394
394
|
readonly pages: (input?: {
|
|
395
|
-
readonly blockType?: "domain" | "email" |
|
|
395
|
+
readonly blockType?: "domain" | "email" | undefined;
|
|
396
396
|
readonly isActive?: boolean | null | undefined;
|
|
397
397
|
readonly limit?: number | null | undefined;
|
|
398
|
-
readonly cursor?: string |
|
|
398
|
+
readonly cursor?: string | undefined;
|
|
399
399
|
} | undefined) => import("effect/Stream").Stream<{
|
|
400
400
|
readonly items: readonly {
|
|
401
401
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
@@ -410,12 +410,12 @@ export declare const listBlocks: ((input?: {
|
|
|
410
410
|
readonly createdAt: string;
|
|
411
411
|
}[];
|
|
412
412
|
readonly nextCursor: string | null;
|
|
413
|
-
}, 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>;
|
|
413
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
414
414
|
readonly items: (input?: {
|
|
415
|
-
readonly blockType?: "domain" | "email" |
|
|
415
|
+
readonly blockType?: "domain" | "email" | undefined;
|
|
416
416
|
readonly isActive?: boolean | null | undefined;
|
|
417
417
|
readonly limit?: number | null | undefined;
|
|
418
|
-
readonly cursor?: string |
|
|
418
|
+
readonly cursor?: string | undefined;
|
|
419
419
|
} | undefined) => import("effect/Stream").Stream<{
|
|
420
420
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
421
421
|
readonly blockType: "domain" | "email";
|
|
@@ -427,7 +427,7 @@ export declare const listBlocks: ((input?: {
|
|
|
427
427
|
readonly lastBlockedAt: string | null;
|
|
428
428
|
readonly expiresAt: string | null;
|
|
429
429
|
readonly createdAt: string;
|
|
430
|
-
}, 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>;
|
|
430
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
431
431
|
};
|
|
432
432
|
export declare const addBlock: (input: {
|
|
433
433
|
readonly blockType: "domain" | "email";
|
|
@@ -447,20 +447,20 @@ export declare const updateBlock: (input: {
|
|
|
447
447
|
readonly expiresAt?: string | null | undefined;
|
|
448
448
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateBlock">;
|
|
449
449
|
export declare const getBlockLogs: ((input?: {
|
|
450
|
-
readonly blockedEmailId?: string |
|
|
451
|
-
readonly fromAddress?: string |
|
|
452
|
-
readonly after?: string |
|
|
453
|
-
readonly before?: string |
|
|
450
|
+
readonly blockedEmailId?: string | undefined;
|
|
451
|
+
readonly fromAddress?: string | undefined;
|
|
452
|
+
readonly after?: string | undefined;
|
|
453
|
+
readonly before?: string | undefined;
|
|
454
454
|
readonly limit?: number | null | undefined;
|
|
455
|
-
readonly cursor?: string |
|
|
455
|
+
readonly cursor?: string | undefined;
|
|
456
456
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetBlockLogs">) & {
|
|
457
457
|
readonly pages: (input?: {
|
|
458
|
-
readonly blockedEmailId?: string |
|
|
459
|
-
readonly fromAddress?: string |
|
|
460
|
-
readonly after?: string |
|
|
461
|
-
readonly before?: string |
|
|
458
|
+
readonly blockedEmailId?: string | undefined;
|
|
459
|
+
readonly fromAddress?: string | undefined;
|
|
460
|
+
readonly after?: string | undefined;
|
|
461
|
+
readonly before?: string | undefined;
|
|
462
462
|
readonly limit?: number | null | undefined;
|
|
463
|
-
readonly cursor?: string |
|
|
463
|
+
readonly cursor?: string | undefined;
|
|
464
464
|
} | undefined) => import("effect/Stream").Stream<{
|
|
465
465
|
readonly items: readonly {
|
|
466
466
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
@@ -476,14 +476,14 @@ export declare const getBlockLogs: ((input?: {
|
|
|
476
476
|
readonly blockedAt: string;
|
|
477
477
|
}[];
|
|
478
478
|
readonly nextCursor: string | null;
|
|
479
|
-
}, 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>;
|
|
479
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
480
480
|
readonly items: (input?: {
|
|
481
|
-
readonly blockedEmailId?: string |
|
|
482
|
-
readonly fromAddress?: string |
|
|
483
|
-
readonly after?: string |
|
|
484
|
-
readonly before?: string |
|
|
481
|
+
readonly blockedEmailId?: string | undefined;
|
|
482
|
+
readonly fromAddress?: string | undefined;
|
|
483
|
+
readonly after?: string | undefined;
|
|
484
|
+
readonly before?: string | undefined;
|
|
485
485
|
readonly limit?: number | null | undefined;
|
|
486
|
-
readonly cursor?: string |
|
|
486
|
+
readonly cursor?: string | undefined;
|
|
487
487
|
} | undefined) => import("effect/Stream").Stream<{
|
|
488
488
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
489
489
|
readonly fromAddress: string;
|
|
@@ -496,13 +496,13 @@ export declare const getBlockLogs: ((input?: {
|
|
|
496
496
|
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
497
497
|
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
498
498
|
readonly blockedAt: string;
|
|
499
|
-
}, 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>;
|
|
499
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
500
500
|
};
|
|
501
501
|
export declare const checkBlocked: (input: {
|
|
502
502
|
readonly emailAddress: string;
|
|
503
503
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckBlocked">;
|
|
504
504
|
export declare const listForwardingRules: (input?: {
|
|
505
|
-
readonly domainId?: string |
|
|
505
|
+
readonly domainId?: string | undefined;
|
|
506
506
|
readonly isActive?: boolean | null | undefined;
|
|
507
507
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListForwardingRules">;
|
|
508
508
|
export declare const createForwardingRule: (input: {
|
|
@@ -596,20 +596,20 @@ export declare const updateForwardingRule: (input: {
|
|
|
596
596
|
} | null | undefined;
|
|
597
597
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateForwardingRule">;
|
|
598
598
|
export declare const getForwardingLog: ((input?: {
|
|
599
|
-
readonly forwardingRuleId?: string |
|
|
600
|
-
readonly status?: "failed" | "forwarded" | "pending" |
|
|
601
|
-
readonly after?: string |
|
|
602
|
-
readonly before?: string |
|
|
599
|
+
readonly forwardingRuleId?: string | undefined;
|
|
600
|
+
readonly status?: "failed" | "forwarded" | "pending" | undefined;
|
|
601
|
+
readonly after?: string | undefined;
|
|
602
|
+
readonly before?: string | undefined;
|
|
603
603
|
readonly limit?: number | null | undefined;
|
|
604
|
-
readonly cursor?: string |
|
|
604
|
+
readonly cursor?: string | undefined;
|
|
605
605
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetForwardingLog">) & {
|
|
606
606
|
readonly pages: (input?: {
|
|
607
|
-
readonly forwardingRuleId?: string |
|
|
608
|
-
readonly status?: "failed" | "forwarded" | "pending" |
|
|
609
|
-
readonly after?: string |
|
|
610
|
-
readonly before?: string |
|
|
607
|
+
readonly forwardingRuleId?: string | undefined;
|
|
608
|
+
readonly status?: "failed" | "forwarded" | "pending" | undefined;
|
|
609
|
+
readonly after?: string | undefined;
|
|
610
|
+
readonly before?: string | undefined;
|
|
611
611
|
readonly limit?: number | null | undefined;
|
|
612
|
-
readonly cursor?: string |
|
|
612
|
+
readonly cursor?: string | undefined;
|
|
613
613
|
} | undefined) => import("effect/Stream").Stream<{
|
|
614
614
|
readonly items: readonly {
|
|
615
615
|
readonly id: string;
|
|
@@ -625,14 +625,14 @@ export declare const getForwardingLog: ((input?: {
|
|
|
625
625
|
readonly createdAt: string;
|
|
626
626
|
}[];
|
|
627
627
|
readonly nextCursor: string | null;
|
|
628
|
-
}, 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>;
|
|
628
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
629
629
|
readonly items: (input?: {
|
|
630
|
-
readonly forwardingRuleId?: string |
|
|
631
|
-
readonly status?: "failed" | "forwarded" | "pending" |
|
|
632
|
-
readonly after?: string |
|
|
633
|
-
readonly before?: string |
|
|
630
|
+
readonly forwardingRuleId?: string | undefined;
|
|
631
|
+
readonly status?: "failed" | "forwarded" | "pending" | undefined;
|
|
632
|
+
readonly after?: string | undefined;
|
|
633
|
+
readonly before?: string | undefined;
|
|
634
634
|
readonly limit?: number | null | undefined;
|
|
635
|
-
readonly cursor?: string |
|
|
635
|
+
readonly cursor?: string | undefined;
|
|
636
636
|
} | undefined) => import("effect/Stream").Stream<{
|
|
637
637
|
readonly id: string;
|
|
638
638
|
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
@@ -645,5 +645,5 @@ export declare const getForwardingLog: ((input?: {
|
|
|
645
645
|
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
646
646
|
readonly forwardedAt: string | null;
|
|
647
647
|
readonly createdAt: string;
|
|
648
|
-
}, 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>;
|
|
648
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
649
649
|
};
|
package/dist/effect/errors.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, UnauthorizedError, ValidationError, TemplateSourceError, DeliveryUnavailableError, } from "./generated/shared";
|
|
1
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, UnauthorizedError, ValidationError, WhatsAppServiceWindowClosedError, TemplateSourceError, DeliveryUnavailableError, } from "./generated/shared";
|
|
2
2
|
export { MediaUploadError } from "../inline-attachments";
|
package/dist/effect/errors.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MediaUploadError } from "../inline-attachments.js";
|
|
2
|
-
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, TemplateSourceError, UnauthorizedError, ValidationError } from "./generated/shared.js";
|
|
3
|
-
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, TemplateSourceError, UnauthorizedError, ValidationError };
|
|
2
|
+
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppServiceWindowClosedError } from "./generated/shared.js";
|
|
3
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppServiceWindowClosedError };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const list: ((input?: {
|
|
2
2
|
readonly limit?: number | null | undefined;
|
|
3
|
-
readonly cursor?: string |
|
|
4
|
-
readonly after?: string |
|
|
5
|
-
readonly before?: string |
|
|
3
|
+
readonly cursor?: string | undefined;
|
|
4
|
+
readonly after?: string | undefined;
|
|
5
|
+
readonly before?: string | undefined;
|
|
6
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
|
-
readonly cursor?: string |
|
|
10
|
-
readonly after?: string |
|
|
11
|
-
readonly before?: string |
|
|
9
|
+
readonly cursor?: string | undefined;
|
|
10
|
+
readonly after?: string | undefined;
|
|
11
|
+
readonly before?: string | undefined;
|
|
12
12
|
} | undefined) => import("effect/Stream").Stream<{
|
|
13
13
|
readonly items: readonly {
|
|
14
14
|
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
@@ -24,12 +24,12 @@ export declare const list: ((input?: {
|
|
|
24
24
|
readonly createdAt: string;
|
|
25
25
|
}[];
|
|
26
26
|
readonly nextCursor: string | null;
|
|
27
|
-
}, 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>;
|
|
27
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
28
28
|
readonly items: (input?: {
|
|
29
29
|
readonly limit?: number | null | undefined;
|
|
30
|
-
readonly cursor?: string |
|
|
31
|
-
readonly after?: string |
|
|
32
|
-
readonly before?: string |
|
|
30
|
+
readonly cursor?: string | undefined;
|
|
31
|
+
readonly after?: string | undefined;
|
|
32
|
+
readonly before?: string | undefined;
|
|
33
33
|
} | undefined) => import("effect/Stream").Stream<{
|
|
34
34
|
readonly id: string & import("effect/Brand").Brand<"ExtensionInstallationId">;
|
|
35
35
|
readonly extensionId: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
|
|
|
42
42
|
readonly runtime: "hosted" | "webhook";
|
|
43
43
|
readonly status: "active" | "disabled";
|
|
44
44
|
readonly createdAt: string;
|
|
45
|
-
}, 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>;
|
|
45
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
46
46
|
};
|
|
47
47
|
export declare const install: (input: {
|
|
48
48
|
readonly extension: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const list: ((input?: {
|
|
2
2
|
readonly limit?: number | null | undefined;
|
|
3
|
-
readonly cursor?: string |
|
|
4
|
-
readonly after?: string |
|
|
5
|
-
readonly before?: string |
|
|
3
|
+
readonly cursor?: string | undefined;
|
|
4
|
+
readonly after?: string | undefined;
|
|
5
|
+
readonly before?: string | undefined;
|
|
6
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
|
-
readonly cursor?: string |
|
|
10
|
-
readonly after?: string |
|
|
11
|
-
readonly before?: string |
|
|
9
|
+
readonly cursor?: string | undefined;
|
|
10
|
+
readonly after?: string | undefined;
|
|
11
|
+
readonly before?: string | undefined;
|
|
12
12
|
} | undefined) => import("effect/Stream").Stream<{
|
|
13
13
|
readonly items: readonly {
|
|
14
14
|
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
@@ -24,12 +24,12 @@ export declare const list: ((input?: {
|
|
|
24
24
|
readonly updatedAt: string;
|
|
25
25
|
}[];
|
|
26
26
|
readonly nextCursor: string | null;
|
|
27
|
-
}, 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>;
|
|
27
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
28
28
|
readonly items: (input?: {
|
|
29
29
|
readonly limit?: number | null | undefined;
|
|
30
|
-
readonly cursor?: string |
|
|
31
|
-
readonly after?: string |
|
|
32
|
-
readonly before?: string |
|
|
30
|
+
readonly cursor?: string | undefined;
|
|
31
|
+
readonly after?: string | undefined;
|
|
32
|
+
readonly before?: string | undefined;
|
|
33
33
|
} | undefined) => import("effect/Stream").Stream<{
|
|
34
34
|
readonly id: string & import("effect/Brand").Brand<"ExtensionId">;
|
|
35
35
|
readonly name: string;
|
|
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
|
|
|
42
42
|
};
|
|
43
43
|
readonly createdAt: string;
|
|
44
44
|
readonly updatedAt: string;
|
|
45
|
-
}, 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>;
|
|
45
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
46
46
|
};
|
|
47
47
|
export declare const publish: (input: {
|
|
48
48
|
readonly manifest: {
|
|
@@ -62,12 +62,12 @@ export declare const get: (input: {
|
|
|
62
62
|
export declare const listVersions: ((input: {
|
|
63
63
|
readonly id: string;
|
|
64
64
|
readonly limit?: number | null | undefined;
|
|
65
|
-
readonly cursor?: string |
|
|
65
|
+
readonly cursor?: string | undefined;
|
|
66
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;
|
|
70
|
-
readonly cursor?: string |
|
|
70
|
+
readonly cursor?: string | undefined;
|
|
71
71
|
}) => import("effect/Stream").Stream<{
|
|
72
72
|
readonly items: readonly {
|
|
73
73
|
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
@@ -80,11 +80,11 @@ export declare const listVersions: ((input: {
|
|
|
80
80
|
readonly publishedAt: string;
|
|
81
81
|
}[];
|
|
82
82
|
readonly nextCursor: string | null;
|
|
83
|
-
}, 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>;
|
|
83
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
84
84
|
readonly items: (input: {
|
|
85
85
|
readonly id: string;
|
|
86
86
|
readonly limit?: number | null | undefined;
|
|
87
|
-
readonly cursor?: string |
|
|
87
|
+
readonly cursor?: string | undefined;
|
|
88
88
|
}) => import("effect/Stream").Stream<{
|
|
89
89
|
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
90
90
|
readonly version: string;
|
|
@@ -94,7 +94,7 @@ export declare const listVersions: ((input: {
|
|
|
94
94
|
readonly sizeBytes: number;
|
|
95
95
|
} | null;
|
|
96
96
|
readonly publishedAt: string;
|
|
97
|
-
}, 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>;
|
|
97
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
98
98
|
};
|
|
99
99
|
export declare const getVersion: (input: {
|
|
100
100
|
readonly id: string;
|