samva 0.16.0 → 0.17.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 (127) hide show
  1. package/AGENTS.md +4 -1
  2. package/README.md +44 -1
  3. package/dist/analytics-CaqPRsry.js +207 -0
  4. package/dist/api-keys-Ce1Y4_Ip.js +274 -0
  5. package/dist/attachments-DYqVIraC.js +140 -0
  6. package/dist/brands-ZwuOGIWO.js +175 -0
  7. package/dist/campaigns-DZlz1E9E.js +522 -0
  8. package/dist/categories-CA4XIQAb.js +1011 -0
  9. package/dist/client/sdk.gen.d.ts +174 -3
  10. package/dist/client/types.gen.d.ts +1126 -11
  11. package/dist/client-DOzUrdTE.js +1115 -0
  12. package/dist/contact-groups-BLbFXnjq.js +446 -0
  13. package/dist/contacts-BbsoXXB4.js +787 -0
  14. package/dist/conversations-_sRHueML.js +494 -0
  15. package/dist/custom-fields-BHWbwlKn.js +176 -0
  16. package/dist/effect/analytics.js +2 -21
  17. package/dist/effect/api-keys.d.ts +1 -1
  18. package/dist/effect/api-keys.js +2 -28
  19. package/dist/effect/attachments.js +2 -17
  20. package/dist/effect/brands.d.ts +1 -1
  21. package/dist/effect/brands.js +3 -24
  22. package/dist/effect/campaigns.js +2 -33
  23. package/dist/effect/categories.js +1 -1
  24. package/dist/effect/client.d.ts +1 -1
  25. package/dist/effect/client.js +3 -4
  26. package/dist/effect/contact-groups.js +2 -29
  27. package/dist/effect/contacts.d.ts +52 -0
  28. package/dist/effect/contacts.js +2 -47
  29. package/dist/effect/conversations.js +2 -35
  30. package/dist/effect/custom-fields.js +2 -17
  31. package/dist/effect/email.d.ts +3 -2
  32. package/dist/effect/email.js +2 -137
  33. package/dist/effect/events.d.ts +121 -0
  34. package/dist/effect/events.js +3 -0
  35. package/dist/effect/extension-installations.js +2 -27
  36. package/dist/effect/extensions.js +2 -19
  37. package/dist/effect/feedback.d.ts +1 -1
  38. package/dist/effect/feedback.js +3 -13
  39. package/dist/effect/generated/analytics.d.ts +715 -0
  40. package/dist/effect/generated/api-keys.d.ts +1627 -0
  41. package/dist/effect/generated/attachments.d.ts +554 -0
  42. package/dist/effect/generated/brands.d.ts +1118 -0
  43. package/dist/effect/generated/campaigns.d.ts +3783 -0
  44. package/dist/effect/generated/contact-events.d.ts +158 -0
  45. package/dist/effect/generated/contact-groups.d.ts +1445 -0
  46. package/dist/effect/generated/contacts.d.ts +3789 -0
  47. package/dist/effect/generated/conversations.d.ts +2870 -0
  48. package/dist/effect/generated/custom-fields.d.ts +562 -0
  49. package/dist/effect/generated/email.d.ts +10622 -0
  50. package/dist/effect/generated/events.d.ts +463 -0
  51. package/dist/effect/generated/extension-installations.d.ts +1786 -0
  52. package/dist/effect/generated/extensions.d.ts +927 -0
  53. package/dist/effect/generated/feedback.d.ts +116 -0
  54. package/dist/effect/generated/index.d.ts +61 -0
  55. package/dist/effect/generated/journeys.d.ts +6135 -0
  56. package/dist/effect/generated/mailboxes.d.ts +13641 -0
  57. package/dist/effect/generated/media.d.ts +741 -0
  58. package/dist/effect/generated/messages.d.ts +2355 -0
  59. package/dist/effect/generated/namespaces.d.ts +654 -0
  60. package/dist/effect/generated/operations.d.ts +514 -0
  61. package/dist/effect/generated/organizations.d.ts +1111 -0
  62. package/dist/effect/generated/scheduled-messages.d.ts +1798 -0
  63. package/dist/effect/generated/shared.d.ts +3250 -0
  64. package/dist/effect/generated/subscriptions.d.ts +188 -0
  65. package/dist/effect/generated/templates.d.ts +8177 -0
  66. package/dist/effect/generated/unsubscribe-groups.d.ts +1153 -0
  67. package/dist/effect/generated/webhooks.d.ts +1697 -0
  68. package/dist/effect/generated/whoami.d.ts +291 -0
  69. package/dist/effect/generated-metadata.d.ts +1627 -0
  70. package/dist/effect/index.d.ts +3 -1
  71. package/dist/effect/index.js +29 -27
  72. package/dist/effect/internal/client.d.ts +10 -7
  73. package/dist/effect/internal/email-sender.d.ts +17 -0
  74. package/dist/effect/internal/operation.d.ts +12 -72
  75. package/dist/effect/internal/send.d.ts +60 -0
  76. package/dist/effect/journeys.d.ts +2153 -0
  77. package/dist/effect/journeys.js +2 -0
  78. package/dist/effect/mailboxes.d.ts +112 -112
  79. package/dist/effect/mailboxes.js +1 -1
  80. package/dist/effect/media.js +3 -1
  81. package/dist/effect/messages.d.ts +2 -2
  82. package/dist/effect/messages.js +3 -1
  83. package/dist/effect/namespaces.js +2 -19
  84. package/dist/effect/operations.js +2 -15
  85. package/dist/effect/organizations.js +2 -23
  86. package/dist/effect/retry.js +1 -1
  87. package/dist/effect/scheduled-messages.js +2 -19
  88. package/dist/effect/subscriptions.js +2 -9
  89. package/dist/effect/templates.d.ts +1 -1
  90. package/dist/effect/templates.js +3 -78
  91. package/dist/effect/unsubscribe-groups.js +2 -27
  92. package/dist/effect/webhooks.d.ts +9 -9
  93. package/dist/effect/webhooks.js +3 -33
  94. package/dist/effect/whoami.d.ts +8 -8
  95. package/dist/effect/whoami.js +2 -9
  96. package/dist/email-R0NAA9PW.js +2498 -0
  97. package/dist/events-CxbTUHYT.js +82 -0
  98. package/dist/extension-installations-CD94LPmk.js +407 -0
  99. package/dist/extensions-BKyNQLvu.js +220 -0
  100. package/dist/feedback-Bpa09JOS.js +52 -0
  101. package/dist/index.js +2 -2
  102. package/dist/{inline-attachments-Cegg6tTF.js → inline-attachments-Bi1hDltp.js} +2 -2
  103. package/dist/journeys-CARo_BJT.js +499 -0
  104. package/dist/mailboxes-BRDn7BIK.js +2470 -0
  105. package/dist/media-VrrtNnft.js +181 -0
  106. package/dist/namespaces-CcvEbG-y.js +152 -0
  107. package/dist/{operation-BTXjPrwf.js → operation-n_IYgNVK.js} +75 -90
  108. package/dist/operations-CmB3FHwf.js +93 -0
  109. package/dist/organizations-A-plufWc.js +252 -0
  110. package/dist/promises/index.d.ts +7 -3
  111. package/dist/promises/index.js +2 -2
  112. package/dist/promises/types.gen.d.ts +1 -1
  113. package/dist/{promises-KrA2nSLg.js → promises---Kbh-7z.js} +467 -3
  114. package/dist/runtime-P0l1_2-C.js +25 -0
  115. package/dist/scheduled-messages-DkKZRRaN.js +207 -0
  116. package/dist/send-Bxc0XfGE.js +722 -0
  117. package/dist/service-map.d.ts +85 -0
  118. package/dist/subscriptions-DEXYtMXg.js +67 -0
  119. package/dist/templates-DZomxsG7.js +2289 -0
  120. package/dist/unsubscribe-groups-Iqk4Isf9.js +291 -0
  121. package/dist/webhooks-CPXuu8Xf.js +530 -0
  122. package/dist/whoami-Ccz0jwlt.js +59 -0
  123. package/package.json +13 -3
  124. package/dist/categories-DV51kr2H.js +0 -187
  125. package/dist/client-BMUew5Wp.js +0 -13794
  126. package/dist/effect/generated.d.ts +0 -64004
  127. package/dist/mailboxes-Thp5z0oX.js +0 -161
@@ -0,0 +1,1153 @@
1
+ import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
+ import * as Schema from "effect/Schema";
3
+ import { ApiKeySecurityMiddleware, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, ResourceNotFoundError, UnauthorizedError, UnsubscribeId, ValidationError } from "./shared";
4
+ export type UnsubscribeGroupMemberPage = {
5
+ readonly items: ReadonlyArray<{
6
+ readonly id: string;
7
+ readonly email: string;
8
+ readonly contactId: string | null;
9
+ readonly source: "link" | "api" | "manual" | "complaint";
10
+ readonly unsubscribedAt: string;
11
+ readonly createdAt: string;
12
+ }>;
13
+ readonly nextCursor: string | null;
14
+ };
15
+ export declare const UnsubscribeGroupMemberPage: Schema.Struct<{
16
+ readonly items: Schema.$Array<Schema.Struct<{
17
+ readonly id: Schema.String;
18
+ readonly email: Schema.String;
19
+ readonly contactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
20
+ readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
21
+ readonly unsubscribedAt: Schema.String;
22
+ readonly createdAt: Schema.String;
23
+ }>>;
24
+ readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
25
+ }>;
26
+ export type UnsubscribeGroupList = {
27
+ readonly items: ReadonlyArray<{
28
+ readonly id: UnsubscribeId;
29
+ readonly organizationId: string;
30
+ readonly name: string;
31
+ readonly description: string | null;
32
+ readonly isDefault: boolean;
33
+ readonly memberCount: number;
34
+ readonly createdAt: string;
35
+ readonly updatedAt: string;
36
+ }>;
37
+ };
38
+ export declare const UnsubscribeGroupList: Schema.Struct<{
39
+ readonly items: Schema.$Array<Schema.Struct<{
40
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
41
+ readonly organizationId: Schema.String;
42
+ readonly name: Schema.String;
43
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
44
+ readonly isDefault: Schema.Boolean;
45
+ readonly memberCount: Schema.Finite;
46
+ readonly createdAt: Schema.String;
47
+ readonly updatedAt: Schema.String;
48
+ }>>;
49
+ }>;
50
+ export type UnsubscribeList200 = UnsubscribeGroupList;
51
+ export declare const UnsubscribeList200: Schema.Struct<{
52
+ readonly items: Schema.$Array<Schema.Struct<{
53
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
54
+ readonly organizationId: Schema.String;
55
+ readonly name: Schema.String;
56
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
57
+ readonly isDefault: Schema.Boolean;
58
+ readonly memberCount: Schema.Finite;
59
+ readonly createdAt: Schema.String;
60
+ readonly updatedAt: Schema.String;
61
+ }>>;
62
+ }>;
63
+ export type UnsubscribeList401 = UnauthorizedError;
64
+ export declare const UnsubscribeList401: typeof UnauthorizedError;
65
+ export type UnsubscribeList403 = ForbiddenError;
66
+ export declare const UnsubscribeList403: typeof ForbiddenError;
67
+ export type UnsubscribeList422 = ValidationError;
68
+ export declare const UnsubscribeList422: typeof ValidationError;
69
+ export type UnsubscribeList500 = InternalError;
70
+ export declare const UnsubscribeList500: typeof InternalError;
71
+ export type UnsubscribeList504 = GatewayTimeoutError;
72
+ export declare const UnsubscribeList504: typeof GatewayTimeoutError;
73
+ export type UnsubscribeCreateRequestJson = {
74
+ readonly name: string;
75
+ readonly description?: string | null | null;
76
+ };
77
+ export declare const UnsubscribeCreateRequestJson: Schema.Struct<{
78
+ readonly name: Schema.String;
79
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
80
+ }>;
81
+ export type UnsubscribeCreate201 = {
82
+ readonly id: UnsubscribeId;
83
+ readonly organizationId: string;
84
+ readonly name: string;
85
+ readonly description: string | null;
86
+ readonly isDefault: boolean;
87
+ readonly memberCount: number;
88
+ readonly createdAt: string;
89
+ readonly updatedAt: string;
90
+ };
91
+ export declare const UnsubscribeCreate201: Schema.Struct<{
92
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
93
+ readonly organizationId: Schema.String;
94
+ readonly name: Schema.String;
95
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
96
+ readonly isDefault: Schema.Boolean;
97
+ readonly memberCount: Schema.Finite;
98
+ readonly createdAt: Schema.String;
99
+ readonly updatedAt: Schema.String;
100
+ }>;
101
+ export type UnsubscribeCreate401 = UnauthorizedError;
102
+ export declare const UnsubscribeCreate401: typeof UnauthorizedError;
103
+ export type UnsubscribeCreate403 = ForbiddenError;
104
+ export declare const UnsubscribeCreate403: typeof ForbiddenError;
105
+ export type UnsubscribeCreate409 = ConflictError;
106
+ export declare const UnsubscribeCreate409: typeof ConflictError;
107
+ export type UnsubscribeCreate422 = ValidationError;
108
+ export declare const UnsubscribeCreate422: typeof ValidationError;
109
+ export type UnsubscribeCreate500 = InternalError;
110
+ export declare const UnsubscribeCreate500: typeof InternalError;
111
+ export type UnsubscribeCreate504 = GatewayTimeoutError;
112
+ export declare const UnsubscribeCreate504: typeof GatewayTimeoutError;
113
+ export type UnsubscribeRemovePathParams = {
114
+ readonly id: UnsubscribeId;
115
+ };
116
+ export declare const UnsubscribeRemovePathParams: Schema.Struct<{
117
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
118
+ }>;
119
+ export type UnsubscribeRemove200 = {
120
+ readonly success: boolean;
121
+ };
122
+ export declare const UnsubscribeRemove200: Schema.Struct<{
123
+ readonly success: Schema.Boolean;
124
+ }>;
125
+ export type UnsubscribeRemove401 = UnauthorizedError;
126
+ export declare const UnsubscribeRemove401: typeof UnauthorizedError;
127
+ export type UnsubscribeRemove403 = ForbiddenError;
128
+ export declare const UnsubscribeRemove403: typeof ForbiddenError;
129
+ export type UnsubscribeRemove404 = ResourceNotFoundError;
130
+ export declare const UnsubscribeRemove404: typeof ResourceNotFoundError;
131
+ export type UnsubscribeRemove409 = ConflictError;
132
+ export declare const UnsubscribeRemove409: typeof ConflictError;
133
+ export type UnsubscribeRemove422 = ValidationError;
134
+ export declare const UnsubscribeRemove422: typeof ValidationError;
135
+ export type UnsubscribeRemove500 = InternalError;
136
+ export declare const UnsubscribeRemove500: typeof InternalError;
137
+ export type UnsubscribeRemove504 = GatewayTimeoutError;
138
+ export declare const UnsubscribeRemove504: typeof GatewayTimeoutError;
139
+ export type UnsubscribeUpdatePathParams = {
140
+ readonly id: UnsubscribeId;
141
+ };
142
+ export declare const UnsubscribeUpdatePathParams: Schema.Struct<{
143
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
144
+ }>;
145
+ export type UnsubscribeUpdateRequestJson = {
146
+ readonly name?: string | null;
147
+ readonly description?: string | null | null;
148
+ };
149
+ export declare const UnsubscribeUpdateRequestJson: Schema.Struct<{
150
+ readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
151
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
152
+ }>;
153
+ export type UnsubscribeUpdate200 = {
154
+ readonly id: UnsubscribeId;
155
+ readonly organizationId: string;
156
+ readonly name: string;
157
+ readonly description: string | null;
158
+ readonly isDefault: boolean;
159
+ readonly memberCount: number;
160
+ readonly createdAt: string;
161
+ readonly updatedAt: string;
162
+ };
163
+ export declare const UnsubscribeUpdate200: Schema.Struct<{
164
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
165
+ readonly organizationId: Schema.String;
166
+ readonly name: Schema.String;
167
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
168
+ readonly isDefault: Schema.Boolean;
169
+ readonly memberCount: Schema.Finite;
170
+ readonly createdAt: Schema.String;
171
+ readonly updatedAt: Schema.String;
172
+ }>;
173
+ export type UnsubscribeUpdate401 = UnauthorizedError;
174
+ export declare const UnsubscribeUpdate401: typeof UnauthorizedError;
175
+ export type UnsubscribeUpdate403 = ForbiddenError;
176
+ export declare const UnsubscribeUpdate403: typeof ForbiddenError;
177
+ export type UnsubscribeUpdate404 = ResourceNotFoundError;
178
+ export declare const UnsubscribeUpdate404: typeof ResourceNotFoundError;
179
+ export type UnsubscribeUpdate422 = ValidationError;
180
+ export declare const UnsubscribeUpdate422: typeof ValidationError;
181
+ export type UnsubscribeUpdate500 = InternalError;
182
+ export declare const UnsubscribeUpdate500: typeof InternalError;
183
+ export type UnsubscribeUpdate504 = GatewayTimeoutError;
184
+ export declare const UnsubscribeUpdate504: typeof GatewayTimeoutError;
185
+ export type UnsubscribeSetDefaultPathParams = {
186
+ readonly id: UnsubscribeId;
187
+ };
188
+ export declare const UnsubscribeSetDefaultPathParams: Schema.Struct<{
189
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
190
+ }>;
191
+ export type UnsubscribeSetDefault200 = {
192
+ readonly id: UnsubscribeId;
193
+ readonly organizationId: string;
194
+ readonly name: string;
195
+ readonly description: string | null;
196
+ readonly isDefault: boolean;
197
+ readonly memberCount: number;
198
+ readonly createdAt: string;
199
+ readonly updatedAt: string;
200
+ };
201
+ export declare const UnsubscribeSetDefault200: Schema.Struct<{
202
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
203
+ readonly organizationId: Schema.String;
204
+ readonly name: Schema.String;
205
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
206
+ readonly isDefault: Schema.Boolean;
207
+ readonly memberCount: Schema.Finite;
208
+ readonly createdAt: Schema.String;
209
+ readonly updatedAt: Schema.String;
210
+ }>;
211
+ export type UnsubscribeSetDefault401 = UnauthorizedError;
212
+ export declare const UnsubscribeSetDefault401: typeof UnauthorizedError;
213
+ export type UnsubscribeSetDefault403 = ForbiddenError;
214
+ export declare const UnsubscribeSetDefault403: typeof ForbiddenError;
215
+ export type UnsubscribeSetDefault404 = ResourceNotFoundError;
216
+ export declare const UnsubscribeSetDefault404: typeof ResourceNotFoundError;
217
+ export type UnsubscribeSetDefault422 = ValidationError;
218
+ export declare const UnsubscribeSetDefault422: typeof ValidationError;
219
+ export type UnsubscribeSetDefault500 = InternalError;
220
+ export declare const UnsubscribeSetDefault500: typeof InternalError;
221
+ export type UnsubscribeSetDefault504 = GatewayTimeoutError;
222
+ export declare const UnsubscribeSetDefault504: typeof GatewayTimeoutError;
223
+ export type UnsubscribeListMembersPathParams = {
224
+ readonly id: UnsubscribeId;
225
+ };
226
+ export declare const UnsubscribeListMembersPathParams: Schema.Struct<{
227
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
228
+ }>;
229
+ export type UnsubscribeListMembersQuery = {
230
+ readonly limit?: string | null;
231
+ readonly cursor?: Cursor | null;
232
+ };
233
+ export declare const UnsubscribeListMembersQuery: Schema.Struct<{
234
+ readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
235
+ readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
236
+ }>;
237
+ export type UnsubscribeListMembers200 = UnsubscribeGroupMemberPage;
238
+ export declare const UnsubscribeListMembers200: Schema.Struct<{
239
+ readonly items: Schema.$Array<Schema.Struct<{
240
+ readonly id: Schema.String;
241
+ readonly email: Schema.String;
242
+ readonly contactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
243
+ readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
244
+ readonly unsubscribedAt: Schema.String;
245
+ readonly createdAt: Schema.String;
246
+ }>>;
247
+ readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
248
+ }>;
249
+ export type UnsubscribeListMembers401 = UnauthorizedError;
250
+ export declare const UnsubscribeListMembers401: typeof UnauthorizedError;
251
+ export type UnsubscribeListMembers403 = ForbiddenError;
252
+ export declare const UnsubscribeListMembers403: typeof ForbiddenError;
253
+ export type UnsubscribeListMembers404 = ResourceNotFoundError;
254
+ export declare const UnsubscribeListMembers404: typeof ResourceNotFoundError;
255
+ export type UnsubscribeListMembers422 = ValidationError;
256
+ export declare const UnsubscribeListMembers422: typeof ValidationError;
257
+ export type UnsubscribeListMembers500 = InternalError;
258
+ export declare const UnsubscribeListMembers500: typeof InternalError;
259
+ export type UnsubscribeListMembers504 = GatewayTimeoutError;
260
+ export declare const UnsubscribeListMembers504: typeof GatewayTimeoutError;
261
+ export type UnsubscribeAddEmailsPathParams = {
262
+ readonly id: UnsubscribeId;
263
+ };
264
+ export declare const UnsubscribeAddEmailsPathParams: Schema.Struct<{
265
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
266
+ }>;
267
+ export type UnsubscribeAddEmailsRequestJson = {
268
+ readonly emails: ReadonlyArray<string>;
269
+ readonly source?: "link" | "api" | "manual" | "complaint" | null;
270
+ };
271
+ export declare const UnsubscribeAddEmailsRequestJson: Schema.Struct<{
272
+ readonly emails: Schema.$Array<Schema.String>;
273
+ readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>, Schema.Null]>>;
274
+ }>;
275
+ export type UnsubscribeAddEmails200 = {
276
+ readonly added: number;
277
+ readonly skipped: number;
278
+ };
279
+ export declare const UnsubscribeAddEmails200: Schema.Struct<{
280
+ readonly added: Schema.Finite;
281
+ readonly skipped: Schema.Finite;
282
+ }>;
283
+ export type UnsubscribeAddEmails401 = UnauthorizedError;
284
+ export declare const UnsubscribeAddEmails401: typeof UnauthorizedError;
285
+ export type UnsubscribeAddEmails403 = ForbiddenError;
286
+ export declare const UnsubscribeAddEmails403: typeof ForbiddenError;
287
+ export type UnsubscribeAddEmails404 = ResourceNotFoundError;
288
+ export declare const UnsubscribeAddEmails404: typeof ResourceNotFoundError;
289
+ export type UnsubscribeAddEmails422 = ValidationError;
290
+ export declare const UnsubscribeAddEmails422: typeof ValidationError;
291
+ export type UnsubscribeAddEmails500 = InternalError;
292
+ export declare const UnsubscribeAddEmails500: typeof InternalError;
293
+ export type UnsubscribeAddEmails504 = GatewayTimeoutError;
294
+ export declare const UnsubscribeAddEmails504: typeof GatewayTimeoutError;
295
+ export type UnsubscribeRemoveEmailsPathParams = {
296
+ readonly id: UnsubscribeId;
297
+ };
298
+ export declare const UnsubscribeRemoveEmailsPathParams: Schema.Struct<{
299
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
300
+ }>;
301
+ export type UnsubscribeRemoveEmailsRequestJson = {
302
+ readonly emails: ReadonlyArray<string>;
303
+ };
304
+ export declare const UnsubscribeRemoveEmailsRequestJson: Schema.Struct<{
305
+ readonly emails: Schema.$Array<Schema.String>;
306
+ }>;
307
+ export type UnsubscribeRemoveEmails200 = {
308
+ readonly removed: number;
309
+ };
310
+ export declare const UnsubscribeRemoveEmails200: Schema.Struct<{
311
+ readonly removed: Schema.Finite;
312
+ }>;
313
+ export type UnsubscribeRemoveEmails401 = UnauthorizedError;
314
+ export declare const UnsubscribeRemoveEmails401: typeof UnauthorizedError;
315
+ export type UnsubscribeRemoveEmails403 = ForbiddenError;
316
+ export declare const UnsubscribeRemoveEmails403: typeof ForbiddenError;
317
+ export type UnsubscribeRemoveEmails404 = ResourceNotFoundError;
318
+ export declare const UnsubscribeRemoveEmails404: typeof ResourceNotFoundError;
319
+ export type UnsubscribeRemoveEmails422 = ValidationError;
320
+ export declare const UnsubscribeRemoveEmails422: typeof ValidationError;
321
+ export type UnsubscribeRemoveEmails500 = InternalError;
322
+ export declare const UnsubscribeRemoveEmails500: typeof InternalError;
323
+ export type UnsubscribeRemoveEmails504 = GatewayTimeoutError;
324
+ export declare const UnsubscribeRemoveEmails504: typeof GatewayTimeoutError;
325
+ export type UnsubscribeCheckSubscriptionQuery = {
326
+ readonly email: string;
327
+ readonly groupIds?: string | null;
328
+ };
329
+ export declare const UnsubscribeCheckSubscriptionQuery: Schema.Struct<{
330
+ readonly email: Schema.String;
331
+ readonly groupIds: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
332
+ }>;
333
+ export type UnsubscribeCheckSubscription200 = {
334
+ readonly email: string;
335
+ readonly unsubscribedGroups: ReadonlyArray<{
336
+ readonly groupId: string;
337
+ readonly groupName: string;
338
+ readonly unsubscribedAt: string;
339
+ }>;
340
+ };
341
+ export declare const UnsubscribeCheckSubscription200: Schema.Struct<{
342
+ readonly email: Schema.String;
343
+ readonly unsubscribedGroups: Schema.$Array<Schema.Struct<{
344
+ readonly groupId: Schema.String;
345
+ readonly groupName: Schema.String;
346
+ readonly unsubscribedAt: Schema.String;
347
+ }>>;
348
+ }>;
349
+ export type UnsubscribeCheckSubscription401 = UnauthorizedError;
350
+ export declare const UnsubscribeCheckSubscription401: typeof UnauthorizedError;
351
+ export type UnsubscribeCheckSubscription403 = ForbiddenError;
352
+ export declare const UnsubscribeCheckSubscription403: typeof ForbiddenError;
353
+ export type UnsubscribeCheckSubscription422 = ValidationError;
354
+ export declare const UnsubscribeCheckSubscription422: typeof ValidationError;
355
+ export type UnsubscribeCheckSubscription500 = InternalError;
356
+ export declare const UnsubscribeCheckSubscription500: typeof InternalError;
357
+ export type UnsubscribeCheckSubscription504 = GatewayTimeoutError;
358
+ export declare const UnsubscribeCheckSubscription504: typeof GatewayTimeoutError;
359
+ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscribe Groups", HttpApiEndpoint.HttpApiEndpoint<"unsubscribeAddEmails", "POST", "/v1/unsubscribe-groups/:id/members", Schema.toCodecStringTree<Schema.Struct<{
360
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
361
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
362
+ readonly emails: Schema.$Array<Schema.String>;
363
+ readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>, Schema.Null]>>;
364
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
365
+ readonly added: Schema.Finite;
366
+ readonly skipped: Schema.Finite;
367
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
368
+ readonly _tag: "ForbiddenError";
369
+ readonly message: string;
370
+ }, readonly [Schema.Struct<{
371
+ readonly _tag: Schema.tag<"ForbiddenError">;
372
+ readonly message: Schema.String;
373
+ }>], {
374
+ readonly _tag: "ForbiddenError";
375
+ readonly message: string;
376
+ }>, Schema.Struct<{
377
+ readonly _tag: Schema.tag<"ForbiddenError">;
378
+ readonly message: Schema.String;
379
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
380
+ readonly _tag: "GatewayTimeoutError";
381
+ readonly message: string;
382
+ readonly retryAfterSeconds: number;
383
+ }, readonly [Schema.Struct<{
384
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
385
+ readonly message: Schema.String;
386
+ readonly retryAfterSeconds: Schema.Finite;
387
+ }>], {
388
+ readonly _tag: "GatewayTimeoutError";
389
+ readonly message: string;
390
+ readonly retryAfterSeconds: number;
391
+ }>, Schema.Struct<{
392
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
393
+ readonly message: Schema.String;
394
+ readonly retryAfterSeconds: Schema.Finite;
395
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
396
+ readonly _tag: "ResourceNotFoundError";
397
+ readonly resource: string;
398
+ readonly id: string;
399
+ readonly message: string;
400
+ }, readonly [Schema.Struct<{
401
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
402
+ readonly resource: Schema.String;
403
+ readonly id: Schema.String;
404
+ readonly message: Schema.String;
405
+ }>], {
406
+ readonly _tag: "ResourceNotFoundError";
407
+ readonly resource: string;
408
+ readonly id: string;
409
+ readonly message: string;
410
+ }>, Schema.Struct<{
411
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
412
+ readonly resource: Schema.String;
413
+ readonly id: Schema.String;
414
+ readonly message: Schema.String;
415
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
416
+ readonly _tag: "UnauthorizedError";
417
+ readonly message: string;
418
+ }, readonly [Schema.Struct<{
419
+ readonly _tag: Schema.tag<"UnauthorizedError">;
420
+ readonly message: Schema.String;
421
+ }>], {
422
+ readonly _tag: "UnauthorizedError";
423
+ readonly message: string;
424
+ }>, Schema.Struct<{
425
+ readonly _tag: Schema.tag<"UnauthorizedError">;
426
+ readonly message: Schema.String;
427
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
428
+ readonly _tag: "ValidationError";
429
+ readonly message: string;
430
+ readonly fields?: {
431
+ readonly [x: string]: readonly string[];
432
+ } | null;
433
+ }, readonly [Schema.Struct<{
434
+ readonly _tag: Schema.tag<"ValidationError">;
435
+ readonly message: Schema.String;
436
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
437
+ }>], {
438
+ readonly _tag: "ValidationError";
439
+ readonly message: string;
440
+ readonly fields?: {
441
+ readonly [x: string]: readonly string[];
442
+ } | null;
443
+ }>, Schema.Struct<{
444
+ readonly _tag: Schema.tag<"ValidationError">;
445
+ readonly message: Schema.String;
446
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
447
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeCheckSubscription", "GET", "/v1/unsubscribe-groups/check", never, Schema.toCodecStringTree<Schema.Struct<{
448
+ readonly email: Schema.String;
449
+ readonly groupIds: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
450
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
451
+ readonly email: Schema.String;
452
+ readonly unsubscribedGroups: Schema.$Array<Schema.Struct<{
453
+ readonly groupId: Schema.String;
454
+ readonly groupName: Schema.String;
455
+ readonly unsubscribedAt: Schema.String;
456
+ }>>;
457
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
458
+ readonly _tag: "ForbiddenError";
459
+ readonly message: string;
460
+ }, readonly [Schema.Struct<{
461
+ readonly _tag: Schema.tag<"ForbiddenError">;
462
+ readonly message: Schema.String;
463
+ }>], {
464
+ readonly _tag: "ForbiddenError";
465
+ readonly message: string;
466
+ }>, Schema.Struct<{
467
+ readonly _tag: Schema.tag<"ForbiddenError">;
468
+ readonly message: Schema.String;
469
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
470
+ readonly _tag: "GatewayTimeoutError";
471
+ readonly message: string;
472
+ readonly retryAfterSeconds: number;
473
+ }, readonly [Schema.Struct<{
474
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
475
+ readonly message: Schema.String;
476
+ readonly retryAfterSeconds: Schema.Finite;
477
+ }>], {
478
+ readonly _tag: "GatewayTimeoutError";
479
+ readonly message: string;
480
+ readonly retryAfterSeconds: number;
481
+ }>, Schema.Struct<{
482
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
483
+ readonly message: Schema.String;
484
+ readonly retryAfterSeconds: Schema.Finite;
485
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
486
+ readonly _tag: "UnauthorizedError";
487
+ readonly message: string;
488
+ }, readonly [Schema.Struct<{
489
+ readonly _tag: Schema.tag<"UnauthorizedError">;
490
+ readonly message: Schema.String;
491
+ }>], {
492
+ readonly _tag: "UnauthorizedError";
493
+ readonly message: string;
494
+ }>, Schema.Struct<{
495
+ readonly _tag: Schema.tag<"UnauthorizedError">;
496
+ readonly message: Schema.String;
497
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
498
+ readonly _tag: "ValidationError";
499
+ readonly message: string;
500
+ readonly fields?: {
501
+ readonly [x: string]: readonly string[];
502
+ } | null;
503
+ }, readonly [Schema.Struct<{
504
+ readonly _tag: Schema.tag<"ValidationError">;
505
+ readonly message: Schema.String;
506
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
507
+ }>], {
508
+ readonly _tag: "ValidationError";
509
+ readonly message: string;
510
+ readonly fields?: {
511
+ readonly [x: string]: readonly string[];
512
+ } | null;
513
+ }>, Schema.Struct<{
514
+ readonly _tag: Schema.tag<"ValidationError">;
515
+ readonly message: Schema.String;
516
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
517
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeCreate", "POST", "/v1/unsubscribe-groups", never, never, Schema.toCodecJson<Schema.Struct<{
518
+ readonly name: Schema.String;
519
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
520
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
521
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
522
+ readonly organizationId: Schema.String;
523
+ readonly name: Schema.String;
524
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
525
+ readonly isDefault: Schema.Boolean;
526
+ readonly memberCount: Schema.Finite;
527
+ readonly createdAt: Schema.String;
528
+ readonly updatedAt: Schema.String;
529
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
530
+ readonly _tag: "ConflictError";
531
+ readonly message: string;
532
+ readonly resource: string;
533
+ readonly id?: string | null;
534
+ }, readonly [Schema.Struct<{
535
+ readonly _tag: Schema.tag<"ConflictError">;
536
+ readonly message: Schema.String;
537
+ readonly resource: Schema.String;
538
+ readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
539
+ }>], {
540
+ readonly _tag: "ConflictError";
541
+ readonly message: string;
542
+ readonly resource: string;
543
+ readonly id?: string | null;
544
+ }>, Schema.Struct<{
545
+ readonly _tag: Schema.tag<"ConflictError">;
546
+ readonly message: Schema.String;
547
+ readonly resource: Schema.String;
548
+ readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
549
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
550
+ readonly _tag: "ForbiddenError";
551
+ readonly message: string;
552
+ }, readonly [Schema.Struct<{
553
+ readonly _tag: Schema.tag<"ForbiddenError">;
554
+ readonly message: Schema.String;
555
+ }>], {
556
+ readonly _tag: "ForbiddenError";
557
+ readonly message: string;
558
+ }>, Schema.Struct<{
559
+ readonly _tag: Schema.tag<"ForbiddenError">;
560
+ readonly message: Schema.String;
561
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
562
+ readonly _tag: "GatewayTimeoutError";
563
+ readonly message: string;
564
+ readonly retryAfterSeconds: number;
565
+ }, readonly [Schema.Struct<{
566
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
567
+ readonly message: Schema.String;
568
+ readonly retryAfterSeconds: Schema.Finite;
569
+ }>], {
570
+ readonly _tag: "GatewayTimeoutError";
571
+ readonly message: string;
572
+ readonly retryAfterSeconds: number;
573
+ }>, Schema.Struct<{
574
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
575
+ readonly message: Schema.String;
576
+ readonly retryAfterSeconds: Schema.Finite;
577
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
578
+ readonly _tag: "UnauthorizedError";
579
+ readonly message: string;
580
+ }, readonly [Schema.Struct<{
581
+ readonly _tag: Schema.tag<"UnauthorizedError">;
582
+ readonly message: Schema.String;
583
+ }>], {
584
+ readonly _tag: "UnauthorizedError";
585
+ readonly message: string;
586
+ }>, Schema.Struct<{
587
+ readonly _tag: Schema.tag<"UnauthorizedError">;
588
+ readonly message: Schema.String;
589
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
590
+ readonly _tag: "ValidationError";
591
+ readonly message: string;
592
+ readonly fields?: {
593
+ readonly [x: string]: readonly string[];
594
+ } | null;
595
+ }, readonly [Schema.Struct<{
596
+ readonly _tag: Schema.tag<"ValidationError">;
597
+ readonly message: Schema.String;
598
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
599
+ }>], {
600
+ readonly _tag: "ValidationError";
601
+ readonly message: string;
602
+ readonly fields?: {
603
+ readonly [x: string]: readonly string[];
604
+ } | null;
605
+ }>, Schema.Struct<{
606
+ readonly _tag: Schema.tag<"ValidationError">;
607
+ readonly message: Schema.String;
608
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
609
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeList", "GET", "/v1/unsubscribe-groups", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
610
+ readonly items: Schema.$Array<Schema.Struct<{
611
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
612
+ readonly organizationId: Schema.String;
613
+ readonly name: Schema.String;
614
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
615
+ readonly isDefault: Schema.Boolean;
616
+ readonly memberCount: Schema.Finite;
617
+ readonly createdAt: Schema.String;
618
+ readonly updatedAt: Schema.String;
619
+ }>>;
620
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
621
+ readonly _tag: "ForbiddenError";
622
+ readonly message: string;
623
+ }, readonly [Schema.Struct<{
624
+ readonly _tag: Schema.tag<"ForbiddenError">;
625
+ readonly message: Schema.String;
626
+ }>], {
627
+ readonly _tag: "ForbiddenError";
628
+ readonly message: string;
629
+ }>, Schema.Struct<{
630
+ readonly _tag: Schema.tag<"ForbiddenError">;
631
+ readonly message: Schema.String;
632
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
633
+ readonly _tag: "GatewayTimeoutError";
634
+ readonly message: string;
635
+ readonly retryAfterSeconds: number;
636
+ }, readonly [Schema.Struct<{
637
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
638
+ readonly message: Schema.String;
639
+ readonly retryAfterSeconds: Schema.Finite;
640
+ }>], {
641
+ readonly _tag: "GatewayTimeoutError";
642
+ readonly message: string;
643
+ readonly retryAfterSeconds: number;
644
+ }>, Schema.Struct<{
645
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
646
+ readonly message: Schema.String;
647
+ readonly retryAfterSeconds: Schema.Finite;
648
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
649
+ readonly _tag: "UnauthorizedError";
650
+ readonly message: string;
651
+ }, readonly [Schema.Struct<{
652
+ readonly _tag: Schema.tag<"UnauthorizedError">;
653
+ readonly message: Schema.String;
654
+ }>], {
655
+ readonly _tag: "UnauthorizedError";
656
+ readonly message: string;
657
+ }>, Schema.Struct<{
658
+ readonly _tag: Schema.tag<"UnauthorizedError">;
659
+ readonly message: Schema.String;
660
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
661
+ readonly _tag: "ValidationError";
662
+ readonly message: string;
663
+ readonly fields?: {
664
+ readonly [x: string]: readonly string[];
665
+ } | null;
666
+ }, readonly [Schema.Struct<{
667
+ readonly _tag: Schema.tag<"ValidationError">;
668
+ readonly message: Schema.String;
669
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
670
+ }>], {
671
+ readonly _tag: "ValidationError";
672
+ readonly message: string;
673
+ readonly fields?: {
674
+ readonly [x: string]: readonly string[];
675
+ } | null;
676
+ }>, Schema.Struct<{
677
+ readonly _tag: Schema.tag<"ValidationError">;
678
+ readonly message: Schema.String;
679
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
680
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeListMembers", "GET", "/v1/unsubscribe-groups/:id/members", Schema.toCodecStringTree<Schema.Struct<{
681
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
682
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
683
+ readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
684
+ readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
685
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
686
+ readonly items: Schema.$Array<Schema.Struct<{
687
+ readonly id: Schema.String;
688
+ readonly email: Schema.String;
689
+ readonly contactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
690
+ readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
691
+ readonly unsubscribedAt: Schema.String;
692
+ readonly createdAt: Schema.String;
693
+ }>>;
694
+ readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
695
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
696
+ readonly _tag: "ForbiddenError";
697
+ readonly message: string;
698
+ }, readonly [Schema.Struct<{
699
+ readonly _tag: Schema.tag<"ForbiddenError">;
700
+ readonly message: Schema.String;
701
+ }>], {
702
+ readonly _tag: "ForbiddenError";
703
+ readonly message: string;
704
+ }>, Schema.Struct<{
705
+ readonly _tag: Schema.tag<"ForbiddenError">;
706
+ readonly message: Schema.String;
707
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
708
+ readonly _tag: "GatewayTimeoutError";
709
+ readonly message: string;
710
+ readonly retryAfterSeconds: number;
711
+ }, readonly [Schema.Struct<{
712
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
713
+ readonly message: Schema.String;
714
+ readonly retryAfterSeconds: Schema.Finite;
715
+ }>], {
716
+ readonly _tag: "GatewayTimeoutError";
717
+ readonly message: string;
718
+ readonly retryAfterSeconds: number;
719
+ }>, Schema.Struct<{
720
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
721
+ readonly message: Schema.String;
722
+ readonly retryAfterSeconds: Schema.Finite;
723
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
724
+ readonly _tag: "ResourceNotFoundError";
725
+ readonly resource: string;
726
+ readonly id: string;
727
+ readonly message: string;
728
+ }, readonly [Schema.Struct<{
729
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
730
+ readonly resource: Schema.String;
731
+ readonly id: Schema.String;
732
+ readonly message: Schema.String;
733
+ }>], {
734
+ readonly _tag: "ResourceNotFoundError";
735
+ readonly resource: string;
736
+ readonly id: string;
737
+ readonly message: string;
738
+ }>, Schema.Struct<{
739
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
740
+ readonly resource: Schema.String;
741
+ readonly id: Schema.String;
742
+ readonly message: Schema.String;
743
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
744
+ readonly _tag: "UnauthorizedError";
745
+ readonly message: string;
746
+ }, readonly [Schema.Struct<{
747
+ readonly _tag: Schema.tag<"UnauthorizedError">;
748
+ readonly message: Schema.String;
749
+ }>], {
750
+ readonly _tag: "UnauthorizedError";
751
+ readonly message: string;
752
+ }>, Schema.Struct<{
753
+ readonly _tag: Schema.tag<"UnauthorizedError">;
754
+ readonly message: Schema.String;
755
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
756
+ readonly _tag: "ValidationError";
757
+ readonly message: string;
758
+ readonly fields?: {
759
+ readonly [x: string]: readonly string[];
760
+ } | null;
761
+ }, readonly [Schema.Struct<{
762
+ readonly _tag: Schema.tag<"ValidationError">;
763
+ readonly message: Schema.String;
764
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
765
+ }>], {
766
+ readonly _tag: "ValidationError";
767
+ readonly message: string;
768
+ readonly fields?: {
769
+ readonly [x: string]: readonly string[];
770
+ } | null;
771
+ }>, Schema.Struct<{
772
+ readonly _tag: Schema.tag<"ValidationError">;
773
+ readonly message: Schema.String;
774
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
775
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeRemove", "DELETE", "/v1/unsubscribe-groups/:id", Schema.toCodecStringTree<Schema.Struct<{
776
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
777
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
778
+ readonly success: Schema.Boolean;
779
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
780
+ readonly _tag: "ConflictError";
781
+ readonly message: string;
782
+ readonly resource: string;
783
+ readonly id?: string | null;
784
+ }, readonly [Schema.Struct<{
785
+ readonly _tag: Schema.tag<"ConflictError">;
786
+ readonly message: Schema.String;
787
+ readonly resource: Schema.String;
788
+ readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
789
+ }>], {
790
+ readonly _tag: "ConflictError";
791
+ readonly message: string;
792
+ readonly resource: string;
793
+ readonly id?: string | null;
794
+ }>, Schema.Struct<{
795
+ readonly _tag: Schema.tag<"ConflictError">;
796
+ readonly message: Schema.String;
797
+ readonly resource: Schema.String;
798
+ readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
799
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
800
+ readonly _tag: "ForbiddenError";
801
+ readonly message: string;
802
+ }, readonly [Schema.Struct<{
803
+ readonly _tag: Schema.tag<"ForbiddenError">;
804
+ readonly message: Schema.String;
805
+ }>], {
806
+ readonly _tag: "ForbiddenError";
807
+ readonly message: string;
808
+ }>, Schema.Struct<{
809
+ readonly _tag: Schema.tag<"ForbiddenError">;
810
+ readonly message: Schema.String;
811
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
812
+ readonly _tag: "GatewayTimeoutError";
813
+ readonly message: string;
814
+ readonly retryAfterSeconds: number;
815
+ }, readonly [Schema.Struct<{
816
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
817
+ readonly message: Schema.String;
818
+ readonly retryAfterSeconds: Schema.Finite;
819
+ }>], {
820
+ readonly _tag: "GatewayTimeoutError";
821
+ readonly message: string;
822
+ readonly retryAfterSeconds: number;
823
+ }>, Schema.Struct<{
824
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
825
+ readonly message: Schema.String;
826
+ readonly retryAfterSeconds: Schema.Finite;
827
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
828
+ readonly _tag: "ResourceNotFoundError";
829
+ readonly resource: string;
830
+ readonly id: string;
831
+ readonly message: string;
832
+ }, readonly [Schema.Struct<{
833
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
834
+ readonly resource: Schema.String;
835
+ readonly id: Schema.String;
836
+ readonly message: Schema.String;
837
+ }>], {
838
+ readonly _tag: "ResourceNotFoundError";
839
+ readonly resource: string;
840
+ readonly id: string;
841
+ readonly message: string;
842
+ }>, Schema.Struct<{
843
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
844
+ readonly resource: Schema.String;
845
+ readonly id: Schema.String;
846
+ readonly message: Schema.String;
847
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
848
+ readonly _tag: "UnauthorizedError";
849
+ readonly message: string;
850
+ }, readonly [Schema.Struct<{
851
+ readonly _tag: Schema.tag<"UnauthorizedError">;
852
+ readonly message: Schema.String;
853
+ }>], {
854
+ readonly _tag: "UnauthorizedError";
855
+ readonly message: string;
856
+ }>, Schema.Struct<{
857
+ readonly _tag: Schema.tag<"UnauthorizedError">;
858
+ readonly message: Schema.String;
859
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
860
+ readonly _tag: "ValidationError";
861
+ readonly message: string;
862
+ readonly fields?: {
863
+ readonly [x: string]: readonly string[];
864
+ } | null;
865
+ }, readonly [Schema.Struct<{
866
+ readonly _tag: Schema.tag<"ValidationError">;
867
+ readonly message: Schema.String;
868
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
869
+ }>], {
870
+ readonly _tag: "ValidationError";
871
+ readonly message: string;
872
+ readonly fields?: {
873
+ readonly [x: string]: readonly string[];
874
+ } | null;
875
+ }>, Schema.Struct<{
876
+ readonly _tag: Schema.tag<"ValidationError">;
877
+ readonly message: Schema.String;
878
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
879
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeRemoveEmails", "DELETE", "/v1/unsubscribe-groups/:id/members", Schema.toCodecStringTree<Schema.Struct<{
880
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
881
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
882
+ readonly emails: Schema.$Array<Schema.String>;
883
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
884
+ readonly removed: Schema.Finite;
885
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
886
+ readonly _tag: "ForbiddenError";
887
+ readonly message: string;
888
+ }, readonly [Schema.Struct<{
889
+ readonly _tag: Schema.tag<"ForbiddenError">;
890
+ readonly message: Schema.String;
891
+ }>], {
892
+ readonly _tag: "ForbiddenError";
893
+ readonly message: string;
894
+ }>, Schema.Struct<{
895
+ readonly _tag: Schema.tag<"ForbiddenError">;
896
+ readonly message: Schema.String;
897
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
898
+ readonly _tag: "GatewayTimeoutError";
899
+ readonly message: string;
900
+ readonly retryAfterSeconds: number;
901
+ }, readonly [Schema.Struct<{
902
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
903
+ readonly message: Schema.String;
904
+ readonly retryAfterSeconds: Schema.Finite;
905
+ }>], {
906
+ readonly _tag: "GatewayTimeoutError";
907
+ readonly message: string;
908
+ readonly retryAfterSeconds: number;
909
+ }>, Schema.Struct<{
910
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
911
+ readonly message: Schema.String;
912
+ readonly retryAfterSeconds: Schema.Finite;
913
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
914
+ readonly _tag: "ResourceNotFoundError";
915
+ readonly resource: string;
916
+ readonly id: string;
917
+ readonly message: string;
918
+ }, readonly [Schema.Struct<{
919
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
920
+ readonly resource: Schema.String;
921
+ readonly id: Schema.String;
922
+ readonly message: Schema.String;
923
+ }>], {
924
+ readonly _tag: "ResourceNotFoundError";
925
+ readonly resource: string;
926
+ readonly id: string;
927
+ readonly message: string;
928
+ }>, Schema.Struct<{
929
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
930
+ readonly resource: Schema.String;
931
+ readonly id: Schema.String;
932
+ readonly message: Schema.String;
933
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
934
+ readonly _tag: "UnauthorizedError";
935
+ readonly message: string;
936
+ }, readonly [Schema.Struct<{
937
+ readonly _tag: Schema.tag<"UnauthorizedError">;
938
+ readonly message: Schema.String;
939
+ }>], {
940
+ readonly _tag: "UnauthorizedError";
941
+ readonly message: string;
942
+ }>, Schema.Struct<{
943
+ readonly _tag: Schema.tag<"UnauthorizedError">;
944
+ readonly message: Schema.String;
945
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
946
+ readonly _tag: "ValidationError";
947
+ readonly message: string;
948
+ readonly fields?: {
949
+ readonly [x: string]: readonly string[];
950
+ } | null;
951
+ }, readonly [Schema.Struct<{
952
+ readonly _tag: Schema.tag<"ValidationError">;
953
+ readonly message: Schema.String;
954
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
955
+ }>], {
956
+ readonly _tag: "ValidationError";
957
+ readonly message: string;
958
+ readonly fields?: {
959
+ readonly [x: string]: readonly string[];
960
+ } | null;
961
+ }>, Schema.Struct<{
962
+ readonly _tag: Schema.tag<"ValidationError">;
963
+ readonly message: Schema.String;
964
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
965
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeSetDefault", "POST", "/v1/unsubscribe-groups/:id/default", Schema.toCodecStringTree<Schema.Struct<{
966
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
967
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
968
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
969
+ readonly organizationId: Schema.String;
970
+ readonly name: Schema.String;
971
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
972
+ readonly isDefault: Schema.Boolean;
973
+ readonly memberCount: Schema.Finite;
974
+ readonly createdAt: Schema.String;
975
+ readonly updatedAt: Schema.String;
976
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
977
+ readonly _tag: "ForbiddenError";
978
+ readonly message: string;
979
+ }, readonly [Schema.Struct<{
980
+ readonly _tag: Schema.tag<"ForbiddenError">;
981
+ readonly message: Schema.String;
982
+ }>], {
983
+ readonly _tag: "ForbiddenError";
984
+ readonly message: string;
985
+ }>, Schema.Struct<{
986
+ readonly _tag: Schema.tag<"ForbiddenError">;
987
+ readonly message: Schema.String;
988
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
989
+ readonly _tag: "GatewayTimeoutError";
990
+ readonly message: string;
991
+ readonly retryAfterSeconds: number;
992
+ }, readonly [Schema.Struct<{
993
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
994
+ readonly message: Schema.String;
995
+ readonly retryAfterSeconds: Schema.Finite;
996
+ }>], {
997
+ readonly _tag: "GatewayTimeoutError";
998
+ readonly message: string;
999
+ readonly retryAfterSeconds: number;
1000
+ }>, Schema.Struct<{
1001
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
1002
+ readonly message: Schema.String;
1003
+ readonly retryAfterSeconds: Schema.Finite;
1004
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
1005
+ readonly _tag: "ResourceNotFoundError";
1006
+ readonly resource: string;
1007
+ readonly id: string;
1008
+ readonly message: string;
1009
+ }, readonly [Schema.Struct<{
1010
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
1011
+ readonly resource: Schema.String;
1012
+ readonly id: Schema.String;
1013
+ readonly message: Schema.String;
1014
+ }>], {
1015
+ readonly _tag: "ResourceNotFoundError";
1016
+ readonly resource: string;
1017
+ readonly id: string;
1018
+ readonly message: string;
1019
+ }>, Schema.Struct<{
1020
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
1021
+ readonly resource: Schema.String;
1022
+ readonly id: Schema.String;
1023
+ readonly message: Schema.String;
1024
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
1025
+ readonly _tag: "UnauthorizedError";
1026
+ readonly message: string;
1027
+ }, readonly [Schema.Struct<{
1028
+ readonly _tag: Schema.tag<"UnauthorizedError">;
1029
+ readonly message: Schema.String;
1030
+ }>], {
1031
+ readonly _tag: "UnauthorizedError";
1032
+ readonly message: string;
1033
+ }>, Schema.Struct<{
1034
+ readonly _tag: Schema.tag<"UnauthorizedError">;
1035
+ readonly message: Schema.String;
1036
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
1037
+ readonly _tag: "ValidationError";
1038
+ readonly message: string;
1039
+ readonly fields?: {
1040
+ readonly [x: string]: readonly string[];
1041
+ } | null;
1042
+ }, readonly [Schema.Struct<{
1043
+ readonly _tag: Schema.tag<"ValidationError">;
1044
+ readonly message: Schema.String;
1045
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
1046
+ }>], {
1047
+ readonly _tag: "ValidationError";
1048
+ readonly message: string;
1049
+ readonly fields?: {
1050
+ readonly [x: string]: readonly string[];
1051
+ } | null;
1052
+ }>, Schema.Struct<{
1053
+ readonly _tag: Schema.tag<"ValidationError">;
1054
+ readonly message: Schema.String;
1055
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
1056
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeUpdate", "PATCH", "/v1/unsubscribe-groups/:id", Schema.toCodecStringTree<Schema.Struct<{
1057
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
1058
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
1059
+ readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1060
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
1061
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
1062
+ readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
1063
+ readonly organizationId: Schema.String;
1064
+ readonly name: Schema.String;
1065
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
1066
+ readonly isDefault: Schema.Boolean;
1067
+ readonly memberCount: Schema.Finite;
1068
+ readonly createdAt: Schema.String;
1069
+ readonly updatedAt: Schema.String;
1070
+ }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
1071
+ readonly _tag: "ForbiddenError";
1072
+ readonly message: string;
1073
+ }, readonly [Schema.Struct<{
1074
+ readonly _tag: Schema.tag<"ForbiddenError">;
1075
+ readonly message: Schema.String;
1076
+ }>], {
1077
+ readonly _tag: "ForbiddenError";
1078
+ readonly message: string;
1079
+ }>, Schema.Struct<{
1080
+ readonly _tag: Schema.tag<"ForbiddenError">;
1081
+ readonly message: Schema.String;
1082
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
1083
+ readonly _tag: "GatewayTimeoutError";
1084
+ readonly message: string;
1085
+ readonly retryAfterSeconds: number;
1086
+ }, readonly [Schema.Struct<{
1087
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
1088
+ readonly message: Schema.String;
1089
+ readonly retryAfterSeconds: Schema.Finite;
1090
+ }>], {
1091
+ readonly _tag: "GatewayTimeoutError";
1092
+ readonly message: string;
1093
+ readonly retryAfterSeconds: number;
1094
+ }>, Schema.Struct<{
1095
+ readonly _tag: Schema.tag<"GatewayTimeoutError">;
1096
+ readonly message: Schema.String;
1097
+ readonly retryAfterSeconds: Schema.Finite;
1098
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
1099
+ readonly _tag: "ResourceNotFoundError";
1100
+ readonly resource: string;
1101
+ readonly id: string;
1102
+ readonly message: string;
1103
+ }, readonly [Schema.Struct<{
1104
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
1105
+ readonly resource: Schema.String;
1106
+ readonly id: Schema.String;
1107
+ readonly message: Schema.String;
1108
+ }>], {
1109
+ readonly _tag: "ResourceNotFoundError";
1110
+ readonly resource: string;
1111
+ readonly id: string;
1112
+ readonly message: string;
1113
+ }>, Schema.Struct<{
1114
+ readonly _tag: Schema.tag<"ResourceNotFoundError">;
1115
+ readonly resource: Schema.String;
1116
+ readonly id: Schema.String;
1117
+ readonly message: Schema.String;
1118
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
1119
+ readonly _tag: "UnauthorizedError";
1120
+ readonly message: string;
1121
+ }, readonly [Schema.Struct<{
1122
+ readonly _tag: Schema.tag<"UnauthorizedError">;
1123
+ readonly message: Schema.String;
1124
+ }>], {
1125
+ readonly _tag: "UnauthorizedError";
1126
+ readonly message: string;
1127
+ }>, Schema.Struct<{
1128
+ readonly _tag: Schema.tag<"UnauthorizedError">;
1129
+ readonly message: Schema.String;
1130
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
1131
+ readonly _tag: "ValidationError";
1132
+ readonly message: string;
1133
+ readonly fields?: {
1134
+ readonly [x: string]: readonly string[];
1135
+ } | null;
1136
+ }, readonly [Schema.Struct<{
1137
+ readonly _tag: Schema.tag<"ValidationError">;
1138
+ readonly message: Schema.String;
1139
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
1140
+ }>], {
1141
+ readonly _tag: "ValidationError";
1142
+ readonly message: string;
1143
+ readonly fields?: {
1144
+ readonly [x: string]: readonly string[];
1145
+ } | null;
1146
+ }>, Schema.Struct<{
1147
+ readonly _tag: Schema.tag<"ValidationError">;
1148
+ readonly message: Schema.String;
1149
+ readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
1150
+ }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never>, false>;
1151
+ export declare class UnsubscribeGroupsGroup extends UnsubscribeGroupsGroup_base {
1152
+ }
1153
+ export {};