samva 0.46.0 → 0.46.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/README.md +1 -1
- package/dist/client/client/client.gen.d.ts +1 -1
- package/dist/client/client/index.d.ts +10 -10
- package/dist/client/client/types.gen.d.ts +4 -4
- package/dist/client/client/utils.gen.d.ts +2 -2
- package/dist/client/client.gen.d.ts +2 -2
- package/dist/client/core/bodySerializer.gen.d.ts +1 -1
- package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/client/core/types.gen.d.ts +2 -2
- package/dist/client/core/utils.gen.d.ts +1 -1
- package/dist/client/sdk.gen.d.ts +2 -2
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/accounts.js +2 -1
- package/dist/effect/agents.d.ts +16 -16
- package/dist/effect/agents.js +2 -1
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +2 -1
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +2 -1
- package/dist/effect/approval-requests.d.ts +4 -4
- package/dist/effect/approval-requests.js +2 -1
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +2 -1
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +2 -1
- package/dist/effect/campaigns.d.ts +45 -45
- package/dist/effect/campaigns.js +2 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/contact-groups.d.ts +18 -18
- package/dist/effect/contact-groups.js +2 -1
- package/dist/effect/contacts.d.ts +33 -33
- package/dist/effect/contacts.js +3 -2
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +2 -1
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +2 -1
- package/dist/effect/descriptors/accounts.d.ts +59 -0
- package/dist/effect/descriptors/accounts.js +57 -0
- package/dist/effect/descriptors/agents.d.ts +119 -0
- package/dist/effect/descriptors/agents.js +117 -0
- package/dist/effect/descriptors/analytics.d.ts +56 -0
- package/dist/effect/descriptors/analytics.js +48 -0
- package/dist/effect/descriptors/api-keys.d.ts +80 -0
- package/dist/effect/descriptors/api-keys.js +80 -0
- package/dist/effect/descriptors/approval-requests.d.ts +41 -0
- package/dist/effect/descriptors/approval-requests.js +43 -0
- package/dist/effect/descriptors/attachments.d.ts +41 -0
- package/dist/effect/descriptors/attachments.js +43 -0
- package/dist/effect/descriptors/brands.d.ts +60 -0
- package/dist/effect/descriptors/brands.js +60 -0
- package/dist/effect/descriptors/campaigns.d.ts +148 -0
- package/dist/effect/descriptors/campaigns.js +144 -0
- package/dist/effect/descriptors/contact-groups.d.ts +99 -0
- package/dist/effect/descriptors/contact-groups.js +97 -0
- package/dist/effect/descriptors/contacts.d.ts +226 -0
- package/dist/effect/descriptors/contacts.js +214 -0
- package/dist/effect/descriptors/conversations.d.ts +130 -0
- package/dist/effect/descriptors/conversations.js +130 -0
- package/dist/effect/descriptors/custom-fields.d.ts +40 -0
- package/dist/effect/descriptors/custom-fields.js +40 -0
- package/dist/effect/descriptors/email.d.ts +607 -0
- package/dist/effect/descriptors/email.js +561 -0
- package/dist/effect/descriptors/events.d.ts +20 -0
- package/dist/effect/descriptors/events.js +20 -0
- package/dist/effect/descriptors/extension-installations.d.ts +90 -0
- package/dist/effect/descriptors/extension-installations.js +90 -0
- package/dist/effect/descriptors/extensions.d.ts +50 -0
- package/dist/effect/descriptors/extensions.js +50 -0
- package/dist/effect/descriptors/feedback.d.ts +11 -0
- package/dist/effect/descriptors/feedback.js +11 -0
- package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
- package/dist/effect/descriptors/integrations-catalog.js +27 -0
- package/dist/effect/descriptors/integrations.d.ts +70 -0
- package/dist/effect/descriptors/integrations.js +70 -0
- package/dist/effect/descriptors/journeys.d.ts +140 -0
- package/dist/effect/descriptors/journeys.js +140 -0
- package/dist/effect/descriptors/mailboxes.d.ts +724 -0
- package/dist/effect/descriptors/mailboxes.js +728 -0
- package/dist/effect/descriptors/media.d.ts +51 -0
- package/dist/effect/descriptors/media.js +53 -0
- package/dist/effect/descriptors/messages.d.ts +99 -0
- package/dist/effect/descriptors/messages.js +97 -0
- package/dist/effect/descriptors/namespaces.d.ts +110 -0
- package/dist/effect/descriptors/namespaces.js +114 -0
- package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
- package/dist/effect/descriptors/newsletter-domains.js +46 -0
- package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
- package/dist/effect/descriptors/newsletter-issues.js +116 -0
- package/dist/effect/descriptors/newsletters.d.ts +51 -0
- package/dist/effect/descriptors/newsletters.js +53 -0
- package/dist/effect/descriptors/operations.d.ts +31 -0
- package/dist/effect/descriptors/operations.js +33 -0
- package/dist/effect/descriptors/organizations.d.ts +111 -0
- package/dist/effect/descriptors/organizations.js +93 -0
- package/dist/effect/descriptors/policies.d.ts +32 -0
- package/dist/effect/descriptors/policies.js +36 -0
- package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
- package/dist/effect/descriptors/scheduled-messages.js +50 -0
- package/dist/effect/descriptors/subscriptions.d.ts +11 -0
- package/dist/effect/descriptors/subscriptions.js +11 -0
- package/dist/effect/descriptors/template-registrations.d.ts +32 -0
- package/dist/effect/descriptors/template-registrations.js +36 -0
- package/dist/effect/descriptors/template-share-links.d.ts +52 -0
- package/dist/effect/descriptors/template-share-links.js +56 -0
- package/dist/effect/descriptors/templates.d.ts +365 -0
- package/dist/effect/descriptors/templates.js +355 -0
- package/dist/effect/descriptors/topic-forms.d.ts +52 -0
- package/dist/effect/descriptors/topic-forms.js +56 -0
- package/dist/effect/descriptors/topics.d.ts +89 -0
- package/dist/effect/descriptors/topics.js +87 -0
- package/dist/effect/descriptors/webhooks.d.ts +110 -0
- package/dist/effect/descriptors/webhooks.js +110 -0
- package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
- package/dist/effect/descriptors/whats-app-flows.js +97 -0
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
- package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
- package/dist/effect/descriptors/whats-app.d.ts +116 -0
- package/dist/effect/descriptors/whats-app.js +108 -0
- package/dist/effect/descriptors/whoami.d.ts +11 -0
- package/dist/effect/descriptors/whoami.js +11 -0
- package/dist/effect/email.d.ts +78 -78
- package/dist/effect/email.js +2 -1
- package/dist/effect/errors.d.ts +2 -2
- package/dist/effect/events.d.ts +3 -3
- package/dist/effect/events.js +2 -1
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +2 -1
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +2 -1
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +2 -1
- package/dist/effect/generated/accounts.d.ts +9 -9
- package/dist/effect/generated/agents.d.ts +1 -1
- package/dist/effect/generated/analytics.d.ts +1 -1
- package/dist/effect/generated/api-keys.d.ts +1 -1
- package/dist/effect/generated/approval-requests.d.ts +13 -13
- package/dist/effect/generated/attachments.d.ts +1 -1
- package/dist/effect/generated/brands.d.ts +1 -1
- package/dist/effect/generated/campaigns.d.ts +230 -230
- package/dist/effect/generated/contact-events.d.ts +4 -4
- package/dist/effect/generated/contact-groups.d.ts +1 -1
- package/dist/effect/generated/contacts.d.ts +49 -49
- package/dist/effect/generated/conversations.d.ts +1 -1
- package/dist/effect/generated/custom-fields.d.ts +1 -1
- package/dist/effect/generated/email.d.ts +1 -1
- package/dist/effect/generated/events.d.ts +12 -12
- package/dist/effect/generated/extension-installations.d.ts +1 -1
- package/dist/effect/generated/extensions.d.ts +1 -1
- package/dist/effect/generated/feedback.d.ts +1 -1
- package/dist/effect/generated/index.d.ts +87 -87
- package/dist/effect/generated/integrations-catalog.d.ts +3 -3
- package/dist/effect/generated/integrations.d.ts +15 -15
- package/dist/effect/generated/journeys.d.ts +81 -81
- package/dist/effect/generated/mailboxes.d.ts +1 -1
- package/dist/effect/generated/media.d.ts +1 -1
- package/dist/effect/generated/messages.d.ts +1 -1
- package/dist/effect/generated/namespaces.d.ts +1 -1
- package/dist/effect/generated/newsletter-domains.d.ts +1 -1
- package/dist/effect/generated/newsletter-issues.d.ts +1 -1
- package/dist/effect/generated/newsletters.d.ts +1 -1
- package/dist/effect/generated/operations.d.ts +1 -1
- package/dist/effect/generated/organizations.d.ts +1 -1
- package/dist/effect/generated/policies.d.ts +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +147 -147
- package/dist/effect/generated/shared.d.ts +1 -1
- package/dist/effect/generated/subscriptions.d.ts +1 -1
- package/dist/effect/generated/template-registrations.d.ts +1 -1
- package/dist/effect/generated/template-share-links.d.ts +1 -1
- package/dist/effect/generated/templates.d.ts +1 -1
- package/dist/effect/generated/topic-forms.d.ts +1 -1
- package/dist/effect/generated/topics.d.ts +1 -1
- package/dist/effect/generated/webhooks.d.ts +1 -1
- package/dist/effect/generated/whats-app-flows.d.ts +1 -1
- package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
- package/dist/effect/generated/whats-app.d.ts +1 -1
- package/dist/effect/generated/whoami.d.ts +1 -1
- package/dist/effect/index.d.ts +47 -47
- package/dist/effect/integrations-catalog.d.ts +3 -3
- package/dist/effect/integrations-catalog.js +2 -1
- package/dist/effect/integrations.d.ts +11 -11
- package/dist/effect/integrations.js +2 -1
- package/dist/effect/internal/client.d.ts +3 -3
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/mailbox-events.d.ts +2 -2
- package/dist/effect/internal/operation.d.ts +24 -5
- package/dist/effect/internal/operation.js +21 -21
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +20 -20
- package/dist/effect/journeys.js +2 -1
- package/dist/effect/mailboxes.d.ts +123 -123
- package/dist/effect/mailboxes.js +2 -1
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +2 -1
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +2 -1
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/namespaces.js +2 -1
- package/dist/effect/newsletter-domains.d.ts +6 -6
- package/dist/effect/newsletter-domains.js +2 -1
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletter-issues.js +2 -1
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/newsletters.js +2 -1
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +2 -1
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/organizations.js +2 -1
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/policies.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +23 -23
- package/dist/effect/scheduled-messages.js +2 -1
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +2 -1
- package/dist/effect/template-registrations.d.ts +3 -3
- package/dist/effect/template-registrations.js +2 -1
- package/dist/effect/template-share-links.d.ts +5 -5
- package/dist/effect/template-share-links.js +2 -1
- package/dist/effect/templates.d.ts +46 -46
- package/dist/effect/templates.js +2 -1
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +2 -1
- package/dist/effect/topics.d.ts +11 -11
- package/dist/effect/topics.js +2 -1
- package/dist/effect/webhooks.d.ts +16 -16
- package/dist/effect/webhooks.js +2 -1
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-flows.js +2 -1
- package/dist/effect/whatsapp-setup-links.d.ts +6 -6
- package/dist/effect/whatsapp-setup-links.js +2 -1
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whatsapp.js +2 -1
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/mailbox/dispatch.d.ts +2 -2
- package/dist/mailbox/index.d.ts +4 -4
- package/dist/mailbox/test.d.ts +2 -2
- package/dist/mailbox/types.d.ts +2 -2
- package/dist/mailbox/webhook.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +10 -10
- package/dist/promises/errors.gen.d.ts +1 -1
- package/dist/promises/index.d.ts +5 -5
- package/dist/promises/request.d.ts +2 -2
- package/dist/promises/request.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +10 -2
- package/dist/request-policy.js +3 -5
- package/package.json +9 -9
- package/dist/service-map.js +0 -830
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
|
|
3
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactEvent, ContactEventReference, CreateEventPayload, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
4
4
|
export type BatchEventsResult = {
|
|
5
5
|
readonly total: number;
|
|
6
6
|
readonly accepted: number;
|
|
@@ -24,7 +24,7 @@ export declare const BatchEventsResult: Schema.Struct<{
|
|
|
24
24
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
25
25
|
readonly name: Schema.String;
|
|
26
26
|
readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
|
|
27
|
-
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
27
|
+
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
28
28
|
readonly occurredAt: Schema.String;
|
|
29
29
|
readonly recordedAt: Schema.String;
|
|
30
30
|
}>, Schema.Null]>>;
|
|
@@ -58,7 +58,7 @@ export declare const EventsCreateRequestJson: Schema.Struct<{
|
|
|
58
58
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
59
59
|
}>]>;
|
|
60
60
|
readonly name: Schema.String;
|
|
61
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
61
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
62
62
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
63
63
|
}>;
|
|
64
64
|
export type EventsCreate200 = ContactEvent;
|
|
@@ -67,7 +67,7 @@ export declare const EventsCreate200: Schema.Struct<{
|
|
|
67
67
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
68
68
|
readonly name: Schema.String;
|
|
69
69
|
readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
|
|
70
|
-
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
70
|
+
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
71
71
|
readonly occurredAt: Schema.String;
|
|
72
72
|
readonly recordedAt: Schema.String;
|
|
73
73
|
}>;
|
|
@@ -116,7 +116,7 @@ export declare const EventsBatchRequestJson: Schema.Struct<{
|
|
|
116
116
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
117
117
|
}>]>;
|
|
118
118
|
readonly name: Schema.String;
|
|
119
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
119
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
120
120
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
121
121
|
}>]>, readonly [Schema.Struct<{
|
|
122
122
|
readonly contact: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -133,7 +133,7 @@ export declare const EventsBatchRequestJson: Schema.Struct<{
|
|
|
133
133
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
134
134
|
}>]>;
|
|
135
135
|
readonly name: Schema.String;
|
|
136
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
136
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
137
137
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
138
138
|
}>]>;
|
|
139
139
|
}>;
|
|
@@ -150,7 +150,7 @@ export declare const EventsBatch200: Schema.Struct<{
|
|
|
150
150
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
151
151
|
readonly name: Schema.String;
|
|
152
152
|
readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
|
|
153
|
-
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
153
|
+
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
154
154
|
readonly occurredAt: Schema.String;
|
|
155
155
|
readonly recordedAt: Schema.String;
|
|
156
156
|
}>, Schema.Null]>>;
|
|
@@ -187,7 +187,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
187
187
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
188
188
|
}>]>;
|
|
189
189
|
readonly name: Schema.String;
|
|
190
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
190
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
191
191
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
192
192
|
}>]>, readonly [Schema.Struct<{
|
|
193
193
|
readonly contact: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -204,7 +204,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
204
204
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
205
205
|
}>]>;
|
|
206
206
|
readonly name: Schema.String;
|
|
207
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
207
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
208
208
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
209
209
|
}>]>;
|
|
210
210
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -221,7 +221,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
221
221
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
222
222
|
readonly name: Schema.String;
|
|
223
223
|
readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
|
|
224
|
-
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
224
|
+
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
225
225
|
readonly occurredAt: Schema.String;
|
|
226
226
|
readonly recordedAt: Schema.String;
|
|
227
227
|
}>, Schema.Null]>>;
|
|
@@ -342,7 +342,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
342
342
|
readonly externalId: Schema.optionalKey<Schema.Never>;
|
|
343
343
|
}>]>;
|
|
344
344
|
readonly name: Schema.String;
|
|
345
|
-
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
|
|
345
|
+
readonly properties: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
|
|
346
346
|
readonly occurredAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
347
347
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
348
348
|
readonly "idempotency-key": Schema.optionalKey<Schema.String>;
|
|
@@ -351,7 +351,7 @@ declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"Events", HttpApiEndpo
|
|
|
351
351
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
352
352
|
readonly name: Schema.String;
|
|
353
353
|
readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
|
|
354
|
-
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
354
|
+
readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
355
355
|
readonly occurredAt: Schema.String;
|
|
356
356
|
readonly recordedAt: Schema.String;
|
|
357
357
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<BillingProviderError, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, ConflictError, ExtensionId, ExtensionInstallationId, ExtensionVersionId, ExtensionVersionRef, ForbiddenError, GatewayTimeoutError, InternalError, MailboxId, MalformedRequestError, NamespaceId, OrganizationId, PolicyConfiguration, ResourceNotFoundError, SuccessResponse, UnauthorizedError, UserId, ValidationError, WebhookEndpointId, __SamvaRuntimeSensitiveString } from "./shared";
|
|
3
|
+
import { ApiKeySecurityMiddleware, ConflictError, ExtensionId, ExtensionInstallationId, ExtensionVersionId, ExtensionVersionRef, ForbiddenError, GatewayTimeoutError, InternalError, MailboxId, MalformedRequestError, NamespaceId, OrganizationId, PolicyConfiguration, ResourceNotFoundError, SuccessResponse, UnauthorizedError, UserId, ValidationError, WebhookEndpointId, __SamvaRuntimeSensitiveString } from "./shared.js";
|
|
4
4
|
export type ExtensionRunSummary = {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly eventId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, ConflictError, ExtensionId, ExtensionVersionId, ExtensionVersionRef, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
|
|
3
|
+
import { ApiKeySecurityMiddleware, ConflictError, ExtensionId, ExtensionVersionId, ExtensionVersionRef, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
4
4
|
export type ExtensionBundle = {
|
|
5
5
|
readonly sha256: string;
|
|
6
6
|
readonly sizeBytes: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, FeedbackContext, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, UnauthorizedError, ValidationError } from "./shared";
|
|
4
|
+
import { ApiKeySecurityMiddleware, FeedbackContext, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
5
5
|
export type FeedbackId = string & EffectBrand.Brand<"FeedbackId">;
|
|
6
6
|
export declare const FeedbackId: Schema.brand<Schema.String, "FeedbackId">;
|
|
7
7
|
export type FeedbackReceipt = {
|
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
import { HttpApi } from "effect/http-api";
|
|
2
|
-
import { AccountsGroup } from "./accounts";
|
|
3
|
-
import { AgentsGroup } from "./agents";
|
|
4
|
-
import { AnalyticsGroup } from "./analytics";
|
|
5
|
-
import { APIKeysGroup } from "./api-keys";
|
|
6
|
-
import { ApprovalRequestsGroup } from "./approval-requests";
|
|
7
|
-
import { AttachmentsGroup } from "./attachments";
|
|
8
|
-
import { BrandsGroup } from "./brands";
|
|
9
|
-
import { CampaignsGroup } from "./campaigns";
|
|
10
|
-
import { ContactEventsGroup } from "./contact-events";
|
|
11
|
-
import { ContactGroupsGroup } from "./contact-groups";
|
|
12
|
-
import { ContactsGroup } from "./contacts";
|
|
13
|
-
import { ConversationsGroup } from "./conversations";
|
|
14
|
-
import { CustomFieldsGroup } from "./custom-fields";
|
|
15
|
-
import { EmailGroup } from "./email";
|
|
16
|
-
import { EventsGroup } from "./events";
|
|
17
|
-
import { ExtensionInstallationsGroup } from "./extension-installations";
|
|
18
|
-
import { ExtensionsGroup } from "./extensions";
|
|
19
|
-
import { FeedbackGroup } from "./feedback";
|
|
20
|
-
import { IntegrationsGroup } from "./integrations";
|
|
21
|
-
import { IntegrationsCatalogGroup } from "./integrations-catalog";
|
|
22
|
-
import { JourneysGroup } from "./journeys";
|
|
23
|
-
import { MailboxesGroup } from "./mailboxes";
|
|
24
|
-
import { MediaGroup } from "./media";
|
|
25
|
-
import { MessagesGroup } from "./messages";
|
|
26
|
-
import { NamespacesGroup } from "./namespaces";
|
|
27
|
-
import { NewsletterDomainsGroup } from "./newsletter-domains";
|
|
28
|
-
import { NewsletterIssuesGroup } from "./newsletter-issues";
|
|
29
|
-
import { NewslettersGroup } from "./newsletters";
|
|
30
|
-
import { OperationsGroup } from "./operations";
|
|
31
|
-
import { OrganizationsGroup } from "./organizations";
|
|
32
|
-
import { PoliciesGroup } from "./policies";
|
|
33
|
-
import { ScheduledMessagesGroup } from "./scheduled-messages";
|
|
34
|
-
import { SubscriptionsGroup } from "./subscriptions";
|
|
35
|
-
import { TemplateRegistrationsGroup } from "./template-registrations";
|
|
36
|
-
import { TemplateShareLinksGroup } from "./template-share-links";
|
|
37
|
-
import { TemplatesGroup } from "./templates";
|
|
38
|
-
import { TopicFormsGroup } from "./topic-forms";
|
|
39
|
-
import { TopicsGroup } from "./topics";
|
|
40
|
-
import { WebhooksGroup } from "./webhooks";
|
|
41
|
-
import { WhatsAppGroup } from "./whats-app";
|
|
42
|
-
import { WhatsAppFlowsGroup } from "./whats-app-flows";
|
|
43
|
-
import { WhatsAppSetupLinksGroup } from "./whats-app-setup-links";
|
|
44
|
-
import { WhoamiGroup } from "./whoami";
|
|
45
|
-
export * from "./shared";
|
|
46
|
-
export * from "./accounts";
|
|
47
|
-
export * from "./agents";
|
|
48
|
-
export * from "./analytics";
|
|
49
|
-
export * from "./api-keys";
|
|
50
|
-
export * from "./approval-requests";
|
|
51
|
-
export * from "./attachments";
|
|
52
|
-
export * from "./brands";
|
|
53
|
-
export * from "./campaigns";
|
|
54
|
-
export * from "./contact-groups";
|
|
55
|
-
export * from "./contacts";
|
|
56
|
-
export * from "./contact-events";
|
|
57
|
-
export * from "./conversations";
|
|
58
|
-
export * from "./custom-fields";
|
|
59
|
-
export * from "./email";
|
|
60
|
-
export * from "./events";
|
|
61
|
-
export * from "./extension-installations";
|
|
62
|
-
export * from "./extensions";
|
|
63
|
-
export * from "./feedback";
|
|
64
|
-
export * from "./integrations";
|
|
65
|
-
export * from "./integrations-catalog";
|
|
66
|
-
export * from "./journeys";
|
|
67
|
-
export * from "./mailboxes";
|
|
68
|
-
export * from "./media";
|
|
69
|
-
export * from "./messages";
|
|
70
|
-
export * from "./scheduled-messages";
|
|
71
|
-
export * from "./namespaces";
|
|
72
|
-
export * from "./newsletters";
|
|
73
|
-
export * from "./newsletter-domains";
|
|
74
|
-
export * from "./newsletter-issues";
|
|
75
|
-
export * from "./operations";
|
|
76
|
-
export * from "./organizations";
|
|
77
|
-
export * from "./policies";
|
|
78
|
-
export * from "./subscriptions";
|
|
79
|
-
export * from "./template-share-links";
|
|
80
|
-
export * from "./templates";
|
|
81
|
-
export * from "./template-registrations";
|
|
82
|
-
export * from "./topics";
|
|
83
|
-
export * from "./topic-forms";
|
|
84
|
-
export * from "./webhooks";
|
|
85
|
-
export * from "./whats-app";
|
|
86
|
-
export * from "./whats-app-flows";
|
|
87
|
-
export * from "./whats-app-setup-links";
|
|
88
|
-
export * from "./whoami";
|
|
2
|
+
import { AccountsGroup } from "./accounts.js";
|
|
3
|
+
import { AgentsGroup } from "./agents.js";
|
|
4
|
+
import { AnalyticsGroup } from "./analytics.js";
|
|
5
|
+
import { APIKeysGroup } from "./api-keys.js";
|
|
6
|
+
import { ApprovalRequestsGroup } from "./approval-requests.js";
|
|
7
|
+
import { AttachmentsGroup } from "./attachments.js";
|
|
8
|
+
import { BrandsGroup } from "./brands.js";
|
|
9
|
+
import { CampaignsGroup } from "./campaigns.js";
|
|
10
|
+
import { ContactEventsGroup } from "./contact-events.js";
|
|
11
|
+
import { ContactGroupsGroup } from "./contact-groups.js";
|
|
12
|
+
import { ContactsGroup } from "./contacts.js";
|
|
13
|
+
import { ConversationsGroup } from "./conversations.js";
|
|
14
|
+
import { CustomFieldsGroup } from "./custom-fields.js";
|
|
15
|
+
import { EmailGroup } from "./email.js";
|
|
16
|
+
import { EventsGroup } from "./events.js";
|
|
17
|
+
import { ExtensionInstallationsGroup } from "./extension-installations.js";
|
|
18
|
+
import { ExtensionsGroup } from "./extensions.js";
|
|
19
|
+
import { FeedbackGroup } from "./feedback.js";
|
|
20
|
+
import { IntegrationsGroup } from "./integrations.js";
|
|
21
|
+
import { IntegrationsCatalogGroup } from "./integrations-catalog.js";
|
|
22
|
+
import { JourneysGroup } from "./journeys.js";
|
|
23
|
+
import { MailboxesGroup } from "./mailboxes.js";
|
|
24
|
+
import { MediaGroup } from "./media.js";
|
|
25
|
+
import { MessagesGroup } from "./messages.js";
|
|
26
|
+
import { NamespacesGroup } from "./namespaces.js";
|
|
27
|
+
import { NewsletterDomainsGroup } from "./newsletter-domains.js";
|
|
28
|
+
import { NewsletterIssuesGroup } from "./newsletter-issues.js";
|
|
29
|
+
import { NewslettersGroup } from "./newsletters.js";
|
|
30
|
+
import { OperationsGroup } from "./operations.js";
|
|
31
|
+
import { OrganizationsGroup } from "./organizations.js";
|
|
32
|
+
import { PoliciesGroup } from "./policies.js";
|
|
33
|
+
import { ScheduledMessagesGroup } from "./scheduled-messages.js";
|
|
34
|
+
import { SubscriptionsGroup } from "./subscriptions.js";
|
|
35
|
+
import { TemplateRegistrationsGroup } from "./template-registrations.js";
|
|
36
|
+
import { TemplateShareLinksGroup } from "./template-share-links.js";
|
|
37
|
+
import { TemplatesGroup } from "./templates.js";
|
|
38
|
+
import { TopicFormsGroup } from "./topic-forms.js";
|
|
39
|
+
import { TopicsGroup } from "./topics.js";
|
|
40
|
+
import { WebhooksGroup } from "./webhooks.js";
|
|
41
|
+
import { WhatsAppGroup } from "./whats-app.js";
|
|
42
|
+
import { WhatsAppFlowsGroup } from "./whats-app-flows.js";
|
|
43
|
+
import { WhatsAppSetupLinksGroup } from "./whats-app-setup-links.js";
|
|
44
|
+
import { WhoamiGroup } from "./whoami.js";
|
|
45
|
+
export * from "./shared.js";
|
|
46
|
+
export * from "./accounts.js";
|
|
47
|
+
export * from "./agents.js";
|
|
48
|
+
export * from "./analytics.js";
|
|
49
|
+
export * from "./api-keys.js";
|
|
50
|
+
export * from "./approval-requests.js";
|
|
51
|
+
export * from "./attachments.js";
|
|
52
|
+
export * from "./brands.js";
|
|
53
|
+
export * from "./campaigns.js";
|
|
54
|
+
export * from "./contact-groups.js";
|
|
55
|
+
export * from "./contacts.js";
|
|
56
|
+
export * from "./contact-events.js";
|
|
57
|
+
export * from "./conversations.js";
|
|
58
|
+
export * from "./custom-fields.js";
|
|
59
|
+
export * from "./email.js";
|
|
60
|
+
export * from "./events.js";
|
|
61
|
+
export * from "./extension-installations.js";
|
|
62
|
+
export * from "./extensions.js";
|
|
63
|
+
export * from "./feedback.js";
|
|
64
|
+
export * from "./integrations.js";
|
|
65
|
+
export * from "./integrations-catalog.js";
|
|
66
|
+
export * from "./journeys.js";
|
|
67
|
+
export * from "./mailboxes.js";
|
|
68
|
+
export * from "./media.js";
|
|
69
|
+
export * from "./messages.js";
|
|
70
|
+
export * from "./scheduled-messages.js";
|
|
71
|
+
export * from "./namespaces.js";
|
|
72
|
+
export * from "./newsletters.js";
|
|
73
|
+
export * from "./newsletter-domains.js";
|
|
74
|
+
export * from "./newsletter-issues.js";
|
|
75
|
+
export * from "./operations.js";
|
|
76
|
+
export * from "./organizations.js";
|
|
77
|
+
export * from "./policies.js";
|
|
78
|
+
export * from "./subscriptions.js";
|
|
79
|
+
export * from "./template-share-links.js";
|
|
80
|
+
export * from "./templates.js";
|
|
81
|
+
export * from "./template-registrations.js";
|
|
82
|
+
export * from "./topics.js";
|
|
83
|
+
export * from "./topic-forms.js";
|
|
84
|
+
export * from "./webhooks.js";
|
|
85
|
+
export * from "./whats-app.js";
|
|
86
|
+
export * from "./whats-app-flows.js";
|
|
87
|
+
export * from "./whats-app-setup-links.js";
|
|
88
|
+
export * from "./whoami.js";
|
|
89
89
|
declare const SamvaApi_base: HttpApi.HttpApi<"SamvaApi", typeof AccountsGroup | typeof AgentsGroup | typeof AnalyticsGroup | typeof APIKeysGroup | typeof ApprovalRequestsGroup | typeof AttachmentsGroup | typeof BrandsGroup | typeof CampaignsGroup | typeof ContactEventsGroup | typeof ContactGroupsGroup | typeof ContactsGroup | typeof ConversationsGroup | typeof CustomFieldsGroup | typeof EmailGroup | typeof EventsGroup | typeof ExtensionInstallationsGroup | typeof ExtensionsGroup | typeof FeedbackGroup | typeof IntegrationsGroup | typeof IntegrationsCatalogGroup | typeof JourneysGroup | typeof MailboxesGroup | typeof MediaGroup | typeof MessagesGroup | typeof NamespacesGroup | typeof NewsletterDomainsGroup | typeof NewsletterIssuesGroup | typeof NewslettersGroup | typeof OperationsGroup | typeof OrganizationsGroup | typeof PoliciesGroup | typeof ScheduledMessagesGroup | typeof SubscriptionsGroup | typeof TemplateRegistrationsGroup | typeof TemplateShareLinksGroup | typeof TemplatesGroup | typeof TopicFormsGroup | typeof TopicsGroup | typeof WebhooksGroup | typeof WhatsAppGroup | typeof WhatsAppFlowsGroup | typeof WhatsAppSetupLinksGroup | typeof WhoamiGroup>;
|
|
90
90
|
export declare class SamvaApi extends SamvaApi_base {
|
|
91
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutError, IntegrationKey, IntegrationStatus, InternalError, JsonObject, MalformedRequestError, UnauthorizedError, ValidationError } from "./shared";
|
|
3
|
+
import { ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutError, IntegrationKey, IntegrationStatus, InternalError, JsonObject, MalformedRequestError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
4
4
|
export type IntegrationCatalogSearchEntry = {
|
|
5
5
|
readonly key: IntegrationKey;
|
|
6
6
|
readonly kind: "mcp" | "openapi" | "graphql";
|
|
@@ -218,7 +218,7 @@ export type IntegrationCatalogPrepareRequestJson = {
|
|
|
218
218
|
};
|
|
219
219
|
export declare const IntegrationCatalogPrepareRequestJson: Schema.Struct<{
|
|
220
220
|
readonly provider: Schema.String;
|
|
221
|
-
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
221
|
+
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
222
222
|
}>;
|
|
223
223
|
export type IntegrationCatalogPrepare200 = {
|
|
224
224
|
readonly connectSpec: {
|
|
@@ -443,7 +443,7 @@ declare const IntegrationsCatalogGroup_base: HttpApiGroup.HttpApiGroup<"Integrat
|
|
|
443
443
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
444
444
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"integrationCatalogPrepare", "POST", "/v1/integrations/catalog/prepare", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
445
445
|
readonly provider: Schema.String;
|
|
446
|
-
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
446
|
+
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
447
447
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
448
448
|
readonly connectSpec: Schema.Struct<{
|
|
449
449
|
readonly provider: Schema.String;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { AccountLinks, AnswerWithoutApproval, ApiKeySecurityMiddleware, ConflictError, ForbiddenError, GatewayTimeoutError, IntegrationId, IntegrationKey, IntegrationStatus, IntegrationTool, InternalError, JsonObject, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared";
|
|
3
|
+
import { AccountLinks, AnswerWithoutApproval, ApiKeySecurityMiddleware, ConflictError, ForbiddenError, GatewayTimeoutError, IntegrationId, IntegrationKey, IntegrationStatus, IntegrationTool, InternalError, JsonObject, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared.js";
|
|
4
4
|
export type IntegrationToolKind = "query" | "mutation";
|
|
5
5
|
export declare const IntegrationToolKind: Schema.Union<readonly [Schema.Literal<"query">, Schema.Literal<"mutation">]>;
|
|
6
6
|
export type DeleteIntegrationResponse = {
|
|
@@ -53,7 +53,7 @@ export type Integration = {
|
|
|
53
53
|
};
|
|
54
54
|
export declare const Integration: Schema.Struct<{
|
|
55
55
|
readonly app: Schema.String;
|
|
56
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
56
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
57
57
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
58
58
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
59
59
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -86,7 +86,7 @@ export type IntegrationList = {
|
|
|
86
86
|
export declare const IntegrationList: Schema.Struct<{
|
|
87
87
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
88
88
|
readonly app: Schema.String;
|
|
89
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
89
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
90
90
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
91
91
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
92
92
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -126,7 +126,7 @@ export type IntegrationsList200 = IntegrationList;
|
|
|
126
126
|
export declare const IntegrationsList200: Schema.Struct<{
|
|
127
127
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
128
128
|
readonly app: Schema.String;
|
|
129
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
129
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
130
130
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
131
131
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
132
132
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -174,12 +174,12 @@ export type IntegrationsInstallRequestJson = {
|
|
|
174
174
|
export declare const IntegrationsInstallRequestJson: Schema.Struct<{
|
|
175
175
|
readonly app: Schema.String;
|
|
176
176
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
177
|
-
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
177
|
+
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
178
178
|
}>;
|
|
179
179
|
export type IntegrationsInstall201 = Integration;
|
|
180
180
|
export declare const IntegrationsInstall201: Schema.Struct<{
|
|
181
181
|
readonly app: Schema.String;
|
|
182
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
182
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
183
183
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
184
184
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
185
185
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -228,7 +228,7 @@ export declare const IntegrationsGetPathParams: Schema.Struct<{
|
|
|
228
228
|
export type IntegrationsGet200 = Integration;
|
|
229
229
|
export declare const IntegrationsGet200: Schema.Struct<{
|
|
230
230
|
readonly app: Schema.String;
|
|
231
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
231
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
232
232
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
233
233
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
234
234
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -319,12 +319,12 @@ export declare const IntegrationsUpdateRequestJson: Schema.Struct<{
|
|
|
319
319
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
320
320
|
readonly runsWithoutApproval: Schema.optionalKey<Schema.Boolean>;
|
|
321
321
|
}>>;
|
|
322
|
-
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
322
|
+
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
323
323
|
}>;
|
|
324
324
|
export type IntegrationsUpdate200 = Integration;
|
|
325
325
|
export declare const IntegrationsUpdate200: Schema.Struct<{
|
|
326
326
|
readonly app: Schema.String;
|
|
327
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
327
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
328
328
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
329
329
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
330
330
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -470,7 +470,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
470
470
|
readonly integrationId: Schema.brand<Schema.String, "IntegrationId">;
|
|
471
471
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
472
472
|
readonly app: Schema.String;
|
|
473
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
473
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
474
474
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
475
475
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
476
476
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -598,10 +598,10 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
598
598
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"integrationsInstall", "POST", "/v1/integrations", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
599
599
|
readonly app: Schema.String;
|
|
600
600
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
601
|
-
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
601
|
+
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
602
602
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
603
603
|
readonly app: Schema.String;
|
|
604
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
604
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
605
605
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
606
606
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
607
607
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -732,7 +732,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
732
732
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
733
733
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
734
734
|
readonly app: Schema.String;
|
|
735
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
735
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
736
736
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
737
737
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
738
738
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|
|
@@ -1247,10 +1247,10 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
1247
1247
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
1248
1248
|
readonly runsWithoutApproval: Schema.optionalKey<Schema.Boolean>;
|
|
1249
1249
|
}>>;
|
|
1250
|
-
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
1250
|
+
readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1251
1251
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1252
1252
|
readonly app: Schema.String;
|
|
1253
|
-
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
|
|
1253
|
+
readonly settings: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
|
|
1254
1254
|
readonly id: Schema.brand<Schema.String, "IntegrationId">;
|
|
1255
1255
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
1256
1256
|
readonly accounts: Schema.$Record<Schema.String, Schema.brand<Schema.String, "IntegrationAccountId">>;
|