samva 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -0,0 +1,656 @@
|
|
|
1
|
+
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
import { ApiKeySecurityMiddleware, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, ResourceNotFoundError, TopicId, UnauthorizedError, ValidationError } from "./shared";
|
|
4
|
+
export type TopicForm = {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly publicKey: string;
|
|
7
|
+
readonly topicId: TopicId;
|
|
8
|
+
readonly allowedOrigins: ReadonlyArray<string>;
|
|
9
|
+
readonly confirmationTitle: string;
|
|
10
|
+
readonly confirmationMessage: string;
|
|
11
|
+
readonly successTitle: string;
|
|
12
|
+
readonly successMessage: string;
|
|
13
|
+
readonly redirectUrl: string | null;
|
|
14
|
+
readonly linkOrigin: string;
|
|
15
|
+
readonly createdAt: string;
|
|
16
|
+
readonly updatedAt: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const TopicForm: Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly publicKey: Schema.String;
|
|
21
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
22
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
23
|
+
readonly confirmationTitle: Schema.String;
|
|
24
|
+
readonly confirmationMessage: Schema.String;
|
|
25
|
+
readonly successTitle: Schema.String;
|
|
26
|
+
readonly successMessage: Schema.String;
|
|
27
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
28
|
+
readonly linkOrigin: Schema.String;
|
|
29
|
+
readonly createdAt: Schema.String;
|
|
30
|
+
readonly updatedAt: Schema.String;
|
|
31
|
+
}>;
|
|
32
|
+
export type TopicFormsListPathParams = {
|
|
33
|
+
readonly id: TopicId;
|
|
34
|
+
};
|
|
35
|
+
export declare const TopicFormsListPathParams: Schema.Struct<{
|
|
36
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
37
|
+
}>;
|
|
38
|
+
export type TopicFormsList200 = {
|
|
39
|
+
readonly items: ReadonlyArray<TopicForm>;
|
|
40
|
+
};
|
|
41
|
+
export declare const TopicFormsList200: Schema.Struct<{
|
|
42
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
43
|
+
readonly id: Schema.String;
|
|
44
|
+
readonly publicKey: Schema.String;
|
|
45
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
46
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
47
|
+
readonly confirmationTitle: Schema.String;
|
|
48
|
+
readonly confirmationMessage: Schema.String;
|
|
49
|
+
readonly successTitle: Schema.String;
|
|
50
|
+
readonly successMessage: Schema.String;
|
|
51
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
52
|
+
readonly linkOrigin: Schema.String;
|
|
53
|
+
readonly createdAt: Schema.String;
|
|
54
|
+
readonly updatedAt: Schema.String;
|
|
55
|
+
}>>;
|
|
56
|
+
}>;
|
|
57
|
+
export type TopicFormsList401 = UnauthorizedError;
|
|
58
|
+
export declare const TopicFormsList401: typeof UnauthorizedError;
|
|
59
|
+
export type TopicFormsList403 = ForbiddenError | FlagDisabledError;
|
|
60
|
+
export declare const TopicFormsList403: Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]>;
|
|
61
|
+
export type TopicFormsList404 = ResourceNotFoundError;
|
|
62
|
+
export declare const TopicFormsList404: typeof ResourceNotFoundError;
|
|
63
|
+
export type TopicFormsList422 = ValidationError;
|
|
64
|
+
export declare const TopicFormsList422: typeof ValidationError;
|
|
65
|
+
export type TopicFormsList500 = InternalError;
|
|
66
|
+
export declare const TopicFormsList500: typeof InternalError;
|
|
67
|
+
export type TopicFormsList504 = GatewayTimeoutError;
|
|
68
|
+
export declare const TopicFormsList504: typeof GatewayTimeoutError;
|
|
69
|
+
export type TopicFormsCreatePathParams = {
|
|
70
|
+
readonly id: TopicId;
|
|
71
|
+
};
|
|
72
|
+
export declare const TopicFormsCreatePathParams: Schema.Struct<{
|
|
73
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
74
|
+
}>;
|
|
75
|
+
export type TopicFormsCreateRequestJson = {
|
|
76
|
+
readonly allowedOrigins: ReadonlyArray<string>;
|
|
77
|
+
readonly confirmationTitle: string;
|
|
78
|
+
readonly confirmationMessage: string;
|
|
79
|
+
readonly successTitle: string;
|
|
80
|
+
readonly successMessage: string;
|
|
81
|
+
readonly redirectUrl: string | null;
|
|
82
|
+
};
|
|
83
|
+
export declare const TopicFormsCreateRequestJson: Schema.Struct<{
|
|
84
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
85
|
+
readonly confirmationTitle: Schema.String;
|
|
86
|
+
readonly confirmationMessage: Schema.String;
|
|
87
|
+
readonly successTitle: Schema.String;
|
|
88
|
+
readonly successMessage: Schema.String;
|
|
89
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
90
|
+
}>;
|
|
91
|
+
export type TopicFormsCreate201 = TopicForm;
|
|
92
|
+
export declare const TopicFormsCreate201: Schema.Struct<{
|
|
93
|
+
readonly id: Schema.String;
|
|
94
|
+
readonly publicKey: Schema.String;
|
|
95
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
96
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
97
|
+
readonly confirmationTitle: Schema.String;
|
|
98
|
+
readonly confirmationMessage: Schema.String;
|
|
99
|
+
readonly successTitle: Schema.String;
|
|
100
|
+
readonly successMessage: Schema.String;
|
|
101
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
102
|
+
readonly linkOrigin: Schema.String;
|
|
103
|
+
readonly createdAt: Schema.String;
|
|
104
|
+
readonly updatedAt: Schema.String;
|
|
105
|
+
}>;
|
|
106
|
+
export type TopicFormsCreate401 = UnauthorizedError;
|
|
107
|
+
export declare const TopicFormsCreate401: typeof UnauthorizedError;
|
|
108
|
+
export type TopicFormsCreate403 = ForbiddenError | FlagDisabledError;
|
|
109
|
+
export declare const TopicFormsCreate403: Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]>;
|
|
110
|
+
export type TopicFormsCreate404 = ResourceNotFoundError;
|
|
111
|
+
export declare const TopicFormsCreate404: typeof ResourceNotFoundError;
|
|
112
|
+
export type TopicFormsCreate422 = ValidationError;
|
|
113
|
+
export declare const TopicFormsCreate422: typeof ValidationError;
|
|
114
|
+
export type TopicFormsCreate500 = InternalError;
|
|
115
|
+
export declare const TopicFormsCreate500: typeof InternalError;
|
|
116
|
+
export type TopicFormsCreate504 = GatewayTimeoutError;
|
|
117
|
+
export declare const TopicFormsCreate504: typeof GatewayTimeoutError;
|
|
118
|
+
export type TopicFormsGetPathParams = {
|
|
119
|
+
readonly id: TopicId;
|
|
120
|
+
readonly formId: string;
|
|
121
|
+
};
|
|
122
|
+
export declare const TopicFormsGetPathParams: Schema.Struct<{
|
|
123
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
124
|
+
readonly formId: Schema.String;
|
|
125
|
+
}>;
|
|
126
|
+
export type TopicFormsGet200 = TopicForm;
|
|
127
|
+
export declare const TopicFormsGet200: Schema.Struct<{
|
|
128
|
+
readonly id: Schema.String;
|
|
129
|
+
readonly publicKey: Schema.String;
|
|
130
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
131
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
132
|
+
readonly confirmationTitle: Schema.String;
|
|
133
|
+
readonly confirmationMessage: Schema.String;
|
|
134
|
+
readonly successTitle: Schema.String;
|
|
135
|
+
readonly successMessage: Schema.String;
|
|
136
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
137
|
+
readonly linkOrigin: Schema.String;
|
|
138
|
+
readonly createdAt: Schema.String;
|
|
139
|
+
readonly updatedAt: Schema.String;
|
|
140
|
+
}>;
|
|
141
|
+
export type TopicFormsGet401 = UnauthorizedError;
|
|
142
|
+
export declare const TopicFormsGet401: typeof UnauthorizedError;
|
|
143
|
+
export type TopicFormsGet403 = ForbiddenError | FlagDisabledError;
|
|
144
|
+
export declare const TopicFormsGet403: Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]>;
|
|
145
|
+
export type TopicFormsGet404 = ResourceNotFoundError;
|
|
146
|
+
export declare const TopicFormsGet404: typeof ResourceNotFoundError;
|
|
147
|
+
export type TopicFormsGet422 = ValidationError;
|
|
148
|
+
export declare const TopicFormsGet422: typeof ValidationError;
|
|
149
|
+
export type TopicFormsGet500 = InternalError;
|
|
150
|
+
export declare const TopicFormsGet500: typeof InternalError;
|
|
151
|
+
export type TopicFormsGet504 = GatewayTimeoutError;
|
|
152
|
+
export declare const TopicFormsGet504: typeof GatewayTimeoutError;
|
|
153
|
+
export type TopicFormsRemovePathParams = {
|
|
154
|
+
readonly id: TopicId;
|
|
155
|
+
readonly formId: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const TopicFormsRemovePathParams: Schema.Struct<{
|
|
158
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
159
|
+
readonly formId: Schema.String;
|
|
160
|
+
}>;
|
|
161
|
+
export type TopicFormsRemove200 = {
|
|
162
|
+
readonly success: boolean;
|
|
163
|
+
};
|
|
164
|
+
export declare const TopicFormsRemove200: Schema.Struct<{
|
|
165
|
+
readonly success: Schema.Boolean;
|
|
166
|
+
}>;
|
|
167
|
+
export type TopicFormsRemove401 = UnauthorizedError;
|
|
168
|
+
export declare const TopicFormsRemove401: typeof UnauthorizedError;
|
|
169
|
+
export type TopicFormsRemove403 = ForbiddenError | FlagDisabledError;
|
|
170
|
+
export declare const TopicFormsRemove403: Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]>;
|
|
171
|
+
export type TopicFormsRemove404 = ResourceNotFoundError;
|
|
172
|
+
export declare const TopicFormsRemove404: typeof ResourceNotFoundError;
|
|
173
|
+
export type TopicFormsRemove422 = ValidationError;
|
|
174
|
+
export declare const TopicFormsRemove422: typeof ValidationError;
|
|
175
|
+
export type TopicFormsRemove500 = InternalError;
|
|
176
|
+
export declare const TopicFormsRemove500: typeof InternalError;
|
|
177
|
+
export type TopicFormsRemove504 = GatewayTimeoutError;
|
|
178
|
+
export declare const TopicFormsRemove504: typeof GatewayTimeoutError;
|
|
179
|
+
export type TopicFormsUpdatePathParams = {
|
|
180
|
+
readonly id: TopicId;
|
|
181
|
+
readonly formId: string;
|
|
182
|
+
};
|
|
183
|
+
export declare const TopicFormsUpdatePathParams: Schema.Struct<{
|
|
184
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
185
|
+
readonly formId: Schema.String;
|
|
186
|
+
}>;
|
|
187
|
+
export type TopicFormsUpdateRequestJson = {
|
|
188
|
+
readonly allowedOrigins?: ReadonlyArray<string> | null;
|
|
189
|
+
readonly confirmationTitle?: string | null;
|
|
190
|
+
readonly confirmationMessage?: string | null;
|
|
191
|
+
readonly successTitle?: string | null;
|
|
192
|
+
readonly successMessage?: string | null;
|
|
193
|
+
readonly redirectUrl?: string | null | null;
|
|
194
|
+
};
|
|
195
|
+
export declare const TopicFormsUpdateRequestJson: Schema.Struct<{
|
|
196
|
+
readonly allowedOrigins: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
197
|
+
readonly confirmationTitle: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
198
|
+
readonly confirmationMessage: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
199
|
+
readonly successTitle: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
200
|
+
readonly successMessage: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
201
|
+
readonly redirectUrl: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
202
|
+
}>;
|
|
203
|
+
export type TopicFormsUpdate200 = TopicForm;
|
|
204
|
+
export declare const TopicFormsUpdate200: Schema.Struct<{
|
|
205
|
+
readonly id: Schema.String;
|
|
206
|
+
readonly publicKey: Schema.String;
|
|
207
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
208
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
209
|
+
readonly confirmationTitle: Schema.String;
|
|
210
|
+
readonly confirmationMessage: Schema.String;
|
|
211
|
+
readonly successTitle: Schema.String;
|
|
212
|
+
readonly successMessage: Schema.String;
|
|
213
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
214
|
+
readonly linkOrigin: Schema.String;
|
|
215
|
+
readonly createdAt: Schema.String;
|
|
216
|
+
readonly updatedAt: Schema.String;
|
|
217
|
+
}>;
|
|
218
|
+
export type TopicFormsUpdate401 = UnauthorizedError;
|
|
219
|
+
export declare const TopicFormsUpdate401: typeof UnauthorizedError;
|
|
220
|
+
export type TopicFormsUpdate403 = ForbiddenError | FlagDisabledError;
|
|
221
|
+
export declare const TopicFormsUpdate403: Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]>;
|
|
222
|
+
export type TopicFormsUpdate404 = ResourceNotFoundError;
|
|
223
|
+
export declare const TopicFormsUpdate404: typeof ResourceNotFoundError;
|
|
224
|
+
export type TopicFormsUpdate422 = ValidationError;
|
|
225
|
+
export declare const TopicFormsUpdate422: typeof ValidationError;
|
|
226
|
+
export type TopicFormsUpdate500 = InternalError;
|
|
227
|
+
export declare const TopicFormsUpdate500: typeof InternalError;
|
|
228
|
+
export type TopicFormsUpdate504 = GatewayTimeoutError;
|
|
229
|
+
export declare const TopicFormsUpdate504: typeof GatewayTimeoutError;
|
|
230
|
+
declare const TopicFormsGroup_base: HttpApiGroup.HttpApiGroup<"Topic forms", HttpApiEndpoint.HttpApiEndpoint<"topicFormsCreate", "POST", "/v1/topics/:id/forms", Schema.toCodecStringTree<Schema.Struct<{
|
|
231
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
232
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
233
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
234
|
+
readonly confirmationTitle: Schema.String;
|
|
235
|
+
readonly confirmationMessage: Schema.String;
|
|
236
|
+
readonly successTitle: Schema.String;
|
|
237
|
+
readonly successMessage: Schema.String;
|
|
238
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
239
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
240
|
+
readonly id: Schema.String;
|
|
241
|
+
readonly publicKey: Schema.String;
|
|
242
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
243
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
244
|
+
readonly confirmationTitle: Schema.String;
|
|
245
|
+
readonly confirmationMessage: Schema.String;
|
|
246
|
+
readonly successTitle: Schema.String;
|
|
247
|
+
readonly successMessage: Schema.String;
|
|
248
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
249
|
+
readonly linkOrigin: Schema.String;
|
|
250
|
+
readonly createdAt: Schema.String;
|
|
251
|
+
readonly updatedAt: Schema.String;
|
|
252
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
253
|
+
readonly _tag: "GatewayTimeoutError";
|
|
254
|
+
readonly message: string;
|
|
255
|
+
readonly retryAfterSeconds: number;
|
|
256
|
+
}, readonly [Schema.Struct<{
|
|
257
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
258
|
+
readonly message: Schema.String;
|
|
259
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
260
|
+
}>], {
|
|
261
|
+
readonly _tag: "GatewayTimeoutError";
|
|
262
|
+
readonly message: string;
|
|
263
|
+
readonly retryAfterSeconds: number;
|
|
264
|
+
}>, Schema.Struct<{
|
|
265
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
266
|
+
readonly message: Schema.String;
|
|
267
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
268
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
269
|
+
readonly _tag: "ResourceNotFoundError";
|
|
270
|
+
readonly resource: string;
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly message: string;
|
|
273
|
+
}, readonly [Schema.Struct<{
|
|
274
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
275
|
+
readonly resource: Schema.String;
|
|
276
|
+
readonly id: Schema.String;
|
|
277
|
+
readonly message: Schema.String;
|
|
278
|
+
}>], {
|
|
279
|
+
readonly _tag: "ResourceNotFoundError";
|
|
280
|
+
readonly resource: string;
|
|
281
|
+
readonly id: string;
|
|
282
|
+
readonly message: string;
|
|
283
|
+
}>, Schema.Struct<{
|
|
284
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
285
|
+
readonly resource: Schema.String;
|
|
286
|
+
readonly id: Schema.String;
|
|
287
|
+
readonly message: Schema.String;
|
|
288
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
289
|
+
readonly _tag: "UnauthorizedError";
|
|
290
|
+
readonly message: string;
|
|
291
|
+
}, readonly [Schema.Struct<{
|
|
292
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
293
|
+
readonly message: Schema.String;
|
|
294
|
+
}>], {
|
|
295
|
+
readonly _tag: "UnauthorizedError";
|
|
296
|
+
readonly message: string;
|
|
297
|
+
}>, Schema.Struct<{
|
|
298
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
299
|
+
readonly message: Schema.String;
|
|
300
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
301
|
+
readonly _tag: "ValidationError";
|
|
302
|
+
readonly message: string;
|
|
303
|
+
readonly fields?: {
|
|
304
|
+
readonly [x: string]: readonly string[];
|
|
305
|
+
} | null;
|
|
306
|
+
}, readonly [Schema.Struct<{
|
|
307
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
308
|
+
readonly message: Schema.String;
|
|
309
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
310
|
+
}>], {
|
|
311
|
+
readonly _tag: "ValidationError";
|
|
312
|
+
readonly message: string;
|
|
313
|
+
readonly fields?: {
|
|
314
|
+
readonly [x: string]: readonly string[];
|
|
315
|
+
} | null;
|
|
316
|
+
}>, Schema.Struct<{
|
|
317
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
318
|
+
readonly message: Schema.String;
|
|
319
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
320
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"topicFormsGet", "GET", "/v1/topics/:id/forms/:formId", Schema.toCodecStringTree<Schema.Struct<{
|
|
321
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
322
|
+
readonly formId: Schema.String;
|
|
323
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
324
|
+
readonly id: Schema.String;
|
|
325
|
+
readonly publicKey: Schema.String;
|
|
326
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
327
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
328
|
+
readonly confirmationTitle: Schema.String;
|
|
329
|
+
readonly confirmationMessage: Schema.String;
|
|
330
|
+
readonly successTitle: Schema.String;
|
|
331
|
+
readonly successMessage: Schema.String;
|
|
332
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
333
|
+
readonly linkOrigin: Schema.String;
|
|
334
|
+
readonly createdAt: Schema.String;
|
|
335
|
+
readonly updatedAt: Schema.String;
|
|
336
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
337
|
+
readonly _tag: "GatewayTimeoutError";
|
|
338
|
+
readonly message: string;
|
|
339
|
+
readonly retryAfterSeconds: number;
|
|
340
|
+
}, readonly [Schema.Struct<{
|
|
341
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
342
|
+
readonly message: Schema.String;
|
|
343
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
344
|
+
}>], {
|
|
345
|
+
readonly _tag: "GatewayTimeoutError";
|
|
346
|
+
readonly message: string;
|
|
347
|
+
readonly retryAfterSeconds: number;
|
|
348
|
+
}>, Schema.Struct<{
|
|
349
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
350
|
+
readonly message: Schema.String;
|
|
351
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
352
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
353
|
+
readonly _tag: "ResourceNotFoundError";
|
|
354
|
+
readonly resource: string;
|
|
355
|
+
readonly id: string;
|
|
356
|
+
readonly message: string;
|
|
357
|
+
}, readonly [Schema.Struct<{
|
|
358
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
359
|
+
readonly resource: Schema.String;
|
|
360
|
+
readonly id: Schema.String;
|
|
361
|
+
readonly message: Schema.String;
|
|
362
|
+
}>], {
|
|
363
|
+
readonly _tag: "ResourceNotFoundError";
|
|
364
|
+
readonly resource: string;
|
|
365
|
+
readonly id: string;
|
|
366
|
+
readonly message: string;
|
|
367
|
+
}>, Schema.Struct<{
|
|
368
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
369
|
+
readonly resource: Schema.String;
|
|
370
|
+
readonly id: Schema.String;
|
|
371
|
+
readonly message: Schema.String;
|
|
372
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
373
|
+
readonly _tag: "UnauthorizedError";
|
|
374
|
+
readonly message: string;
|
|
375
|
+
}, readonly [Schema.Struct<{
|
|
376
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
377
|
+
readonly message: Schema.String;
|
|
378
|
+
}>], {
|
|
379
|
+
readonly _tag: "UnauthorizedError";
|
|
380
|
+
readonly message: string;
|
|
381
|
+
}>, Schema.Struct<{
|
|
382
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
383
|
+
readonly message: Schema.String;
|
|
384
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
385
|
+
readonly _tag: "ValidationError";
|
|
386
|
+
readonly message: string;
|
|
387
|
+
readonly fields?: {
|
|
388
|
+
readonly [x: string]: readonly string[];
|
|
389
|
+
} | null;
|
|
390
|
+
}, readonly [Schema.Struct<{
|
|
391
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
392
|
+
readonly message: Schema.String;
|
|
393
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
394
|
+
}>], {
|
|
395
|
+
readonly _tag: "ValidationError";
|
|
396
|
+
readonly message: string;
|
|
397
|
+
readonly fields?: {
|
|
398
|
+
readonly [x: string]: readonly string[];
|
|
399
|
+
} | null;
|
|
400
|
+
}>, Schema.Struct<{
|
|
401
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
402
|
+
readonly message: Schema.String;
|
|
403
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
404
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"topicFormsList", "GET", "/v1/topics/:id/forms", Schema.toCodecStringTree<Schema.Struct<{
|
|
405
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
406
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
407
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
408
|
+
readonly id: Schema.String;
|
|
409
|
+
readonly publicKey: Schema.String;
|
|
410
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
411
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
412
|
+
readonly confirmationTitle: Schema.String;
|
|
413
|
+
readonly confirmationMessage: Schema.String;
|
|
414
|
+
readonly successTitle: Schema.String;
|
|
415
|
+
readonly successMessage: Schema.String;
|
|
416
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
417
|
+
readonly linkOrigin: Schema.String;
|
|
418
|
+
readonly createdAt: Schema.String;
|
|
419
|
+
readonly updatedAt: Schema.String;
|
|
420
|
+
}>>;
|
|
421
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
422
|
+
readonly _tag: "GatewayTimeoutError";
|
|
423
|
+
readonly message: string;
|
|
424
|
+
readonly retryAfterSeconds: number;
|
|
425
|
+
}, readonly [Schema.Struct<{
|
|
426
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
427
|
+
readonly message: Schema.String;
|
|
428
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
429
|
+
}>], {
|
|
430
|
+
readonly _tag: "GatewayTimeoutError";
|
|
431
|
+
readonly message: string;
|
|
432
|
+
readonly retryAfterSeconds: number;
|
|
433
|
+
}>, Schema.Struct<{
|
|
434
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
435
|
+
readonly message: Schema.String;
|
|
436
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
437
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
438
|
+
readonly _tag: "ResourceNotFoundError";
|
|
439
|
+
readonly resource: string;
|
|
440
|
+
readonly id: string;
|
|
441
|
+
readonly message: string;
|
|
442
|
+
}, readonly [Schema.Struct<{
|
|
443
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
444
|
+
readonly resource: Schema.String;
|
|
445
|
+
readonly id: Schema.String;
|
|
446
|
+
readonly message: Schema.String;
|
|
447
|
+
}>], {
|
|
448
|
+
readonly _tag: "ResourceNotFoundError";
|
|
449
|
+
readonly resource: string;
|
|
450
|
+
readonly id: string;
|
|
451
|
+
readonly message: string;
|
|
452
|
+
}>, Schema.Struct<{
|
|
453
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
454
|
+
readonly resource: Schema.String;
|
|
455
|
+
readonly id: Schema.String;
|
|
456
|
+
readonly message: Schema.String;
|
|
457
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
458
|
+
readonly _tag: "UnauthorizedError";
|
|
459
|
+
readonly message: string;
|
|
460
|
+
}, readonly [Schema.Struct<{
|
|
461
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
462
|
+
readonly message: Schema.String;
|
|
463
|
+
}>], {
|
|
464
|
+
readonly _tag: "UnauthorizedError";
|
|
465
|
+
readonly message: string;
|
|
466
|
+
}>, Schema.Struct<{
|
|
467
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
468
|
+
readonly message: Schema.String;
|
|
469
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
470
|
+
readonly _tag: "ValidationError";
|
|
471
|
+
readonly message: string;
|
|
472
|
+
readonly fields?: {
|
|
473
|
+
readonly [x: string]: readonly string[];
|
|
474
|
+
} | null;
|
|
475
|
+
}, readonly [Schema.Struct<{
|
|
476
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
477
|
+
readonly message: Schema.String;
|
|
478
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
479
|
+
}>], {
|
|
480
|
+
readonly _tag: "ValidationError";
|
|
481
|
+
readonly message: string;
|
|
482
|
+
readonly fields?: {
|
|
483
|
+
readonly [x: string]: readonly string[];
|
|
484
|
+
} | null;
|
|
485
|
+
}>, Schema.Struct<{
|
|
486
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
487
|
+
readonly message: Schema.String;
|
|
488
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
489
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"topicFormsRemove", "DELETE", "/v1/topics/:id/forms/:formId", Schema.toCodecStringTree<Schema.Struct<{
|
|
490
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
491
|
+
readonly formId: Schema.String;
|
|
492
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
493
|
+
readonly success: Schema.Boolean;
|
|
494
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
495
|
+
readonly _tag: "GatewayTimeoutError";
|
|
496
|
+
readonly message: string;
|
|
497
|
+
readonly retryAfterSeconds: number;
|
|
498
|
+
}, readonly [Schema.Struct<{
|
|
499
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
500
|
+
readonly message: Schema.String;
|
|
501
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
502
|
+
}>], {
|
|
503
|
+
readonly _tag: "GatewayTimeoutError";
|
|
504
|
+
readonly message: string;
|
|
505
|
+
readonly retryAfterSeconds: number;
|
|
506
|
+
}>, Schema.Struct<{
|
|
507
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
508
|
+
readonly message: Schema.String;
|
|
509
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
510
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
511
|
+
readonly _tag: "ResourceNotFoundError";
|
|
512
|
+
readonly resource: string;
|
|
513
|
+
readonly id: string;
|
|
514
|
+
readonly message: string;
|
|
515
|
+
}, readonly [Schema.Struct<{
|
|
516
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
517
|
+
readonly resource: Schema.String;
|
|
518
|
+
readonly id: Schema.String;
|
|
519
|
+
readonly message: Schema.String;
|
|
520
|
+
}>], {
|
|
521
|
+
readonly _tag: "ResourceNotFoundError";
|
|
522
|
+
readonly resource: string;
|
|
523
|
+
readonly id: string;
|
|
524
|
+
readonly message: string;
|
|
525
|
+
}>, Schema.Struct<{
|
|
526
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
527
|
+
readonly resource: Schema.String;
|
|
528
|
+
readonly id: Schema.String;
|
|
529
|
+
readonly message: Schema.String;
|
|
530
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
531
|
+
readonly _tag: "UnauthorizedError";
|
|
532
|
+
readonly message: string;
|
|
533
|
+
}, readonly [Schema.Struct<{
|
|
534
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
535
|
+
readonly message: Schema.String;
|
|
536
|
+
}>], {
|
|
537
|
+
readonly _tag: "UnauthorizedError";
|
|
538
|
+
readonly message: string;
|
|
539
|
+
}>, Schema.Struct<{
|
|
540
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
541
|
+
readonly message: Schema.String;
|
|
542
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
543
|
+
readonly _tag: "ValidationError";
|
|
544
|
+
readonly message: string;
|
|
545
|
+
readonly fields?: {
|
|
546
|
+
readonly [x: string]: readonly string[];
|
|
547
|
+
} | null;
|
|
548
|
+
}, readonly [Schema.Struct<{
|
|
549
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
550
|
+
readonly message: Schema.String;
|
|
551
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
552
|
+
}>], {
|
|
553
|
+
readonly _tag: "ValidationError";
|
|
554
|
+
readonly message: string;
|
|
555
|
+
readonly fields?: {
|
|
556
|
+
readonly [x: string]: readonly string[];
|
|
557
|
+
} | null;
|
|
558
|
+
}>, Schema.Struct<{
|
|
559
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
560
|
+
readonly message: Schema.String;
|
|
561
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
562
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"topicFormsUpdate", "PATCH", "/v1/topics/:id/forms/:formId", Schema.toCodecStringTree<Schema.Struct<{
|
|
563
|
+
readonly id: Schema.brand<Schema.String, "TopicId">;
|
|
564
|
+
readonly formId: Schema.String;
|
|
565
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
566
|
+
readonly allowedOrigins: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
567
|
+
readonly confirmationTitle: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
568
|
+
readonly confirmationMessage: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
569
|
+
readonly successTitle: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
570
|
+
readonly successMessage: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
571
|
+
readonly redirectUrl: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
572
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
573
|
+
readonly id: Schema.String;
|
|
574
|
+
readonly publicKey: Schema.String;
|
|
575
|
+
readonly topicId: Schema.brand<Schema.String, "TopicId">;
|
|
576
|
+
readonly allowedOrigins: Schema.$Array<Schema.String>;
|
|
577
|
+
readonly confirmationTitle: Schema.String;
|
|
578
|
+
readonly confirmationMessage: Schema.String;
|
|
579
|
+
readonly successTitle: Schema.String;
|
|
580
|
+
readonly successMessage: Schema.String;
|
|
581
|
+
readonly redirectUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
582
|
+
readonly linkOrigin: Schema.String;
|
|
583
|
+
readonly createdAt: Schema.String;
|
|
584
|
+
readonly updatedAt: Schema.String;
|
|
585
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof ForbiddenError, typeof FlagDisabledError]> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
586
|
+
readonly _tag: "GatewayTimeoutError";
|
|
587
|
+
readonly message: string;
|
|
588
|
+
readonly retryAfterSeconds: number;
|
|
589
|
+
}, readonly [Schema.Struct<{
|
|
590
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
591
|
+
readonly message: Schema.String;
|
|
592
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
593
|
+
}>], {
|
|
594
|
+
readonly _tag: "GatewayTimeoutError";
|
|
595
|
+
readonly message: string;
|
|
596
|
+
readonly retryAfterSeconds: number;
|
|
597
|
+
}>, Schema.Struct<{
|
|
598
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
599
|
+
readonly message: Schema.String;
|
|
600
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
601
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
602
|
+
readonly _tag: "ResourceNotFoundError";
|
|
603
|
+
readonly resource: string;
|
|
604
|
+
readonly id: string;
|
|
605
|
+
readonly message: string;
|
|
606
|
+
}, readonly [Schema.Struct<{
|
|
607
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
608
|
+
readonly resource: Schema.String;
|
|
609
|
+
readonly id: Schema.String;
|
|
610
|
+
readonly message: Schema.String;
|
|
611
|
+
}>], {
|
|
612
|
+
readonly _tag: "ResourceNotFoundError";
|
|
613
|
+
readonly resource: string;
|
|
614
|
+
readonly id: string;
|
|
615
|
+
readonly message: string;
|
|
616
|
+
}>, Schema.Struct<{
|
|
617
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
618
|
+
readonly resource: Schema.String;
|
|
619
|
+
readonly id: Schema.String;
|
|
620
|
+
readonly message: Schema.String;
|
|
621
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
622
|
+
readonly _tag: "UnauthorizedError";
|
|
623
|
+
readonly message: string;
|
|
624
|
+
}, readonly [Schema.Struct<{
|
|
625
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
626
|
+
readonly message: Schema.String;
|
|
627
|
+
}>], {
|
|
628
|
+
readonly _tag: "UnauthorizedError";
|
|
629
|
+
readonly message: string;
|
|
630
|
+
}>, Schema.Struct<{
|
|
631
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
632
|
+
readonly message: Schema.String;
|
|
633
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
634
|
+
readonly _tag: "ValidationError";
|
|
635
|
+
readonly message: string;
|
|
636
|
+
readonly fields?: {
|
|
637
|
+
readonly [x: string]: readonly string[];
|
|
638
|
+
} | null;
|
|
639
|
+
}, readonly [Schema.Struct<{
|
|
640
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
641
|
+
readonly message: Schema.String;
|
|
642
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
643
|
+
}>], {
|
|
644
|
+
readonly _tag: "ValidationError";
|
|
645
|
+
readonly message: string;
|
|
646
|
+
readonly fields?: {
|
|
647
|
+
readonly [x: string]: readonly string[];
|
|
648
|
+
} | null;
|
|
649
|
+
}>, Schema.Struct<{
|
|
650
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
651
|
+
readonly message: Schema.String;
|
|
652
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
653
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never>, false>;
|
|
654
|
+
export declare class TopicFormsGroup extends TopicFormsGroup_base {
|
|
655
|
+
}
|
|
656
|
+
export {};
|