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
|
@@ -3,38 +3,38 @@ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, Cursor,
|
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
4
4
|
import * as Schema from "effect/Schema";
|
|
5
5
|
//#region src/effect/generated/webhooks.ts
|
|
6
|
-
const WebhookDeliveryCounts = /* @__PURE__ */ Schema.Struct({
|
|
6
|
+
const WebhookDeliveryCounts = /* @__PURE__ */ (() => Schema.Struct({
|
|
7
7
|
total: 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
8
|
pending: 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" })),
|
|
9
9
|
delivered: 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" })),
|
|
10
10
|
exhausted: 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" })),
|
|
11
11
|
cancelled: 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" }))
|
|
12
|
-
}).annotate({ identifier: "WebhookDeliveryCounts" });
|
|
13
|
-
const WebhookDeliveryId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whdel_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
12
|
+
}).annotate({ identifier: "WebhookDeliveryCounts" }))();
|
|
13
|
+
const WebhookDeliveryId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whdel_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
14
14
|
expected: "a string matching the RegExp ^whdel_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
15
15
|
identifier: "WebhookDeliveryId"
|
|
16
|
-
})).pipe(Schema.brand("WebhookDeliveryId"));
|
|
17
|
-
const WebhookAttemptId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whatt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
16
|
+
})).pipe(Schema.brand("WebhookDeliveryId")))();
|
|
17
|
+
const WebhookAttemptId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whatt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
18
18
|
expected: "a string matching the RegExp ^whatt_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
19
19
|
identifier: "WebhookAttemptId"
|
|
20
|
-
})).pipe(Schema.brand("WebhookAttemptId"));
|
|
21
|
-
const WebhookEventId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whevt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
20
|
+
})).pipe(Schema.brand("WebhookAttemptId")))();
|
|
21
|
+
const WebhookEventId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^whevt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
22
22
|
expected: "a string matching the RegExp ^whevt_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
23
23
|
identifier: "WebhookEventId"
|
|
24
|
-
})).pipe(Schema.brand("WebhookEventId"));
|
|
25
|
-
const WebhookDailyDeliveries = /* @__PURE__ */ Schema.Struct({
|
|
24
|
+
})).pipe(Schema.brand("WebhookEventId")))();
|
|
25
|
+
const WebhookDailyDeliveries = /* @__PURE__ */ (() => Schema.Struct({
|
|
26
26
|
date: Schema.String,
|
|
27
27
|
pending: 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" })),
|
|
28
28
|
delivered: 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" })),
|
|
29
29
|
exhausted: 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" })),
|
|
30
30
|
cancelled: 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" }))
|
|
31
|
-
}).annotate({ identifier: "WebhookDailyDeliveries" });
|
|
32
|
-
const WebhookSigningSecret = /* @__PURE__ */ Schema.Struct({
|
|
31
|
+
}).annotate({ identifier: "WebhookDailyDeliveries" }))();
|
|
32
|
+
const WebhookSigningSecret = /* @__PURE__ */ (() => Schema.Struct({
|
|
33
33
|
secret: SensitiveString,
|
|
34
34
|
createdAt: Schema.String,
|
|
35
35
|
previousExpiresAt: Schema.Union([Schema.String, Schema.Null])
|
|
36
|
-
}).annotate({ identifier: "WebhookSigningSecret" });
|
|
37
|
-
const WebhookEndpoint = /* @__PURE__ */ Schema.Struct({
|
|
36
|
+
}).annotate({ identifier: "WebhookSigningSecret" }))();
|
|
37
|
+
const WebhookEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
38
38
|
id: WebhookEndpointId,
|
|
39
39
|
name: Schema.String,
|
|
40
40
|
url: Schema.String,
|
|
@@ -88,8 +88,8 @@ const WebhookEndpoint = /* @__PURE__ */ Schema.Struct({
|
|
|
88
88
|
lastSucceededAt: Schema.Union([Schema.String, Schema.Null]),
|
|
89
89
|
createdAt: Schema.String,
|
|
90
90
|
updatedAt: Schema.String
|
|
91
|
-
}).annotate({ identifier: "WebhookEndpoint" });
|
|
92
|
-
const WebhookEndpointListItem = /* @__PURE__ */ Schema.Struct({
|
|
91
|
+
}).annotate({ identifier: "WebhookEndpoint" }))();
|
|
92
|
+
const WebhookEndpointListItem = /* @__PURE__ */ (() => Schema.Struct({
|
|
93
93
|
id: WebhookEndpointId,
|
|
94
94
|
name: Schema.String,
|
|
95
95
|
url: Schema.String,
|
|
@@ -144,8 +144,8 @@ const WebhookEndpointListItem = /* @__PURE__ */ Schema.Struct({
|
|
|
144
144
|
createdAt: Schema.String,
|
|
145
145
|
updatedAt: Schema.String,
|
|
146
146
|
deliveries: WebhookDeliveryCounts
|
|
147
|
-
}).annotate({ identifier: "WebhookEndpointListItem" });
|
|
148
|
-
const WebhookDeliveryPage = /* @__PURE__ */ Schema.Struct({
|
|
147
|
+
}).annotate({ identifier: "WebhookEndpointListItem" }))();
|
|
148
|
+
const WebhookDeliveryPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
149
149
|
items: Schema.Array(Schema.Struct({
|
|
150
150
|
id: WebhookDeliveryId,
|
|
151
151
|
eventId: WebhookEventId,
|
|
@@ -185,32 +185,32 @@ const WebhookDeliveryPage = /* @__PURE__ */ Schema.Struct({
|
|
|
185
185
|
}))
|
|
186
186
|
})),
|
|
187
187
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
188
|
-
}).annotate({ identifier: "WebhookDeliveryPage" });
|
|
189
|
-
const WebhookStatsResponse = /* @__PURE__ */ Schema.Struct({
|
|
188
|
+
}).annotate({ identifier: "WebhookDeliveryPage" }))();
|
|
189
|
+
const WebhookStatsResponse = /* @__PURE__ */ (() => Schema.Struct({
|
|
190
190
|
total: 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" })),
|
|
191
191
|
pending: 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" })),
|
|
192
192
|
delivered: 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" })),
|
|
193
193
|
exhausted: 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" })),
|
|
194
194
|
cancelled: 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" })),
|
|
195
195
|
daily: Schema.Array(WebhookDailyDeliveries)
|
|
196
|
-
}).annotate({ identifier: "WebhookStatsResponse" });
|
|
197
|
-
const WebhookEndpointPage = /* @__PURE__ */ Schema.Struct({
|
|
196
|
+
}).annotate({ identifier: "WebhookStatsResponse" }))();
|
|
197
|
+
const WebhookEndpointPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
198
198
|
items: Schema.Array(WebhookEndpointListItem),
|
|
199
199
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
200
|
-
}).annotate({ identifier: "WebhookEndpointPage" });
|
|
201
|
-
const WebhooksListQuery = /* @__PURE__ */ Schema.Struct({
|
|
200
|
+
}).annotate({ identifier: "WebhookEndpointPage" }))();
|
|
201
|
+
const WebhooksListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
202
202
|
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])),
|
|
203
203
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
204
204
|
search: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
205
205
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("disabled")]), Schema.Null]))
|
|
206
|
-
});
|
|
206
|
+
}))();
|
|
207
207
|
const WebhooksList200 = WebhookEndpointPage;
|
|
208
208
|
const WebhooksList401 = UnauthorizedError;
|
|
209
209
|
const WebhooksList403 = ForbiddenError;
|
|
210
210
|
const WebhooksList422 = ValidationError;
|
|
211
211
|
const WebhooksList500 = InternalError;
|
|
212
212
|
const WebhooksList504 = GatewayTimeoutError;
|
|
213
|
-
const WebhooksCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
213
|
+
const WebhooksCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
214
214
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
215
215
|
url: Schema.String,
|
|
216
216
|
eventTypes: Schema.Array(Schema.Union([
|
|
@@ -259,11 +259,11 @@ const WebhooksCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
259
259
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
260
260
|
headers: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null])),
|
|
261
261
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("disabled")]), Schema.Null]))
|
|
262
|
-
});
|
|
263
|
-
const WebhooksCreate201 = /* @__PURE__ */ Schema.Struct({
|
|
262
|
+
}))();
|
|
263
|
+
const WebhooksCreate201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
264
264
|
endpoint: WebhookEndpoint,
|
|
265
265
|
secret: SensitiveString
|
|
266
|
-
});
|
|
266
|
+
}))();
|
|
267
267
|
const WebhooksCreate401 = UnauthorizedError;
|
|
268
268
|
const WebhooksCreate402 = PaymentRequiredError;
|
|
269
269
|
const WebhooksCreate403 = ForbiddenError;
|
|
@@ -273,7 +273,7 @@ const WebhooksCreate422 = ValidationError;
|
|
|
273
273
|
const WebhooksCreate500 = InternalError;
|
|
274
274
|
const WebhooksCreate502 = BillingProviderError;
|
|
275
275
|
const WebhooksCreate504 = GatewayTimeoutError;
|
|
276
|
-
const WebhooksGetPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
276
|
+
const WebhooksGetPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
277
277
|
const WebhooksGet200 = WebhookEndpoint;
|
|
278
278
|
const WebhooksGet401 = UnauthorizedError;
|
|
279
279
|
const WebhooksGet403 = ForbiddenError;
|
|
@@ -281,7 +281,7 @@ const WebhooksGet404 = ResourceNotFoundError;
|
|
|
281
281
|
const WebhooksGet422 = ValidationError;
|
|
282
282
|
const WebhooksGet500 = InternalError;
|
|
283
283
|
const WebhooksGet504 = GatewayTimeoutError;
|
|
284
|
-
const WebhooksRemovePathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
284
|
+
const WebhooksRemovePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
285
285
|
const WebhooksRemove200 = SuccessResponse;
|
|
286
286
|
const WebhooksRemove401 = UnauthorizedError;
|
|
287
287
|
const WebhooksRemove403 = ForbiddenError;
|
|
@@ -290,8 +290,8 @@ const WebhooksRemove422 = ValidationError;
|
|
|
290
290
|
const WebhooksRemove500 = InternalError;
|
|
291
291
|
const WebhooksRemove502 = BillingProviderError;
|
|
292
292
|
const WebhooksRemove504 = GatewayTimeoutError;
|
|
293
|
-
const WebhooksUpdatePathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
294
|
-
const WebhooksUpdateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
293
|
+
const WebhooksUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
294
|
+
const WebhooksUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
295
295
|
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(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })), Schema.Null])),
|
|
296
296
|
url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
297
297
|
eventTypes: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Union([
|
|
@@ -340,7 +340,7 @@ const WebhooksUpdateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
340
340
|
namespaceId: Schema.optionalKey(Schema.Union([Schema.Union([NamespaceId, Schema.Null]), Schema.Null])),
|
|
341
341
|
headers: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null])),
|
|
342
342
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("disabled")]), Schema.Null]))
|
|
343
|
-
});
|
|
343
|
+
}))();
|
|
344
344
|
const WebhooksUpdate200 = WebhookEndpoint;
|
|
345
345
|
const WebhooksUpdate401 = UnauthorizedError;
|
|
346
346
|
const WebhooksUpdate403 = ForbiddenError;
|
|
@@ -349,16 +349,16 @@ const WebhooksUpdate409 = ConflictError;
|
|
|
349
349
|
const WebhooksUpdate422 = ValidationError;
|
|
350
350
|
const WebhooksUpdate500 = InternalError;
|
|
351
351
|
const WebhooksUpdate504 = GatewayTimeoutError;
|
|
352
|
-
const WebhooksRetryDeliveryPathParams = /* @__PURE__ */ Schema.Struct({
|
|
352
|
+
const WebhooksRetryDeliveryPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
353
353
|
id: WebhookEndpointId,
|
|
354
354
|
deliveryId: WebhookDeliveryId
|
|
355
|
-
});
|
|
356
|
-
const WebhooksRetryDelivery200 = /* @__PURE__ */ Schema.Struct({
|
|
355
|
+
}))();
|
|
356
|
+
const WebhooksRetryDelivery200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
357
357
|
accepted: Schema.Literal(true),
|
|
358
358
|
deliveryId: WebhookDeliveryId,
|
|
359
359
|
attemptId: WebhookAttemptId,
|
|
360
360
|
outcome: Schema.Union([Schema.Literal("succeeded"), Schema.Literal("failed")])
|
|
361
|
-
});
|
|
361
|
+
}))();
|
|
362
362
|
const WebhooksRetryDelivery401 = UnauthorizedError;
|
|
363
363
|
const WebhooksRetryDelivery403 = ForbiddenError;
|
|
364
364
|
const WebhooksRetryDelivery404 = ResourceNotFoundError;
|
|
@@ -366,11 +366,11 @@ const WebhooksRetryDelivery422 = ValidationError;
|
|
|
366
366
|
const WebhooksRetryDelivery429 = RateLimitedError;
|
|
367
367
|
const WebhooksRetryDelivery500 = InternalError;
|
|
368
368
|
const WebhooksRetryDelivery504 = GatewayTimeoutError;
|
|
369
|
-
const WebhooksGetLogsPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
370
|
-
const WebhooksGetLogsQuery = /* @__PURE__ */ Schema.Struct({
|
|
369
|
+
const WebhooksGetLogsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
370
|
+
const WebhooksGetLogsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
371
371
|
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])),
|
|
372
372
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
|
|
373
|
-
});
|
|
373
|
+
}))();
|
|
374
374
|
const WebhooksGetLogs200 = WebhookDeliveryPage;
|
|
375
375
|
const WebhooksGetLogs401 = UnauthorizedError;
|
|
376
376
|
const WebhooksGetLogs403 = ForbiddenError;
|
|
@@ -378,15 +378,15 @@ const WebhooksGetLogs404 = ResourceNotFoundError;
|
|
|
378
378
|
const WebhooksGetLogs422 = ValidationError;
|
|
379
379
|
const WebhooksGetLogs500 = InternalError;
|
|
380
380
|
const WebhooksGetLogs504 = GatewayTimeoutError;
|
|
381
|
-
const WebhooksRegenerateSecretPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
382
|
-
const WebhooksRegenerateSecret200 = /* @__PURE__ */ Schema.Struct({ secret: SensitiveString });
|
|
381
|
+
const WebhooksRegenerateSecretPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
382
|
+
const WebhooksRegenerateSecret200 = /* @__PURE__ */ (() => Schema.Struct({ secret: SensitiveString }))();
|
|
383
383
|
const WebhooksRegenerateSecret401 = UnauthorizedError;
|
|
384
384
|
const WebhooksRegenerateSecret403 = ForbiddenError;
|
|
385
385
|
const WebhooksRegenerateSecret404 = ResourceNotFoundError;
|
|
386
386
|
const WebhooksRegenerateSecret422 = ValidationError;
|
|
387
387
|
const WebhooksRegenerateSecret500 = InternalError;
|
|
388
388
|
const WebhooksRegenerateSecret504 = GatewayTimeoutError;
|
|
389
|
-
const WebhooksGetSecretPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
389
|
+
const WebhooksGetSecretPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
390
390
|
const WebhooksGetSecret200 = WebhookSigningSecret;
|
|
391
391
|
const WebhooksGetSecret401 = UnauthorizedError;
|
|
392
392
|
const WebhooksGetSecret403 = ForbiddenError;
|
|
@@ -394,11 +394,11 @@ const WebhooksGetSecret404 = ResourceNotFoundError;
|
|
|
394
394
|
const WebhooksGetSecret422 = ValidationError;
|
|
395
395
|
const WebhooksGetSecret500 = InternalError;
|
|
396
396
|
const WebhooksGetSecret504 = GatewayTimeoutError;
|
|
397
|
-
const WebhooksGetStatsPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
398
|
-
const WebhooksGetStatsQuery = /* @__PURE__ */ Schema.Struct({
|
|
397
|
+
const WebhooksGetStatsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
398
|
+
const WebhooksGetStatsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
399
399
|
after: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
400
400
|
before: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
401
|
-
});
|
|
401
|
+
}))();
|
|
402
402
|
const WebhooksGetStats200 = WebhookStatsResponse;
|
|
403
403
|
const WebhooksGetStats401 = UnauthorizedError;
|
|
404
404
|
const WebhooksGetStats403 = ForbiddenError;
|
|
@@ -406,13 +406,13 @@ const WebhooksGetStats404 = ResourceNotFoundError;
|
|
|
406
406
|
const WebhooksGetStats422 = ValidationError;
|
|
407
407
|
const WebhooksGetStats500 = InternalError;
|
|
408
408
|
const WebhooksGetStats504 = GatewayTimeoutError;
|
|
409
|
-
const WebhooksTestPathParams = /* @__PURE__ */ Schema.Struct({ id: WebhookEndpointId });
|
|
410
|
-
const WebhooksTestRequestJson = /* @__PURE__ */ Schema.Struct({ data: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null])) });
|
|
411
|
-
const WebhooksTest202 = /* @__PURE__ */ Schema.Struct({
|
|
409
|
+
const WebhooksTestPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: WebhookEndpointId }))();
|
|
410
|
+
const WebhooksTestRequestJson = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null])) }))();
|
|
411
|
+
const WebhooksTest202 = /* @__PURE__ */ (() => Schema.Struct({
|
|
412
412
|
accepted: Schema.Literal(true),
|
|
413
413
|
eventId: WebhookEventId,
|
|
414
414
|
deliveryId: WebhookDeliveryId
|
|
415
|
-
});
|
|
415
|
+
}))();
|
|
416
416
|
const WebhooksTest401 = UnauthorizedError;
|
|
417
417
|
const WebhooksTest403 = ForbiddenError;
|
|
418
418
|
const WebhooksTest404 = ResourceNotFoundError;
|
|
@@ -2,17 +2,17 @@ import { ApiKeyAccess, ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutE
|
|
|
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/whoami.ts
|
|
5
|
-
const WhoamiUser = /* @__PURE__ */ Schema.Struct({
|
|
5
|
+
const WhoamiUser = /* @__PURE__ */ (() => Schema.Struct({
|
|
6
6
|
id: Schema.String,
|
|
7
7
|
name: Schema.String,
|
|
8
8
|
email: Schema.String
|
|
9
|
-
}).annotate({ identifier: "WhoamiUser" });
|
|
10
|
-
const WhoamiOrganization = /* @__PURE__ */ Schema.Struct({
|
|
9
|
+
}).annotate({ identifier: "WhoamiUser" }))();
|
|
10
|
+
const WhoamiOrganization = /* @__PURE__ */ (() => Schema.Struct({
|
|
11
11
|
id: OrganizationId,
|
|
12
12
|
slug: Schema.String,
|
|
13
13
|
name: Schema.String
|
|
14
|
-
}).annotate({ identifier: "WhoamiOrganization" });
|
|
15
|
-
const WhoamiUserCredential = /* @__PURE__ */ Schema.Struct({
|
|
14
|
+
}).annotate({ identifier: "WhoamiOrganization" }))();
|
|
15
|
+
const WhoamiUserCredential = /* @__PURE__ */ (() => Schema.Struct({
|
|
16
16
|
type: Schema.Literal("user"),
|
|
17
17
|
user: WhoamiUser,
|
|
18
18
|
role: Schema.Union([
|
|
@@ -20,18 +20,18 @@ const WhoamiUserCredential = /* @__PURE__ */ Schema.Struct({
|
|
|
20
20
|
Schema.Literal("admin"),
|
|
21
21
|
Schema.Literal("owner")
|
|
22
22
|
])
|
|
23
|
-
}).annotate({ identifier: "WhoamiUserCredential" });
|
|
24
|
-
const WhoamiApiKeyCredential = /* @__PURE__ */ Schema.Struct({
|
|
23
|
+
}).annotate({ identifier: "WhoamiUserCredential" }))();
|
|
24
|
+
const WhoamiApiKeyCredential = /* @__PURE__ */ (() => Schema.Struct({
|
|
25
25
|
type: Schema.Literal("apiKey"),
|
|
26
26
|
id: Schema.String,
|
|
27
27
|
name: Schema.String,
|
|
28
28
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
29
29
|
access: ApiKeyAccess
|
|
30
|
-
}).annotate({ identifier: "WhoamiApiKeyCredential" });
|
|
31
|
-
const Whoami = /* @__PURE__ */ Schema.Struct({
|
|
30
|
+
}).annotate({ identifier: "WhoamiApiKeyCredential" }))();
|
|
31
|
+
const Whoami = /* @__PURE__ */ (() => Schema.Struct({
|
|
32
32
|
organization: WhoamiOrganization,
|
|
33
33
|
credential: Schema.Union([WhoamiApiKeyCredential, WhoamiUserCredential])
|
|
34
|
-
}).annotate({ identifier: "Whoami" });
|
|
34
|
+
}).annotate({ identifier: "Whoami" }))();
|
|
35
35
|
const WhoamiGet200 = Whoami;
|
|
36
36
|
const WhoamiGet401 = UnauthorizedError;
|
|
37
37
|
const WhoamiGet403 = ForbiddenError;
|
|
@@ -1773,6 +1773,76 @@ export declare const SamvaOperations: {
|
|
|
1773
1773
|
readonly method: "PATCH";
|
|
1774
1774
|
readonly paginated: false;
|
|
1775
1775
|
};
|
|
1776
|
+
readonly topicIssuesList: {
|
|
1777
|
+
readonly group: "Topic issues";
|
|
1778
|
+
readonly method: "GET";
|
|
1779
|
+
readonly paginated: false;
|
|
1780
|
+
};
|
|
1781
|
+
readonly topicIssuesCreate: {
|
|
1782
|
+
readonly group: "Topic issues";
|
|
1783
|
+
readonly method: "POST";
|
|
1784
|
+
readonly paginated: false;
|
|
1785
|
+
};
|
|
1786
|
+
readonly topicIssuesUpdate: {
|
|
1787
|
+
readonly group: "Topic issues";
|
|
1788
|
+
readonly method: "PATCH";
|
|
1789
|
+
readonly paginated: false;
|
|
1790
|
+
};
|
|
1791
|
+
readonly topicIssuesCheck: {
|
|
1792
|
+
readonly group: "Topic issues";
|
|
1793
|
+
readonly method: "POST";
|
|
1794
|
+
readonly paginated: false;
|
|
1795
|
+
};
|
|
1796
|
+
readonly topicIssuesGet: {
|
|
1797
|
+
readonly group: "Topic issues";
|
|
1798
|
+
readonly method: "GET";
|
|
1799
|
+
readonly paginated: false;
|
|
1800
|
+
};
|
|
1801
|
+
readonly topicIssuesHead: {
|
|
1802
|
+
readonly group: "Topic issues";
|
|
1803
|
+
readonly method: "GET";
|
|
1804
|
+
readonly paginated: false;
|
|
1805
|
+
};
|
|
1806
|
+
readonly topicIssuesHistory: {
|
|
1807
|
+
readonly group: "Topic issues";
|
|
1808
|
+
readonly method: "GET";
|
|
1809
|
+
readonly paginated: false;
|
|
1810
|
+
};
|
|
1811
|
+
readonly topicIssuesRemove: {
|
|
1812
|
+
readonly group: "Topic issues";
|
|
1813
|
+
readonly method: "POST";
|
|
1814
|
+
readonly paginated: false;
|
|
1815
|
+
};
|
|
1816
|
+
readonly topicIssuesRender: {
|
|
1817
|
+
readonly group: "Topic issues";
|
|
1818
|
+
readonly method: "POST";
|
|
1819
|
+
readonly paginated: false;
|
|
1820
|
+
};
|
|
1821
|
+
readonly topicIssuesSave: {
|
|
1822
|
+
readonly group: "Topic issues";
|
|
1823
|
+
readonly method: "POST";
|
|
1824
|
+
readonly paginated: false;
|
|
1825
|
+
};
|
|
1826
|
+
readonly topicIssuesOpen: {
|
|
1827
|
+
readonly group: "Topic issues";
|
|
1828
|
+
readonly method: "GET";
|
|
1829
|
+
readonly paginated: false;
|
|
1830
|
+
};
|
|
1831
|
+
readonly topicPublicationDomainsAdd: {
|
|
1832
|
+
readonly group: "Publication domains";
|
|
1833
|
+
readonly method: "POST";
|
|
1834
|
+
readonly paginated: false;
|
|
1835
|
+
};
|
|
1836
|
+
readonly topicPublicationDomainsGet: {
|
|
1837
|
+
readonly group: "Publication domains";
|
|
1838
|
+
readonly method: "GET";
|
|
1839
|
+
readonly paginated: false;
|
|
1840
|
+
};
|
|
1841
|
+
readonly topicPublicationDomainsRemove: {
|
|
1842
|
+
readonly group: "Publication domains";
|
|
1843
|
+
readonly method: "DELETE";
|
|
1844
|
+
readonly paginated: false;
|
|
1845
|
+
};
|
|
1776
1846
|
readonly topicsListSubscriptions: {
|
|
1777
1847
|
readonly group: "Topics";
|
|
1778
1848
|
readonly method: "GET";
|
|
@@ -614,21 +614,51 @@ const operationMetadata103 = {
|
|
|
614
614
|
paginated: false
|
|
615
615
|
};
|
|
616
616
|
const operationMetadata104 = {
|
|
617
|
+
group: "Topic issues",
|
|
618
|
+
method: "GET",
|
|
619
|
+
paginated: false
|
|
620
|
+
};
|
|
621
|
+
const operationMetadata105 = {
|
|
622
|
+
group: "Topic issues",
|
|
623
|
+
method: "POST",
|
|
624
|
+
paginated: false
|
|
625
|
+
};
|
|
626
|
+
const operationMetadata106 = {
|
|
627
|
+
group: "Topic issues",
|
|
628
|
+
method: "PATCH",
|
|
629
|
+
paginated: false
|
|
630
|
+
};
|
|
631
|
+
const operationMetadata107 = {
|
|
632
|
+
group: "Publication domains",
|
|
633
|
+
method: "POST",
|
|
634
|
+
paginated: false
|
|
635
|
+
};
|
|
636
|
+
const operationMetadata108 = {
|
|
637
|
+
group: "Publication domains",
|
|
638
|
+
method: "GET",
|
|
639
|
+
paginated: false
|
|
640
|
+
};
|
|
641
|
+
const operationMetadata109 = {
|
|
642
|
+
group: "Publication domains",
|
|
643
|
+
method: "DELETE",
|
|
644
|
+
paginated: false
|
|
645
|
+
};
|
|
646
|
+
const operationMetadata110 = {
|
|
617
647
|
group: "Topics",
|
|
618
648
|
method: "GET",
|
|
619
649
|
paginated: true
|
|
620
650
|
};
|
|
621
|
-
const
|
|
651
|
+
const operationMetadata111 = {
|
|
622
652
|
group: "Webhooks",
|
|
623
653
|
method: "GET",
|
|
624
654
|
paginated: true
|
|
625
655
|
};
|
|
626
|
-
const
|
|
656
|
+
const operationMetadata112 = {
|
|
627
657
|
group: "Webhooks",
|
|
628
658
|
method: "POST",
|
|
629
659
|
paginated: false
|
|
630
660
|
};
|
|
631
|
-
const
|
|
661
|
+
const operationMetadata113 = {
|
|
632
662
|
group: "Webhooks",
|
|
633
663
|
method: "GET",
|
|
634
664
|
paginated: false
|
|
@@ -970,12 +1000,26 @@ const SamvaOperations = {
|
|
|
970
1000
|
topicFormsGet: operationMetadata100,
|
|
971
1001
|
topicFormsRemove: operationMetadata102,
|
|
972
1002
|
topicFormsUpdate: operationMetadata103,
|
|
973
|
-
|
|
1003
|
+
topicIssuesList: operationMetadata104,
|
|
1004
|
+
topicIssuesCreate: operationMetadata105,
|
|
1005
|
+
topicIssuesUpdate: operationMetadata106,
|
|
1006
|
+
topicIssuesCheck: operationMetadata105,
|
|
1007
|
+
topicIssuesGet: operationMetadata104,
|
|
1008
|
+
topicIssuesHead: operationMetadata104,
|
|
1009
|
+
topicIssuesHistory: operationMetadata104,
|
|
1010
|
+
topicIssuesRemove: operationMetadata105,
|
|
1011
|
+
topicIssuesRender: operationMetadata105,
|
|
1012
|
+
topicIssuesSave: operationMetadata105,
|
|
1013
|
+
topicIssuesOpen: operationMetadata104,
|
|
1014
|
+
topicPublicationDomainsAdd: operationMetadata107,
|
|
1015
|
+
topicPublicationDomainsGet: operationMetadata108,
|
|
1016
|
+
topicPublicationDomainsRemove: operationMetadata109,
|
|
1017
|
+
topicsListSubscriptions: operationMetadata110,
|
|
974
1018
|
topicsSetSubscriptions: operationMetadata97,
|
|
975
1019
|
topicsCheckSubscription: operationMetadata96,
|
|
976
|
-
webhooksList:
|
|
977
|
-
webhooksCreate:
|
|
978
|
-
webhooksGet:
|
|
1020
|
+
webhooksList: operationMetadata111,
|
|
1021
|
+
webhooksCreate: operationMetadata112,
|
|
1022
|
+
webhooksGet: operationMetadata113,
|
|
979
1023
|
webhooksRemove: {
|
|
980
1024
|
group: "Webhooks",
|
|
981
1025
|
method: "DELETE",
|
|
@@ -986,12 +1030,12 @@ const SamvaOperations = {
|
|
|
986
1030
|
method: "PATCH",
|
|
987
1031
|
paginated: false
|
|
988
1032
|
},
|
|
989
|
-
webhooksRetryDelivery:
|
|
990
|
-
webhooksGetLogs:
|
|
991
|
-
webhooksRegenerateSecret:
|
|
992
|
-
webhooksGetSecret:
|
|
993
|
-
webhooksGetStats:
|
|
994
|
-
webhooksTest:
|
|
1033
|
+
webhooksRetryDelivery: operationMetadata112,
|
|
1034
|
+
webhooksGetLogs: operationMetadata111,
|
|
1035
|
+
webhooksRegenerateSecret: operationMetadata112,
|
|
1036
|
+
webhooksGetSecret: operationMetadata113,
|
|
1037
|
+
webhooksGetStats: operationMetadata113,
|
|
1038
|
+
webhooksTest: operationMetadata112,
|
|
995
1039
|
whoamiGet: {
|
|
996
1040
|
group: "Whoami",
|
|
997
1041
|
method: "GET",
|
package/dist/effect/index.d.ts
CHANGED
|
@@ -39,12 +39,14 @@ export * as Messages from "./messages";
|
|
|
39
39
|
export * as Namespaces from "./namespaces";
|
|
40
40
|
export * as Operations from "./operations";
|
|
41
41
|
export * as Organizations from "./organizations";
|
|
42
|
+
export * as TopicPublicationDomains from "./publication-domains";
|
|
42
43
|
export * as Retry from "./retry";
|
|
43
44
|
export * as ScheduledMessages from "./scheduled-messages";
|
|
44
45
|
export * as Subscriptions from "./subscriptions";
|
|
45
46
|
export * as Templates from "./templates";
|
|
46
47
|
export * as Topics from "./topics";
|
|
47
48
|
export * as TopicForms from "./topic-forms";
|
|
49
|
+
export * as TopicIssues from "./topic-issues";
|
|
48
50
|
export * as Webhooks from "./webhooks";
|
|
49
51
|
export * as Whoami from "./whoami";
|
|
50
52
|
export * from "./errors";
|
package/dist/effect/index.js
CHANGED
|
@@ -25,11 +25,13 @@ import { messages_exports } from "./messages.js";
|
|
|
25
25
|
import { namespaces_exports } from "./namespaces.js";
|
|
26
26
|
import { operations_exports } from "./operations.js";
|
|
27
27
|
import { organizations_exports } from "./organizations.js";
|
|
28
|
+
import { publication_domains_exports } from "./publication-domains.js";
|
|
28
29
|
import { scheduled_messages_exports } from "./scheduled-messages.js";
|
|
29
30
|
import { subscriptions_exports } from "./subscriptions.js";
|
|
30
31
|
import { templates_exports } from "./templates.js";
|
|
31
32
|
import { topics_exports } from "./topics.js";
|
|
32
33
|
import { topic_forms_exports } from "./topic-forms.js";
|
|
34
|
+
import { topic_issues_exports } from "./topic-issues.js";
|
|
33
35
|
import { webhooks_exports } from "./webhooks.js";
|
|
34
36
|
import { whoami_exports } from "./whoami.js";
|
|
35
|
-
export { agents_exports as Agents, analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contact_groups_exports as ContactGroups, contacts_exports as Contacts, conversations_exports as Conversations, custom_fields_exports as CustomFields, DeliveryUnavailableError, email_exports as Email, EmailChannelError, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, journeys_exports as Journeys, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, subscriptions_exports as Subscriptions, TemplateSourceError, templates_exports as Templates, topic_forms_exports as TopicForms, topics_exports as Topics, UnauthorizedError, ValidationError, webhooks_exports as Webhooks, whoami_exports as Whoami, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
|
|
37
|
+
export { agents_exports as Agents, analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contact_groups_exports as ContactGroups, contacts_exports as Contacts, conversations_exports as Conversations, custom_fields_exports as CustomFields, DeliveryUnavailableError, email_exports as Email, EmailChannelError, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, journeys_exports as Journeys, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, subscriptions_exports as Subscriptions, TemplateSourceError, templates_exports as Templates, topic_forms_exports as TopicForms, topic_issues_exports as TopicIssues, publication_domains_exports as TopicPublicationDomains, topics_exports as Topics, UnauthorizedError, ValidationError, webhooks_exports as Webhooks, whoami_exports as Whoami, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
|