@xtandard/webhooks 0.1.2 → 0.1.4
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 +9 -6
- package/dist/cli.cjs +4 -4
- package/dist/cli.mjs +4 -4
- package/dist/{core-B1JzRitF.mjs → core-CSnkgzmP.mjs} +2 -2
- package/dist/{core-B1JzRitF.mjs.map → core-CSnkgzmP.mjs.map} +1 -1
- package/dist/{core-DuHD0Rdg.cjs → core-FOX5QhoI.cjs} +2 -2
- package/dist/{core-DuHD0Rdg.cjs.map → core-FOX5QhoI.cjs.map} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.mjs +1 -1
- package/dist/{create-fetch-handler-BNsNcspj.cjs → create-fetch-handler-B9gukX_e.cjs} +3 -3
- package/dist/{create-fetch-handler-BNsNcspj.cjs.map → create-fetch-handler-B9gukX_e.cjs.map} +1 -1
- package/dist/{create-fetch-handler-C6BqzdsN.mjs → create-fetch-handler-KPASJUhE.mjs} +3 -3
- package/dist/{create-fetch-handler-C6BqzdsN.mjs.map → create-fetch-handler-KPASJUhE.mjs.map} +1 -1
- package/dist/{dispatcher-CFfWo-fN.mjs → dispatcher-DIcpJOU0.mjs} +3 -3
- package/dist/{dispatcher-CFfWo-fN.mjs.map → dispatcher-DIcpJOU0.mjs.map} +1 -1
- package/dist/{dispatcher-COdWV6hM.cjs → dispatcher-Dw8nhSxY.cjs} +3 -3
- package/dist/{dispatcher-COdWV6hM.cjs.map → dispatcher-Dw8nhSxY.cjs.map} +1 -1
- package/dist/elysia-shared-Bhsy8h_n.cjs +58 -0
- package/dist/elysia-shared-Bhsy8h_n.cjs.map +1 -0
- package/dist/elysia-shared-BlmFhfOV.mjs +47 -0
- package/dist/elysia-shared-BlmFhfOV.mjs.map +1 -0
- package/dist/elysia-shared-CvSsqMbR.d.mts +19 -0
- package/dist/elysia-shared-DSSrfuoF.d.cts +19 -0
- package/dist/entry-bun.cjs +1 -1
- package/dist/entry-bun.mjs +1 -1
- package/dist/entry-elysia.cjs +5 -25
- package/dist/entry-elysia.cjs.map +1 -1
- package/dist/entry-elysia.d.cts +5 -15
- package/dist/entry-elysia.d.mts +5 -15
- package/dist/entry-elysia.mjs +4 -24
- package/dist/entry-elysia.mjs.map +1 -1
- package/dist/entry-elysia2.cjs +95 -0
- package/dist/entry-elysia2.cjs.map +1 -0
- package/dist/entry-elysia2.d.cts +1273 -0
- package/dist/entry-elysia2.d.mts +1273 -0
- package/dist/entry-elysia2.mjs +93 -0
- package/dist/entry-elysia2.mjs.map +1 -0
- package/dist/entry-express.cjs +1 -1
- package/dist/entry-express.mjs +1 -1
- package/dist/entry-hono.cjs +1 -1
- package/dist/entry-hono.mjs +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/react.css +1 -1
- package/dist/react.js +4928 -4944
- package/dist/testing.cjs +2 -2
- package/dist/testing.mjs +2 -2
- package/dist/types-elysia2/adapters/elysia-shared.d.ts +34 -0
- package/dist/types-elysia2/adapters/elysia2.d.ts +820 -0
- package/dist/types-elysia2/auth/contract.d.ts +26 -0
- package/dist/types-elysia2/authorization/contract.d.ts +50 -0
- package/dist/types-elysia2/canonical.d.ts +27 -0
- package/dist/types-elysia2/core.d.ts +344 -0
- package/dist/types-elysia2/deliver.d.ts +79 -0
- package/dist/types-elysia2/delivery-sink.d.ts +57 -0
- package/dist/types-elysia2/dispatcher.d.ts +80 -0
- package/dist/types-elysia2/duration.d.ts +26 -0
- package/dist/types-elysia2/entry-elysia2.d.ts +8 -0
- package/dist/types-elysia2/hooks/contract.d.ts +203 -0
- package/dist/types-elysia2/id.d.ts +24 -0
- package/dist/types-elysia2/keys.d.ts +98 -0
- package/dist/types-elysia2/portal.d.ts +69 -0
- package/dist/types-elysia2/schema.d.ts +229 -0
- package/dist/types-elysia2/server/base-path.d.ts +15 -0
- package/dist/types-elysia2/server/cors.d.ts +36 -0
- package/dist/types-elysia2/server/create-fetch-handler.d.ts +121 -0
- package/dist/types-elysia2/server/openapi.d.ts +25 -0
- package/dist/types-elysia2/server/render-index-html.d.ts +18 -0
- package/dist/types-elysia2/server/routes.d.ts +52 -0
- package/dist/types-elysia2/server/static-assets.d.ts +13 -0
- package/dist/types-elysia2/signing.d.ts +88 -0
- package/dist/types-elysia2/storage/contract.d.ts +75 -0
- package/dist/types-elysia2/validation.d.ts +82 -0
- package/dist/types-elysia2/version.d.ts +8 -0
- package/dist/types-react/react.d.ts +16 -3
- package/dist/types-react/ui/App.d.ts +3 -1
- package/dist/types-react/ui/theme.d.ts +33 -5
- package/dist/ui/assets/{index-BgyX_njf.js → index-BJcdnARt.js} +48 -48
- package/dist/ui/index.html +1 -1
- package/package.json +21 -5
|
@@ -0,0 +1,1273 @@
|
|
|
1
|
+
import { n as WebhooksPanelOptions } from "./create-fetch-handler-D9ZRfrY6.cjs";
|
|
2
|
+
import { n as WebhooksElysiaOptions, r as webhooksPanel, t as ElysiaWebhooksHandler } from "./elysia-shared-DSSrfuoF.cjs";
|
|
3
|
+
import { Elysia } from "elysia";
|
|
4
|
+
|
|
5
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts
|
|
6
|
+
/** Symbol key applied to readonly types */
|
|
7
|
+
declare const ReadonlyKind: unique symbol;
|
|
8
|
+
/** Symbol key applied to optional types */
|
|
9
|
+
declare const OptionalKind: unique symbol;
|
|
10
|
+
/** Symbol key applied to types */
|
|
11
|
+
declare const Hint: unique symbol;
|
|
12
|
+
/** Symbol key applied to types */
|
|
13
|
+
declare const Kind: unique symbol;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts
|
|
16
|
+
interface TAny extends TSchema {
|
|
17
|
+
[Kind]: 'Any';
|
|
18
|
+
static: any;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts
|
|
22
|
+
type TReadonly<T extends TSchema> = T & {
|
|
23
|
+
[ReadonlyKind]: 'Readonly';
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts
|
|
27
|
+
type StringFormatOption = 'date-time' | 'time' | 'date' | 'email' | 'idn-email' | 'hostname' | 'idn-hostname' | 'ipv4' | 'ipv6' | 'uri' | 'uri-reference' | 'iri' | 'uuid' | 'iri-reference' | 'uri-template' | 'json-pointer' | 'relative-json-pointer' | 'regex' | ({} & string);
|
|
28
|
+
type StringContentEncodingOption = '7bit' | '8bit' | 'binary' | 'quoted-printable' | 'base64' | ({} & string);
|
|
29
|
+
interface StringOptions extends SchemaOptions {
|
|
30
|
+
/** The maximum string length */
|
|
31
|
+
maxLength?: number;
|
|
32
|
+
/** The minimum string length */
|
|
33
|
+
minLength?: number;
|
|
34
|
+
/** A regular expression pattern this string should match */
|
|
35
|
+
pattern?: string;
|
|
36
|
+
/** A format this string should match */
|
|
37
|
+
format?: StringFormatOption;
|
|
38
|
+
/** The content encoding for this string */
|
|
39
|
+
contentEncoding?: StringContentEncodingOption;
|
|
40
|
+
/** The content media type for this string */
|
|
41
|
+
contentMediaType?: string;
|
|
42
|
+
}
|
|
43
|
+
interface TString extends TSchema, StringOptions {
|
|
44
|
+
[Kind]: 'String';
|
|
45
|
+
static: string;
|
|
46
|
+
type: 'string';
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts
|
|
50
|
+
interface TBoolean extends TSchema {
|
|
51
|
+
[Kind]: 'Boolean';
|
|
52
|
+
static: boolean;
|
|
53
|
+
type: 'boolean';
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts
|
|
57
|
+
type TOptional<T extends TSchema> = T & {
|
|
58
|
+
[OptionalKind]: 'Optional';
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts
|
|
62
|
+
type RecordStatic<Key extends TSchema, Type extends TSchema, P extends unknown[]> = (Evaluate<{ [_ in Assert<Static<Key>, PropertyKey>]: Static<Type, P> }>);
|
|
63
|
+
interface TRecord<Key extends TSchema = TSchema, Type extends TSchema = TSchema> extends TSchema {
|
|
64
|
+
[Kind]: 'Record';
|
|
65
|
+
static: RecordStatic<Key, Type, this['params']>;
|
|
66
|
+
type: 'object';
|
|
67
|
+
patternProperties: {
|
|
68
|
+
[pattern: string]: Type;
|
|
69
|
+
};
|
|
70
|
+
additionalProperties: TAdditionalProperties;
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts
|
|
74
|
+
/** Creates a static type from a TypeBox type */
|
|
75
|
+
type Static<Type extends TSchema, Params extends unknown[] = [], Result = (Type & {
|
|
76
|
+
params: Params;
|
|
77
|
+
})['static']> = Result;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts
|
|
80
|
+
type ReadonlyOptionalPropertyKeys<T extends TProperties> = { [K in keyof T]: T[K] extends TReadonly<TSchema> ? (T[K] extends TOptional<T[K]> ? K : never) : never }[keyof T];
|
|
81
|
+
type ReadonlyPropertyKeys<T extends TProperties> = { [K in keyof T]: T[K] extends TReadonly<TSchema> ? (T[K] extends TOptional<T[K]> ? never : K) : never }[keyof T];
|
|
82
|
+
type OptionalPropertyKeys<T extends TProperties> = { [K in keyof T]: T[K] extends TOptional<TSchema> ? (T[K] extends TReadonly<T[K]> ? never : K) : never }[keyof T];
|
|
83
|
+
type RequiredPropertyKeys<T extends TProperties> = keyof Omit<T, ReadonlyOptionalPropertyKeys<T> | ReadonlyPropertyKeys<T> | OptionalPropertyKeys<T>>;
|
|
84
|
+
type ObjectStaticProperties<T extends TProperties, R extends Record<keyof any, unknown>> = Evaluate<(Readonly<Partial<Pick<R, ReadonlyOptionalPropertyKeys<T>>>> & Readonly<Pick<R, ReadonlyPropertyKeys<T>>> & Partial<Pick<R, OptionalPropertyKeys<T>>> & Required<Pick<R, RequiredPropertyKeys<T>>>)>;
|
|
85
|
+
type ObjectStatic<T extends TProperties, P extends unknown[]> = ObjectStaticProperties<T, { [K in keyof T]: Static<T[K], P> }>;
|
|
86
|
+
type TPropertyKey = string | number;
|
|
87
|
+
type TProperties = Record<TPropertyKey, TSchema>;
|
|
88
|
+
type TIsLiteralString<Type extends string> = ([Type] extends [string] ? [string] extends [Type] ? false : true : false);
|
|
89
|
+
type IsRequiredArrayLiteralConstant<RequiredTuple extends string[]> = (RequiredTuple extends [infer Left extends string, ...infer _ extends string[]] ? TIsLiteralString<Left> : false);
|
|
90
|
+
type TRequiredArray<Properties extends TProperties, RequiredProperties extends TProperties = { [Key in keyof Properties as Properties[Key] extends TOptional<Properties[Key]> ? never : Key]: Properties[Key] }, RequiredUnion extends string = Extract<keyof RequiredProperties, string>, RequiredTuple extends string[] = UnionToTuple<RequiredUnion>, Result extends string[] | undefined = (IsRequiredArrayLiteralConstant<RequiredTuple> extends true ? RequiredTuple : string[] | undefined)> = Result;
|
|
91
|
+
type TAdditionalProperties = undefined | TSchema | boolean;
|
|
92
|
+
interface ObjectOptions extends SchemaOptions {
|
|
93
|
+
/** Additional property constraints for this object */
|
|
94
|
+
additionalProperties?: TAdditionalProperties;
|
|
95
|
+
/** The minimum number of properties allowed on this object */
|
|
96
|
+
minProperties?: number;
|
|
97
|
+
/** The maximum number of properties allowed on this object */
|
|
98
|
+
maxProperties?: number;
|
|
99
|
+
}
|
|
100
|
+
interface TObject<T extends TProperties = TProperties> extends TSchema, ObjectOptions {
|
|
101
|
+
[Kind]: 'Object';
|
|
102
|
+
static: ObjectStatic<T, this['params']>;
|
|
103
|
+
additionalProperties?: TAdditionalProperties;
|
|
104
|
+
type: 'object';
|
|
105
|
+
properties: T;
|
|
106
|
+
required: TRequiredArray<T>;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts
|
|
110
|
+
type UnionToIntersect<U> = (U extends unknown ? (arg: U) => 0 : never) extends ((arg: infer I) => 0) ? I : never;
|
|
111
|
+
type UnionLast<U> = UnionToIntersect<U extends unknown ? (x: U) => 0 : never> extends ((x: infer L) => 0) ? L : never;
|
|
112
|
+
type UnionToTuple<U, Acc extends unknown[] = [], R = UnionLast<U>> = [U] extends [never] ? Acc : UnionToTuple<Exclude<U, R>, [Extract<U, R>, ...Acc]>;
|
|
113
|
+
type Assert<T, E> = T extends E ? T : never;
|
|
114
|
+
type Evaluate<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
|
|
115
|
+
type Ensure<T> = T extends infer U ? U : never;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts
|
|
118
|
+
interface ArrayOptions extends SchemaOptions {
|
|
119
|
+
/** The minimum number of items in this array */
|
|
120
|
+
minItems?: number;
|
|
121
|
+
/** The maximum number of items in this array */
|
|
122
|
+
maxItems?: number;
|
|
123
|
+
/** Should this schema contain unique items */
|
|
124
|
+
uniqueItems?: boolean;
|
|
125
|
+
/** A schema for which some elements should match */
|
|
126
|
+
contains?: TSchema;
|
|
127
|
+
/** A minimum number of contains schema matches */
|
|
128
|
+
minContains?: number;
|
|
129
|
+
/** A maximum number of contains schema matches */
|
|
130
|
+
maxContains?: number;
|
|
131
|
+
}
|
|
132
|
+
type ArrayStatic<T extends TSchema, P extends unknown[]> = Ensure<Static<T, P>[]>;
|
|
133
|
+
interface TArray<T extends TSchema = TSchema> extends TSchema, ArrayOptions {
|
|
134
|
+
[Kind]: 'Array';
|
|
135
|
+
static: ArrayStatic<T, this['params']>;
|
|
136
|
+
type: 'array';
|
|
137
|
+
items: T;
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts
|
|
141
|
+
interface SchemaOptions {
|
|
142
|
+
$schema?: string;
|
|
143
|
+
/** Id for this schema */
|
|
144
|
+
$id?: string;
|
|
145
|
+
/** Title of this schema */
|
|
146
|
+
title?: string;
|
|
147
|
+
/** Description of this schema */
|
|
148
|
+
description?: string;
|
|
149
|
+
/** Default value for this schema */
|
|
150
|
+
default?: any;
|
|
151
|
+
/** Example values matching this schema */
|
|
152
|
+
examples?: any;
|
|
153
|
+
/** Optional annotation for readOnly */
|
|
154
|
+
readOnly?: boolean;
|
|
155
|
+
/** Optional annotation for writeOnly */
|
|
156
|
+
writeOnly?: boolean;
|
|
157
|
+
[prop: string]: any;
|
|
158
|
+
}
|
|
159
|
+
interface TKind {
|
|
160
|
+
[Kind]: string;
|
|
161
|
+
}
|
|
162
|
+
interface TSchema extends TKind, SchemaOptions {
|
|
163
|
+
[ReadonlyKind]?: string;
|
|
164
|
+
[OptionalKind]?: string;
|
|
165
|
+
[Hint]?: string;
|
|
166
|
+
params: unknown[];
|
|
167
|
+
static: unknown;
|
|
168
|
+
}
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/adapters/elysia2.d.ts
|
|
171
|
+
/**
|
|
172
|
+
* Typed Elysia plugin exposing the admin API so the **Eden** client can call it
|
|
173
|
+
* with full path/method/param typing (`edenClient.webhooks.api.applications.get()`).
|
|
174
|
+
* Routes are declared for the typed surface; every handler delegates to the
|
|
175
|
+
* shared fetch pipeline (auth, authorization, portal scoping, error mapping
|
|
176
|
+
* reused). A catch-all also serves the bundled UI.
|
|
177
|
+
*
|
|
178
|
+
* Elysia 2.x only — for Elysia 1.x import from `@xtandard/webhooks/elysia`.
|
|
179
|
+
*/
|
|
180
|
+
declare function webhooksElysia(options: WebhooksElysiaOptions): Elysia<string, {
|
|
181
|
+
decorator: {};
|
|
182
|
+
store: {};
|
|
183
|
+
derive: {};
|
|
184
|
+
resolve: {};
|
|
185
|
+
}, {
|
|
186
|
+
typebox: {};
|
|
187
|
+
error: {};
|
|
188
|
+
}, {
|
|
189
|
+
schema: {};
|
|
190
|
+
standaloneSchema: {};
|
|
191
|
+
macro: {};
|
|
192
|
+
macroFn: {};
|
|
193
|
+
parser: {};
|
|
194
|
+
response: {};
|
|
195
|
+
}, {
|
|
196
|
+
[x: string]: {
|
|
197
|
+
config: {
|
|
198
|
+
get: {
|
|
199
|
+
body: unknown;
|
|
200
|
+
params: {};
|
|
201
|
+
query: unknown;
|
|
202
|
+
headers: unknown;
|
|
203
|
+
response: {
|
|
204
|
+
200: Response;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
} & {
|
|
210
|
+
[x: string]: {
|
|
211
|
+
api: {
|
|
212
|
+
"openapi.json": {
|
|
213
|
+
get: {
|
|
214
|
+
body: unknown;
|
|
215
|
+
params: {};
|
|
216
|
+
query: unknown;
|
|
217
|
+
headers: unknown;
|
|
218
|
+
response: {
|
|
219
|
+
200: Response;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
} & {
|
|
226
|
+
[x: string]: {
|
|
227
|
+
api: {
|
|
228
|
+
"event-types.json": {
|
|
229
|
+
get: {
|
|
230
|
+
body: unknown;
|
|
231
|
+
params: {};
|
|
232
|
+
query: unknown;
|
|
233
|
+
headers: unknown;
|
|
234
|
+
response: {
|
|
235
|
+
200: Response;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
} & {
|
|
242
|
+
[x: string]: {
|
|
243
|
+
api: {
|
|
244
|
+
applications: {
|
|
245
|
+
get: {
|
|
246
|
+
body: unknown;
|
|
247
|
+
params: {};
|
|
248
|
+
query: unknown;
|
|
249
|
+
headers: unknown;
|
|
250
|
+
response: {
|
|
251
|
+
200: Response;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
} & {
|
|
258
|
+
[x: string]: {
|
|
259
|
+
api: {
|
|
260
|
+
applications: {
|
|
261
|
+
post: {
|
|
262
|
+
body: unknown;
|
|
263
|
+
params: {};
|
|
264
|
+
query: unknown;
|
|
265
|
+
headers: unknown;
|
|
266
|
+
response: {
|
|
267
|
+
200: {
|
|
268
|
+
readonly body: TObject<{
|
|
269
|
+
key: TString;
|
|
270
|
+
name: TOptional<TString>;
|
|
271
|
+
metadata: TOptional<TAny>;
|
|
272
|
+
}>;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
} & {
|
|
280
|
+
[x: string]: {
|
|
281
|
+
api: {
|
|
282
|
+
applications: {
|
|
283
|
+
":app": {
|
|
284
|
+
get: {
|
|
285
|
+
body: unknown;
|
|
286
|
+
params: {
|
|
287
|
+
app: string;
|
|
288
|
+
} & {};
|
|
289
|
+
query: unknown;
|
|
290
|
+
headers: unknown;
|
|
291
|
+
response: {
|
|
292
|
+
200: {
|
|
293
|
+
readonly params: TObject<{
|
|
294
|
+
app: TString;
|
|
295
|
+
}>;
|
|
296
|
+
};
|
|
297
|
+
422: {
|
|
298
|
+
type: "validation";
|
|
299
|
+
on: string;
|
|
300
|
+
summary?: string;
|
|
301
|
+
message?: string;
|
|
302
|
+
found?: unknown;
|
|
303
|
+
property?: string;
|
|
304
|
+
expected?: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
} & {
|
|
313
|
+
[x: string]: {
|
|
314
|
+
api: {
|
|
315
|
+
applications: {
|
|
316
|
+
":app": {
|
|
317
|
+
put: {
|
|
318
|
+
body: unknown;
|
|
319
|
+
params: {
|
|
320
|
+
app: string;
|
|
321
|
+
} & {};
|
|
322
|
+
query: unknown;
|
|
323
|
+
headers: unknown;
|
|
324
|
+
response: {
|
|
325
|
+
200: {
|
|
326
|
+
readonly params: TObject<{
|
|
327
|
+
app: TString;
|
|
328
|
+
}>;
|
|
329
|
+
readonly body: TAny;
|
|
330
|
+
};
|
|
331
|
+
422: {
|
|
332
|
+
type: "validation";
|
|
333
|
+
on: string;
|
|
334
|
+
summary?: string;
|
|
335
|
+
message?: string;
|
|
336
|
+
found?: unknown;
|
|
337
|
+
property?: string;
|
|
338
|
+
expected?: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
} & {
|
|
347
|
+
[x: string]: {
|
|
348
|
+
api: {
|
|
349
|
+
applications: {
|
|
350
|
+
":app": {
|
|
351
|
+
delete: {
|
|
352
|
+
body: unknown;
|
|
353
|
+
params: {
|
|
354
|
+
app: string;
|
|
355
|
+
} & {};
|
|
356
|
+
query: unknown;
|
|
357
|
+
headers: unknown;
|
|
358
|
+
response: {
|
|
359
|
+
200: {
|
|
360
|
+
readonly params: TObject<{
|
|
361
|
+
app: TString;
|
|
362
|
+
}>;
|
|
363
|
+
};
|
|
364
|
+
422: {
|
|
365
|
+
type: "validation";
|
|
366
|
+
on: string;
|
|
367
|
+
summary?: string;
|
|
368
|
+
message?: string;
|
|
369
|
+
found?: unknown;
|
|
370
|
+
property?: string;
|
|
371
|
+
expected?: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
} & {
|
|
380
|
+
[x: string]: {
|
|
381
|
+
api: {
|
|
382
|
+
"event-types": {
|
|
383
|
+
get: {
|
|
384
|
+
body: unknown;
|
|
385
|
+
params: {};
|
|
386
|
+
query: unknown;
|
|
387
|
+
headers: unknown;
|
|
388
|
+
response: {
|
|
389
|
+
200: Response;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
} & {
|
|
396
|
+
[x: string]: {
|
|
397
|
+
api: {
|
|
398
|
+
"event-types": {
|
|
399
|
+
post: {
|
|
400
|
+
body: unknown;
|
|
401
|
+
params: {};
|
|
402
|
+
query: unknown;
|
|
403
|
+
headers: unknown;
|
|
404
|
+
response: {
|
|
405
|
+
200: {
|
|
406
|
+
readonly body: TObject<{
|
|
407
|
+
name: TString;
|
|
408
|
+
description: TOptional<TString>;
|
|
409
|
+
groupName: TOptional<TString>;
|
|
410
|
+
schema: TOptional<TAny>;
|
|
411
|
+
deprecated: TOptional<TBoolean>;
|
|
412
|
+
}>;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
} & {
|
|
420
|
+
[x: string]: {
|
|
421
|
+
api: {
|
|
422
|
+
"event-types": {
|
|
423
|
+
":name": {
|
|
424
|
+
get: {
|
|
425
|
+
body: unknown;
|
|
426
|
+
params: {
|
|
427
|
+
name: string;
|
|
428
|
+
} & {};
|
|
429
|
+
query: unknown;
|
|
430
|
+
headers: unknown;
|
|
431
|
+
response: {
|
|
432
|
+
200: {
|
|
433
|
+
readonly params: TObject<{
|
|
434
|
+
name: TString;
|
|
435
|
+
}>;
|
|
436
|
+
};
|
|
437
|
+
422: {
|
|
438
|
+
type: "validation";
|
|
439
|
+
on: string;
|
|
440
|
+
summary?: string;
|
|
441
|
+
message?: string;
|
|
442
|
+
found?: unknown;
|
|
443
|
+
property?: string;
|
|
444
|
+
expected?: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
} & {
|
|
453
|
+
[x: string]: {
|
|
454
|
+
api: {
|
|
455
|
+
"event-types": {
|
|
456
|
+
":name": {
|
|
457
|
+
put: {
|
|
458
|
+
body: unknown;
|
|
459
|
+
params: {
|
|
460
|
+
name: string;
|
|
461
|
+
} & {};
|
|
462
|
+
query: unknown;
|
|
463
|
+
headers: unknown;
|
|
464
|
+
response: {
|
|
465
|
+
200: {
|
|
466
|
+
readonly params: TObject<{
|
|
467
|
+
name: TString;
|
|
468
|
+
}>;
|
|
469
|
+
readonly body: TAny;
|
|
470
|
+
};
|
|
471
|
+
422: {
|
|
472
|
+
type: "validation";
|
|
473
|
+
on: string;
|
|
474
|
+
summary?: string;
|
|
475
|
+
message?: string;
|
|
476
|
+
found?: unknown;
|
|
477
|
+
property?: string;
|
|
478
|
+
expected?: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
} & {
|
|
487
|
+
[x: string]: {
|
|
488
|
+
api: {
|
|
489
|
+
"event-types": {
|
|
490
|
+
":name": {
|
|
491
|
+
delete: {
|
|
492
|
+
body: unknown;
|
|
493
|
+
params: {
|
|
494
|
+
name: string;
|
|
495
|
+
} & {};
|
|
496
|
+
query: unknown;
|
|
497
|
+
headers: unknown;
|
|
498
|
+
response: {
|
|
499
|
+
200: {
|
|
500
|
+
readonly params: TObject<{
|
|
501
|
+
name: TString;
|
|
502
|
+
}>;
|
|
503
|
+
};
|
|
504
|
+
422: {
|
|
505
|
+
type: "validation";
|
|
506
|
+
on: string;
|
|
507
|
+
summary?: string;
|
|
508
|
+
message?: string;
|
|
509
|
+
found?: unknown;
|
|
510
|
+
property?: string;
|
|
511
|
+
expected?: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
} & {
|
|
520
|
+
[x: string]: {
|
|
521
|
+
api: {
|
|
522
|
+
applications: {
|
|
523
|
+
":app": {
|
|
524
|
+
endpoints: {
|
|
525
|
+
get: {
|
|
526
|
+
body: unknown;
|
|
527
|
+
params: {
|
|
528
|
+
app: string;
|
|
529
|
+
} & {};
|
|
530
|
+
query: unknown;
|
|
531
|
+
headers: unknown;
|
|
532
|
+
response: {
|
|
533
|
+
200: {
|
|
534
|
+
readonly params: TObject<{
|
|
535
|
+
app: TString;
|
|
536
|
+
}>;
|
|
537
|
+
};
|
|
538
|
+
422: {
|
|
539
|
+
type: "validation";
|
|
540
|
+
on: string;
|
|
541
|
+
summary?: string;
|
|
542
|
+
message?: string;
|
|
543
|
+
found?: unknown;
|
|
544
|
+
property?: string;
|
|
545
|
+
expected?: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
} & {
|
|
555
|
+
[x: string]: {
|
|
556
|
+
api: {
|
|
557
|
+
applications: {
|
|
558
|
+
":app": {
|
|
559
|
+
endpoints: {
|
|
560
|
+
post: {
|
|
561
|
+
body: unknown;
|
|
562
|
+
params: {
|
|
563
|
+
app: string;
|
|
564
|
+
} & {};
|
|
565
|
+
query: unknown;
|
|
566
|
+
headers: unknown;
|
|
567
|
+
response: {
|
|
568
|
+
200: {
|
|
569
|
+
readonly params: TObject<{
|
|
570
|
+
app: TString;
|
|
571
|
+
}>;
|
|
572
|
+
readonly body: TObject<{
|
|
573
|
+
url: TString;
|
|
574
|
+
description: TOptional<TString>;
|
|
575
|
+
eventTypes: TOptional<TArray<TString>>;
|
|
576
|
+
headers: TOptional<TRecord<TString, TString>>;
|
|
577
|
+
metadata: TOptional<TAny>;
|
|
578
|
+
disabled: TOptional<TBoolean>;
|
|
579
|
+
}>;
|
|
580
|
+
};
|
|
581
|
+
422: {
|
|
582
|
+
type: "validation";
|
|
583
|
+
on: string;
|
|
584
|
+
summary?: string;
|
|
585
|
+
message?: string;
|
|
586
|
+
found?: unknown;
|
|
587
|
+
property?: string;
|
|
588
|
+
expected?: string;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
} & {
|
|
598
|
+
[x: string]: {
|
|
599
|
+
api: {
|
|
600
|
+
applications: {
|
|
601
|
+
":app": {
|
|
602
|
+
endpoints: {
|
|
603
|
+
":id": {
|
|
604
|
+
get: {
|
|
605
|
+
body: unknown;
|
|
606
|
+
params: {
|
|
607
|
+
app: string;
|
|
608
|
+
id: string;
|
|
609
|
+
} & {};
|
|
610
|
+
query: unknown;
|
|
611
|
+
headers: unknown;
|
|
612
|
+
response: {
|
|
613
|
+
200: {
|
|
614
|
+
readonly params: TObject<{
|
|
615
|
+
app: TString;
|
|
616
|
+
id: TString;
|
|
617
|
+
}>;
|
|
618
|
+
};
|
|
619
|
+
422: {
|
|
620
|
+
type: "validation";
|
|
621
|
+
on: string;
|
|
622
|
+
summary?: string;
|
|
623
|
+
message?: string;
|
|
624
|
+
found?: unknown;
|
|
625
|
+
property?: string;
|
|
626
|
+
expected?: string;
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
} & {
|
|
637
|
+
[x: string]: {
|
|
638
|
+
api: {
|
|
639
|
+
applications: {
|
|
640
|
+
":app": {
|
|
641
|
+
endpoints: {
|
|
642
|
+
":id": {
|
|
643
|
+
put: {
|
|
644
|
+
body: unknown;
|
|
645
|
+
params: {
|
|
646
|
+
app: string;
|
|
647
|
+
id: string;
|
|
648
|
+
} & {};
|
|
649
|
+
query: unknown;
|
|
650
|
+
headers: unknown;
|
|
651
|
+
response: {
|
|
652
|
+
200: {
|
|
653
|
+
readonly params: TObject<{
|
|
654
|
+
app: TString;
|
|
655
|
+
id: TString;
|
|
656
|
+
}>;
|
|
657
|
+
readonly body: TAny;
|
|
658
|
+
};
|
|
659
|
+
422: {
|
|
660
|
+
type: "validation";
|
|
661
|
+
on: string;
|
|
662
|
+
summary?: string;
|
|
663
|
+
message?: string;
|
|
664
|
+
found?: unknown;
|
|
665
|
+
property?: string;
|
|
666
|
+
expected?: string;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
} & {
|
|
677
|
+
[x: string]: {
|
|
678
|
+
api: {
|
|
679
|
+
applications: {
|
|
680
|
+
":app": {
|
|
681
|
+
endpoints: {
|
|
682
|
+
":id": {
|
|
683
|
+
delete: {
|
|
684
|
+
body: unknown;
|
|
685
|
+
params: {
|
|
686
|
+
app: string;
|
|
687
|
+
id: string;
|
|
688
|
+
} & {};
|
|
689
|
+
query: unknown;
|
|
690
|
+
headers: unknown;
|
|
691
|
+
response: {
|
|
692
|
+
200: {
|
|
693
|
+
readonly params: TObject<{
|
|
694
|
+
app: TString;
|
|
695
|
+
id: TString;
|
|
696
|
+
}>;
|
|
697
|
+
};
|
|
698
|
+
422: {
|
|
699
|
+
type: "validation";
|
|
700
|
+
on: string;
|
|
701
|
+
summary?: string;
|
|
702
|
+
message?: string;
|
|
703
|
+
found?: unknown;
|
|
704
|
+
property?: string;
|
|
705
|
+
expected?: string;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
} & {
|
|
716
|
+
[x: string]: {
|
|
717
|
+
api: {
|
|
718
|
+
applications: {
|
|
719
|
+
":app": {
|
|
720
|
+
endpoints: {
|
|
721
|
+
":id": {
|
|
722
|
+
secret: {
|
|
723
|
+
get: {
|
|
724
|
+
body: unknown;
|
|
725
|
+
params: {
|
|
726
|
+
app: string;
|
|
727
|
+
id: string;
|
|
728
|
+
} & {};
|
|
729
|
+
query: unknown;
|
|
730
|
+
headers: unknown;
|
|
731
|
+
response: {
|
|
732
|
+
200: {
|
|
733
|
+
readonly params: TObject<{
|
|
734
|
+
app: TString;
|
|
735
|
+
id: TString;
|
|
736
|
+
}>;
|
|
737
|
+
};
|
|
738
|
+
422: {
|
|
739
|
+
type: "validation";
|
|
740
|
+
on: string;
|
|
741
|
+
summary?: string;
|
|
742
|
+
message?: string;
|
|
743
|
+
found?: unknown;
|
|
744
|
+
property?: string;
|
|
745
|
+
expected?: string;
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
} & {
|
|
757
|
+
[x: string]: {
|
|
758
|
+
api: {
|
|
759
|
+
applications: {
|
|
760
|
+
":app": {
|
|
761
|
+
endpoints: {
|
|
762
|
+
":id": {
|
|
763
|
+
"rotate-secret": {
|
|
764
|
+
post: {
|
|
765
|
+
body: unknown;
|
|
766
|
+
params: {
|
|
767
|
+
app: string;
|
|
768
|
+
id: string;
|
|
769
|
+
} & {};
|
|
770
|
+
query: unknown;
|
|
771
|
+
headers: unknown;
|
|
772
|
+
response: {
|
|
773
|
+
200: {
|
|
774
|
+
readonly params: TObject<{
|
|
775
|
+
app: TString;
|
|
776
|
+
id: TString;
|
|
777
|
+
}>;
|
|
778
|
+
};
|
|
779
|
+
422: {
|
|
780
|
+
type: "validation";
|
|
781
|
+
on: string;
|
|
782
|
+
summary?: string;
|
|
783
|
+
message?: string;
|
|
784
|
+
found?: unknown;
|
|
785
|
+
property?: string;
|
|
786
|
+
expected?: string;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
} & {
|
|
798
|
+
[x: string]: {
|
|
799
|
+
api: {
|
|
800
|
+
applications: {
|
|
801
|
+
":app": {
|
|
802
|
+
endpoints: {
|
|
803
|
+
":id": {
|
|
804
|
+
enable: {
|
|
805
|
+
post: {
|
|
806
|
+
body: unknown;
|
|
807
|
+
params: {
|
|
808
|
+
app: string;
|
|
809
|
+
id: string;
|
|
810
|
+
} & {};
|
|
811
|
+
query: unknown;
|
|
812
|
+
headers: unknown;
|
|
813
|
+
response: {
|
|
814
|
+
200: {
|
|
815
|
+
readonly params: TObject<{
|
|
816
|
+
app: TString;
|
|
817
|
+
id: TString;
|
|
818
|
+
}>;
|
|
819
|
+
};
|
|
820
|
+
422: {
|
|
821
|
+
type: "validation";
|
|
822
|
+
on: string;
|
|
823
|
+
summary?: string;
|
|
824
|
+
message?: string;
|
|
825
|
+
found?: unknown;
|
|
826
|
+
property?: string;
|
|
827
|
+
expected?: string;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
} & {
|
|
839
|
+
[x: string]: {
|
|
840
|
+
api: {
|
|
841
|
+
applications: {
|
|
842
|
+
":app": {
|
|
843
|
+
endpoints: {
|
|
844
|
+
":id": {
|
|
845
|
+
disable: {
|
|
846
|
+
post: {
|
|
847
|
+
body: unknown;
|
|
848
|
+
params: {
|
|
849
|
+
app: string;
|
|
850
|
+
id: string;
|
|
851
|
+
} & {};
|
|
852
|
+
query: unknown;
|
|
853
|
+
headers: unknown;
|
|
854
|
+
response: {
|
|
855
|
+
200: {
|
|
856
|
+
readonly params: TObject<{
|
|
857
|
+
app: TString;
|
|
858
|
+
id: TString;
|
|
859
|
+
}>;
|
|
860
|
+
};
|
|
861
|
+
422: {
|
|
862
|
+
type: "validation";
|
|
863
|
+
on: string;
|
|
864
|
+
summary?: string;
|
|
865
|
+
message?: string;
|
|
866
|
+
found?: unknown;
|
|
867
|
+
property?: string;
|
|
868
|
+
expected?: string;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
} & {
|
|
880
|
+
[x: string]: {
|
|
881
|
+
api: {
|
|
882
|
+
applications: {
|
|
883
|
+
":app": {
|
|
884
|
+
endpoints: {
|
|
885
|
+
":id": {
|
|
886
|
+
test: {
|
|
887
|
+
post: {
|
|
888
|
+
body: unknown;
|
|
889
|
+
params: {
|
|
890
|
+
app: string;
|
|
891
|
+
id: string;
|
|
892
|
+
} & {};
|
|
893
|
+
query: unknown;
|
|
894
|
+
headers: unknown;
|
|
895
|
+
response: {
|
|
896
|
+
200: {
|
|
897
|
+
readonly params: TObject<{
|
|
898
|
+
app: TString;
|
|
899
|
+
id: TString;
|
|
900
|
+
}>;
|
|
901
|
+
readonly body: TObject<{
|
|
902
|
+
eventType: TString;
|
|
903
|
+
payload: TOptional<TAny>;
|
|
904
|
+
}>;
|
|
905
|
+
};
|
|
906
|
+
422: {
|
|
907
|
+
type: "validation";
|
|
908
|
+
on: string;
|
|
909
|
+
summary?: string;
|
|
910
|
+
message?: string;
|
|
911
|
+
found?: unknown;
|
|
912
|
+
property?: string;
|
|
913
|
+
expected?: string;
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
} & {
|
|
925
|
+
[x: string]: {
|
|
926
|
+
api: {
|
|
927
|
+
applications: {
|
|
928
|
+
":app": {
|
|
929
|
+
endpoints: {
|
|
930
|
+
":id": {
|
|
931
|
+
recover: {
|
|
932
|
+
post: {
|
|
933
|
+
body: unknown;
|
|
934
|
+
params: {
|
|
935
|
+
app: string;
|
|
936
|
+
id: string;
|
|
937
|
+
} & {};
|
|
938
|
+
query: unknown;
|
|
939
|
+
headers: unknown;
|
|
940
|
+
response: {
|
|
941
|
+
200: {
|
|
942
|
+
readonly params: TObject<{
|
|
943
|
+
app: TString;
|
|
944
|
+
id: TString;
|
|
945
|
+
}>;
|
|
946
|
+
readonly body: TObject<{
|
|
947
|
+
since: TString;
|
|
948
|
+
}>;
|
|
949
|
+
};
|
|
950
|
+
422: {
|
|
951
|
+
type: "validation";
|
|
952
|
+
on: string;
|
|
953
|
+
summary?: string;
|
|
954
|
+
message?: string;
|
|
955
|
+
found?: unknown;
|
|
956
|
+
property?: string;
|
|
957
|
+
expected?: string;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
} & {
|
|
969
|
+
[x: string]: {
|
|
970
|
+
api: {
|
|
971
|
+
applications: {
|
|
972
|
+
":app": {
|
|
973
|
+
messages: {
|
|
974
|
+
get: {
|
|
975
|
+
body: unknown;
|
|
976
|
+
params: {
|
|
977
|
+
app: string;
|
|
978
|
+
} & {};
|
|
979
|
+
query: unknown;
|
|
980
|
+
headers: unknown;
|
|
981
|
+
response: {
|
|
982
|
+
200: {
|
|
983
|
+
readonly params: TObject<{
|
|
984
|
+
app: TString;
|
|
985
|
+
}>;
|
|
986
|
+
};
|
|
987
|
+
422: {
|
|
988
|
+
type: "validation";
|
|
989
|
+
on: string;
|
|
990
|
+
summary?: string;
|
|
991
|
+
message?: string;
|
|
992
|
+
found?: unknown;
|
|
993
|
+
property?: string;
|
|
994
|
+
expected?: string;
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
} & {
|
|
1004
|
+
[x: string]: {
|
|
1005
|
+
api: {
|
|
1006
|
+
applications: {
|
|
1007
|
+
":app": {
|
|
1008
|
+
messages: {
|
|
1009
|
+
post: {
|
|
1010
|
+
body: unknown;
|
|
1011
|
+
params: {
|
|
1012
|
+
app: string;
|
|
1013
|
+
} & {};
|
|
1014
|
+
query: unknown;
|
|
1015
|
+
headers: unknown;
|
|
1016
|
+
response: {
|
|
1017
|
+
200: {
|
|
1018
|
+
readonly params: TObject<{
|
|
1019
|
+
app: TString;
|
|
1020
|
+
}>;
|
|
1021
|
+
readonly body: TObject<{
|
|
1022
|
+
eventType: TString;
|
|
1023
|
+
payload: TAny;
|
|
1024
|
+
timestamp: TOptional<TString>;
|
|
1025
|
+
idempotencyKey: TOptional<TString>;
|
|
1026
|
+
}>;
|
|
1027
|
+
};
|
|
1028
|
+
422: {
|
|
1029
|
+
type: "validation";
|
|
1030
|
+
on: string;
|
|
1031
|
+
summary?: string;
|
|
1032
|
+
message?: string;
|
|
1033
|
+
found?: unknown;
|
|
1034
|
+
property?: string;
|
|
1035
|
+
expected?: string;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
} & {
|
|
1045
|
+
[x: string]: {
|
|
1046
|
+
api: {
|
|
1047
|
+
applications: {
|
|
1048
|
+
":app": {
|
|
1049
|
+
messages: {
|
|
1050
|
+
":id": {
|
|
1051
|
+
get: {
|
|
1052
|
+
body: unknown;
|
|
1053
|
+
params: {
|
|
1054
|
+
app: string;
|
|
1055
|
+
id: string;
|
|
1056
|
+
} & {};
|
|
1057
|
+
query: unknown;
|
|
1058
|
+
headers: unknown;
|
|
1059
|
+
response: {
|
|
1060
|
+
200: {
|
|
1061
|
+
readonly params: TObject<{
|
|
1062
|
+
app: TString;
|
|
1063
|
+
id: TString;
|
|
1064
|
+
}>;
|
|
1065
|
+
};
|
|
1066
|
+
422: {
|
|
1067
|
+
type: "validation";
|
|
1068
|
+
on: string;
|
|
1069
|
+
summary?: string;
|
|
1070
|
+
message?: string;
|
|
1071
|
+
found?: unknown;
|
|
1072
|
+
property?: string;
|
|
1073
|
+
expected?: string;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
} & {
|
|
1084
|
+
[x: string]: {
|
|
1085
|
+
api: {
|
|
1086
|
+
applications: {
|
|
1087
|
+
":app": {
|
|
1088
|
+
deliveries: {
|
|
1089
|
+
get: {
|
|
1090
|
+
body: unknown;
|
|
1091
|
+
params: {
|
|
1092
|
+
app: string;
|
|
1093
|
+
} & {};
|
|
1094
|
+
query: unknown;
|
|
1095
|
+
headers: unknown;
|
|
1096
|
+
response: {
|
|
1097
|
+
200: {
|
|
1098
|
+
readonly params: TObject<{
|
|
1099
|
+
app: TString;
|
|
1100
|
+
}>;
|
|
1101
|
+
};
|
|
1102
|
+
422: {
|
|
1103
|
+
type: "validation";
|
|
1104
|
+
on: string;
|
|
1105
|
+
summary?: string;
|
|
1106
|
+
message?: string;
|
|
1107
|
+
found?: unknown;
|
|
1108
|
+
property?: string;
|
|
1109
|
+
expected?: string;
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
} & {
|
|
1119
|
+
[x: string]: {
|
|
1120
|
+
api: {
|
|
1121
|
+
applications: {
|
|
1122
|
+
":app": {
|
|
1123
|
+
deliveries: {
|
|
1124
|
+
":id": {
|
|
1125
|
+
get: {
|
|
1126
|
+
body: unknown;
|
|
1127
|
+
params: {
|
|
1128
|
+
app: string;
|
|
1129
|
+
id: string;
|
|
1130
|
+
} & {};
|
|
1131
|
+
query: unknown;
|
|
1132
|
+
headers: unknown;
|
|
1133
|
+
response: {
|
|
1134
|
+
200: {
|
|
1135
|
+
readonly params: TObject<{
|
|
1136
|
+
app: TString;
|
|
1137
|
+
id: TString;
|
|
1138
|
+
}>;
|
|
1139
|
+
};
|
|
1140
|
+
422: {
|
|
1141
|
+
type: "validation";
|
|
1142
|
+
on: string;
|
|
1143
|
+
summary?: string;
|
|
1144
|
+
message?: string;
|
|
1145
|
+
found?: unknown;
|
|
1146
|
+
property?: string;
|
|
1147
|
+
expected?: string;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
} & {
|
|
1158
|
+
[x: string]: {
|
|
1159
|
+
api: {
|
|
1160
|
+
applications: {
|
|
1161
|
+
":app": {
|
|
1162
|
+
deliveries: {
|
|
1163
|
+
":id": {
|
|
1164
|
+
retry: {
|
|
1165
|
+
post: {
|
|
1166
|
+
body: unknown;
|
|
1167
|
+
params: {
|
|
1168
|
+
app: string;
|
|
1169
|
+
id: string;
|
|
1170
|
+
} & {};
|
|
1171
|
+
query: unknown;
|
|
1172
|
+
headers: unknown;
|
|
1173
|
+
response: {
|
|
1174
|
+
200: {
|
|
1175
|
+
readonly params: TObject<{
|
|
1176
|
+
app: TString;
|
|
1177
|
+
id: TString;
|
|
1178
|
+
}>;
|
|
1179
|
+
};
|
|
1180
|
+
422: {
|
|
1181
|
+
type: "validation";
|
|
1182
|
+
on: string;
|
|
1183
|
+
summary?: string;
|
|
1184
|
+
message?: string;
|
|
1185
|
+
found?: unknown;
|
|
1186
|
+
property?: string;
|
|
1187
|
+
expected?: string;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
} & {
|
|
1199
|
+
[x: string]: {
|
|
1200
|
+
api: {
|
|
1201
|
+
applications: {
|
|
1202
|
+
":app": {
|
|
1203
|
+
audit: {
|
|
1204
|
+
get: {
|
|
1205
|
+
body: unknown;
|
|
1206
|
+
params: {
|
|
1207
|
+
app: string;
|
|
1208
|
+
} & {};
|
|
1209
|
+
query: unknown;
|
|
1210
|
+
headers: unknown;
|
|
1211
|
+
response: {
|
|
1212
|
+
200: {
|
|
1213
|
+
readonly params: TObject<{
|
|
1214
|
+
app: TString;
|
|
1215
|
+
}>;
|
|
1216
|
+
};
|
|
1217
|
+
422: {
|
|
1218
|
+
type: "validation";
|
|
1219
|
+
on: string;
|
|
1220
|
+
summary?: string;
|
|
1221
|
+
message?: string;
|
|
1222
|
+
found?: unknown;
|
|
1223
|
+
property?: string;
|
|
1224
|
+
expected?: string;
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
} & {
|
|
1234
|
+
[x: string]: {
|
|
1235
|
+
"*": {
|
|
1236
|
+
[x: string]: {
|
|
1237
|
+
body: unknown;
|
|
1238
|
+
params: {
|
|
1239
|
+
"*": string;
|
|
1240
|
+
} & {};
|
|
1241
|
+
query: unknown;
|
|
1242
|
+
headers: unknown;
|
|
1243
|
+
response: {
|
|
1244
|
+
200: Response;
|
|
1245
|
+
422: {
|
|
1246
|
+
type: "validation";
|
|
1247
|
+
on: string;
|
|
1248
|
+
summary?: string;
|
|
1249
|
+
message?: string;
|
|
1250
|
+
found?: unknown;
|
|
1251
|
+
property?: string;
|
|
1252
|
+
expected?: string;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
}, {
|
|
1259
|
+
derive: {};
|
|
1260
|
+
resolve: {};
|
|
1261
|
+
schema: {};
|
|
1262
|
+
standaloneSchema: {};
|
|
1263
|
+
response: {};
|
|
1264
|
+
}, {
|
|
1265
|
+
derive: {};
|
|
1266
|
+
resolve: {};
|
|
1267
|
+
schema: {};
|
|
1268
|
+
standaloneSchema: {};
|
|
1269
|
+
response: {};
|
|
1270
|
+
}>;
|
|
1271
|
+
//#endregion
|
|
1272
|
+
export { type ElysiaWebhooksHandler, type WebhooksElysiaOptions, type WebhooksPanelOptions, webhooksElysia, webhooksPanel };
|
|
1273
|
+
//# sourceMappingURL=entry-elysia2.d.cts.map
|