samva 0.50.0 → 0.51.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.
Files changed (64) hide show
  1. package/AGENTS.md +44 -3
  2. package/README.md +136 -7
  3. package/dist/client/sdk.gen.d.ts +12 -11
  4. package/dist/client/sdk.gen.js +1399 -940
  5. package/dist/client/types.gen.d.ts +21 -10
  6. package/dist/effect/agents.d.ts +4 -4
  7. package/dist/effect/api-keys.d.ts +4 -6
  8. package/dist/effect/campaigns.d.ts +166 -174
  9. package/dist/effect/categories.d.ts +2 -2
  10. package/dist/effect/categories.js +6 -4
  11. package/dist/effect/contact-groups.d.ts +4 -4
  12. package/dist/effect/contacts.d.ts +8 -8
  13. package/dist/effect/conversations.d.ts +4 -4
  14. package/dist/effect/email.d.ts +17 -16
  15. package/dist/effect/errors.d.ts +1 -0
  16. package/dist/effect/errors.js +2 -1
  17. package/dist/effect/generated/api-keys.d.ts +0 -15
  18. package/dist/effect/generated/api-keys.js +1 -2
  19. package/dist/effect/generated/campaigns.d.ts +0 -62
  20. package/dist/effect/generated/campaigns.js +3 -9
  21. package/dist/effect/generated/email.d.ts +10 -3
  22. package/dist/effect/generated/email.js +3 -2
  23. package/dist/effect/generated/mailboxes.js +6 -6
  24. package/dist/effect/generated/namespaces.js +1 -1
  25. package/dist/effect/generated/policies.js +2 -2
  26. package/dist/effect/generated/scheduled-messages.d.ts +0 -26
  27. package/dist/effect/generated/scheduled-messages.js +1 -3
  28. package/dist/effect/generated/shared.d.ts +1 -0
  29. package/dist/effect/generated/shared.js +2 -1
  30. package/dist/effect/index.js +2 -1
  31. package/dist/effect/integrations.d.ts +2 -2
  32. package/dist/effect/internal/client.d.ts +19 -2
  33. package/dist/effect/internal/client.js +10 -2
  34. package/dist/effect/internal/email-sender.d.ts +4 -4
  35. package/dist/effect/internal/email-sender.js +5 -3
  36. package/dist/effect/internal/operation.d.ts +11 -0
  37. package/dist/effect/internal/operation.js +10 -6
  38. package/dist/effect/internal/send.d.ts +4 -0
  39. package/dist/effect/internal/send.js +11 -8
  40. package/dist/effect/internal/timeout.d.ts +16 -0
  41. package/dist/effect/internal/timeout.js +20 -0
  42. package/dist/effect/journeys.d.ts +152 -152
  43. package/dist/effect/mailboxes.d.ts +28 -28
  44. package/dist/effect/messages.d.ts +5 -5
  45. package/dist/effect/namespaces.d.ts +4 -4
  46. package/dist/effect/newsletter-domains.d.ts +2 -2
  47. package/dist/effect/operations.d.ts +2 -2
  48. package/dist/effect/scheduled-messages.d.ts +2 -6
  49. package/dist/effect/templates.d.ts +6 -6
  50. package/dist/effect/topics.d.ts +4 -4
  51. package/dist/effect/webhooks.d.ts +4 -4
  52. package/dist/effect/whatsapp-setup-links.d.ts +2 -2
  53. package/dist/index.js +2 -2
  54. package/dist/package.js +1 -1
  55. package/dist/promises/client.d.ts +5 -0
  56. package/dist/promises/client.js +12 -8
  57. package/dist/promises/errors.gen.d.ts +12 -1
  58. package/dist/promises/errors.gen.js +21 -2
  59. package/dist/promises/index.js +2 -2
  60. package/dist/promises/request.d.ts +31 -2
  61. package/dist/promises/request.js +42 -7
  62. package/dist/request-policy.d.ts +9 -0
  63. package/dist/request-policy.js +16 -1
  64. package/package.json +2 -2
@@ -70,7 +70,7 @@ export declare const list: ((input?: {
70
70
  readonly createdAt: string;
71
71
  }[];
72
72
  readonly nextCursor: string | null;
73
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
73
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
74
74
  readonly items: (input?: {
75
75
  readonly limit?: number | null | undefined;
76
76
  readonly cursor?: string | undefined;
@@ -88,7 +88,7 @@ export declare const list: ((input?: {
88
88
  readonly primaryAddress: string | null;
89
89
  readonly sendingStatus: "failed" | "pending" | "ready" | null;
90
90
  readonly createdAt: string;
91
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
91
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
92
92
  };
93
93
  export declare const create: (input: {
94
94
  readonly namespaceId?: string | null | undefined;
@@ -164,7 +164,7 @@ export declare const listGrants: ((input: {
164
164
  readonly createdAt: string;
165
165
  }[];
166
166
  readonly nextCursor: string | null;
167
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
167
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
168
168
  readonly items: (input: {
169
169
  readonly id: string;
170
170
  readonly limit?: number | null | undefined;
@@ -178,7 +178,7 @@ export declare const listGrants: ((input: {
178
178
  };
179
179
  readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "spam:discard" | "spam:read" | "thread:read" | "thread:write")[];
180
180
  readonly createdAt: string;
181
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
181
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
182
182
  };
183
183
  export declare const createGrant: (input: {
184
184
  readonly id: string;
@@ -408,7 +408,7 @@ export declare const getNeedsYou: ((input?: {
408
408
  readonly quarantinedMessages: number;
409
409
  readonly total: number;
410
410
  };
411
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
411
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
412
412
  readonly items: (input?: {
413
413
  readonly limit?: number | null | undefined;
414
414
  readonly cursor?: string | undefined;
@@ -589,7 +589,7 @@ export declare const getNeedsYou: ((input?: {
589
589
  readonly reason: "dmarc" | "fraud" | "phishing" | "prompt_injection" | "spam" | "verdict_missing" | "virus" | "virus_unscanned";
590
590
  readonly source: "classifier" | "receipt";
591
591
  readonly heldAt: string;
592
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
592
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
593
593
  };
594
594
  export declare const listOrganizationDrafts: ((input?: {
595
595
  readonly limit?: number | null | undefined;
@@ -623,7 +623,7 @@ export declare const listOrganizationDrafts: ((input?: {
623
623
  };
624
624
  }[];
625
625
  readonly nextCursor: string | null;
626
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
626
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
627
627
  readonly items: (input?: {
628
628
  readonly limit?: number | null | undefined;
629
629
  readonly cursor?: string | undefined;
@@ -646,7 +646,7 @@ export declare const listOrganizationDrafts: ((input?: {
646
646
  readonly address: string | null;
647
647
  readonly kind: "personal" | "shared";
648
648
  };
649
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
649
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
650
650
  };
651
651
  export declare const listOrganizationThreads: ((input?: {
652
652
  readonly limit?: number | null | undefined;
@@ -727,7 +727,7 @@ export declare const listOrganizationThreads: ((input?: {
727
727
  };
728
728
  }[];
729
729
  readonly nextCursor: string | null;
730
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
730
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
731
731
  readonly items: (input?: {
732
732
  readonly limit?: number | null | undefined;
733
733
  readonly cursor?: string | undefined;
@@ -785,7 +785,7 @@ export declare const listOrganizationThreads: ((input?: {
785
785
  readonly address: string | null;
786
786
  readonly kind: "personal" | "shared";
787
787
  };
788
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
788
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
789
789
  };
790
790
  export declare const listThreads: ((input: {
791
791
  readonly id: string;
@@ -857,7 +857,7 @@ export declare const listThreads: ((input: {
857
857
  readonly lastActivityAt: string;
858
858
  }[];
859
859
  readonly nextCursor: string | null;
860
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
860
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
861
861
  readonly items: (input: {
862
862
  readonly id: string;
863
863
  readonly limit?: number | null | undefined;
@@ -908,7 +908,7 @@ export declare const listThreads: ((input: {
908
908
  readonly displayName?: string | null;
909
909
  } | null;
910
910
  readonly lastActivityAt: string;
911
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
911
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
912
912
  };
913
913
  export declare const getThread: (input: {
914
914
  readonly id: string;
@@ -983,7 +983,7 @@ export declare const listThreadMessages: ((input: {
983
983
  readonly occurredAt: string;
984
984
  }[];
985
985
  readonly nextCursor: string | null;
986
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
986
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
987
987
  readonly items: (input: {
988
988
  readonly id: string;
989
989
  readonly threadId: string;
@@ -1011,7 +1011,7 @@ export declare const listThreadMessages: ((input: {
1011
1011
  readonly preview: string | null;
1012
1012
  readonly hasAttachments: boolean;
1013
1013
  readonly occurredAt: string;
1014
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1014
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1015
1015
  };
1016
1016
  export declare const getThreadContent: ((input: {
1017
1017
  readonly id: string;
@@ -1123,7 +1123,7 @@ export declare const getThreadContent: ((input: {
1123
1123
  readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
1124
1124
  })[];
1125
1125
  readonly nextCursor: string | null;
1126
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1126
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1127
1127
  readonly items: (input: {
1128
1128
  readonly id: string;
1129
1129
  readonly threadId: string;
@@ -1225,7 +1225,7 @@ export declare const getThreadContent: ((input: {
1225
1225
  } | null;
1226
1226
  readonly summary: string | null;
1227
1227
  readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
1228
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1228
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1229
1229
  };
1230
1230
  export declare const listThreadNotes: ((input: {
1231
1231
  readonly id: string;
@@ -1253,7 +1253,7 @@ export declare const listThreadNotes: ((input: {
1253
1253
  readonly updatedAt: string;
1254
1254
  }[];
1255
1255
  readonly nextCursor: string | null;
1256
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1256
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1257
1257
  readonly items: (input: {
1258
1258
  readonly id: string;
1259
1259
  readonly threadId: string;
@@ -1271,7 +1271,7 @@ export declare const listThreadNotes: ((input: {
1271
1271
  readonly pinned: boolean;
1272
1272
  readonly createdAt: string;
1273
1273
  readonly updatedAt: string;
1274
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1274
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1275
1275
  };
1276
1276
  export declare const createNote: (input: {
1277
1277
  readonly id: string;
@@ -1507,7 +1507,7 @@ export declare const listSpamHeld: ((input: {
1507
1507
  readonly discardedAt: string | null;
1508
1508
  }[];
1509
1509
  readonly nextCursor: string | null;
1510
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1510
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1511
1511
  readonly items: (input: {
1512
1512
  readonly id: string;
1513
1513
  readonly limit?: number | null | undefined;
@@ -1529,7 +1529,7 @@ export declare const listSpamHeld: ((input: {
1529
1529
  readonly releasedAt: string | null;
1530
1530
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
1531
1531
  readonly discardedAt: string | null;
1532
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1532
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1533
1533
  };
1534
1534
  export declare const discardSpamHeld: (input: {
1535
1535
  readonly id: string;
@@ -1600,7 +1600,7 @@ export declare const listScheduledSends: ((input: {
1600
1600
  readonly updatedAt: string;
1601
1601
  }[];
1602
1602
  readonly nextCursor: string | null;
1603
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1603
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1604
1604
  readonly items: (input: {
1605
1605
  readonly id: string;
1606
1606
  readonly limit?: number | null | undefined;
@@ -1628,7 +1628,7 @@ export declare const listScheduledSends: ((input: {
1628
1628
  } | null;
1629
1629
  readonly createdAt: string;
1630
1630
  readonly updatedAt: string;
1631
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1631
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1632
1632
  };
1633
1633
  export declare const listDrafts: ((input: {
1634
1634
  readonly id: string;
@@ -1655,7 +1655,7 @@ export declare const listDrafts: ((input: {
1655
1655
  readonly updatedAt: string;
1656
1656
  }[];
1657
1657
  readonly nextCursor: string | null;
1658
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1658
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1659
1659
  readonly items: (input: {
1660
1660
  readonly id: string;
1661
1661
  readonly limit?: number | null | undefined;
@@ -1672,7 +1672,7 @@ export declare const listDrafts: ((input: {
1672
1672
  readonly subject: string | null;
1673
1673
  readonly createdAt: string;
1674
1674
  readonly updatedAt: string;
1675
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1675
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1676
1676
  };
1677
1677
  export declare const createDraft: (input: {
1678
1678
  readonly channel?: "email" | null | undefined;
@@ -2035,7 +2035,7 @@ export declare const listActions: ((input: {
2035
2035
  } | null;
2036
2036
  })[];
2037
2037
  readonly nextCursor: string | null;
2038
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2038
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2039
2039
  readonly items: (input: {
2040
2040
  readonly id: string;
2041
2041
  readonly limit?: number | null | undefined;
@@ -2329,7 +2329,7 @@ export declare const listActions: ((input: {
2329
2329
  readonly handoff: {
2330
2330
  readonly reason: string;
2331
2331
  } | null;
2332
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2332
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2333
2333
  };
2334
2334
  export declare const getAction: (input: {
2335
2335
  readonly id: string;
@@ -2389,7 +2389,7 @@ export declare const listEvents: ((input: {
2389
2389
  readonly occurredAt: string;
2390
2390
  }[];
2391
2391
  readonly nextCursor: string | null;
2392
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2392
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2393
2393
  readonly items: (input: {
2394
2394
  readonly id: string;
2395
2395
  readonly limit?: number | null | undefined;
@@ -2410,7 +2410,7 @@ export declare const listEvents: ((input: {
2410
2410
  readonly [x: string]: import("./generated/index.js").JsonValue;
2411
2411
  };
2412
2412
  readonly occurredAt: string;
2413
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2413
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2414
2414
  };
2415
2415
  export declare const countSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesCountSplits">;
2416
2416
  export declare const listSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesListSplits">;
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
42
42
  readonly createdAt: string;
43
43
  }[];
44
44
  readonly nextCursor: string | null;
45
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
45
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
46
46
  readonly items: (input?: {
47
47
  readonly limit?: number | null | undefined;
48
48
  readonly cursor?: string | undefined;
@@ -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.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
72
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").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.js").BillingProviderError | import("./errors.js").ConflictError | import("./errors.js").DeliveryUnavailableError | import("./errors.js").ExternalServiceError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").FromAddressRequiredError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("../index.js").MediaUploadError | import("./errors.js").OnboardingReviewRequiredError | import("./errors.js").PaymentRequiredError | import("./errors.js").RateLimitedError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").SenderNotReadyError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
85
+ }, import("./errors.js").BillingProviderError | import("./errors.js").ConflictError | import("./errors.js").DeliveryUnavailableError | import("./errors.js").ExternalServiceError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").FromAddressRequiredError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("../index.js").MediaUploadError | import("./errors.js").OnboardingReviewRequiredError | import("./errors.js").PaymentRequiredError | import("./errors.js").RateLimitedError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").SenderNotReadyError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
86
86
  export declare const get: (input: {
87
87
  readonly id: string;
88
88
  }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"messagesGet">;
@@ -238,7 +238,7 @@ export declare const getEvents: ((input: {
238
238
  } | null;
239
239
  }[];
240
240
  readonly nextCursor: string | null;
241
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
241
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
242
242
  readonly items: (input: {
243
243
  readonly id: string;
244
244
  readonly limit?: number | null | undefined;
@@ -252,5 +252,5 @@ export declare const getEvents: ((input: {
252
252
  readonly metadata?: {
253
253
  readonly [x: string]: import("./generated/index.js").JsonValue;
254
254
  } | null;
255
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
255
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
256
256
  };
@@ -16,7 +16,7 @@ export declare const list: ((input?: {
16
16
  readonly createdAt: string;
17
17
  }[];
18
18
  readonly nextCursor: string | null;
19
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
19
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
20
20
  readonly items: (input?: {
21
21
  readonly limit?: number | null | undefined;
22
22
  readonly cursor?: string | undefined;
@@ -26,7 +26,7 @@ export declare const list: ((input?: {
26
26
  readonly id: string & import("effect/Brand").Brand<"NamespaceId">;
27
27
  readonly name: string;
28
28
  readonly createdAt: string;
29
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
29
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
30
30
  };
31
31
  export declare const create: (input: {
32
32
  readonly name: string;
@@ -89,7 +89,7 @@ export declare const listPortalLinks: ((input: {
89
89
  readonly createdAt: string;
90
90
  }[];
91
91
  readonly nextCursor: string | null;
92
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
92
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
93
93
  readonly items: (input: {
94
94
  readonly id: string;
95
95
  readonly limit?: number | null | undefined;
@@ -106,7 +106,7 @@ export declare const listPortalLinks: ((input: {
106
106
  readonly [x: string]: string;
107
107
  };
108
108
  readonly createdAt: string;
109
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
109
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
110
110
  };
111
111
  export declare const revokePortalLink: (input: {
112
112
  readonly id: string;
@@ -30,7 +30,7 @@ export declare const list: ((input: {
30
30
  readonly verificationErrors: readonly string[];
31
31
  }[];
32
32
  readonly nextCursor: string | null;
33
- }, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
33
+ }, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
34
34
  readonly items: (input: {
35
35
  readonly id: string;
36
36
  readonly limit?: number | null | undefined;
@@ -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.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
58
+ }, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
59
59
  };
60
60
  export declare const add: (input: {
61
61
  readonly id: string;
@@ -34,7 +34,7 @@ export declare const list: ((input?: {
34
34
  readonly completedAt: string | null;
35
35
  }[];
36
36
  readonly nextCursor: string | null;
37
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
37
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
38
38
  readonly items: (input?: {
39
39
  readonly limit?: number | null | undefined;
40
40
  readonly cursor?: string | undefined;
@@ -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.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
65
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
66
66
  };
67
67
  export declare const get: (input: {
68
68
  readonly id: string;
@@ -826,13 +826,11 @@ export declare const list: ((input?: {
826
826
  readonly failureReason: string | null;
827
827
  readonly attempts: number;
828
828
  readonly createdBy: string | null;
829
- readonly actorEmail: string;
830
- readonly memberRole: string;
831
829
  readonly createdAt: string;
832
830
  readonly updatedAt: string;
833
831
  }[];
834
832
  readonly nextCursor: string | null;
835
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
833
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
836
834
  readonly items: (input?: {
837
835
  readonly limit?: number | null | undefined;
838
836
  readonly cursor?: string | undefined;
@@ -1153,11 +1151,9 @@ export declare const list: ((input?: {
1153
1151
  readonly failureReason: string | null;
1154
1152
  readonly attempts: number;
1155
1153
  readonly createdBy: string | null;
1156
- readonly actorEmail: string;
1157
- readonly memberRole: string;
1158
1154
  readonly createdAt: string;
1159
1155
  readonly updatedAt: string;
1160
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1156
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1161
1157
  };
1162
1158
  export declare const get: (input: {
1163
1159
  readonly id: string;
@@ -47,7 +47,7 @@ export declare const list: ((input?: {
47
47
  readonly updatedAt: string;
48
48
  }[];
49
49
  readonly nextCursor: string | null;
50
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
50
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
51
51
  readonly items: (input?: {
52
52
  readonly limit?: number | null | undefined;
53
53
  readonly cursor?: string | undefined;
@@ -82,7 +82,7 @@ export declare const list: ((input?: {
82
82
  readonly lastUsedAt: string | null;
83
83
  readonly createdAt: string;
84
84
  readonly updatedAt: string;
85
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
85
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
86
86
  };
87
87
  export declare const create: (input?: {
88
88
  readonly name?: string | null | undefined;
@@ -123,7 +123,7 @@ export declare const listFamilies: ((input?: {
123
123
  readonly updatedAt: string;
124
124
  }[];
125
125
  readonly nextCursor: string | null;
126
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
126
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
127
127
  readonly items: (input?: {
128
128
  readonly limit?: number | null | undefined;
129
129
  readonly cursor?: string | undefined;
@@ -143,7 +143,7 @@ export declare const listFamilies: ((input?: {
143
143
  }[];
144
144
  readonly createdAt: string;
145
145
  readonly updatedAt: string;
146
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
146
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
147
147
  };
148
148
  export declare const createFamily: (input: {
149
149
  readonly name: string;
@@ -348,7 +348,7 @@ export declare const listInputContracts: ((input: {
348
348
  readonly createdAt: string;
349
349
  }[];
350
350
  readonly nextCursor: string | null;
351
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
351
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
352
352
  readonly items: (input: {
353
353
  readonly id: string;
354
354
  readonly limit?: number | null | undefined;
@@ -363,7 +363,7 @@ export declare const listInputContracts: ((input: {
363
363
  readonly [x: string]: import("./generated/index.js").JsonValue;
364
364
  };
365
365
  readonly createdAt: string;
366
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
366
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
367
367
  };
368
368
  export declare const getInputContract: (input: {
369
369
  readonly id: string;
@@ -61,7 +61,7 @@ export declare const listSubscriptions: ((input: {
61
61
  readonly updatedAt: string;
62
62
  }[];
63
63
  readonly nextCursor: string | null;
64
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
64
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
65
65
  readonly items: (input: {
66
66
  readonly id: string;
67
67
  readonly limit?: number | null | undefined;
@@ -77,16 +77,16 @@ export declare const listSubscriptions: ((input: {
77
77
  readonly unsubscribedAt: string | null;
78
78
  readonly createdAt: string;
79
79
  readonly updatedAt: string;
80
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
80
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
81
81
  };
82
82
  export declare const setSubscriptions: (input: {
83
83
  readonly id: string;
84
84
  readonly contacts: readonly ({
85
+ readonly contactId: string;
86
+ } | {
85
87
  readonly email: string;
86
88
  } | {
87
89
  readonly phone: string;
88
- } | {
89
- readonly contactId: string;
90
90
  })[];
91
91
  readonly channel: "email" | "sms" | "whatsapp";
92
92
  readonly status: "subscribed" | "unsubscribed";
@@ -48,7 +48,7 @@ export declare const list: ((input?: {
48
48
  };
49
49
  }[];
50
50
  readonly nextCursor: string | null;
51
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
51
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
52
52
  readonly items: (input?: {
53
53
  readonly limit?: number | null | undefined;
54
54
  readonly cursor?: string | undefined;
@@ -76,7 +76,7 @@ export declare const list: ((input?: {
76
76
  readonly exhausted: number;
77
77
  readonly cancelled: number;
78
78
  };
79
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
79
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
80
80
  };
81
81
  export declare const get: (input: {
82
82
  readonly id: string;
@@ -168,7 +168,7 @@ export declare const getLogs: ((input: {
168
168
  }[];
169
169
  }[];
170
170
  readonly nextCursor: string | null;
171
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
171
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
172
172
  readonly items: (input: {
173
173
  readonly id: string;
174
174
  readonly limit?: number | null | undefined;
@@ -202,7 +202,7 @@ export declare const getLogs: ((input: {
202
202
  readonly errorMessage: string | null;
203
203
  readonly createdAt: string;
204
204
  }[];
205
- }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
205
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
206
206
  };
207
207
  export declare const getStats: (input: {
208
208
  readonly id: string;