samva 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/client/sdk.gen.d.ts +94 -36
- package/dist/client/sdk.gen.js +269 -55
- package/dist/client/types.gen.d.ts +497 -106
- package/dist/effect/campaigns.d.ts +35 -3
- package/dist/effect/contact-groups.d.ts +39 -3
- package/dist/effect/contacts.d.ts +240 -17
- package/dist/effect/contacts.js +3 -1
- package/dist/effect/conversations.d.ts +11 -11
- package/dist/effect/email.d.ts +22 -6
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +12 -12
- package/dist/effect/extensions.d.ts +3 -3
- package/dist/effect/generated/campaigns.d.ts +73 -4
- package/dist/effect/generated/campaigns.js +18 -1
- package/dist/effect/generated/contact-groups.d.ts +33 -3
- package/dist/effect/generated/contacts.d.ts +608 -55
- package/dist/effect/generated/contacts.js +55 -10
- package/dist/effect/generated/conversations.d.ts +25 -25
- package/dist/effect/generated/conversations.js +1 -1
- package/dist/effect/generated/email.d.ts +162 -1
- package/dist/effect/generated/email.js +31 -11
- package/dist/effect/generated/extension-installations.d.ts +44 -44
- package/dist/effect/generated/extension-installations.js +6 -0
- package/dist/effect/generated/extensions.d.ts +10 -10
- package/dist/effect/generated/extensions.js +2 -0
- package/dist/effect/generated/journeys.d.ts +13 -61
- package/dist/effect/generated/journeys.js +5 -5
- package/dist/effect/generated/mailboxes.d.ts +584 -78
- package/dist/effect/generated/mailboxes.js +65 -24
- package/dist/effect/generated/messages.d.ts +35 -1
- package/dist/effect/generated/messages.js +9 -2
- package/dist/effect/generated/namespaces.d.ts +432 -2
- package/dist/effect/generated/namespaces.js +91 -4
- package/dist/effect/generated/organizations.d.ts +13 -11
- package/dist/effect/generated/organizations.js +7 -3
- package/dist/effect/generated/shared.d.ts +104 -49
- package/dist/effect/generated/shared.js +51 -28
- package/dist/effect/generated/templates.d.ts +44 -1
- package/dist/effect/generated/templates.js +9 -3
- package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
- package/dist/effect/generated/unsubscribe-groups.js +75 -58
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +8 -0
- package/dist/effect/generated-metadata.d.ts +22 -6
- package/dist/effect/generated-metadata.js +334 -329
- package/dist/effect/index.js +2 -2
- package/dist/effect/journeys.d.ts +4 -4
- package/dist/effect/mailboxes.d.ts +144 -12
- package/dist/effect/messages.d.ts +8 -0
- package/dist/effect/namespaces.d.ts +29 -0
- package/dist/effect/namespaces.js +7 -1
- package/dist/effect/organizations.d.ts +4 -4
- package/dist/effect/templates.d.ts +12 -1
- package/dist/effect/unsubscribe-groups.d.ts +29 -18
- package/dist/effect/unsubscribe-groups.js +5 -5
- package/dist/effect/webhooks.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/mailbox-events.d.ts +31 -4
- package/dist/mailbox-events.js +39 -11
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +2 -12
- package/dist/promises/errors.gen.js +1 -26
- package/dist/promises/index.d.ts +1 -1
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +24 -4
- package/dist/service-map.js +26 -2
- package/package.json +2 -2
|
@@ -1,27 +1,20 @@
|
|
|
1
|
+
import type * as EffectBrand from "effect/Brand";
|
|
1
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
3
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, ResourceNotFoundError, UnauthorizedError, UnsubscribeId, ValidationError } from "./shared";
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
4
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, UnsubscribeId, ValidationError } from "./shared";
|
|
5
|
+
export type UnsubscribeGroupMemberId = string & EffectBrand.Brand<"UnsubscribeGroupMemberId">;
|
|
6
|
+
export declare const UnsubscribeGroupMemberId: Schema.brand<Schema.String, "UnsubscribeGroupMemberId">;
|
|
7
|
+
export type UnsubscribeGroupMemberByEmail = {
|
|
8
|
+
readonly email: string;
|
|
14
9
|
};
|
|
15
|
-
export declare const
|
|
16
|
-
readonly
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}>>;
|
|
24
|
-
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
10
|
+
export declare const UnsubscribeGroupMemberByEmail: Schema.Struct<{
|
|
11
|
+
readonly email: Schema.String;
|
|
12
|
+
}>;
|
|
13
|
+
export type UnsubscribeGroupMemberByPhone = {
|
|
14
|
+
readonly phone: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const UnsubscribeGroupMemberByPhone: Schema.Struct<{
|
|
17
|
+
readonly phone: Schema.String;
|
|
25
18
|
}>;
|
|
26
19
|
export type UnsubscribeGroupList = {
|
|
27
20
|
readonly items: ReadonlyArray<{
|
|
@@ -47,6 +40,40 @@ export declare const UnsubscribeGroupList: Schema.Struct<{
|
|
|
47
40
|
readonly updatedAt: Schema.String;
|
|
48
41
|
}>>;
|
|
49
42
|
}>;
|
|
43
|
+
export type UnsubscribeGroupMemberByContact = {
|
|
44
|
+
readonly contactId: ContactId;
|
|
45
|
+
};
|
|
46
|
+
export declare const UnsubscribeGroupMemberByContact: Schema.Struct<{
|
|
47
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
48
|
+
}>;
|
|
49
|
+
export type UnsubscribeGroupMemberPage = {
|
|
50
|
+
readonly items: ReadonlyArray<{
|
|
51
|
+
readonly id: UnsubscribeGroupMemberId;
|
|
52
|
+
readonly contactId: ContactId;
|
|
53
|
+
readonly source: "link" | "api" | "manual" | "complaint";
|
|
54
|
+
readonly unsubscribedAt: string;
|
|
55
|
+
readonly createdAt: string;
|
|
56
|
+
}>;
|
|
57
|
+
readonly nextCursor: string | null;
|
|
58
|
+
};
|
|
59
|
+
export declare const UnsubscribeGroupMemberPage: Schema.Struct<{
|
|
60
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
61
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeGroupMemberId">;
|
|
62
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
63
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
|
|
64
|
+
readonly unsubscribedAt: Schema.String;
|
|
65
|
+
readonly createdAt: Schema.String;
|
|
66
|
+
}>>;
|
|
67
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
68
|
+
}>;
|
|
69
|
+
export type UnsubscribeGroupMemberRef = UnsubscribeGroupMemberByContact | UnsubscribeGroupMemberByEmail | UnsubscribeGroupMemberByPhone;
|
|
70
|
+
export declare const UnsubscribeGroupMemberRef: Schema.Union<readonly [Schema.Struct<{
|
|
71
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
72
|
+
}>, Schema.Struct<{
|
|
73
|
+
readonly email: Schema.String;
|
|
74
|
+
}>, Schema.Struct<{
|
|
75
|
+
readonly phone: Schema.String;
|
|
76
|
+
}>]>;
|
|
50
77
|
export type UnsubscribeList200 = UnsubscribeGroupList;
|
|
51
78
|
export declare const UnsubscribeList200: Schema.Struct<{
|
|
52
79
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -237,9 +264,8 @@ export declare const UnsubscribeListMembersQuery: Schema.Struct<{
|
|
|
237
264
|
export type UnsubscribeListMembers200 = UnsubscribeGroupMemberPage;
|
|
238
265
|
export declare const UnsubscribeListMembers200: Schema.Struct<{
|
|
239
266
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
240
|
-
readonly id: Schema.String
|
|
241
|
-
readonly
|
|
242
|
-
readonly contactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
267
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeGroupMemberId">;
|
|
268
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
243
269
|
readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
|
|
244
270
|
readonly unsubscribedAt: Schema.String;
|
|
245
271
|
readonly createdAt: Schema.String;
|
|
@@ -258,80 +284,100 @@ export type UnsubscribeListMembers500 = InternalError;
|
|
|
258
284
|
export declare const UnsubscribeListMembers500: typeof InternalError;
|
|
259
285
|
export type UnsubscribeListMembers504 = GatewayTimeoutError;
|
|
260
286
|
export declare const UnsubscribeListMembers504: typeof GatewayTimeoutError;
|
|
261
|
-
export type
|
|
287
|
+
export type UnsubscribeAddMembersPathParams = {
|
|
262
288
|
readonly id: UnsubscribeId;
|
|
263
289
|
};
|
|
264
|
-
export declare const
|
|
290
|
+
export declare const UnsubscribeAddMembersPathParams: Schema.Struct<{
|
|
265
291
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
266
292
|
}>;
|
|
267
|
-
export type
|
|
268
|
-
readonly
|
|
293
|
+
export type UnsubscribeAddMembersRequestJson = {
|
|
294
|
+
readonly members: ReadonlyArray<UnsubscribeGroupMemberRef>;
|
|
269
295
|
readonly source?: "link" | "api" | "manual" | "complaint" | null;
|
|
270
296
|
};
|
|
271
|
-
export declare const
|
|
272
|
-
readonly
|
|
297
|
+
export declare const UnsubscribeAddMembersRequestJson: Schema.Struct<{
|
|
298
|
+
readonly members: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
299
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
300
|
+
}>, Schema.Struct<{
|
|
301
|
+
readonly email: Schema.String;
|
|
302
|
+
}>, Schema.Struct<{
|
|
303
|
+
readonly phone: Schema.String;
|
|
304
|
+
}>]>>;
|
|
273
305
|
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
306
|
}>;
|
|
275
|
-
export type
|
|
307
|
+
export type UnsubscribeAddMembers200 = {
|
|
276
308
|
readonly added: number;
|
|
277
309
|
readonly skipped: number;
|
|
278
310
|
};
|
|
279
|
-
export declare const
|
|
311
|
+
export declare const UnsubscribeAddMembers200: Schema.Struct<{
|
|
280
312
|
readonly added: Schema.Finite;
|
|
281
313
|
readonly skipped: Schema.Finite;
|
|
282
314
|
}>;
|
|
283
|
-
export type
|
|
284
|
-
export declare const
|
|
285
|
-
export type
|
|
286
|
-
export declare const
|
|
287
|
-
export type
|
|
288
|
-
export declare const
|
|
289
|
-
export type
|
|
290
|
-
export declare const
|
|
291
|
-
export type
|
|
292
|
-
export declare const
|
|
293
|
-
export type
|
|
294
|
-
export declare const
|
|
295
|
-
export type
|
|
315
|
+
export type UnsubscribeAddMembers401 = UnauthorizedError;
|
|
316
|
+
export declare const UnsubscribeAddMembers401: typeof UnauthorizedError;
|
|
317
|
+
export type UnsubscribeAddMembers402 = PaymentRequiredError;
|
|
318
|
+
export declare const UnsubscribeAddMembers402: typeof PaymentRequiredError;
|
|
319
|
+
export type UnsubscribeAddMembers403 = ForbiddenError;
|
|
320
|
+
export declare const UnsubscribeAddMembers403: typeof ForbiddenError;
|
|
321
|
+
export type UnsubscribeAddMembers404 = ResourceNotFoundError;
|
|
322
|
+
export declare const UnsubscribeAddMembers404: typeof ResourceNotFoundError;
|
|
323
|
+
export type UnsubscribeAddMembers422 = ValidationError;
|
|
324
|
+
export declare const UnsubscribeAddMembers422: typeof ValidationError;
|
|
325
|
+
export type UnsubscribeAddMembers500 = InternalError;
|
|
326
|
+
export declare const UnsubscribeAddMembers500: typeof InternalError;
|
|
327
|
+
export type UnsubscribeAddMembers502 = BillingProviderError;
|
|
328
|
+
export declare const UnsubscribeAddMembers502: typeof BillingProviderError;
|
|
329
|
+
export type UnsubscribeAddMembers504 = GatewayTimeoutError;
|
|
330
|
+
export declare const UnsubscribeAddMembers504: typeof GatewayTimeoutError;
|
|
331
|
+
export type UnsubscribeRemoveMembersPathParams = {
|
|
296
332
|
readonly id: UnsubscribeId;
|
|
297
333
|
};
|
|
298
|
-
export declare const
|
|
334
|
+
export declare const UnsubscribeRemoveMembersPathParams: Schema.Struct<{
|
|
299
335
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
300
336
|
}>;
|
|
301
|
-
export type
|
|
302
|
-
readonly
|
|
337
|
+
export type UnsubscribeRemoveMembersRequestJson = {
|
|
338
|
+
readonly members: ReadonlyArray<UnsubscribeGroupMemberRef>;
|
|
303
339
|
};
|
|
304
|
-
export declare const
|
|
305
|
-
readonly
|
|
340
|
+
export declare const UnsubscribeRemoveMembersRequestJson: Schema.Struct<{
|
|
341
|
+
readonly members: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
342
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
343
|
+
}>, Schema.Struct<{
|
|
344
|
+
readonly email: Schema.String;
|
|
345
|
+
}>, Schema.Struct<{
|
|
346
|
+
readonly phone: Schema.String;
|
|
347
|
+
}>]>>;
|
|
306
348
|
}>;
|
|
307
|
-
export type
|
|
349
|
+
export type UnsubscribeRemoveMembers200 = {
|
|
308
350
|
readonly removed: number;
|
|
309
351
|
};
|
|
310
|
-
export declare const
|
|
352
|
+
export declare const UnsubscribeRemoveMembers200: Schema.Struct<{
|
|
311
353
|
readonly removed: Schema.Finite;
|
|
312
354
|
}>;
|
|
313
|
-
export type
|
|
314
|
-
export declare const
|
|
315
|
-
export type
|
|
316
|
-
export declare const
|
|
317
|
-
export type
|
|
318
|
-
export declare const
|
|
319
|
-
export type
|
|
320
|
-
export declare const
|
|
321
|
-
export type
|
|
322
|
-
export declare const
|
|
323
|
-
export type
|
|
324
|
-
export declare const
|
|
355
|
+
export type UnsubscribeRemoveMembers401 = UnauthorizedError;
|
|
356
|
+
export declare const UnsubscribeRemoveMembers401: typeof UnauthorizedError;
|
|
357
|
+
export type UnsubscribeRemoveMembers403 = ForbiddenError;
|
|
358
|
+
export declare const UnsubscribeRemoveMembers403: typeof ForbiddenError;
|
|
359
|
+
export type UnsubscribeRemoveMembers404 = ResourceNotFoundError;
|
|
360
|
+
export declare const UnsubscribeRemoveMembers404: typeof ResourceNotFoundError;
|
|
361
|
+
export type UnsubscribeRemoveMembers422 = ValidationError;
|
|
362
|
+
export declare const UnsubscribeRemoveMembers422: typeof ValidationError;
|
|
363
|
+
export type UnsubscribeRemoveMembers500 = InternalError;
|
|
364
|
+
export declare const UnsubscribeRemoveMembers500: typeof InternalError;
|
|
365
|
+
export type UnsubscribeRemoveMembers504 = GatewayTimeoutError;
|
|
366
|
+
export declare const UnsubscribeRemoveMembers504: typeof GatewayTimeoutError;
|
|
325
367
|
export type UnsubscribeCheckSubscriptionQuery = {
|
|
326
|
-
readonly
|
|
368
|
+
readonly contactId?: ContactId | null;
|
|
369
|
+
readonly email?: string | null;
|
|
370
|
+
readonly phone?: string | null;
|
|
327
371
|
readonly groupIds?: string | null;
|
|
328
372
|
};
|
|
329
373
|
export declare const UnsubscribeCheckSubscriptionQuery: Schema.Struct<{
|
|
330
|
-
readonly
|
|
374
|
+
readonly contactId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ContactId">, Schema.Null]>>;
|
|
375
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
376
|
+
readonly phone: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
331
377
|
readonly groupIds: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
332
378
|
}>;
|
|
333
379
|
export type UnsubscribeCheckSubscription200 = {
|
|
334
|
-
readonly
|
|
380
|
+
readonly contactId: ContactId | null;
|
|
335
381
|
readonly unsubscribedGroups: ReadonlyArray<{
|
|
336
382
|
readonly groupId: string;
|
|
337
383
|
readonly groupName: string;
|
|
@@ -339,7 +385,7 @@ export type UnsubscribeCheckSubscription200 = {
|
|
|
339
385
|
}>;
|
|
340
386
|
};
|
|
341
387
|
export declare const UnsubscribeCheckSubscription200: Schema.Struct<{
|
|
342
|
-
readonly
|
|
388
|
+
readonly contactId: Schema.Union<readonly [Schema.brand<Schema.String, "ContactId">, Schema.Null]>;
|
|
343
389
|
readonly unsubscribedGroups: Schema.$Array<Schema.Struct<{
|
|
344
390
|
readonly groupId: Schema.String;
|
|
345
391
|
readonly groupName: Schema.String;
|
|
@@ -356,15 +402,33 @@ export type UnsubscribeCheckSubscription500 = InternalError;
|
|
|
356
402
|
export declare const UnsubscribeCheckSubscription500: typeof InternalError;
|
|
357
403
|
export type UnsubscribeCheckSubscription504 = GatewayTimeoutError;
|
|
358
404
|
export declare const UnsubscribeCheckSubscription504: typeof GatewayTimeoutError;
|
|
359
|
-
declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscribe Groups", HttpApiEndpoint.HttpApiEndpoint<"
|
|
405
|
+
declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscribe Groups", HttpApiEndpoint.HttpApiEndpoint<"unsubscribeAddMembers", "POST", "/v1/unsubscribe-groups/:id/members", Schema.toCodecStringTree<Schema.Struct<{
|
|
360
406
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
361
407
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
362
|
-
readonly
|
|
408
|
+
readonly members: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
409
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
410
|
+
}>, Schema.Struct<{
|
|
411
|
+
readonly email: Schema.String;
|
|
412
|
+
}>, Schema.Struct<{
|
|
413
|
+
readonly phone: Schema.String;
|
|
414
|
+
}>]>>;
|
|
363
415
|
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
416
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
365
417
|
readonly added: Schema.Finite;
|
|
366
418
|
readonly skipped: Schema.Finite;
|
|
367
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<
|
|
419
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<BillingProviderError, {
|
|
420
|
+
readonly _tag: "BillingProviderError";
|
|
421
|
+
readonly message: string;
|
|
422
|
+
}, readonly [Schema.Struct<{
|
|
423
|
+
readonly _tag: Schema.tag<"BillingProviderError">;
|
|
424
|
+
readonly message: Schema.String;
|
|
425
|
+
}>], {
|
|
426
|
+
readonly _tag: "BillingProviderError";
|
|
427
|
+
readonly message: string;
|
|
428
|
+
}>, Schema.Struct<{
|
|
429
|
+
readonly _tag: Schema.tag<"BillingProviderError">;
|
|
430
|
+
readonly message: Schema.String;
|
|
431
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
368
432
|
readonly _tag: "ForbiddenError";
|
|
369
433
|
readonly message: string;
|
|
370
434
|
}, readonly [Schema.Struct<{
|
|
@@ -392,6 +456,30 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
392
456
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
393
457
|
readonly message: Schema.String;
|
|
394
458
|
readonly retryAfterSeconds: Schema.Finite;
|
|
459
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<PaymentRequiredError, {
|
|
460
|
+
readonly _tag: "PaymentRequiredError";
|
|
461
|
+
readonly message: string;
|
|
462
|
+
readonly resource: string;
|
|
463
|
+
readonly currentUsage: number;
|
|
464
|
+
readonly limit: number;
|
|
465
|
+
}, readonly [Schema.Struct<{
|
|
466
|
+
readonly _tag: Schema.tag<"PaymentRequiredError">;
|
|
467
|
+
readonly message: Schema.String;
|
|
468
|
+
readonly resource: Schema.String;
|
|
469
|
+
readonly currentUsage: Schema.Finite;
|
|
470
|
+
readonly limit: Schema.Finite;
|
|
471
|
+
}>], {
|
|
472
|
+
readonly _tag: "PaymentRequiredError";
|
|
473
|
+
readonly message: string;
|
|
474
|
+
readonly resource: string;
|
|
475
|
+
readonly currentUsage: number;
|
|
476
|
+
readonly limit: number;
|
|
477
|
+
}>, Schema.Struct<{
|
|
478
|
+
readonly _tag: Schema.tag<"PaymentRequiredError">;
|
|
479
|
+
readonly message: Schema.String;
|
|
480
|
+
readonly resource: Schema.String;
|
|
481
|
+
readonly currentUsage: Schema.Finite;
|
|
482
|
+
readonly limit: Schema.Finite;
|
|
395
483
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
396
484
|
readonly _tag: "ResourceNotFoundError";
|
|
397
485
|
readonly resource: string;
|
|
@@ -445,10 +533,12 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
445
533
|
readonly message: Schema.String;
|
|
446
534
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
447
535
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeCheckSubscription", "GET", "/v1/unsubscribe-groups/check", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
448
|
-
readonly
|
|
536
|
+
readonly contactId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ContactId">, Schema.Null]>>;
|
|
537
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
538
|
+
readonly phone: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
449
539
|
readonly groupIds: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
450
540
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
451
|
-
readonly
|
|
541
|
+
readonly contactId: Schema.Union<readonly [Schema.brand<Schema.String, "ContactId">, Schema.Null]>;
|
|
452
542
|
readonly unsubscribedGroups: Schema.$Array<Schema.Struct<{
|
|
453
543
|
readonly groupId: Schema.String;
|
|
454
544
|
readonly groupName: Schema.String;
|
|
@@ -684,9 +774,8 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
684
774
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
685
775
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
686
776
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
687
|
-
readonly id: Schema.String
|
|
688
|
-
readonly
|
|
689
|
-
readonly contactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
777
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeGroupMemberId">;
|
|
778
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
690
779
|
readonly source: Schema.Union<readonly [Schema.Literal<"link">, Schema.Literal<"api">, Schema.Literal<"manual">, Schema.Literal<"complaint">]>;
|
|
691
780
|
readonly unsubscribedAt: Schema.String;
|
|
692
781
|
readonly createdAt: Schema.String;
|
|
@@ -876,10 +965,16 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
876
965
|
readonly _tag: Schema.tag<"ValidationError">;
|
|
877
966
|
readonly message: Schema.String;
|
|
878
967
|
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<"
|
|
968
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeRemoveMembers", "DELETE", "/v1/unsubscribe-groups/:id/members", Schema.toCodecStringTree<Schema.Struct<{
|
|
880
969
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
881
970
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
882
|
-
readonly
|
|
971
|
+
readonly members: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
972
|
+
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
973
|
+
}>, Schema.Struct<{
|
|
974
|
+
readonly email: Schema.String;
|
|
975
|
+
}>, Schema.Struct<{
|
|
976
|
+
readonly phone: Schema.String;
|
|
977
|
+
}>]>>;
|
|
883
978
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
884
979
|
readonly removed: Schema.Finite;
|
|
885
980
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, ResourceNotFoundError, UnauthorizedError, UnsubscribeId, ValidationError } from "./shared.js";
|
|
1
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, UnsubscribeId, ValidationError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
//#region src/effect/generated/unsubscribe-groups.ts
|
|
5
|
+
const UnsubscribeGroupMemberId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^unsubm_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
6
|
+
expected: "a string matching the RegExp ^unsubm_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
7
|
+
identifier: "UnsubscribeGroupMemberId"
|
|
8
|
+
})).pipe(Schema.brand("UnsubscribeGroupMemberId"));
|
|
9
|
+
const UnsubscribeGroupMemberByEmail = /* @__PURE__ */ Schema.Struct({ email: Schema.String }).annotate({ identifier: "UnsubscribeGroupMemberByEmail" });
|
|
10
|
+
const UnsubscribeGroupMemberByPhone = /* @__PURE__ */ Schema.Struct({ phone: Schema.String }).annotate({ identifier: "UnsubscribeGroupMemberByPhone" });
|
|
11
|
+
const UnsubscribeGroupList = /* @__PURE__ */ Schema.Struct({ items: Schema.Array(Schema.Struct({
|
|
12
|
+
id: UnsubscribeId,
|
|
13
|
+
organizationId: Schema.String,
|
|
14
|
+
name: Schema.String,
|
|
15
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
16
|
+
isDefault: Schema.Boolean,
|
|
17
|
+
memberCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })),
|
|
18
|
+
createdAt: Schema.String,
|
|
19
|
+
updatedAt: Schema.String
|
|
20
|
+
})).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })) }).annotate({ identifier: "UnsubscribeGroupList" });
|
|
21
|
+
const UnsubscribeGroupMemberByContact = /* @__PURE__ */ Schema.Struct({ contactId: ContactId }).annotate({ identifier: "UnsubscribeGroupMemberByContact" });
|
|
5
22
|
const UnsubscribeGroupMemberPage = /* @__PURE__ */ Schema.Struct({
|
|
6
23
|
items: Schema.Array(Schema.Struct({
|
|
7
|
-
id:
|
|
8
|
-
|
|
9
|
-
contactId: Schema.Union([Schema.String, Schema.Null]),
|
|
24
|
+
id: UnsubscribeGroupMemberId,
|
|
25
|
+
contactId: ContactId,
|
|
10
26
|
source: Schema.Union([
|
|
11
27
|
Schema.Literal("link"),
|
|
12
28
|
Schema.Literal("api"),
|
|
@@ -18,16 +34,11 @@ const UnsubscribeGroupMemberPage = /* @__PURE__ */ Schema.Struct({
|
|
|
18
34
|
})),
|
|
19
35
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
20
36
|
}).annotate({ identifier: "UnsubscribeGroupMemberPage" });
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
isDefault: Schema.Boolean,
|
|
27
|
-
memberCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })),
|
|
28
|
-
createdAt: Schema.String,
|
|
29
|
-
updatedAt: Schema.String
|
|
30
|
-
})).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })) }).annotate({ identifier: "UnsubscribeGroupList" });
|
|
37
|
+
const UnsubscribeGroupMemberRef = /* @__PURE__ */ Schema.Union([
|
|
38
|
+
UnsubscribeGroupMemberByContact,
|
|
39
|
+
UnsubscribeGroupMemberByEmail,
|
|
40
|
+
UnsubscribeGroupMemberByPhone
|
|
41
|
+
]).annotate({ identifier: "UnsubscribeGroupMemberRef" });
|
|
31
42
|
const UnsubscribeList200 = UnsubscribeGroupList;
|
|
32
43
|
const UnsubscribeList401 = UnauthorizedError;
|
|
33
44
|
const UnsubscribeList403 = ForbiddenError;
|
|
@@ -113,9 +124,9 @@ const UnsubscribeListMembers404 = ResourceNotFoundError;
|
|
|
113
124
|
const UnsubscribeListMembers422 = ValidationError;
|
|
114
125
|
const UnsubscribeListMembers500 = InternalError;
|
|
115
126
|
const UnsubscribeListMembers504 = GatewayTimeoutError;
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
|
|
127
|
+
const UnsubscribeAddMembersPathParams = /* @__PURE__ */ Schema.Struct({ id: UnsubscribeId });
|
|
128
|
+
const UnsubscribeAddMembersRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
129
|
+
members: Schema.Array(UnsubscribeGroupMemberRef).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
119
130
|
source: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
120
131
|
Schema.Literal("link"),
|
|
121
132
|
Schema.Literal("api"),
|
|
@@ -123,31 +134,35 @@ const UnsubscribeAddEmailsRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
123
134
|
Schema.Literal("complaint")
|
|
124
135
|
]), Schema.Null]))
|
|
125
136
|
});
|
|
126
|
-
const
|
|
137
|
+
const UnsubscribeAddMembers200 = /* @__PURE__ */ Schema.Struct({
|
|
127
138
|
added: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })),
|
|
128
139
|
skipped: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" }))
|
|
129
140
|
});
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
const
|
|
143
|
-
const
|
|
144
|
-
const
|
|
141
|
+
const UnsubscribeAddMembers401 = UnauthorizedError;
|
|
142
|
+
const UnsubscribeAddMembers402 = PaymentRequiredError;
|
|
143
|
+
const UnsubscribeAddMembers403 = ForbiddenError;
|
|
144
|
+
const UnsubscribeAddMembers404 = ResourceNotFoundError;
|
|
145
|
+
const UnsubscribeAddMembers422 = ValidationError;
|
|
146
|
+
const UnsubscribeAddMembers500 = InternalError;
|
|
147
|
+
const UnsubscribeAddMembers502 = BillingProviderError;
|
|
148
|
+
const UnsubscribeAddMembers504 = GatewayTimeoutError;
|
|
149
|
+
const UnsubscribeRemoveMembersPathParams = /* @__PURE__ */ Schema.Struct({ id: UnsubscribeId });
|
|
150
|
+
const UnsubscribeRemoveMembersRequestJson = /* @__PURE__ */ Schema.Struct({ members: Schema.Array(UnsubscribeGroupMemberRef).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) });
|
|
151
|
+
const UnsubscribeRemoveMembers200 = /* @__PURE__ */ Schema.Struct({ removed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })) });
|
|
152
|
+
const UnsubscribeRemoveMembers401 = UnauthorizedError;
|
|
153
|
+
const UnsubscribeRemoveMembers403 = ForbiddenError;
|
|
154
|
+
const UnsubscribeRemoveMembers404 = ResourceNotFoundError;
|
|
155
|
+
const UnsubscribeRemoveMembers422 = ValidationError;
|
|
156
|
+
const UnsubscribeRemoveMembers500 = InternalError;
|
|
157
|
+
const UnsubscribeRemoveMembers504 = GatewayTimeoutError;
|
|
145
158
|
const UnsubscribeCheckSubscriptionQuery = /* @__PURE__ */ Schema.Struct({
|
|
146
|
-
|
|
159
|
+
contactId: Schema.optionalKey(Schema.Union([ContactId, Schema.Null])),
|
|
160
|
+
email: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
161
|
+
phone: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
147
162
|
groupIds: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
148
163
|
});
|
|
149
164
|
const UnsubscribeCheckSubscription200 = /* @__PURE__ */ Schema.Struct({
|
|
150
|
-
|
|
165
|
+
contactId: Schema.Union([ContactId, Schema.Null]),
|
|
151
166
|
unsubscribedGroups: Schema.Array(Schema.Struct({
|
|
152
167
|
groupId: Schema.String,
|
|
153
168
|
groupName: Schema.String,
|
|
@@ -226,31 +241,33 @@ var UnsubscribeGroupsGroup = class extends HttpApiGroup.make("Unsubscribe Groups
|
|
|
226
241
|
UnsubscribeListMembers500,
|
|
227
242
|
UnsubscribeListMembers504.pipe(HttpApiSchema.status(504))
|
|
228
243
|
]
|
|
229
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.listMembers").annotate(OpenApi.Summary, "List unsubscribe group members").annotate(OpenApi.Description, "Returns the
|
|
230
|
-
params:
|
|
231
|
-
payload:
|
|
232
|
-
success:
|
|
244
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.listMembers").annotate(OpenApi.Summary, "List unsubscribe group members").annotate(OpenApi.Description, "Returns the contacts that have left an unsubscribe group, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page."), HttpApiEndpoint.post("unsubscribeAddMembers", "/v1/unsubscribe-groups/:id/members", {
|
|
245
|
+
params: UnsubscribeAddMembersPathParams,
|
|
246
|
+
payload: UnsubscribeAddMembersRequestJson,
|
|
247
|
+
success: UnsubscribeAddMembers200,
|
|
233
248
|
error: [
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
249
|
+
UnsubscribeAddMembers401.pipe(HttpApiSchema.status(401)),
|
|
250
|
+
UnsubscribeAddMembers402.pipe(HttpApiSchema.status(402)),
|
|
251
|
+
UnsubscribeAddMembers403.pipe(HttpApiSchema.status(403)),
|
|
252
|
+
UnsubscribeAddMembers404.pipe(HttpApiSchema.status(404)),
|
|
253
|
+
UnsubscribeAddMembers422.pipe(HttpApiSchema.status(422)),
|
|
254
|
+
UnsubscribeAddMembers500,
|
|
255
|
+
UnsubscribeAddMembers502.pipe(HttpApiSchema.status(502)),
|
|
256
|
+
UnsubscribeAddMembers504.pipe(HttpApiSchema.status(504))
|
|
240
257
|
]
|
|
241
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.
|
|
242
|
-
params:
|
|
243
|
-
payload:
|
|
244
|
-
success:
|
|
258
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.addMembers").annotate(OpenApi.Summary, "Add contacts to an unsubscribe group").annotate(OpenApi.Description, "Moves contacts out of an unsubscribe group's audience and returns the number added and the number skipped. Leaving a group stops that group's sends to the contact on every channel. Each member is a contact ID, an email address, or a phone number; an address no contact holds gets a new contact, so an import from another email service needs no contacts first."), HttpApiEndpoint.delete("unsubscribeRemoveMembers", "/v1/unsubscribe-groups/:id/members", {
|
|
259
|
+
params: UnsubscribeRemoveMembersPathParams,
|
|
260
|
+
payload: UnsubscribeRemoveMembersRequestJson,
|
|
261
|
+
success: UnsubscribeRemoveMembers200,
|
|
245
262
|
error: [
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
263
|
+
UnsubscribeRemoveMembers401.pipe(HttpApiSchema.status(401)),
|
|
264
|
+
UnsubscribeRemoveMembers403.pipe(HttpApiSchema.status(403)),
|
|
265
|
+
UnsubscribeRemoveMembers404.pipe(HttpApiSchema.status(404)),
|
|
266
|
+
UnsubscribeRemoveMembers422.pipe(HttpApiSchema.status(422)),
|
|
267
|
+
UnsubscribeRemoveMembers500,
|
|
268
|
+
UnsubscribeRemoveMembers504.pipe(HttpApiSchema.status(504))
|
|
252
269
|
]
|
|
253
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.
|
|
270
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.removeMembers").annotate(OpenApi.Summary, "Remove contacts from an unsubscribe group").annotate(OpenApi.Description, "Returns contacts to an unsubscribe group's audience and returns the number removed. Each member is a contact ID, an email address, or a phone number; an address no contact holds is skipped."), HttpApiEndpoint.get("unsubscribeCheckSubscription", "/v1/unsubscribe-groups/check", {
|
|
254
271
|
query: UnsubscribeCheckSubscriptionQuery,
|
|
255
272
|
success: UnsubscribeCheckSubscription200,
|
|
256
273
|
error: [
|
|
@@ -260,8 +277,8 @@ var UnsubscribeGroupsGroup = class extends HttpApiGroup.make("Unsubscribe Groups
|
|
|
260
277
|
UnsubscribeCheckSubscription500,
|
|
261
278
|
UnsubscribeCheckSubscription504.pipe(HttpApiSchema.status(504))
|
|
262
279
|
]
|
|
263
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.checkSubscription").annotate(OpenApi.Summary, "Check unsubscribe group membership").annotate(OpenApi.Description, "Returns the unsubscribe groups
|
|
280
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "unsubscribe.checkSubscription").annotate(OpenApi.Summary, "Check unsubscribe group membership").annotate(OpenApi.Description, "Returns the unsubscribe groups a contact has left, optionally limited to a specified set of groups. Name the contact by exactly one of `contactId`, `email`, or `phone`. Membership belongs to the contact, so the answer is the same whichever identifier names it; `contactId` is null, and no groups are returned, when no contact holds the email or phone.")).annotate(OpenApi.Description, "Manage unsubscribe groups and members") {};
|
|
264
281
|
//#endregion
|
|
265
|
-
export {
|
|
282
|
+
export { UnsubscribeAddMembers200, UnsubscribeAddMembers401, UnsubscribeAddMembers402, UnsubscribeAddMembers403, UnsubscribeAddMembers404, UnsubscribeAddMembers422, UnsubscribeAddMembers500, UnsubscribeAddMembers502, UnsubscribeAddMembers504, UnsubscribeAddMembersPathParams, UnsubscribeAddMembersRequestJson, UnsubscribeCheckSubscription200, UnsubscribeCheckSubscription401, UnsubscribeCheckSubscription403, UnsubscribeCheckSubscription422, UnsubscribeCheckSubscription500, UnsubscribeCheckSubscription504, UnsubscribeCheckSubscriptionQuery, UnsubscribeCreate201, UnsubscribeCreate401, UnsubscribeCreate403, UnsubscribeCreate409, UnsubscribeCreate422, UnsubscribeCreate500, UnsubscribeCreate504, UnsubscribeCreateRequestJson, UnsubscribeGroupList, UnsubscribeGroupMemberByContact, UnsubscribeGroupMemberByEmail, UnsubscribeGroupMemberByPhone, UnsubscribeGroupMemberId, UnsubscribeGroupMemberPage, UnsubscribeGroupMemberRef, UnsubscribeGroupsGroup, UnsubscribeList200, UnsubscribeList401, UnsubscribeList403, UnsubscribeList422, UnsubscribeList500, UnsubscribeList504, UnsubscribeListMembers200, UnsubscribeListMembers401, UnsubscribeListMembers403, UnsubscribeListMembers404, UnsubscribeListMembers422, UnsubscribeListMembers500, UnsubscribeListMembers504, UnsubscribeListMembersPathParams, UnsubscribeListMembersQuery, UnsubscribeRemove200, UnsubscribeRemove401, UnsubscribeRemove403, UnsubscribeRemove404, UnsubscribeRemove409, UnsubscribeRemove422, UnsubscribeRemove500, UnsubscribeRemove504, UnsubscribeRemoveMembers200, UnsubscribeRemoveMembers401, UnsubscribeRemoveMembers403, UnsubscribeRemoveMembers404, UnsubscribeRemoveMembers422, UnsubscribeRemoveMembers500, UnsubscribeRemoveMembers504, UnsubscribeRemoveMembersPathParams, UnsubscribeRemoveMembersRequestJson, UnsubscribeRemovePathParams, UnsubscribeSetDefault200, UnsubscribeSetDefault401, UnsubscribeSetDefault403, UnsubscribeSetDefault404, UnsubscribeSetDefault422, UnsubscribeSetDefault500, UnsubscribeSetDefault504, UnsubscribeSetDefaultPathParams, UnsubscribeUpdate200, UnsubscribeUpdate401, UnsubscribeUpdate403, UnsubscribeUpdate404, UnsubscribeUpdate422, UnsubscribeUpdate500, UnsubscribeUpdate504, UnsubscribeUpdatePathParams, UnsubscribeUpdateRequestJson };
|
|
266
283
|
|
|
267
284
|
//# sourceMappingURL=unsubscribe-groups.js.map
|