samva 0.28.1 → 0.29.1
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/AGENTS.md +8 -0
- package/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +156 -1
- package/dist/client/sdk.gen.js +475 -1
- package/dist/client/types.gen.d.ts +1653 -183
- package/dist/effect/campaigns.d.ts +32 -0
- package/dist/effect/generated/agents.js +36 -36
- package/dist/effect/generated/analytics.js +24 -24
- package/dist/effect/generated/api-keys.js +29 -29
- package/dist/effect/generated/attachments.js +13 -13
- package/dist/effect/generated/brands.js +13 -13
- package/dist/effect/generated/campaigns.d.ts +178 -60
- package/dist/effect/generated/campaigns.js +92 -104
- package/dist/effect/generated/contact-events.js +5 -5
- package/dist/effect/generated/contact-groups.js +38 -38
- package/dist/effect/generated/contacts.js +93 -93
- package/dist/effect/generated/conversations.js +38 -38
- package/dist/effect/generated/custom-fields.js +15 -15
- package/dist/effect/generated/email.js +225 -225
- package/dist/effect/generated/events.js +5 -5
- package/dist/effect/generated/extension-installations.js +35 -35
- package/dist/effect/generated/extensions.js +24 -24
- package/dist/effect/generated/feedback.js +6 -6
- package/dist/effect/generated/index.d.ts +5 -1
- package/dist/effect/generated/journeys.js +67 -67
- package/dist/effect/generated/mailboxes.js +286 -286
- package/dist/effect/generated/media.js +16 -16
- package/dist/effect/generated/messages.js +65 -65
- package/dist/effect/generated/namespaces.js +27 -27
- package/dist/effect/generated/operations.js +6 -6
- package/dist/effect/generated/organizations.js +19 -19
- package/dist/effect/generated/publication-domains.d.ts +548 -0
- package/dist/effect/generated/publication-domains.js +163 -0
- package/dist/effect/generated/scheduled-messages.js +25 -25
- package/dist/effect/generated/shared.d.ts +142 -30
- package/dist/effect/generated/shared.js +356 -328
- package/dist/effect/generated/subscriptions.js +10 -10
- package/dist/effect/generated/templates.d.ts +172 -15
- package/dist/effect/generated/templates.js +207 -162
- package/dist/effect/generated/topic-forms.js +21 -21
- package/dist/effect/generated/topic-issues.d.ts +2995 -0
- package/dist/effect/generated/topic-issues.js +985 -0
- package/dist/effect/generated/topics.d.ts +61 -1
- package/dist/effect/generated/topics.js +39 -31
- package/dist/effect/generated/webhooks.js +50 -50
- package/dist/effect/generated/whoami.js +10 -10
- package/dist/effect/generated-metadata.d.ts +70 -0
- package/dist/effect/generated-metadata.js +57 -13
- package/dist/effect/index.d.ts +2 -0
- package/dist/effect/index.js +3 -1
- package/dist/effect/journeys.d.ts +112 -112
- package/dist/effect/mailboxes.d.ts +78 -78
- package/dist/effect/publication-domains.d.ts +14 -0
- package/dist/effect/publication-domains.js +17 -0
- package/dist/effect/topic-issues.d.ts +57 -0
- package/dist/effect/topic-issues.js +33 -0
- package/dist/effect/topics.d.ts +6 -2
- package/dist/package.js +1 -1
- package/dist/promises/index.d.ts +5 -1
- package/dist/promises/index.js +5 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +74 -0
- package/dist/service-map.js +56 -0
- package/package.json +16 -8
|
@@ -67,6 +67,8 @@ export type Topic = {
|
|
|
67
67
|
readonly defaultSenderId: EmailSenderId | null;
|
|
68
68
|
readonly replyMailboxId: MailboxId | null;
|
|
69
69
|
readonly templateId: TemplateId | null;
|
|
70
|
+
readonly archiveEnabled: boolean;
|
|
71
|
+
readonly publicationSlug: string | null;
|
|
70
72
|
readonly subscriptions: TopicSubscriptionCounts;
|
|
71
73
|
readonly createdAt: string;
|
|
72
74
|
readonly updatedAt: string;
|
|
@@ -81,6 +83,8 @@ export declare const Topic: Schema.Struct<{
|
|
|
81
83
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
82
84
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
83
85
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
86
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
87
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
84
88
|
readonly subscriptions: Schema.Struct<{
|
|
85
89
|
readonly email: Schema.Struct<{
|
|
86
90
|
readonly subscribed: Schema.Finite;
|
|
@@ -121,6 +125,8 @@ export declare const TopicList: Schema.Struct<{
|
|
|
121
125
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
122
126
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
123
127
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
128
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
129
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
124
130
|
readonly subscriptions: Schema.Struct<{
|
|
125
131
|
readonly email: Schema.Struct<{
|
|
126
132
|
readonly subscribed: Schema.Finite;
|
|
@@ -149,6 +155,8 @@ export declare const TopicsList200: Schema.Struct<{
|
|
|
149
155
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
150
156
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
151
157
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
158
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
159
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
152
160
|
readonly subscriptions: Schema.Struct<{
|
|
153
161
|
readonly email: Schema.Struct<{
|
|
154
162
|
readonly subscribed: Schema.Finite;
|
|
@@ -174,6 +182,8 @@ export type TopicsCreateRequestJson = {
|
|
|
174
182
|
readonly description?: string | null | null;
|
|
175
183
|
readonly namespaceId?: NamespaceId | null | null;
|
|
176
184
|
readonly default?: "opt_out" | "opt_in" | null;
|
|
185
|
+
readonly archiveEnabled?: boolean | null;
|
|
186
|
+
readonly publicationSlug?: string | null | null;
|
|
177
187
|
readonly defaultSenderId?: EmailSenderId | null | null;
|
|
178
188
|
readonly replyMailboxId?: MailboxId | null | null;
|
|
179
189
|
readonly templateId?: TemplateId | null | null;
|
|
@@ -183,6 +193,8 @@ export declare const TopicsCreateRequestJson: Schema.Struct<{
|
|
|
183
193
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
184
194
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>, Schema.Null]>>;
|
|
185
195
|
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"opt_out">, Schema.Literal<"opt_in">]>, Schema.Null]>>;
|
|
196
|
+
readonly archiveEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
197
|
+
readonly publicationSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
186
198
|
readonly defaultSenderId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>, Schema.Null]>>;
|
|
187
199
|
readonly replyMailboxId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>, Schema.Null]>>;
|
|
188
200
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>, Schema.Null]>>;
|
|
@@ -198,6 +210,8 @@ export declare const TopicsCreate201: Schema.Struct<{
|
|
|
198
210
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
199
211
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
200
212
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
213
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
214
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
201
215
|
readonly subscriptions: Schema.Struct<{
|
|
202
216
|
readonly email: Schema.Struct<{
|
|
203
217
|
readonly subscribed: Schema.Finite;
|
|
@@ -238,6 +252,8 @@ export declare const TopicsGet200: Schema.Struct<{
|
|
|
238
252
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
239
253
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
240
254
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
255
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
256
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
241
257
|
readonly subscriptions: Schema.Struct<{
|
|
242
258
|
readonly email: Schema.Struct<{
|
|
243
259
|
readonly subscribed: Schema.Finite;
|
|
@@ -295,6 +311,8 @@ export type TopicsUpdateRequestJson = {
|
|
|
295
311
|
readonly name?: string | null;
|
|
296
312
|
readonly description?: string | null | null;
|
|
297
313
|
readonly default?: "opt_out" | "opt_in" | null;
|
|
314
|
+
readonly archiveEnabled?: boolean | null;
|
|
315
|
+
readonly publicationSlug?: string | null | null;
|
|
298
316
|
readonly defaultSenderId?: EmailSenderId | null | null;
|
|
299
317
|
readonly replyMailboxId?: MailboxId | null | null;
|
|
300
318
|
readonly templateId?: TemplateId | null | null;
|
|
@@ -303,6 +321,8 @@ export declare const TopicsUpdateRequestJson: Schema.Struct<{
|
|
|
303
321
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
304
322
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
305
323
|
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"opt_out">, Schema.Literal<"opt_in">]>, Schema.Null]>>;
|
|
324
|
+
readonly archiveEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
325
|
+
readonly publicationSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
306
326
|
readonly defaultSenderId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>, Schema.Null]>>;
|
|
307
327
|
readonly replyMailboxId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>, Schema.Null]>>;
|
|
308
328
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>, Schema.Null]>>;
|
|
@@ -318,6 +338,8 @@ export declare const TopicsUpdate200: Schema.Struct<{
|
|
|
318
338
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
319
339
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
320
340
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
341
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
342
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
321
343
|
readonly subscriptions: Schema.Struct<{
|
|
322
344
|
readonly email: Schema.Struct<{
|
|
323
345
|
readonly subscribed: Schema.Finite;
|
|
@@ -333,6 +355,8 @@ export type TopicsUpdate403 = ForbiddenError;
|
|
|
333
355
|
export declare const TopicsUpdate403: typeof ForbiddenError;
|
|
334
356
|
export type TopicsUpdate404 = ResourceNotFoundError;
|
|
335
357
|
export declare const TopicsUpdate404: typeof ResourceNotFoundError;
|
|
358
|
+
export type TopicsUpdate409 = ConflictError;
|
|
359
|
+
export declare const TopicsUpdate409: typeof ConflictError;
|
|
336
360
|
export type TopicsUpdate422 = ValidationError;
|
|
337
361
|
export declare const TopicsUpdate422: typeof ValidationError;
|
|
338
362
|
export type TopicsUpdate500 = InternalError;
|
|
@@ -356,6 +380,8 @@ export declare const TopicsSetDefault200: Schema.Struct<{
|
|
|
356
380
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
357
381
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
358
382
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
383
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
384
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
359
385
|
readonly subscriptions: Schema.Struct<{
|
|
360
386
|
readonly email: Schema.Struct<{
|
|
361
387
|
readonly subscribed: Schema.Finite;
|
|
@@ -603,6 +629,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
603
629
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
604
630
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>, Schema.Null]>>;
|
|
605
631
|
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"opt_out">, Schema.Literal<"opt_in">]>, Schema.Null]>>;
|
|
632
|
+
readonly archiveEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
633
|
+
readonly publicationSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
606
634
|
readonly defaultSenderId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>, Schema.Null]>>;
|
|
607
635
|
readonly replyMailboxId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>, Schema.Null]>>;
|
|
608
636
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>, Schema.Null]>>;
|
|
@@ -616,6 +644,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
616
644
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
617
645
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
618
646
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
647
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
648
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
619
649
|
readonly subscriptions: Schema.Struct<{
|
|
620
650
|
readonly email: Schema.Struct<{
|
|
621
651
|
readonly subscribed: Schema.Finite;
|
|
@@ -736,6 +766,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
736
766
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
737
767
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
738
768
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
769
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
770
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
739
771
|
readonly subscriptions: Schema.Struct<{
|
|
740
772
|
readonly email: Schema.Struct<{
|
|
741
773
|
readonly subscribed: Schema.Finite;
|
|
@@ -837,6 +869,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
837
869
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
838
870
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
839
871
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
872
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
873
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
840
874
|
readonly subscriptions: Schema.Struct<{
|
|
841
875
|
readonly email: Schema.Struct<{
|
|
842
876
|
readonly subscribed: Schema.Finite;
|
|
@@ -1121,6 +1155,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
1121
1155
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
1122
1156
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
1123
1157
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
1158
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
1159
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1124
1160
|
readonly subscriptions: Schema.Struct<{
|
|
1125
1161
|
readonly email: Schema.Struct<{
|
|
1126
1162
|
readonly subscribed: Schema.Finite;
|
|
@@ -1346,6 +1382,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
1346
1382
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1347
1383
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
1348
1384
|
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"opt_out">, Schema.Literal<"opt_in">]>, Schema.Null]>>;
|
|
1385
|
+
readonly archiveEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1386
|
+
readonly publicationSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
1349
1387
|
readonly defaultSenderId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>, Schema.Null]>>;
|
|
1350
1388
|
readonly replyMailboxId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>, Schema.Null]>>;
|
|
1351
1389
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>, Schema.Null]>>;
|
|
@@ -1359,6 +1397,8 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
1359
1397
|
readonly defaultSenderId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailSenderId">, Schema.Null]>;
|
|
1360
1398
|
readonly replyMailboxId: Schema.Union<readonly [Schema.brand<Schema.String, "MailboxId">, Schema.Null]>;
|
|
1361
1399
|
readonly templateId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>;
|
|
1400
|
+
readonly archiveEnabled: Schema.Boolean;
|
|
1401
|
+
readonly publicationSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1362
1402
|
readonly subscriptions: Schema.Struct<{
|
|
1363
1403
|
readonly email: Schema.Struct<{
|
|
1364
1404
|
readonly subscribed: Schema.Finite;
|
|
@@ -1367,7 +1407,27 @@ declare const TopicsGroup_base: HttpApiGroup.HttpApiGroup<"Topics", HttpApiEndpo
|
|
|
1367
1407
|
}>;
|
|
1368
1408
|
readonly createdAt: Schema.String;
|
|
1369
1409
|
readonly updatedAt: Schema.String;
|
|
1370
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<
|
|
1410
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
1411
|
+
readonly _tag: "ConflictError";
|
|
1412
|
+
readonly message: string;
|
|
1413
|
+
readonly resource: string;
|
|
1414
|
+
readonly id?: string | null;
|
|
1415
|
+
}, readonly [Schema.Struct<{
|
|
1416
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
1417
|
+
readonly message: Schema.String;
|
|
1418
|
+
readonly resource: Schema.String;
|
|
1419
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1420
|
+
}>], {
|
|
1421
|
+
readonly _tag: "ConflictError";
|
|
1422
|
+
readonly message: string;
|
|
1423
|
+
readonly resource: string;
|
|
1424
|
+
readonly id?: string | null;
|
|
1425
|
+
}>, Schema.Struct<{
|
|
1426
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
1427
|
+
readonly message: Schema.String;
|
|
1428
|
+
readonly resource: Schema.String;
|
|
1429
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1430
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
1371
1431
|
readonly _tag: "ForbiddenError";
|
|
1372
1432
|
readonly message: string;
|
|
1373
1433
|
}, readonly [Schema.Struct<{
|
|
@@ -2,12 +2,12 @@ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactI
|
|
|
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/topics.ts
|
|
5
|
-
const TopicSubscriptionCounts = /* @__PURE__ */ Schema.Struct({ email: Schema.Struct({
|
|
5
|
+
const TopicSubscriptionCounts = /* @__PURE__ */ (() => Schema.Struct({ email: Schema.Struct({
|
|
6
6
|
subscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
7
7
|
unsubscribed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
8
|
-
}) }).annotate({ identifier: "TopicSubscriptionCounts" });
|
|
9
|
-
const TopicSetSubscriptionsResult = /* @__PURE__ */ Schema.Struct({ updated: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }).annotate({ identifier: "TopicSetSubscriptionsResult" });
|
|
10
|
-
const TopicSubscription = /* @__PURE__ */ Schema.Struct({
|
|
8
|
+
}) }).annotate({ identifier: "TopicSubscriptionCounts" }))();
|
|
9
|
+
const TopicSetSubscriptionsResult = /* @__PURE__ */ (() => Schema.Struct({ updated: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }).annotate({ identifier: "TopicSetSubscriptionsResult" }))();
|
|
10
|
+
const TopicSubscription = /* @__PURE__ */ (() => Schema.Struct({
|
|
11
11
|
contactId: ContactId,
|
|
12
12
|
channel: Schema.Literal("email"),
|
|
13
13
|
status: Schema.Union([Schema.Literal("subscribed"), Schema.Literal("unsubscribed")]),
|
|
@@ -16,8 +16,8 @@ const TopicSubscription = /* @__PURE__ */ Schema.Struct({
|
|
|
16
16
|
unsubscribedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
17
17
|
createdAt: Schema.String,
|
|
18
18
|
updatedAt: Schema.String
|
|
19
|
-
}).annotate({ identifier: "TopicSubscription" });
|
|
20
|
-
const TopicSubscriptionCheck = /* @__PURE__ */ Schema.Struct({
|
|
19
|
+
}).annotate({ identifier: "TopicSubscription" }))();
|
|
20
|
+
const TopicSubscriptionCheck = /* @__PURE__ */ (() => Schema.Struct({
|
|
21
21
|
contactId: Schema.Union([ContactId, Schema.Null]),
|
|
22
22
|
channel: Schema.Literal("email"),
|
|
23
23
|
topics: Schema.Array(Schema.Struct({
|
|
@@ -25,8 +25,8 @@ const TopicSubscriptionCheck = /* @__PURE__ */ Schema.Struct({
|
|
|
25
25
|
topicName: Schema.String,
|
|
26
26
|
status: Schema.Union([Schema.Literal("subscribed"), Schema.Literal("unsubscribed")])
|
|
27
27
|
}))
|
|
28
|
-
}).annotate({ identifier: "TopicSubscriptionCheck" });
|
|
29
|
-
const Topic = /* @__PURE__ */ Schema.Struct({
|
|
28
|
+
}).annotate({ identifier: "TopicSubscriptionCheck" }))();
|
|
29
|
+
const Topic = /* @__PURE__ */ (() => Schema.Struct({
|
|
30
30
|
id: TopicId,
|
|
31
31
|
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
32
32
|
name: Schema.String,
|
|
@@ -36,31 +36,35 @@ const Topic = /* @__PURE__ */ Schema.Struct({
|
|
|
36
36
|
defaultSenderId: Schema.Union([EmailSenderId, Schema.Null]),
|
|
37
37
|
replyMailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
38
38
|
templateId: Schema.Union([TemplateId, Schema.Null]),
|
|
39
|
+
archiveEnabled: Schema.Boolean,
|
|
40
|
+
publicationSlug: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$" })), Schema.Null]),
|
|
39
41
|
subscriptions: TopicSubscriptionCounts,
|
|
40
42
|
createdAt: Schema.String,
|
|
41
43
|
updatedAt: Schema.String
|
|
42
|
-
}).annotate({ identifier: "Topic" });
|
|
43
|
-
const TopicSubscriptionPage = /* @__PURE__ */ Schema.Struct({
|
|
44
|
+
}).annotate({ identifier: "Topic" }))();
|
|
45
|
+
const TopicSubscriptionPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
44
46
|
items: Schema.Array(TopicSubscription),
|
|
45
47
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
46
|
-
}).annotate({ identifier: "TopicSubscriptionPage" });
|
|
47
|
-
const TopicList = /* @__PURE__ */ Schema.Struct({ items: Schema.Array(Topic).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })) }).annotate({ identifier: "TopicList" });
|
|
48
|
-
const TopicsListQuery = /* @__PURE__ */ Schema.Struct({ namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])) });
|
|
48
|
+
}).annotate({ identifier: "TopicSubscriptionPage" }))();
|
|
49
|
+
const TopicList = /* @__PURE__ */ (() => Schema.Struct({ items: Schema.Array(Topic).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })) }).annotate({ identifier: "TopicList" }))();
|
|
50
|
+
const TopicsListQuery = /* @__PURE__ */ (() => Schema.Struct({ namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])) }))();
|
|
49
51
|
const TopicsList200 = TopicList;
|
|
50
52
|
const TopicsList401 = UnauthorizedError;
|
|
51
53
|
const TopicsList403 = ForbiddenError;
|
|
52
54
|
const TopicsList422 = ValidationError;
|
|
53
55
|
const TopicsList500 = InternalError;
|
|
54
56
|
const TopicsList504 = GatewayTimeoutError;
|
|
55
|
-
const TopicsCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
57
|
+
const TopicsCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
56
58
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
57
59
|
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
58
60
|
namespaceId: Schema.optionalKey(Schema.Union([Schema.Union([NamespaceId, Schema.Null]), Schema.Null])),
|
|
59
61
|
default: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("opt_out"), Schema.Literal("opt_in")]), Schema.Null])),
|
|
62
|
+
archiveEnabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
63
|
+
publicationSlug: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$" })), Schema.Null]), Schema.Null])),
|
|
60
64
|
defaultSenderId: Schema.optionalKey(Schema.Union([Schema.Union([EmailSenderId, Schema.Null]), Schema.Null])),
|
|
61
65
|
replyMailboxId: Schema.optionalKey(Schema.Union([Schema.Union([MailboxId, Schema.Null]), Schema.Null])),
|
|
62
66
|
templateId: Schema.optionalKey(Schema.Union([Schema.Union([TemplateId, Schema.Null]), Schema.Null]))
|
|
63
|
-
});
|
|
67
|
+
}))();
|
|
64
68
|
const TopicsCreate201 = Topic;
|
|
65
69
|
const TopicsCreate401 = UnauthorizedError;
|
|
66
70
|
const TopicsCreate403 = ForbiddenError;
|
|
@@ -69,7 +73,7 @@ const TopicsCreate409 = ConflictError;
|
|
|
69
73
|
const TopicsCreate422 = ValidationError;
|
|
70
74
|
const TopicsCreate500 = InternalError;
|
|
71
75
|
const TopicsCreate504 = GatewayTimeoutError;
|
|
72
|
-
const TopicsGetPathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
76
|
+
const TopicsGetPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
73
77
|
const TopicsGet200 = Topic;
|
|
74
78
|
const TopicsGet401 = UnauthorizedError;
|
|
75
79
|
const TopicsGet403 = ForbiddenError;
|
|
@@ -77,8 +81,8 @@ const TopicsGet404 = ResourceNotFoundError;
|
|
|
77
81
|
const TopicsGet422 = ValidationError;
|
|
78
82
|
const TopicsGet500 = InternalError;
|
|
79
83
|
const TopicsGet504 = GatewayTimeoutError;
|
|
80
|
-
const TopicsRemovePathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
81
|
-
const TopicsRemove200 = /* @__PURE__ */ Schema.Struct({ success: Schema.Boolean });
|
|
84
|
+
const TopicsRemovePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
85
|
+
const TopicsRemove200 = /* @__PURE__ */ (() => Schema.Struct({ success: Schema.Boolean }))();
|
|
82
86
|
const TopicsRemove401 = UnauthorizedError;
|
|
83
87
|
const TopicsRemove403 = ForbiddenError;
|
|
84
88
|
const TopicsRemove404 = ResourceNotFoundError;
|
|
@@ -86,23 +90,26 @@ const TopicsRemove409 = ConflictError;
|
|
|
86
90
|
const TopicsRemove422 = ValidationError;
|
|
87
91
|
const TopicsRemove500 = InternalError;
|
|
88
92
|
const TopicsRemove504 = GatewayTimeoutError;
|
|
89
|
-
const TopicsUpdatePathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
90
|
-
const TopicsUpdateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
93
|
+
const TopicsUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
94
|
+
const TopicsUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
91
95
|
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
92
96
|
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
93
97
|
default: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("opt_out"), Schema.Literal("opt_in")]), Schema.Null])),
|
|
98
|
+
archiveEnabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
99
|
+
publicationSlug: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$" })), Schema.Null]), Schema.Null])),
|
|
94
100
|
defaultSenderId: Schema.optionalKey(Schema.Union([Schema.Union([EmailSenderId, Schema.Null]), Schema.Null])),
|
|
95
101
|
replyMailboxId: Schema.optionalKey(Schema.Union([Schema.Union([MailboxId, Schema.Null]), Schema.Null])),
|
|
96
102
|
templateId: Schema.optionalKey(Schema.Union([Schema.Union([TemplateId, Schema.Null]), Schema.Null]))
|
|
97
|
-
});
|
|
103
|
+
}))();
|
|
98
104
|
const TopicsUpdate200 = Topic;
|
|
99
105
|
const TopicsUpdate401 = UnauthorizedError;
|
|
100
106
|
const TopicsUpdate403 = ForbiddenError;
|
|
101
107
|
const TopicsUpdate404 = ResourceNotFoundError;
|
|
108
|
+
const TopicsUpdate409 = ConflictError;
|
|
102
109
|
const TopicsUpdate422 = ValidationError;
|
|
103
110
|
const TopicsUpdate500 = InternalError;
|
|
104
111
|
const TopicsUpdate504 = GatewayTimeoutError;
|
|
105
|
-
const TopicsSetDefaultPathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
112
|
+
const TopicsSetDefaultPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
106
113
|
const TopicsSetDefault200 = Topic;
|
|
107
114
|
const TopicsSetDefault401 = UnauthorizedError;
|
|
108
115
|
const TopicsSetDefault403 = ForbiddenError;
|
|
@@ -110,13 +117,13 @@ const TopicsSetDefault404 = ResourceNotFoundError;
|
|
|
110
117
|
const TopicsSetDefault422 = ValidationError;
|
|
111
118
|
const TopicsSetDefault500 = InternalError;
|
|
112
119
|
const TopicsSetDefault504 = GatewayTimeoutError;
|
|
113
|
-
const TopicsListSubscriptionsPathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
114
|
-
const TopicsListSubscriptionsQuery = /* @__PURE__ */ Schema.Struct({
|
|
120
|
+
const TopicsListSubscriptionsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
121
|
+
const TopicsListSubscriptionsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
115
122
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
116
123
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
117
124
|
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null])),
|
|
118
125
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("subscribed"), Schema.Literal("unsubscribed")]), Schema.Null]))
|
|
119
|
-
});
|
|
126
|
+
}))();
|
|
120
127
|
const TopicsListSubscriptions200 = TopicSubscriptionPage;
|
|
121
128
|
const TopicsListSubscriptions401 = UnauthorizedError;
|
|
122
129
|
const TopicsListSubscriptions403 = ForbiddenError;
|
|
@@ -124,13 +131,13 @@ const TopicsListSubscriptions404 = ResourceNotFoundError;
|
|
|
124
131
|
const TopicsListSubscriptions422 = ValidationError;
|
|
125
132
|
const TopicsListSubscriptions500 = InternalError;
|
|
126
133
|
const TopicsListSubscriptions504 = GatewayTimeoutError;
|
|
127
|
-
const TopicsSetSubscriptionsPathParams = /* @__PURE__ */ Schema.Struct({ id: TopicId });
|
|
128
|
-
const TopicsSetSubscriptionsRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
134
|
+
const TopicsSetSubscriptionsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
135
|
+
const TopicsSetSubscriptionsRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
129
136
|
contacts: Schema.Array(TopicContactRef).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })),
|
|
130
137
|
channel: Schema.Literal("email"),
|
|
131
138
|
status: Schema.Union([Schema.Literal("subscribed"), Schema.Literal("unsubscribed")]),
|
|
132
139
|
source: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null]))
|
|
133
|
-
});
|
|
140
|
+
}))();
|
|
134
141
|
const TopicsSetSubscriptions200 = TopicSetSubscriptionsResult;
|
|
135
142
|
const TopicsSetSubscriptions401 = UnauthorizedError;
|
|
136
143
|
const TopicsSetSubscriptions402 = PaymentRequiredError;
|
|
@@ -140,14 +147,14 @@ const TopicsSetSubscriptions422 = ValidationError;
|
|
|
140
147
|
const TopicsSetSubscriptions500 = InternalError;
|
|
141
148
|
const TopicsSetSubscriptions502 = BillingProviderError;
|
|
142
149
|
const TopicsSetSubscriptions504 = GatewayTimeoutError;
|
|
143
|
-
const TopicsCheckSubscriptionQuery = /* @__PURE__ */ Schema.Struct({
|
|
150
|
+
const TopicsCheckSubscriptionQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
144
151
|
contactId: Schema.optionalKey(Schema.Union([ContactId, Schema.Null])),
|
|
145
152
|
email: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
146
153
|
phone: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
147
154
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
148
155
|
channel: Schema.Literal("email"),
|
|
149
156
|
topicIds: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
150
|
-
});
|
|
157
|
+
}))();
|
|
151
158
|
const TopicsCheckSubscription200 = TopicSubscriptionCheck;
|
|
152
159
|
const TopicsCheckSubscription401 = UnauthorizedError;
|
|
153
160
|
const TopicsCheckSubscription403 = ForbiddenError;
|
|
@@ -208,6 +215,7 @@ var TopicsGroup = class extends HttpApiGroup.make("Topics").add(HttpApiEndpoint.
|
|
|
208
215
|
TopicsUpdate401.pipe(HttpApiSchema.status(401)),
|
|
209
216
|
TopicsUpdate403.pipe(HttpApiSchema.status(403)),
|
|
210
217
|
TopicsUpdate404.pipe(HttpApiSchema.status(404)),
|
|
218
|
+
TopicsUpdate409.pipe(HttpApiSchema.status(409)),
|
|
211
219
|
TopicsUpdate422.pipe(HttpApiSchema.status(422)),
|
|
212
220
|
TopicsUpdate500,
|
|
213
221
|
TopicsUpdate504.pipe(HttpApiSchema.status(504))
|
|
@@ -262,6 +270,6 @@ var TopicsGroup = class extends HttpApiGroup.make("Topics").add(HttpApiEndpoint.
|
|
|
262
270
|
]
|
|
263
271
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topics.checkSubscription").annotate(OpenApi.Summary, "Check topic subscriptions").annotate(OpenApi.Description, "Name exactly one contactId, email, or phone and a channel. Returns effective status, using the topic default when no explicit subscription exists. topicIds is an optional comma-separated list. Addresses resolve within the requested namespace; an unknown address returns contactId null and the effective defaults.")).annotate(OpenApi.Description, "Topics and per-channel contact subscriptions") {};
|
|
264
272
|
//#endregion
|
|
265
|
-
export { Topic, TopicList, TopicSetSubscriptionsResult, TopicSubscription, TopicSubscriptionCheck, TopicSubscriptionCounts, TopicSubscriptionPage, TopicsCheckSubscription200, TopicsCheckSubscription401, TopicsCheckSubscription403, TopicsCheckSubscription404, TopicsCheckSubscription422, TopicsCheckSubscription500, TopicsCheckSubscription504, TopicsCheckSubscriptionQuery, TopicsCreate201, TopicsCreate401, TopicsCreate403, TopicsCreate404, TopicsCreate409, TopicsCreate422, TopicsCreate500, TopicsCreate504, TopicsCreateRequestJson, TopicsGet200, TopicsGet401, TopicsGet403, TopicsGet404, TopicsGet422, TopicsGet500, TopicsGet504, TopicsGetPathParams, TopicsGroup, TopicsList200, TopicsList401, TopicsList403, TopicsList422, TopicsList500, TopicsList504, TopicsListQuery, TopicsListSubscriptions200, TopicsListSubscriptions401, TopicsListSubscriptions403, TopicsListSubscriptions404, TopicsListSubscriptions422, TopicsListSubscriptions500, TopicsListSubscriptions504, TopicsListSubscriptionsPathParams, TopicsListSubscriptionsQuery, TopicsRemove200, TopicsRemove401, TopicsRemove403, TopicsRemove404, TopicsRemove409, TopicsRemove422, TopicsRemove500, TopicsRemove504, TopicsRemovePathParams, TopicsSetDefault200, TopicsSetDefault401, TopicsSetDefault403, TopicsSetDefault404, TopicsSetDefault422, TopicsSetDefault500, TopicsSetDefault504, TopicsSetDefaultPathParams, TopicsSetSubscriptions200, TopicsSetSubscriptions401, TopicsSetSubscriptions402, TopicsSetSubscriptions403, TopicsSetSubscriptions404, TopicsSetSubscriptions422, TopicsSetSubscriptions500, TopicsSetSubscriptions502, TopicsSetSubscriptions504, TopicsSetSubscriptionsPathParams, TopicsSetSubscriptionsRequestJson, TopicsUpdate200, TopicsUpdate401, TopicsUpdate403, TopicsUpdate404, TopicsUpdate422, TopicsUpdate500, TopicsUpdate504, TopicsUpdatePathParams, TopicsUpdateRequestJson };
|
|
273
|
+
export { Topic, TopicList, TopicSetSubscriptionsResult, TopicSubscription, TopicSubscriptionCheck, TopicSubscriptionCounts, TopicSubscriptionPage, TopicsCheckSubscription200, TopicsCheckSubscription401, TopicsCheckSubscription403, TopicsCheckSubscription404, TopicsCheckSubscription422, TopicsCheckSubscription500, TopicsCheckSubscription504, TopicsCheckSubscriptionQuery, TopicsCreate201, TopicsCreate401, TopicsCreate403, TopicsCreate404, TopicsCreate409, TopicsCreate422, TopicsCreate500, TopicsCreate504, TopicsCreateRequestJson, TopicsGet200, TopicsGet401, TopicsGet403, TopicsGet404, TopicsGet422, TopicsGet500, TopicsGet504, TopicsGetPathParams, TopicsGroup, TopicsList200, TopicsList401, TopicsList403, TopicsList422, TopicsList500, TopicsList504, TopicsListQuery, TopicsListSubscriptions200, TopicsListSubscriptions401, TopicsListSubscriptions403, TopicsListSubscriptions404, TopicsListSubscriptions422, TopicsListSubscriptions500, TopicsListSubscriptions504, TopicsListSubscriptionsPathParams, TopicsListSubscriptionsQuery, TopicsRemove200, TopicsRemove401, TopicsRemove403, TopicsRemove404, TopicsRemove409, TopicsRemove422, TopicsRemove500, TopicsRemove504, TopicsRemovePathParams, TopicsSetDefault200, TopicsSetDefault401, TopicsSetDefault403, TopicsSetDefault404, TopicsSetDefault422, TopicsSetDefault500, TopicsSetDefault504, TopicsSetDefaultPathParams, TopicsSetSubscriptions200, TopicsSetSubscriptions401, TopicsSetSubscriptions402, TopicsSetSubscriptions403, TopicsSetSubscriptions404, TopicsSetSubscriptions422, TopicsSetSubscriptions500, TopicsSetSubscriptions502, TopicsSetSubscriptions504, TopicsSetSubscriptionsPathParams, TopicsSetSubscriptionsRequestJson, TopicsUpdate200, TopicsUpdate401, TopicsUpdate403, TopicsUpdate404, TopicsUpdate409, TopicsUpdate422, TopicsUpdate500, TopicsUpdate504, TopicsUpdatePathParams, TopicsUpdateRequestJson };
|
|
266
274
|
|
|
267
275
|
//# sourceMappingURL=topics.js.map
|