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/media.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const create: (input: {
|
|
|
2
2
|
readonly filename: string;
|
|
3
3
|
readonly contentType: string;
|
|
4
4
|
readonly sizeBytes: number;
|
|
5
|
-
readonly purpose: "attachment" | "avatar" | "review_evidence";
|
|
5
|
+
readonly purpose: "attachment" | "avatar" | "review_evidence" | "whatsapp_media";
|
|
6
6
|
readonly checksumSha256?: string | null | undefined;
|
|
7
7
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaCreate">;
|
|
8
8
|
export declare const getById: (input: {
|
|
@@ -2,29 +2,29 @@ import { type MessageSendInput, type SendOptions } from "./internal/send";
|
|
|
2
2
|
export type { MessageSendInput, SendOptions };
|
|
3
3
|
export declare const list: ((input?: {
|
|
4
4
|
readonly limit?: number | null | undefined;
|
|
5
|
-
readonly cursor?: string |
|
|
6
|
-
readonly channel?: "email" |
|
|
7
|
-
readonly direction?: "inbound" | "outbound" |
|
|
8
|
-
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" |
|
|
9
|
-
readonly conversationId?: string |
|
|
10
|
-
readonly contactId?: string |
|
|
11
|
-
readonly from?: string |
|
|
12
|
-
readonly namespaceId?: string |
|
|
13
|
-
readonly after?: string |
|
|
14
|
-
readonly before?: string |
|
|
5
|
+
readonly cursor?: string | undefined;
|
|
6
|
+
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
7
|
+
readonly direction?: "inbound" | "outbound" | undefined;
|
|
8
|
+
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" | undefined;
|
|
9
|
+
readonly conversationId?: string | undefined;
|
|
10
|
+
readonly contactId?: string | undefined;
|
|
11
|
+
readonly from?: string | undefined;
|
|
12
|
+
readonly namespaceId?: string | undefined;
|
|
13
|
+
readonly after?: string | undefined;
|
|
14
|
+
readonly before?: string | undefined;
|
|
15
15
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesList">) & {
|
|
16
16
|
readonly pages: (input?: {
|
|
17
17
|
readonly limit?: number | null | undefined;
|
|
18
|
-
readonly cursor?: string |
|
|
19
|
-
readonly channel?: "email" |
|
|
20
|
-
readonly direction?: "inbound" | "outbound" |
|
|
21
|
-
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" |
|
|
22
|
-
readonly conversationId?: string |
|
|
23
|
-
readonly contactId?: string |
|
|
24
|
-
readonly from?: string |
|
|
25
|
-
readonly namespaceId?: string |
|
|
26
|
-
readonly after?: string |
|
|
27
|
-
readonly before?: string |
|
|
18
|
+
readonly cursor?: string | undefined;
|
|
19
|
+
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
20
|
+
readonly direction?: "inbound" | "outbound" | undefined;
|
|
21
|
+
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" | undefined;
|
|
22
|
+
readonly conversationId?: string | undefined;
|
|
23
|
+
readonly contactId?: string | undefined;
|
|
24
|
+
readonly from?: string | undefined;
|
|
25
|
+
readonly namespaceId?: string | undefined;
|
|
26
|
+
readonly after?: string | undefined;
|
|
27
|
+
readonly before?: string | undefined;
|
|
28
28
|
} | undefined) => import("effect/Stream").Stream<{
|
|
29
29
|
readonly items: readonly {
|
|
30
30
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -32,7 +32,7 @@ export declare const list: ((input?: {
|
|
|
32
32
|
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
33
33
|
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
34
34
|
} | null;
|
|
35
|
-
readonly channel: "email";
|
|
35
|
+
readonly channel: "email" | "sms" | "whatsapp";
|
|
36
36
|
readonly direction: "inbound" | "outbound";
|
|
37
37
|
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
38
38
|
readonly from: string | null;
|
|
@@ -42,26 +42,26 @@ export declare const list: ((input?: {
|
|
|
42
42
|
readonly createdAt: string;
|
|
43
43
|
}[];
|
|
44
44
|
readonly nextCursor: string | null;
|
|
45
|
-
}, 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>;
|
|
45
|
+
}, 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>;
|
|
46
46
|
readonly items: (input?: {
|
|
47
47
|
readonly limit?: number | null | undefined;
|
|
48
|
-
readonly cursor?: string |
|
|
49
|
-
readonly channel?: "email" |
|
|
50
|
-
readonly direction?: "inbound" | "outbound" |
|
|
51
|
-
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" |
|
|
52
|
-
readonly conversationId?: string |
|
|
53
|
-
readonly contactId?: string |
|
|
54
|
-
readonly from?: string |
|
|
55
|
-
readonly namespaceId?: string |
|
|
56
|
-
readonly after?: string |
|
|
57
|
-
readonly before?: string |
|
|
48
|
+
readonly cursor?: string | undefined;
|
|
49
|
+
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
50
|
+
readonly direction?: "inbound" | "outbound" | undefined;
|
|
51
|
+
readonly status?: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent" | undefined;
|
|
52
|
+
readonly conversationId?: string | undefined;
|
|
53
|
+
readonly contactId?: string | undefined;
|
|
54
|
+
readonly from?: string | undefined;
|
|
55
|
+
readonly namespaceId?: string | undefined;
|
|
56
|
+
readonly after?: string | undefined;
|
|
57
|
+
readonly before?: string | undefined;
|
|
58
58
|
} | undefined) => import("effect/Stream").Stream<{
|
|
59
59
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
60
60
|
readonly campaign?: {
|
|
61
61
|
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
62
62
|
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
63
63
|
} | null;
|
|
64
|
-
readonly channel: "email";
|
|
64
|
+
readonly channel: "email" | "sms" | "whatsapp";
|
|
65
65
|
readonly direction: "inbound" | "outbound";
|
|
66
66
|
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
67
67
|
readonly from: string | null;
|
|
@@ -69,7 +69,7 @@ export declare const list: ((input?: {
|
|
|
69
69
|
readonly subject: string | null;
|
|
70
70
|
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
71
71
|
readonly createdAt: string;
|
|
72
|
-
}, 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>;
|
|
72
|
+
}, 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>;
|
|
73
73
|
};
|
|
74
74
|
export declare const send: (input: MessageSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
75
75
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -82,7 +82,7 @@ export declare const send: (input: MessageSendInput, options?: SendOptions | und
|
|
|
82
82
|
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
83
83
|
}[];
|
|
84
84
|
readonly createdAt: string;
|
|
85
|
-
}, 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>;
|
|
85
|
+
}, 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>;
|
|
86
86
|
export declare const validateEmail: (input: {
|
|
87
87
|
readonly conversationId?: string | null | undefined;
|
|
88
88
|
readonly metadata?: {
|
|
@@ -214,12 +214,12 @@ export declare const getStatus: (input: {
|
|
|
214
214
|
export declare const getEvents: ((input: {
|
|
215
215
|
readonly id: string;
|
|
216
216
|
readonly limit?: number | null | undefined;
|
|
217
|
-
readonly cursor?: string |
|
|
217
|
+
readonly cursor?: string | undefined;
|
|
218
218
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetEvents">) & {
|
|
219
219
|
readonly pages: (input: {
|
|
220
220
|
readonly id: string;
|
|
221
221
|
readonly limit?: number | null | undefined;
|
|
222
|
-
readonly cursor?: string |
|
|
222
|
+
readonly cursor?: string | undefined;
|
|
223
223
|
}) => import("effect/Stream").Stream<{
|
|
224
224
|
readonly items: readonly {
|
|
225
225
|
readonly id: string & import("effect/Brand").Brand<"MessageEventId">;
|
|
@@ -232,11 +232,11 @@ export declare const getEvents: ((input: {
|
|
|
232
232
|
} | null;
|
|
233
233
|
}[];
|
|
234
234
|
readonly nextCursor: string | null;
|
|
235
|
-
}, 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>;
|
|
235
|
+
}, 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>;
|
|
236
236
|
readonly items: (input: {
|
|
237
237
|
readonly id: string;
|
|
238
238
|
readonly limit?: number | null | undefined;
|
|
239
|
-
readonly cursor?: string |
|
|
239
|
+
readonly cursor?: string | undefined;
|
|
240
240
|
}) => import("effect/Stream").Stream<{
|
|
241
241
|
readonly id: string & import("effect/Brand").Brand<"MessageEventId">;
|
|
242
242
|
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -246,7 +246,7 @@ export declare const getEvents: ((input: {
|
|
|
246
246
|
readonly metadata?: {
|
|
247
247
|
readonly [x: string]: import("./generated").JsonValue;
|
|
248
248
|
} | null;
|
|
249
|
-
}, 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>;
|
|
249
|
+
}, 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>;
|
|
250
250
|
};
|
|
251
251
|
export declare const listDeliveries: (input: {
|
|
252
252
|
readonly id: 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<"namespacesList">) & {
|
|
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<"NamespaceId">;
|
|
@@ -16,17 +16,17 @@ export declare const list: ((input?: {
|
|
|
16
16
|
readonly createdAt: string;
|
|
17
17
|
}[];
|
|
18
18
|
readonly nextCursor: string | null;
|
|
19
|
-
}, 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>;
|
|
19
|
+
}, 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>;
|
|
20
20
|
readonly items: (input?: {
|
|
21
21
|
readonly limit?: number | null | undefined;
|
|
22
|
-
readonly cursor?: string |
|
|
23
|
-
readonly after?: string |
|
|
24
|
-
readonly before?: string |
|
|
22
|
+
readonly cursor?: string | undefined;
|
|
23
|
+
readonly after?: string | undefined;
|
|
24
|
+
readonly before?: string | undefined;
|
|
25
25
|
} | undefined) => import("effect/Stream").Stream<{
|
|
26
26
|
readonly id: string & import("effect/Brand").Brand<"NamespaceId">;
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly createdAt: string;
|
|
29
|
-
}, 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>;
|
|
29
|
+
}, 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>;
|
|
30
30
|
};
|
|
31
31
|
export declare const create: (input: {
|
|
32
32
|
readonly name: string;
|
|
@@ -49,16 +49,16 @@ export declare const remove: (input: {
|
|
|
49
49
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemove">;
|
|
50
50
|
export declare const assignResource: (input: {
|
|
51
51
|
readonly id: string;
|
|
52
|
-
readonly type: "contact" | "domain" | "sender" | "template";
|
|
52
|
+
readonly type: "contact" | "domain" | "sender" | "smsNumber" | "template" | "whatsappNumber";
|
|
53
53
|
readonly resourceId: string;
|
|
54
54
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesAssignResource">;
|
|
55
55
|
export declare const removeResource: (input: {
|
|
56
56
|
readonly id: string;
|
|
57
|
-
readonly type: "contact" | "domain" | "sender" | "template";
|
|
57
|
+
readonly type: "contact" | "domain" | "sender" | "smsNumber" | "template" | "whatsappNumber";
|
|
58
58
|
readonly resourceId: string;
|
|
59
59
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemoveResource">;
|
|
60
60
|
export declare const getUsage: (input: {
|
|
61
61
|
readonly id: string;
|
|
62
|
-
readonly after?: string |
|
|
63
|
-
readonly before?: string |
|
|
62
|
+
readonly after?: string | undefined;
|
|
63
|
+
readonly before?: string | undefined;
|
|
64
64
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesGetUsage">;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const list: ((input: {
|
|
2
2
|
readonly id: string;
|
|
3
3
|
readonly limit?: number | null | undefined;
|
|
4
|
-
readonly cursor?: string |
|
|
4
|
+
readonly cursor?: string | undefined;
|
|
5
5
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterDomainsList">) & {
|
|
6
6
|
readonly pages: (input: {
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
|
-
readonly cursor?: string |
|
|
9
|
+
readonly cursor?: string | undefined;
|
|
10
10
|
}) => import("effect/Stream").Stream<{
|
|
11
11
|
readonly items: readonly {
|
|
12
12
|
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
@@ -30,11 +30,11 @@ export declare const list: ((input: {
|
|
|
30
30
|
readonly verificationErrors: readonly string[];
|
|
31
31
|
}[];
|
|
32
32
|
readonly nextCursor: string | null;
|
|
33
|
-
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | 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>;
|
|
33
|
+
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | 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>;
|
|
34
34
|
readonly items: (input: {
|
|
35
35
|
readonly id: string;
|
|
36
36
|
readonly limit?: number | null | undefined;
|
|
37
|
-
readonly cursor?: string |
|
|
37
|
+
readonly cursor?: string | undefined;
|
|
38
38
|
}) => import("effect/Stream").Stream<{
|
|
39
39
|
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
40
40
|
readonly topicId: string & import("effect/Brand").Brand<"TopicId">;
|
|
@@ -55,7 +55,7 @@ export declare const list: ((input: {
|
|
|
55
55
|
readonly value: string;
|
|
56
56
|
}[];
|
|
57
57
|
readonly verificationErrors: readonly string[];
|
|
58
|
-
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | 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>;
|
|
58
|
+
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | 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>;
|
|
59
59
|
};
|
|
60
60
|
export declare const add: (input: {
|
|
61
61
|
readonly id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const list: (input?: {
|
|
2
|
-
readonly namespaceId?: string |
|
|
2
|
+
readonly namespaceId?: string | undefined;
|
|
3
3
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersList">;
|
|
4
4
|
export declare const get: (input: {
|
|
5
5
|
readonly id: 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 kind?: "email-domain-provisioning" | "organization-deletion" |
|
|
5
|
-
readonly status?: "failed" | "pending" | "running" | "succeeded" |
|
|
3
|
+
readonly cursor?: string | undefined;
|
|
4
|
+
readonly kind?: "email-domain-provisioning" | "organization-deletion" | undefined;
|
|
5
|
+
readonly status?: "failed" | "pending" | "running" | "succeeded" | undefined;
|
|
6
6
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"operationsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
|
-
readonly cursor?: string |
|
|
10
|
-
readonly kind?: "email-domain-provisioning" | "organization-deletion" |
|
|
11
|
-
readonly status?: "failed" | "pending" | "running" | "succeeded" |
|
|
9
|
+
readonly cursor?: string | undefined;
|
|
10
|
+
readonly kind?: "email-domain-provisioning" | "organization-deletion" | undefined;
|
|
11
|
+
readonly status?: "failed" | "pending" | "running" | "succeeded" | undefined;
|
|
12
12
|
} | undefined) => import("effect/Stream").Stream<{
|
|
13
13
|
readonly items: readonly {
|
|
14
14
|
readonly id: string & import("effect/Brand").Brand<"OperationId">;
|
|
@@ -34,12 +34,12 @@ export declare const list: ((input?: {
|
|
|
34
34
|
readonly completedAt: string | null;
|
|
35
35
|
}[];
|
|
36
36
|
readonly nextCursor: string | null;
|
|
37
|
-
}, 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>;
|
|
37
|
+
}, 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>;
|
|
38
38
|
readonly items: (input?: {
|
|
39
39
|
readonly limit?: number | null | undefined;
|
|
40
|
-
readonly cursor?: string |
|
|
41
|
-
readonly kind?: "email-domain-provisioning" | "organization-deletion" |
|
|
42
|
-
readonly status?: "failed" | "pending" | "running" | "succeeded" |
|
|
40
|
+
readonly cursor?: string | undefined;
|
|
41
|
+
readonly kind?: "email-domain-provisioning" | "organization-deletion" | undefined;
|
|
42
|
+
readonly status?: "failed" | "pending" | "running" | "succeeded" | undefined;
|
|
43
43
|
} | undefined) => import("effect/Stream").Stream<{
|
|
44
44
|
readonly id: string & import("effect/Brand").Brand<"OperationId">;
|
|
45
45
|
readonly organizationId: string;
|
|
@@ -62,7 +62,7 @@ export declare const list: ((input?: {
|
|
|
62
62
|
readonly updatedAt: string;
|
|
63
63
|
readonly startedAt: string | null;
|
|
64
64
|
readonly completedAt: string | null;
|
|
65
|
-
}, 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>;
|
|
65
|
+
}, 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>;
|
|
66
66
|
};
|
|
67
67
|
export declare const get: (input: {
|
|
68
68
|
readonly id: string;
|
|
@@ -49,8 +49,8 @@ export declare const update: (input?: {
|
|
|
49
49
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsUpdate">;
|
|
50
50
|
export declare const createAvatarUpload: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsCreateAvatarUpload">;
|
|
51
51
|
export declare const getUsage: (input?: {
|
|
52
|
-
readonly after?: string |
|
|
53
|
-
readonly before?: string |
|
|
52
|
+
readonly after?: string | undefined;
|
|
53
|
+
readonly before?: string | undefined;
|
|
54
54
|
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGetUsage">;
|
|
55
55
|
declare const deleteOrganization: (input: {
|
|
56
56
|
readonly confirmationName: string;
|