samva 0.35.0 → 0.36.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/AGENTS.md +17 -0
- package/README.md +1 -0
- package/dist/client/sdk.gen.d.ts +102 -82
- package/dist/client/sdk.gen.js +322 -244
- package/dist/client/types.gen.d.ts +600 -378
- package/dist/effect/agents.d.ts +194 -4
- package/dist/effect/agents.js +3 -1
- package/dist/effect/analytics.d.ts +6 -0
- package/dist/effect/api-keys.d.ts +3 -6
- package/dist/effect/campaigns.d.ts +216 -216
- package/dist/effect/conversations.d.ts +6 -0
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +53 -1
- package/dist/effect/generated/agents.d.ts +1803 -81
- package/dist/effect/generated/agents.js +92 -26
- package/dist/effect/generated/analytics.d.ts +19 -1
- package/dist/effect/generated/analytics.js +8 -2
- package/dist/effect/generated/api-keys.d.ts +4 -29
- package/dist/effect/generated/api-keys.js +5 -6
- package/dist/effect/generated/campaigns.d.ts +22 -0
- package/dist/effect/generated/campaigns.js +3 -1
- package/dist/effect/generated/conversations.d.ts +104 -3
- package/dist/effect/generated/conversations.js +12 -2
- package/dist/effect/generated/extension-installations.d.ts +845 -68
- package/dist/effect/generated/extension-installations.js +22 -26
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/mailboxes.d.ts +3423 -1446
- package/dist/effect/generated/mailboxes.js +226 -220
- package/dist/effect/generated/namespaces.d.ts +7 -31
- package/dist/effect/generated/namespaces.js +4 -4
- package/dist/effect/generated/policies.d.ts +953 -0
- package/dist/effect/generated/policies.js +116 -0
- package/dist/effect/generated/scheduled-messages.d.ts +45 -4
- package/dist/effect/generated/scheduled-messages.js +8 -3
- package/dist/effect/generated/shared.d.ts +893 -224
- package/dist/effect/generated/shared.js +194 -60
- package/dist/effect/generated/templates.d.ts +474 -668
- package/dist/effect/generated/templates.js +65 -45
- package/dist/effect/generated/webhooks.d.ts +22 -19
- package/dist/effect/generated/webhooks.js +10 -1
- package/dist/effect/generated/whoami.d.ts +0 -4
- package/dist/effect/generated-metadata.d.ts +36 -32
- package/dist/effect/generated-metadata.js +127 -105
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -2
- package/dist/effect/internal/operation.js +5 -32
- package/dist/effect/journeys.d.ts +146 -146
- package/dist/effect/mailboxes.d.ts +575 -129
- package/dist/effect/mailboxes.js +1 -11
- package/dist/effect/policies.d.ts +65 -0
- package/dist/effect/policies.js +16 -0
- package/dist/effect/scheduled-messages.d.ts +6 -0
- package/dist/effect/templates.d.ts +6 -8
- package/dist/effect/templates.js +5 -3
- package/dist/effect/topics.d.ts +2 -2
- package/dist/effect/webhooks.d.ts +7 -4
- package/dist/index.js +2 -2
- package/dist/mailbox/test.js +11 -4
- package/dist/mailbox/types.d.ts +39 -3
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +3 -1
- package/dist/promises/client.js +5 -3
- package/dist/promises/errors.gen.d.ts +18 -2
- package/dist/promises/errors.gen.js +335 -33
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +30 -28
- package/dist/service-map.js +219 -786
- package/package.json +6 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError,
|
|
3
|
+
import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError, __SamvaRuntimeSensitiveString } from "./shared";
|
|
4
4
|
export type ApiKeyOwner = {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly name: string;
|
|
@@ -33,12 +33,6 @@ export declare const ApiKeyActivityPage: Schema.Struct<{
|
|
|
33
33
|
}>>;
|
|
34
34
|
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
35
35
|
}>;
|
|
36
|
-
export type ApiKeyMailboxAccessUpdate = {
|
|
37
|
-
readonly sendMode: MailboxSendMode;
|
|
38
|
-
};
|
|
39
|
-
export declare const ApiKeyMailboxAccessUpdate: Schema.Struct<{
|
|
40
|
-
readonly sendMode: Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>;
|
|
41
|
-
}>;
|
|
42
36
|
export type ApiKey = {
|
|
43
37
|
readonly id: string;
|
|
44
38
|
readonly name: string;
|
|
@@ -89,7 +83,6 @@ export declare const ApiKey: Schema.Struct<{
|
|
|
89
83
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
90
84
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
91
85
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
92
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
93
86
|
}>, Schema.Null]>>;
|
|
94
87
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
95
88
|
}>]>;
|
|
@@ -149,7 +142,6 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
|
|
|
149
142
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
150
143
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
151
144
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
152
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
153
145
|
}>, Schema.Null]>>;
|
|
154
146
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
155
147
|
}>]>;
|
|
@@ -200,7 +192,6 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
200
192
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
201
193
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
202
194
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
203
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
204
195
|
}>, Schema.Null]>>;
|
|
205
196
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
206
197
|
}>]>;
|
|
@@ -215,12 +206,14 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
215
206
|
export type ApiKeysListQuery = {
|
|
216
207
|
readonly limit?: number | null;
|
|
217
208
|
readonly cursor?: string;
|
|
209
|
+
readonly namespaceId?: NamespaceId;
|
|
218
210
|
readonly status?: "active" | "revoked";
|
|
219
211
|
readonly search?: string;
|
|
220
212
|
};
|
|
221
213
|
export declare const ApiKeysListQuery: Schema.Struct<{
|
|
222
214
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
223
215
|
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
216
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
224
217
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"revoked">]>>;
|
|
225
218
|
readonly search: Schema.optionalKey<Schema.String>;
|
|
226
219
|
}>;
|
|
@@ -262,7 +255,6 @@ export declare const ApiKeysList200: Schema.Struct<{
|
|
|
262
255
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
263
256
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
264
257
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
265
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
266
258
|
}>, Schema.Null]>>;
|
|
267
259
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
268
260
|
}>]>;
|
|
@@ -321,7 +313,6 @@ export declare const ApiKeysCreateRequestJson: Schema.Struct<{
|
|
|
321
313
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
322
314
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
323
315
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
324
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
325
316
|
}>, Schema.Null]>>;
|
|
326
317
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
327
318
|
}>]>, Schema.Null]>>;
|
|
@@ -363,7 +354,6 @@ export declare const ApiKeysCreate201: Schema.Struct<{
|
|
|
363
354
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
364
355
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
365
356
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
366
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
367
357
|
}>, Schema.Null]>>;
|
|
368
358
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
369
359
|
}>]>;
|
|
@@ -436,7 +426,6 @@ export declare const ApiKeysGet200: Schema.Struct<{
|
|
|
436
426
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
437
427
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
438
428
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
439
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
440
429
|
}>, Schema.Null]>>;
|
|
441
430
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
442
431
|
}>]>;
|
|
@@ -469,14 +458,10 @@ export declare const ApiKeysUpdatePathParams: Schema.Struct<{
|
|
|
469
458
|
export type ApiKeysUpdateRequestJson = {
|
|
470
459
|
readonly name?: string | null;
|
|
471
460
|
readonly description?: string | null;
|
|
472
|
-
readonly mailboxes?: ApiKeyMailboxAccessUpdate | null;
|
|
473
461
|
};
|
|
474
462
|
export declare const ApiKeysUpdateRequestJson: Schema.Struct<{
|
|
475
463
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
476
464
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
477
|
-
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
478
|
-
readonly sendMode: Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>;
|
|
479
|
-
}>, Schema.Null]>>;
|
|
480
465
|
}>;
|
|
481
466
|
export type ApiKeysUpdate200 = ApiKey;
|
|
482
467
|
export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
@@ -515,7 +500,6 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
|
515
500
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
516
501
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
517
502
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
518
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
519
503
|
}>, Schema.Null]>>;
|
|
520
504
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
521
505
|
}>]>;
|
|
@@ -648,7 +632,6 @@ export declare const ApiKeysRotate200: Schema.Struct<{
|
|
|
648
632
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
649
633
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
650
634
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
651
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
652
635
|
}>, Schema.Null]>>;
|
|
653
636
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
654
637
|
}>]>;
|
|
@@ -747,7 +730,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
747
730
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
748
731
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
749
732
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
750
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
751
733
|
}>, Schema.Null]>>;
|
|
752
734
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
753
735
|
}>]>, Schema.Null]>>;
|
|
@@ -787,7 +769,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
787
769
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
788
770
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
789
771
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
790
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
791
772
|
}>, Schema.Null]>>;
|
|
792
773
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
793
774
|
}>]>;
|
|
@@ -986,7 +967,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
986
967
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
987
968
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
988
969
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
989
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
990
970
|
}>, Schema.Null]>>;
|
|
991
971
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
992
972
|
}>]>;
|
|
@@ -1326,6 +1306,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1326
1306
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeysList", "GET", "/v1/api-keys", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1327
1307
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1328
1308
|
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
1309
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
1329
1310
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"revoked">]>>;
|
|
1330
1311
|
readonly search: Schema.optionalKey<Schema.String>;
|
|
1331
1312
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -1365,7 +1346,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1365
1346
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1366
1347
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
1367
1348
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
1368
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
1369
1349
|
}>, Schema.Null]>>;
|
|
1370
1350
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1371
1351
|
}>]>;
|
|
@@ -1610,7 +1590,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1610
1590
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1611
1591
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
1612
1592
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
1613
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
1614
1593
|
}>, Schema.Null]>>;
|
|
1615
1594
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1616
1595
|
}>]>;
|
|
@@ -1724,9 +1703,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1724
1703
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1725
1704
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1726
1705
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1727
|
-
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1728
|
-
readonly sendMode: Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>;
|
|
1729
|
-
}>, Schema.Null]>>;
|
|
1730
1706
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1731
1707
|
readonly id: Schema.String;
|
|
1732
1708
|
readonly name: Schema.String;
|
|
@@ -1763,7 +1739,6 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1763
1739
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1764
1740
|
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
1765
1741
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
1766
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
1767
1742
|
}>, Schema.Null]>>;
|
|
1768
1743
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1769
1744
|
}>]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SensitiveString } from "../runtime.js";
|
|
2
|
-
import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError,
|
|
2
|
+
import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError } from "./shared.js";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
4
4
|
import * as Schema from "effect/Schema";
|
|
5
5
|
// src/effect/generated/api-keys.ts
|
|
@@ -19,7 +19,6 @@ const ApiKeyActivityPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
19
19
|
})),
|
|
20
20
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
21
21
|
}).annotate({ identifier: "ApiKeyActivityPage" }))();
|
|
22
|
-
const ApiKeyMailboxAccessUpdate = /* @__PURE__ */ (() => Schema.Struct({ sendMode: MailboxSendMode }).annotate({ identifier: "ApiKeyMailboxAccessUpdate" }))();
|
|
23
22
|
const ApiKey = /* @__PURE__ */ (() => Schema.Struct({
|
|
24
23
|
id: Schema.String,
|
|
25
24
|
name: Schema.String,
|
|
@@ -55,6 +54,7 @@ const ApiKeyPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
55
54
|
const ApiKeysListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
56
55
|
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])),
|
|
57
56
|
cursor: Schema.optionalKey(Schema.String),
|
|
57
|
+
namespaceId: Schema.optionalKey(NamespaceId),
|
|
58
58
|
status: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("revoked")])),
|
|
59
59
|
search: Schema.optionalKey(Schema.String)
|
|
60
60
|
}))();
|
|
@@ -94,8 +94,7 @@ const ApiKeysGet504 = GatewayTimeoutError;
|
|
|
94
94
|
const ApiKeysUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: ApiKeyId }))();
|
|
95
95
|
const ApiKeysUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
96
96
|
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(32).annotate({ expected: "a string with at most 32 code points" })).check(Schema.isMaxLength(32).annotate({ expected: "a value with a length of at most 32" })), Schema.Null])),
|
|
97
|
-
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
98
|
-
mailboxes: Schema.optionalKey(Schema.Union([ApiKeyMailboxAccessUpdate, Schema.Null]).annotate({ description: "Changes the mailbox send mode of a key that holds mailbox access. Only a person can change it; the change applies to the key's next request." }))
|
|
97
|
+
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
99
98
|
}))();
|
|
100
99
|
const ApiKeysUpdate200 = ApiKey;
|
|
101
100
|
const ApiKeysUpdate400 = MalformedRequestError;
|
|
@@ -169,7 +168,7 @@ var APIKeysGroup = class extends HttpApiGroup.make("API Keys").add(HttpApiEndpoi
|
|
|
169
168
|
ApiKeysList500,
|
|
170
169
|
ApiKeysList504.pipe(HttpApiSchema.status(504))
|
|
171
170
|
]
|
|
172
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "apiKeys.list").annotate(OpenApi.Summary, "List API keys").annotate(OpenApi.Description, "Returns the organization's API keys, newest first, filterable by status and a search term matched against name and description. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page."), HttpApiEndpoint.post("apiKeysCreate", "/v1/api-keys", {
|
|
171
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "apiKeys.list").annotate(OpenApi.Summary, "List API keys").annotate(OpenApi.Description, "Returns the organization's API keys, newest first, filterable by namespace (`namespaceId`), status and a search term matched against name and description. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page."), HttpApiEndpoint.post("apiKeysCreate", "/v1/api-keys", {
|
|
173
172
|
payload: ApiKeysCreateRequestJson,
|
|
174
173
|
success: ApiKeysCreate201.pipe(HttpApiSchema.status(201)),
|
|
175
174
|
error: [
|
|
@@ -261,6 +260,6 @@ var APIKeysGroup = class extends HttpApiGroup.make("API Keys").add(HttpApiEndpoi
|
|
|
261
260
|
ApiKeysGetStats504.pipe(HttpApiSchema.status(504))
|
|
262
261
|
]
|
|
263
262
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "apiKeys.getStats").annotate(OpenApi.Summary, "Get API key send statistics").annotate(OpenApi.Description, "Returns aggregate send counts and daily volume attributed to an API key between `after` and `before`, a window of at most 90 days that defaults to the last 30 days.")).annotate(OpenApi.Description, "API key management, rotation, and usage statistics") {};
|
|
264
|
-
export { APIKeysGroup, ApiKey, ApiKeyActivityPage,
|
|
263
|
+
export { APIKeysGroup, ApiKey, ApiKeyActivityPage, ApiKeyOwner, ApiKeyPage, ApiKeyWithSecret, ApiKeysCreate201, ApiKeysCreate400, ApiKeysCreate401, ApiKeysCreate402, ApiKeysCreate403, ApiKeysCreate404, ApiKeysCreate422, ApiKeysCreate429, ApiKeysCreate500, ApiKeysCreate502, ApiKeysCreate504, ApiKeysCreateRequestJson, ApiKeysGet200, ApiKeysGet400, ApiKeysGet401, ApiKeysGet403, ApiKeysGet404, ApiKeysGet422, ApiKeysGet500, ApiKeysGet504, ApiKeysGetActivity200, ApiKeysGetActivity400, ApiKeysGetActivity401, ApiKeysGetActivity403, ApiKeysGetActivity404, ApiKeysGetActivity422, ApiKeysGetActivity500, ApiKeysGetActivity504, ApiKeysGetActivityPathParams, ApiKeysGetActivityQuery, ApiKeysGetPathParams, ApiKeysGetStats200, ApiKeysGetStats400, ApiKeysGetStats401, ApiKeysGetStats403, ApiKeysGetStats404, ApiKeysGetStats422, ApiKeysGetStats500, ApiKeysGetStats504, ApiKeysGetStatsPathParams, ApiKeysGetStatsQuery, ApiKeysList200, ApiKeysList400, ApiKeysList401, ApiKeysList403, ApiKeysList422, ApiKeysList500, ApiKeysList504, ApiKeysListQuery, ApiKeysRevoke200, ApiKeysRevoke400, ApiKeysRevoke401, ApiKeysRevoke403, ApiKeysRevoke404, ApiKeysRevoke422, ApiKeysRevoke500, ApiKeysRevoke502, ApiKeysRevoke504, ApiKeysRevokePathParams, ApiKeysRotate200, ApiKeysRotate400, ApiKeysRotate401, ApiKeysRotate403, ApiKeysRotate404, ApiKeysRotate422, ApiKeysRotate500, ApiKeysRotate504, ApiKeysRotatePathParams, ApiKeysUpdate200, ApiKeysUpdate400, ApiKeysUpdate401, ApiKeysUpdate403, ApiKeysUpdate404, ApiKeysUpdate422, ApiKeysUpdate500, ApiKeysUpdate504, ApiKeysUpdatePathParams, ApiKeysUpdateRequestJson };
|
|
265
264
|
|
|
266
265
|
//# sourceMappingURL=api-keys.js.map
|
|
@@ -1426,6 +1426,8 @@ export type CampaignsCreate402 = PaymentRequiredError;
|
|
|
1426
1426
|
export declare const CampaignsCreate402: typeof PaymentRequiredError;
|
|
1427
1427
|
export type CampaignsCreate403 = FlagDisabledError | ForbiddenError;
|
|
1428
1428
|
export declare const CampaignsCreate403: Schema.Union<readonly [typeof FlagDisabledError, typeof ForbiddenError]>;
|
|
1429
|
+
export type CampaignsCreate404 = ResourceNotFoundError;
|
|
1430
|
+
export declare const CampaignsCreate404: typeof ResourceNotFoundError;
|
|
1429
1431
|
export type CampaignsCreate422 = ValidationError;
|
|
1430
1432
|
export declare const CampaignsCreate422: typeof ValidationError;
|
|
1431
1433
|
export type CampaignsCreate500 = InternalError;
|
|
@@ -3795,6 +3797,26 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3795
3797
|
readonly resource: Schema.String;
|
|
3796
3798
|
readonly currentUsage: Schema.Finite;
|
|
3797
3799
|
readonly limit: Schema.Finite;
|
|
3800
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
3801
|
+
readonly _tag: "ResourceNotFoundError";
|
|
3802
|
+
readonly resource: string;
|
|
3803
|
+
readonly id: string;
|
|
3804
|
+
readonly message: string;
|
|
3805
|
+
}, readonly [Schema.Struct<{
|
|
3806
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
3807
|
+
readonly resource: Schema.String;
|
|
3808
|
+
readonly id: Schema.String;
|
|
3809
|
+
readonly message: Schema.String;
|
|
3810
|
+
}>], {
|
|
3811
|
+
readonly _tag: "ResourceNotFoundError";
|
|
3812
|
+
readonly resource: string;
|
|
3813
|
+
readonly id: string;
|
|
3814
|
+
readonly message: string;
|
|
3815
|
+
}>, Schema.Struct<{
|
|
3816
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
3817
|
+
readonly resource: Schema.String;
|
|
3818
|
+
readonly id: Schema.String;
|
|
3819
|
+
readonly message: Schema.String;
|
|
3798
3820
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
3799
3821
|
readonly _tag: "UnauthorizedError";
|
|
3800
3822
|
readonly message: string;
|
|
@@ -282,6 +282,7 @@ const CampaignsCreate400 = MalformedRequestError;
|
|
|
282
282
|
const CampaignsCreate401 = UnauthorizedError;
|
|
283
283
|
const CampaignsCreate402 = PaymentRequiredError;
|
|
284
284
|
const CampaignsCreate403 = /* @__PURE__ */ (() => Schema.Union([FlagDisabledError, ForbiddenError]))();
|
|
285
|
+
const CampaignsCreate404 = ResourceNotFoundError;
|
|
285
286
|
const CampaignsCreate422 = ValidationError;
|
|
286
287
|
const CampaignsCreate500 = InternalError;
|
|
287
288
|
const CampaignsCreate502 = BillingProviderError;
|
|
@@ -520,6 +521,7 @@ var CampaignsGroup = class extends HttpApiGroup.make("Campaigns").add(HttpApiEnd
|
|
|
520
521
|
CampaignsCreate401.pipe(HttpApiSchema.status(401)),
|
|
521
522
|
CampaignsCreate402.pipe(HttpApiSchema.status(402)),
|
|
522
523
|
CampaignsCreate403.pipe(HttpApiSchema.status(403)),
|
|
524
|
+
CampaignsCreate404.pipe(HttpApiSchema.status(404)),
|
|
523
525
|
CampaignsCreate422.pipe(HttpApiSchema.status(422)),
|
|
524
526
|
CampaignsCreate500,
|
|
525
527
|
CampaignsCreate502.pipe(HttpApiSchema.status(502)),
|
|
@@ -707,6 +709,6 @@ var CampaignsGroup = class extends HttpApiGroup.make("Campaigns").add(HttpApiEnd
|
|
|
707
709
|
CampaignsSendTest504.pipe(HttpApiSchema.status(504))
|
|
708
710
|
]
|
|
709
711
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "campaigns.sendTest").annotate(OpenApi.Summary, "Send a campaign test").annotate(OpenApi.Description, "Sends one rendered draft email to the authenticated actor's email address, using optional contactId only for personalization. Creates no campaign run. Normal sending permissions, billing, and delivery policies apply.")).annotate(OpenApi.Description, "Campaign drafts and scheduled campaign runs") {};
|
|
710
|
-
export { Campaign, CampaignContent, CampaignDefinitionSummary, CampaignEmailContent, CampaignFrom, CampaignListItem, CampaignPage, CampaignPolicy, CampaignPreview, CampaignRecipientId, CampaignRecipientPage, CampaignRun, CampaignRunAction, CampaignRunPage, CampaignRunReport, CampaignRunReportEngagement, CampaignRunReportSkippedReason, CampaignRunReportTopicUnsubscribes, CampaignRunSkippedReason, CampaignTestSend, CampaignsArchive200, CampaignsArchive400, CampaignsArchive401, CampaignsArchive403, CampaignsArchive404, CampaignsArchive409, CampaignsArchive422, CampaignsArchive500, CampaignsArchive504, CampaignsArchivePathParams, CampaignsCancelRun200, CampaignsCancelRun400, CampaignsCancelRun401, CampaignsCancelRun403, CampaignsCancelRun404, CampaignsCancelRun409, CampaignsCancelRun422, CampaignsCancelRun500, CampaignsCancelRun502, CampaignsCancelRun504, CampaignsCancelRunPathParams, CampaignsCreate201, CampaignsCreate400, CampaignsCreate401, CampaignsCreate402, CampaignsCreate403, CampaignsCreate422, CampaignsCreate500, CampaignsCreate502, CampaignsCreate504, CampaignsCreateRequestJson, CampaignsGet200, CampaignsGet400, CampaignsGet401, CampaignsGet403, CampaignsGet404, CampaignsGet422, CampaignsGet500, CampaignsGet504, CampaignsGetPathParams, CampaignsGetRun200, CampaignsGetRun400, CampaignsGetRun401, CampaignsGetRun403, CampaignsGetRun404, CampaignsGetRun422, CampaignsGetRun500, CampaignsGetRun504, CampaignsGetRunPathParams, CampaignsGetRunReport200, CampaignsGetRunReport400, CampaignsGetRunReport401, CampaignsGetRunReport403, CampaignsGetRunReport404, CampaignsGetRunReport422, CampaignsGetRunReport500, CampaignsGetRunReport504, CampaignsGetRunReportPathParams, CampaignsGroup, CampaignsList200, CampaignsList400, CampaignsList401, CampaignsList403, CampaignsList422, CampaignsList500, CampaignsList504, CampaignsListQuery, CampaignsListRecipients200, CampaignsListRecipients400, CampaignsListRecipients401, CampaignsListRecipients403, CampaignsListRecipients404, CampaignsListRecipients422, CampaignsListRecipients500, CampaignsListRecipients504, CampaignsListRecipientsPathParams, CampaignsListRecipientsQuery, CampaignsListRuns200, CampaignsListRuns400, CampaignsListRuns401, CampaignsListRuns403, CampaignsListRuns404, CampaignsListRuns422, CampaignsListRuns500, CampaignsListRuns504, CampaignsListRunsPathParams, CampaignsListRunsQuery, CampaignsPauseRun200, CampaignsPauseRun400, CampaignsPauseRun401, CampaignsPauseRun403, CampaignsPauseRun404, CampaignsPauseRun409, CampaignsPauseRun422, CampaignsPauseRun500, CampaignsPauseRun502, CampaignsPauseRun504, CampaignsPauseRunPathParams, CampaignsPreview200, CampaignsPreview400, CampaignsPreview401, CampaignsPreview403, CampaignsPreview404, CampaignsPreview409, CampaignsPreview422, CampaignsPreview500, CampaignsPreview503, CampaignsPreview504, CampaignsPreviewRequestJson, CampaignsResumeRun200, CampaignsResumeRun400, CampaignsResumeRun401, CampaignsResumeRun402, CampaignsResumeRun403, CampaignsResumeRun404, CampaignsResumeRun409, CampaignsResumeRun422, CampaignsResumeRun500, CampaignsResumeRun502, CampaignsResumeRun504, CampaignsResumeRunPathParams, CampaignsScheduleRun201, CampaignsScheduleRun400, CampaignsScheduleRun401, CampaignsScheduleRun402, CampaignsScheduleRun403, CampaignsScheduleRun404, CampaignsScheduleRun409, CampaignsScheduleRun422, CampaignsScheduleRun500, CampaignsScheduleRun502, CampaignsScheduleRun503, CampaignsScheduleRun504, CampaignsScheduleRunHeaders, CampaignsScheduleRunPathParams, CampaignsScheduleRunRequestJson, CampaignsSendTest200, CampaignsSendTest400, CampaignsSendTest401, CampaignsSendTest402, CampaignsSendTest403, CampaignsSendTest404, CampaignsSendTest409, CampaignsSendTest422, CampaignsSendTest429, CampaignsSendTest500, CampaignsSendTest502, CampaignsSendTest503, CampaignsSendTest504, CampaignsSendTestRequestJson, CampaignsUpdate200, CampaignsUpdate400, CampaignsUpdate401, CampaignsUpdate403, CampaignsUpdate404, CampaignsUpdate409, CampaignsUpdate422, CampaignsUpdate500, CampaignsUpdate504, CampaignsUpdatePathParams, CampaignsUpdateRequestJson, EmailCampaignContent, SmsCampaignContent, WhatsAppCampaignContent };
|
|
712
|
+
export { Campaign, CampaignContent, CampaignDefinitionSummary, CampaignEmailContent, CampaignFrom, CampaignListItem, CampaignPage, CampaignPolicy, CampaignPreview, CampaignRecipientId, CampaignRecipientPage, CampaignRun, CampaignRunAction, CampaignRunPage, CampaignRunReport, CampaignRunReportEngagement, CampaignRunReportSkippedReason, CampaignRunReportTopicUnsubscribes, CampaignRunSkippedReason, CampaignTestSend, CampaignsArchive200, CampaignsArchive400, CampaignsArchive401, CampaignsArchive403, CampaignsArchive404, CampaignsArchive409, CampaignsArchive422, CampaignsArchive500, CampaignsArchive504, CampaignsArchivePathParams, CampaignsCancelRun200, CampaignsCancelRun400, CampaignsCancelRun401, CampaignsCancelRun403, CampaignsCancelRun404, CampaignsCancelRun409, CampaignsCancelRun422, CampaignsCancelRun500, CampaignsCancelRun502, CampaignsCancelRun504, CampaignsCancelRunPathParams, CampaignsCreate201, CampaignsCreate400, CampaignsCreate401, CampaignsCreate402, CampaignsCreate403, CampaignsCreate404, CampaignsCreate422, CampaignsCreate500, CampaignsCreate502, CampaignsCreate504, CampaignsCreateRequestJson, CampaignsGet200, CampaignsGet400, CampaignsGet401, CampaignsGet403, CampaignsGet404, CampaignsGet422, CampaignsGet500, CampaignsGet504, CampaignsGetPathParams, CampaignsGetRun200, CampaignsGetRun400, CampaignsGetRun401, CampaignsGetRun403, CampaignsGetRun404, CampaignsGetRun422, CampaignsGetRun500, CampaignsGetRun504, CampaignsGetRunPathParams, CampaignsGetRunReport200, CampaignsGetRunReport400, CampaignsGetRunReport401, CampaignsGetRunReport403, CampaignsGetRunReport404, CampaignsGetRunReport422, CampaignsGetRunReport500, CampaignsGetRunReport504, CampaignsGetRunReportPathParams, CampaignsGroup, CampaignsList200, CampaignsList400, CampaignsList401, CampaignsList403, CampaignsList422, CampaignsList500, CampaignsList504, CampaignsListQuery, CampaignsListRecipients200, CampaignsListRecipients400, CampaignsListRecipients401, CampaignsListRecipients403, CampaignsListRecipients404, CampaignsListRecipients422, CampaignsListRecipients500, CampaignsListRecipients504, CampaignsListRecipientsPathParams, CampaignsListRecipientsQuery, CampaignsListRuns200, CampaignsListRuns400, CampaignsListRuns401, CampaignsListRuns403, CampaignsListRuns404, CampaignsListRuns422, CampaignsListRuns500, CampaignsListRuns504, CampaignsListRunsPathParams, CampaignsListRunsQuery, CampaignsPauseRun200, CampaignsPauseRun400, CampaignsPauseRun401, CampaignsPauseRun403, CampaignsPauseRun404, CampaignsPauseRun409, CampaignsPauseRun422, CampaignsPauseRun500, CampaignsPauseRun502, CampaignsPauseRun504, CampaignsPauseRunPathParams, CampaignsPreview200, CampaignsPreview400, CampaignsPreview401, CampaignsPreview403, CampaignsPreview404, CampaignsPreview409, CampaignsPreview422, CampaignsPreview500, CampaignsPreview503, CampaignsPreview504, CampaignsPreviewRequestJson, CampaignsResumeRun200, CampaignsResumeRun400, CampaignsResumeRun401, CampaignsResumeRun402, CampaignsResumeRun403, CampaignsResumeRun404, CampaignsResumeRun409, CampaignsResumeRun422, CampaignsResumeRun500, CampaignsResumeRun502, CampaignsResumeRun504, CampaignsResumeRunPathParams, CampaignsScheduleRun201, CampaignsScheduleRun400, CampaignsScheduleRun401, CampaignsScheduleRun402, CampaignsScheduleRun403, CampaignsScheduleRun404, CampaignsScheduleRun409, CampaignsScheduleRun422, CampaignsScheduleRun500, CampaignsScheduleRun502, CampaignsScheduleRun503, CampaignsScheduleRun504, CampaignsScheduleRunHeaders, CampaignsScheduleRunPathParams, CampaignsScheduleRunRequestJson, CampaignsSendTest200, CampaignsSendTest400, CampaignsSendTest401, CampaignsSendTest402, CampaignsSendTest403, CampaignsSendTest404, CampaignsSendTest409, CampaignsSendTest422, CampaignsSendTest429, CampaignsSendTest500, CampaignsSendTest502, CampaignsSendTest503, CampaignsSendTest504, CampaignsSendTestRequestJson, CampaignsUpdate200, CampaignsUpdate400, CampaignsUpdate401, CampaignsUpdate403, CampaignsUpdate404, CampaignsUpdate409, CampaignsUpdate422, CampaignsUpdate500, CampaignsUpdate504, CampaignsUpdatePathParams, CampaignsUpdateRequestJson, EmailCampaignContent, SmsCampaignContent, WhatsAppCampaignContent };
|
|
711
713
|
|
|
712
714
|
//# sourceMappingURL=campaigns.js.map
|