@aeriajs/builtins 0.0.271 → 0.0.273
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/dist/index.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare const collections: {
|
|
|
135
135
|
readonly noHeaders: {
|
|
136
136
|
readonly type: "boolean";
|
|
137
137
|
};
|
|
138
|
-
}>> & {
|
|
138
|
+
}, {}>> & {
|
|
139
139
|
fileId: string;
|
|
140
140
|
options: ("download" | "picture")[];
|
|
141
141
|
noHeaders: boolean;
|
|
@@ -152,7 +152,7 @@ export declare const collections: {
|
|
|
152
152
|
readonly noHeaders: {
|
|
153
153
|
readonly type: "boolean";
|
|
154
154
|
};
|
|
155
|
-
}>> & {
|
|
155
|
+
}, {}>> & {
|
|
156
156
|
fileId: string;
|
|
157
157
|
options: ("download" | "picture")[];
|
|
158
158
|
noHeaders: boolean;
|
|
@@ -237,7 +237,7 @@ export declare const collections: {
|
|
|
237
237
|
readonly type: "object";
|
|
238
238
|
readonly additionalProperties: true;
|
|
239
239
|
};
|
|
240
|
-
}>> & {
|
|
240
|
+
}, {}>> & {
|
|
241
241
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
242
242
|
httpStatus: 400 | 403 | 404;
|
|
243
243
|
message: string;
|
|
@@ -256,7 +256,7 @@ export declare const collections: {
|
|
|
256
256
|
readonly type: "object";
|
|
257
257
|
readonly additionalProperties: true;
|
|
258
258
|
};
|
|
259
|
-
}>> & {
|
|
259
|
+
}, {}>> & {
|
|
260
260
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
261
261
|
httpStatus: 400 | 403 | 404;
|
|
262
262
|
message: string;
|
|
@@ -516,7 +516,7 @@ export declare const collections: {
|
|
|
516
516
|
readonly noHeaders: {
|
|
517
517
|
readonly type: "boolean";
|
|
518
518
|
};
|
|
519
|
-
}>> & {
|
|
519
|
+
}, {}>> & {
|
|
520
520
|
fileId: string;
|
|
521
521
|
options: ("download" | "picture")[];
|
|
522
522
|
noHeaders: boolean;
|
|
@@ -533,7 +533,7 @@ export declare const collections: {
|
|
|
533
533
|
readonly noHeaders: {
|
|
534
534
|
readonly type: "boolean";
|
|
535
535
|
};
|
|
536
|
-
}>> & {
|
|
536
|
+
}, {}>> & {
|
|
537
537
|
fileId: string;
|
|
538
538
|
options: ("download" | "picture")[];
|
|
539
539
|
noHeaders: boolean;
|
|
@@ -618,7 +618,7 @@ export declare const collections: {
|
|
|
618
618
|
readonly type: "object";
|
|
619
619
|
readonly additionalProperties: true;
|
|
620
620
|
};
|
|
621
|
-
}>> & {
|
|
621
|
+
}, {}>> & {
|
|
622
622
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
623
623
|
httpStatus: 400 | 403 | 404;
|
|
624
624
|
message: string;
|
|
@@ -637,7 +637,7 @@ export declare const collections: {
|
|
|
637
637
|
readonly type: "object";
|
|
638
638
|
readonly additionalProperties: true;
|
|
639
639
|
};
|
|
640
|
-
}>> & {
|
|
640
|
+
}, {}>> & {
|
|
641
641
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
642
642
|
httpStatus: 400 | 403 | 404;
|
|
643
643
|
message: string;
|
|
@@ -1254,7 +1254,7 @@ export declare const collections: {
|
|
|
1254
1254
|
readonly type: "string";
|
|
1255
1255
|
readonly format: "date-time";
|
|
1256
1256
|
};
|
|
1257
|
-
}>> & {
|
|
1257
|
+
}, {}>> & {
|
|
1258
1258
|
name: string;
|
|
1259
1259
|
password: string;
|
|
1260
1260
|
updated_at: Date;
|
|
@@ -1293,7 +1293,7 @@ export declare const collections: {
|
|
|
1293
1293
|
};
|
|
1294
1294
|
};
|
|
1295
1295
|
};
|
|
1296
|
-
}>> & {
|
|
1296
|
+
}, {}>> & {
|
|
1297
1297
|
_tag: "Error";
|
|
1298
1298
|
result: undefined;
|
|
1299
1299
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1310,7 +1310,7 @@ export declare const collections: {
|
|
|
1310
1310
|
readonly type: "object";
|
|
1311
1311
|
readonly additionalProperties: true;
|
|
1312
1312
|
};
|
|
1313
|
-
}>> & {
|
|
1313
|
+
}, {}>> & {
|
|
1314
1314
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1315
1315
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1316
1316
|
message: string;
|
|
@@ -1329,7 +1329,7 @@ export declare const collections: {
|
|
|
1329
1329
|
readonly type: "object";
|
|
1330
1330
|
readonly additionalProperties: true;
|
|
1331
1331
|
};
|
|
1332
|
-
}>> & {
|
|
1332
|
+
}, {}>> & {
|
|
1333
1333
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1334
1334
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1335
1335
|
message: string;
|
|
@@ -1456,7 +1456,7 @@ export declare const collections: {
|
|
|
1456
1456
|
readonly result: {
|
|
1457
1457
|
readonly $ref: "user";
|
|
1458
1458
|
};
|
|
1459
|
-
}>> & {
|
|
1459
|
+
}, {}>> & {
|
|
1460
1460
|
_tag: "Result";
|
|
1461
1461
|
result: never;
|
|
1462
1462
|
error: undefined;
|
|
@@ -1487,7 +1487,7 @@ export declare const collections: {
|
|
|
1487
1487
|
};
|
|
1488
1488
|
};
|
|
1489
1489
|
};
|
|
1490
|
-
}>> & {
|
|
1490
|
+
}, {}>> & {
|
|
1491
1491
|
_tag: "Error";
|
|
1492
1492
|
result: undefined;
|
|
1493
1493
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1504,7 +1504,7 @@ export declare const collections: {
|
|
|
1504
1504
|
readonly type: "object";
|
|
1505
1505
|
readonly additionalProperties: true;
|
|
1506
1506
|
};
|
|
1507
|
-
}>> & {
|
|
1507
|
+
}, {}>> & {
|
|
1508
1508
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1509
1509
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1510
1510
|
message: string;
|
|
@@ -1523,7 +1523,7 @@ export declare const collections: {
|
|
|
1523
1523
|
readonly type: "object";
|
|
1524
1524
|
readonly additionalProperties: true;
|
|
1525
1525
|
};
|
|
1526
|
-
}>> & {
|
|
1526
|
+
}, {}>> & {
|
|
1527
1527
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1528
1528
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1529
1529
|
message: string;
|
|
@@ -1650,7 +1650,7 @@ export declare const collections: {
|
|
|
1650
1650
|
readonly result: {
|
|
1651
1651
|
readonly $ref: "user";
|
|
1652
1652
|
};
|
|
1653
|
-
}>> & {
|
|
1653
|
+
}, {}>> & {
|
|
1654
1654
|
_tag: "Result";
|
|
1655
1655
|
result: never;
|
|
1656
1656
|
error: undefined;
|
|
@@ -1676,7 +1676,7 @@ export declare const collections: {
|
|
|
1676
1676
|
};
|
|
1677
1677
|
};
|
|
1678
1678
|
};
|
|
1679
|
-
}>> & {
|
|
1679
|
+
}, {}>> & {
|
|
1680
1680
|
password: string;
|
|
1681
1681
|
email: string;
|
|
1682
1682
|
revalidate: boolean;
|
|
@@ -1687,7 +1687,7 @@ export declare const collections: {
|
|
|
1687
1687
|
readonly content: {
|
|
1688
1688
|
readonly type: "string";
|
|
1689
1689
|
};
|
|
1690
|
-
}>> & {
|
|
1690
|
+
}, {}>> & {
|
|
1691
1691
|
type: "bearer";
|
|
1692
1692
|
content: string;
|
|
1693
1693
|
}, never>;
|
|
@@ -1718,7 +1718,7 @@ export declare const collections: {
|
|
|
1718
1718
|
};
|
|
1719
1719
|
};
|
|
1720
1720
|
};
|
|
1721
|
-
}>> & {
|
|
1721
|
+
}, {}>> & {
|
|
1722
1722
|
_tag: "Error";
|
|
1723
1723
|
result: undefined;
|
|
1724
1724
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1735,7 +1735,7 @@ export declare const collections: {
|
|
|
1735
1735
|
readonly type: "object";
|
|
1736
1736
|
readonly additionalProperties: true;
|
|
1737
1737
|
};
|
|
1738
|
-
}>> & {
|
|
1738
|
+
}, {}>> & {
|
|
1739
1739
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
1740
1740
|
httpStatus: 401;
|
|
1741
1741
|
message: string;
|
|
@@ -1754,7 +1754,7 @@ export declare const collections: {
|
|
|
1754
1754
|
readonly type: "object";
|
|
1755
1755
|
readonly additionalProperties: true;
|
|
1756
1756
|
};
|
|
1757
|
-
}>> & {
|
|
1757
|
+
}, {}>> & {
|
|
1758
1758
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
1759
1759
|
httpStatus: 401;
|
|
1760
1760
|
message: string;
|
|
@@ -1787,7 +1787,7 @@ export declare const collections: {
|
|
|
1787
1787
|
};
|
|
1788
1788
|
};
|
|
1789
1789
|
};
|
|
1790
|
-
}>> & {
|
|
1790
|
+
}, {}>> & {
|
|
1791
1791
|
_tag: "Result";
|
|
1792
1792
|
result: {
|
|
1793
1793
|
user: import("@aeriajs/types").SchemaWithId<{
|
|
@@ -1914,7 +1914,7 @@ export declare const collections: {
|
|
|
1914
1914
|
};
|
|
1915
1915
|
};
|
|
1916
1916
|
};
|
|
1917
|
-
}>> & {
|
|
1917
|
+
}, {}>> & {
|
|
1918
1918
|
user: never;
|
|
1919
1919
|
token: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1920
1920
|
readonly type: {
|
|
@@ -1923,7 +1923,7 @@ export declare const collections: {
|
|
|
1923
1923
|
readonly content: {
|
|
1924
1924
|
readonly type: "string";
|
|
1925
1925
|
};
|
|
1926
|
-
}>> & {
|
|
1926
|
+
}, {}>> & {
|
|
1927
1927
|
type: "bearer";
|
|
1928
1928
|
content: string;
|
|
1929
1929
|
}, never>;
|
|
@@ -1976,7 +1976,7 @@ export declare const collections: {
|
|
|
1976
1976
|
};
|
|
1977
1977
|
};
|
|
1978
1978
|
};
|
|
1979
|
-
}>> & {
|
|
1979
|
+
}, {}>> & {
|
|
1980
1980
|
_tag: "Result";
|
|
1981
1981
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1982
1982
|
readonly user: {
|
|
@@ -2013,7 +2013,7 @@ export declare const collections: {
|
|
|
2013
2013
|
};
|
|
2014
2014
|
};
|
|
2015
2015
|
};
|
|
2016
|
-
}>> & {
|
|
2016
|
+
}, {}>> & {
|
|
2017
2017
|
user: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2018
2018
|
readonly _id: {
|
|
2019
2019
|
readonly const: null;
|
|
@@ -2033,7 +2033,7 @@ export declare const collections: {
|
|
|
2033
2033
|
readonly active: {
|
|
2034
2034
|
readonly type: "boolean";
|
|
2035
2035
|
};
|
|
2036
|
-
}>> & {
|
|
2036
|
+
}, {}>> & {
|
|
2037
2037
|
name: string;
|
|
2038
2038
|
_id: null;
|
|
2039
2039
|
roles: string[];
|
|
@@ -2047,7 +2047,7 @@ export declare const collections: {
|
|
|
2047
2047
|
readonly content: {
|
|
2048
2048
|
readonly type: "string";
|
|
2049
2049
|
};
|
|
2050
|
-
}>> & {
|
|
2050
|
+
}, {}>> & {
|
|
2051
2051
|
type: string;
|
|
2052
2052
|
content: string;
|
|
2053
2053
|
}, never>;
|
|
@@ -2080,7 +2080,7 @@ export declare const collections: {
|
|
|
2080
2080
|
};
|
|
2081
2081
|
};
|
|
2082
2082
|
};
|
|
2083
|
-
}>> & {
|
|
2083
|
+
}, {}>> & {
|
|
2084
2084
|
_tag: "Error";
|
|
2085
2085
|
result: undefined;
|
|
2086
2086
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2097,7 +2097,7 @@ export declare const collections: {
|
|
|
2097
2097
|
readonly type: "object";
|
|
2098
2098
|
readonly additionalProperties: true;
|
|
2099
2099
|
};
|
|
2100
|
-
}>> & {
|
|
2100
|
+
}, {}>> & {
|
|
2101
2101
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
2102
2102
|
httpStatus: 401;
|
|
2103
2103
|
message: string;
|
|
@@ -2116,7 +2116,7 @@ export declare const collections: {
|
|
|
2116
2116
|
readonly type: "object";
|
|
2117
2117
|
readonly additionalProperties: true;
|
|
2118
2118
|
};
|
|
2119
|
-
}>> & {
|
|
2119
|
+
}, {}>> & {
|
|
2120
2120
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
2121
2121
|
httpStatus: 401;
|
|
2122
2122
|
message: string;
|
|
@@ -2149,7 +2149,7 @@ export declare const collections: {
|
|
|
2149
2149
|
};
|
|
2150
2150
|
};
|
|
2151
2151
|
};
|
|
2152
|
-
}>> & {
|
|
2152
|
+
}, {}>> & {
|
|
2153
2153
|
_tag: "Result";
|
|
2154
2154
|
result: {
|
|
2155
2155
|
user: import("@aeriajs/types").SchemaWithId<{
|
|
@@ -2276,7 +2276,7 @@ export declare const collections: {
|
|
|
2276
2276
|
};
|
|
2277
2277
|
};
|
|
2278
2278
|
};
|
|
2279
|
-
}>> & {
|
|
2279
|
+
}, {}>> & {
|
|
2280
2280
|
user: never;
|
|
2281
2281
|
token: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2282
2282
|
readonly type: {
|
|
@@ -2285,7 +2285,7 @@ export declare const collections: {
|
|
|
2285
2285
|
readonly content: {
|
|
2286
2286
|
readonly type: "string";
|
|
2287
2287
|
};
|
|
2288
|
-
}>> & {
|
|
2288
|
+
}, {}>> & {
|
|
2289
2289
|
type: "bearer";
|
|
2290
2290
|
content: string;
|
|
2291
2291
|
}, never>;
|
|
@@ -2338,7 +2338,7 @@ export declare const collections: {
|
|
|
2338
2338
|
};
|
|
2339
2339
|
};
|
|
2340
2340
|
};
|
|
2341
|
-
}>> & {
|
|
2341
|
+
}, {}>> & {
|
|
2342
2342
|
_tag: "Result";
|
|
2343
2343
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2344
2344
|
readonly user: {
|
|
@@ -2375,7 +2375,7 @@ export declare const collections: {
|
|
|
2375
2375
|
};
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
2378
|
-
}>> & {
|
|
2378
|
+
}, {}>> & {
|
|
2379
2379
|
user: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2380
2380
|
readonly _id: {
|
|
2381
2381
|
readonly const: null;
|
|
@@ -2395,7 +2395,7 @@ export declare const collections: {
|
|
|
2395
2395
|
readonly active: {
|
|
2396
2396
|
readonly type: "boolean";
|
|
2397
2397
|
};
|
|
2398
|
-
}>> & {
|
|
2398
|
+
}, {}>> & {
|
|
2399
2399
|
name: string;
|
|
2400
2400
|
_id: null;
|
|
2401
2401
|
roles: string[];
|
|
@@ -2409,7 +2409,7 @@ export declare const collections: {
|
|
|
2409
2409
|
readonly content: {
|
|
2410
2410
|
readonly type: "string";
|
|
2411
2411
|
};
|
|
2412
|
-
}>> & {
|
|
2412
|
+
}, {}>> & {
|
|
2413
2413
|
type: string;
|
|
2414
2414
|
content: string;
|
|
2415
2415
|
}, never>;
|
|
@@ -2426,7 +2426,7 @@ export declare const collections: {
|
|
|
2426
2426
|
readonly token: {
|
|
2427
2427
|
readonly type: "string";
|
|
2428
2428
|
};
|
|
2429
|
-
}>> & {
|
|
2429
|
+
}, {}>> & {
|
|
2430
2430
|
password: string;
|
|
2431
2431
|
token: string;
|
|
2432
2432
|
userId: string;
|
|
@@ -2457,7 +2457,7 @@ export declare const collections: {
|
|
|
2457
2457
|
};
|
|
2458
2458
|
};
|
|
2459
2459
|
};
|
|
2460
|
-
}>> & {
|
|
2460
|
+
}, {}>> & {
|
|
2461
2461
|
_tag: "Error";
|
|
2462
2462
|
result: undefined;
|
|
2463
2463
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2474,7 +2474,7 @@ export declare const collections: {
|
|
|
2474
2474
|
readonly type: "object";
|
|
2475
2475
|
readonly additionalProperties: true;
|
|
2476
2476
|
};
|
|
2477
|
-
}>> & {
|
|
2477
|
+
}, {}>> & {
|
|
2478
2478
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2479
2479
|
httpStatus: 401 | 403 | 404 | 422;
|
|
2480
2480
|
message: string;
|
|
@@ -2493,7 +2493,7 @@ export declare const collections: {
|
|
|
2493
2493
|
readonly type: "object";
|
|
2494
2494
|
readonly additionalProperties: true;
|
|
2495
2495
|
};
|
|
2496
|
-
}>> & {
|
|
2496
|
+
}, {}>> & {
|
|
2497
2497
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2498
2498
|
httpStatus: 401 | 403 | 404 | 422;
|
|
2499
2499
|
message: string;
|
|
@@ -2516,14 +2516,14 @@ export declare const collections: {
|
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
2518
|
};
|
|
2519
|
-
}>> & {
|
|
2519
|
+
}, {}>> & {
|
|
2520
2520
|
_tag: "Result";
|
|
2521
2521
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2522
2522
|
readonly userId: {
|
|
2523
2523
|
readonly type: "string";
|
|
2524
2524
|
readonly format: "objectid";
|
|
2525
2525
|
};
|
|
2526
|
-
}>> & {
|
|
2526
|
+
}, {}>> & {
|
|
2527
2527
|
userId: import("mongodb").ObjectId;
|
|
2528
2528
|
}, never>;
|
|
2529
2529
|
error: undefined;
|
|
@@ -2554,7 +2554,7 @@ export declare const collections: {
|
|
|
2554
2554
|
};
|
|
2555
2555
|
};
|
|
2556
2556
|
};
|
|
2557
|
-
}>> & {
|
|
2557
|
+
}, {}>> & {
|
|
2558
2558
|
_tag: "Error";
|
|
2559
2559
|
result: undefined;
|
|
2560
2560
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2571,7 +2571,7 @@ export declare const collections: {
|
|
|
2571
2571
|
readonly type: "object";
|
|
2572
2572
|
readonly additionalProperties: true;
|
|
2573
2573
|
};
|
|
2574
|
-
}>> & {
|
|
2574
|
+
}, {}>> & {
|
|
2575
2575
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2576
2576
|
httpStatus: 401 | 403 | 404 | 422;
|
|
2577
2577
|
message: string;
|
|
@@ -2590,7 +2590,7 @@ export declare const collections: {
|
|
|
2590
2590
|
readonly type: "object";
|
|
2591
2591
|
readonly additionalProperties: true;
|
|
2592
2592
|
};
|
|
2593
|
-
}>> & {
|
|
2593
|
+
}, {}>> & {
|
|
2594
2594
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2595
2595
|
httpStatus: 401 | 403 | 404 | 422;
|
|
2596
2596
|
message: string;
|
|
@@ -2613,14 +2613,14 @@ export declare const collections: {
|
|
|
2613
2613
|
};
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
2616
|
-
}>> & {
|
|
2616
|
+
}, {}>> & {
|
|
2617
2617
|
_tag: "Result";
|
|
2618
2618
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2619
2619
|
readonly userId: {
|
|
2620
2620
|
readonly type: "string";
|
|
2621
2621
|
readonly format: "objectid";
|
|
2622
2622
|
};
|
|
2623
|
-
}>> & {
|
|
2623
|
+
}, {}>> & {
|
|
2624
2624
|
userId: import("mongodb").ObjectId;
|
|
2625
2625
|
}, never>;
|
|
2626
2626
|
error: undefined;
|
|
@@ -2733,7 +2733,7 @@ export declare const collections: {
|
|
|
2733
2733
|
readonly type: "string";
|
|
2734
2734
|
readonly format: "date-time";
|
|
2735
2735
|
};
|
|
2736
|
-
}>> & {
|
|
2736
|
+
}, {}>> & {
|
|
2737
2737
|
name: string;
|
|
2738
2738
|
password: string;
|
|
2739
2739
|
updated_at: Date;
|
|
@@ -2772,7 +2772,7 @@ export declare const collections: {
|
|
|
2772
2772
|
};
|
|
2773
2773
|
};
|
|
2774
2774
|
};
|
|
2775
|
-
}>> & {
|
|
2775
|
+
}, {}>> & {
|
|
2776
2776
|
_tag: "Error";
|
|
2777
2777
|
result: undefined;
|
|
2778
2778
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2789,7 +2789,7 @@ export declare const collections: {
|
|
|
2789
2789
|
readonly type: "object";
|
|
2790
2790
|
readonly additionalProperties: true;
|
|
2791
2791
|
};
|
|
2792
|
-
}>> & {
|
|
2792
|
+
}, {}>> & {
|
|
2793
2793
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
2794
2794
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
2795
2795
|
message: string;
|
|
@@ -2808,7 +2808,7 @@ export declare const collections: {
|
|
|
2808
2808
|
readonly type: "object";
|
|
2809
2809
|
readonly additionalProperties: true;
|
|
2810
2810
|
};
|
|
2811
|
-
}>> & {
|
|
2811
|
+
}, {}>> & {
|
|
2812
2812
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
2813
2813
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
2814
2814
|
message: string;
|
|
@@ -2841,7 +2841,7 @@ export declare const collections: {
|
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
};
|
|
2844
|
-
}>> & {
|
|
2844
|
+
}, {}>> & {
|
|
2845
2845
|
_tag: "Error";
|
|
2846
2846
|
result: undefined;
|
|
2847
2847
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2858,7 +2858,7 @@ export declare const collections: {
|
|
|
2858
2858
|
readonly type: "object";
|
|
2859
2859
|
readonly additionalProperties: true;
|
|
2860
2860
|
};
|
|
2861
|
-
}>> & {
|
|
2861
|
+
}, {}>> & {
|
|
2862
2862
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
2863
2863
|
httpStatus: 403 | 422;
|
|
2864
2864
|
message: string;
|
|
@@ -2877,7 +2877,7 @@ export declare const collections: {
|
|
|
2877
2877
|
readonly type: "object";
|
|
2878
2878
|
readonly additionalProperties: true;
|
|
2879
2879
|
};
|
|
2880
|
-
}>> & {
|
|
2880
|
+
}, {}>> & {
|
|
2881
2881
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
2882
2882
|
httpStatus: 403 | 422;
|
|
2883
2883
|
message: string;
|
|
@@ -3004,7 +3004,7 @@ export declare const collections: {
|
|
|
3004
3004
|
readonly result: {
|
|
3005
3005
|
readonly $ref: "user";
|
|
3006
3006
|
};
|
|
3007
|
-
}>> & {
|
|
3007
|
+
}, {}>> & {
|
|
3008
3008
|
_tag: "Result";
|
|
3009
3009
|
result: never;
|
|
3010
3010
|
error: undefined;
|
|
@@ -3035,7 +3035,7 @@ export declare const collections: {
|
|
|
3035
3035
|
};
|
|
3036
3036
|
};
|
|
3037
3037
|
};
|
|
3038
|
-
}>> & {
|
|
3038
|
+
}, {}>> & {
|
|
3039
3039
|
_tag: "Error";
|
|
3040
3040
|
result: undefined;
|
|
3041
3041
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3052,7 +3052,7 @@ export declare const collections: {
|
|
|
3052
3052
|
readonly type: "object";
|
|
3053
3053
|
readonly additionalProperties: true;
|
|
3054
3054
|
};
|
|
3055
|
-
}>> & {
|
|
3055
|
+
}, {}>> & {
|
|
3056
3056
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
3057
3057
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
3058
3058
|
message: string;
|
|
@@ -3071,7 +3071,7 @@ export declare const collections: {
|
|
|
3071
3071
|
readonly type: "object";
|
|
3072
3072
|
readonly additionalProperties: true;
|
|
3073
3073
|
};
|
|
3074
|
-
}>> & {
|
|
3074
|
+
}, {}>> & {
|
|
3075
3075
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
3076
3076
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
3077
3077
|
message: string;
|
|
@@ -3104,7 +3104,7 @@ export declare const collections: {
|
|
|
3104
3104
|
};
|
|
3105
3105
|
};
|
|
3106
3106
|
};
|
|
3107
|
-
}>> & {
|
|
3107
|
+
}, {}>> & {
|
|
3108
3108
|
_tag: "Error";
|
|
3109
3109
|
result: undefined;
|
|
3110
3110
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3121,7 +3121,7 @@ export declare const collections: {
|
|
|
3121
3121
|
readonly type: "object";
|
|
3122
3122
|
readonly additionalProperties: true;
|
|
3123
3123
|
};
|
|
3124
|
-
}>> & {
|
|
3124
|
+
}, {}>> & {
|
|
3125
3125
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
3126
3126
|
httpStatus: 403 | 422;
|
|
3127
3127
|
message: string;
|
|
@@ -3140,7 +3140,7 @@ export declare const collections: {
|
|
|
3140
3140
|
readonly type: "object";
|
|
3141
3141
|
readonly additionalProperties: true;
|
|
3142
3142
|
};
|
|
3143
|
-
}>> & {
|
|
3143
|
+
}, {}>> & {
|
|
3144
3144
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
3145
3145
|
httpStatus: 403 | 422;
|
|
3146
3146
|
message: string;
|
|
@@ -3267,7 +3267,7 @@ export declare const collections: {
|
|
|
3267
3267
|
readonly result: {
|
|
3268
3268
|
readonly $ref: "user";
|
|
3269
3269
|
};
|
|
3270
|
-
}>> & {
|
|
3270
|
+
}, {}>> & {
|
|
3271
3271
|
_tag: "Result";
|
|
3272
3272
|
result: never;
|
|
3273
3273
|
error: undefined;
|
|
@@ -3279,7 +3279,7 @@ export declare const collections: {
|
|
|
3279
3279
|
readonly token: {
|
|
3280
3280
|
readonly type: "string";
|
|
3281
3281
|
};
|
|
3282
|
-
}>> & {
|
|
3282
|
+
}, {}>> & {
|
|
3283
3283
|
token: string;
|
|
3284
3284
|
userId: string;
|
|
3285
3285
|
}, never>>, context: Omit<import("@aeriajs/types").Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3309,7 +3309,7 @@ export declare const collections: {
|
|
|
3309
3309
|
};
|
|
3310
3310
|
};
|
|
3311
3311
|
};
|
|
3312
|
-
}>> & {
|
|
3312
|
+
}, {}>> & {
|
|
3313
3313
|
_tag: "Error";
|
|
3314
3314
|
result: undefined;
|
|
3315
3315
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3326,7 +3326,7 @@ export declare const collections: {
|
|
|
3326
3326
|
readonly type: "object";
|
|
3327
3327
|
readonly additionalProperties: true;
|
|
3328
3328
|
};
|
|
3329
|
-
}>> & {
|
|
3329
|
+
}, {}>> & {
|
|
3330
3330
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
3331
3331
|
httpStatus: 401 | 404 | 422;
|
|
3332
3332
|
message: string;
|
|
@@ -3345,7 +3345,7 @@ export declare const collections: {
|
|
|
3345
3345
|
readonly type: "object";
|
|
3346
3346
|
readonly additionalProperties: true;
|
|
3347
3347
|
};
|
|
3348
|
-
}>> & {
|
|
3348
|
+
}, {}>> & {
|
|
3349
3349
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
3350
3350
|
httpStatus: 401 | 404 | 422;
|
|
3351
3351
|
message: string;
|
|
@@ -3374,7 +3374,7 @@ export declare const collections: {
|
|
|
3374
3374
|
};
|
|
3375
3375
|
};
|
|
3376
3376
|
};
|
|
3377
|
-
}>> & {
|
|
3377
|
+
}, {}>> & {
|
|
3378
3378
|
_tag: "Result";
|
|
3379
3379
|
result: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3380
3380
|
readonly name: {
|
|
@@ -3386,7 +3386,7 @@ export declare const collections: {
|
|
|
3386
3386
|
readonly active: {
|
|
3387
3387
|
readonly type: "boolean";
|
|
3388
3388
|
};
|
|
3389
|
-
}>> & {
|
|
3389
|
+
}, {}>> & {
|
|
3390
3390
|
name: string;
|
|
3391
3391
|
email: string;
|
|
3392
3392
|
active: boolean;
|
|
@@ -3400,7 +3400,7 @@ export declare const collections: {
|
|
|
3400
3400
|
readonly active: {
|
|
3401
3401
|
readonly type: "boolean";
|
|
3402
3402
|
};
|
|
3403
|
-
}>> & {
|
|
3403
|
+
}, {}>> & {
|
|
3404
3404
|
name: string;
|
|
3405
3405
|
email: string;
|
|
3406
3406
|
active: boolean;
|
|
@@ -3433,7 +3433,7 @@ export declare const collections: {
|
|
|
3433
3433
|
};
|
|
3434
3434
|
};
|
|
3435
3435
|
};
|
|
3436
|
-
}>> & {
|
|
3436
|
+
}, {}>> & {
|
|
3437
3437
|
_tag: "Error";
|
|
3438
3438
|
result: undefined;
|
|
3439
3439
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3450,7 +3450,7 @@ export declare const collections: {
|
|
|
3450
3450
|
readonly type: "object";
|
|
3451
3451
|
readonly additionalProperties: true;
|
|
3452
3452
|
};
|
|
3453
|
-
}>> & {
|
|
3453
|
+
}, {}>> & {
|
|
3454
3454
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
3455
3455
|
httpStatus: 401 | 404 | 422;
|
|
3456
3456
|
message: string;
|
|
@@ -3469,7 +3469,7 @@ export declare const collections: {
|
|
|
3469
3469
|
readonly type: "object";
|
|
3470
3470
|
readonly additionalProperties: true;
|
|
3471
3471
|
};
|
|
3472
|
-
}>> & {
|
|
3472
|
+
}, {}>> & {
|
|
3473
3473
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
3474
3474
|
httpStatus: 401 | 404 | 422;
|
|
3475
3475
|
message: string;
|
|
@@ -3498,7 +3498,7 @@ export declare const collections: {
|
|
|
3498
3498
|
};
|
|
3499
3499
|
};
|
|
3500
3500
|
};
|
|
3501
|
-
}>> & {
|
|
3501
|
+
}, {}>> & {
|
|
3502
3502
|
_tag: "Result";
|
|
3503
3503
|
result: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3504
3504
|
readonly name: {
|
|
@@ -3510,7 +3510,7 @@ export declare const collections: {
|
|
|
3510
3510
|
readonly active: {
|
|
3511
3511
|
readonly type: "boolean";
|
|
3512
3512
|
};
|
|
3513
|
-
}>> & {
|
|
3513
|
+
}, {}>> & {
|
|
3514
3514
|
name: string;
|
|
3515
3515
|
email: string;
|
|
3516
3516
|
active: boolean;
|
|
@@ -3524,7 +3524,7 @@ export declare const collections: {
|
|
|
3524
3524
|
readonly active: {
|
|
3525
3525
|
readonly type: "boolean";
|
|
3526
3526
|
};
|
|
3527
|
-
}>> & {
|
|
3527
|
+
}, {}>> & {
|
|
3528
3528
|
name: string;
|
|
3529
3529
|
email: string;
|
|
3530
3530
|
active: boolean;
|
|
@@ -3652,7 +3652,7 @@ export declare const collections: {
|
|
|
3652
3652
|
readonly result: {
|
|
3653
3653
|
readonly $ref: "user";
|
|
3654
3654
|
};
|
|
3655
|
-
}>> & {
|
|
3655
|
+
}, {}>> & {
|
|
3656
3656
|
_tag: "Result";
|
|
3657
3657
|
result: never;
|
|
3658
3658
|
error: undefined;
|
|
@@ -3687,7 +3687,7 @@ export declare const collections: {
|
|
|
3687
3687
|
};
|
|
3688
3688
|
};
|
|
3689
3689
|
};
|
|
3690
|
-
}>> & {
|
|
3690
|
+
}, {}>> & {
|
|
3691
3691
|
_tag: "Result";
|
|
3692
3692
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3693
3693
|
readonly _id: {
|
|
@@ -3708,7 +3708,7 @@ export declare const collections: {
|
|
|
3708
3708
|
readonly active: {
|
|
3709
3709
|
readonly type: "boolean";
|
|
3710
3710
|
};
|
|
3711
|
-
}>> & {
|
|
3711
|
+
}, {}>> & {
|
|
3712
3712
|
name: string;
|
|
3713
3713
|
_id: null;
|
|
3714
3714
|
roles: string[];
|
|
@@ -3837,7 +3837,7 @@ export declare const collections: {
|
|
|
3837
3837
|
readonly result: {
|
|
3838
3838
|
readonly $ref: "user";
|
|
3839
3839
|
};
|
|
3840
|
-
}>> & {
|
|
3840
|
+
}, {}>> & {
|
|
3841
3841
|
_tag: "Result";
|
|
3842
3842
|
result: never;
|
|
3843
3843
|
error: undefined;
|
|
@@ -3872,7 +3872,7 @@ export declare const collections: {
|
|
|
3872
3872
|
};
|
|
3873
3873
|
};
|
|
3874
3874
|
};
|
|
3875
|
-
}>> & {
|
|
3875
|
+
}, {}>> & {
|
|
3876
3876
|
_tag: "Result";
|
|
3877
3877
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3878
3878
|
readonly _id: {
|
|
@@ -3893,7 +3893,7 @@ export declare const collections: {
|
|
|
3893
3893
|
readonly active: {
|
|
3894
3894
|
readonly type: "boolean";
|
|
3895
3895
|
};
|
|
3896
|
-
}>> & {
|
|
3896
|
+
}, {}>> & {
|
|
3897
3897
|
name: string;
|
|
3898
3898
|
_id: null;
|
|
3899
3899
|
roles: string[];
|
|
@@ -3910,7 +3910,7 @@ export declare const collections: {
|
|
|
3910
3910
|
readonly redirect: {
|
|
3911
3911
|
readonly type: "string";
|
|
3912
3912
|
};
|
|
3913
|
-
}>> & {
|
|
3913
|
+
}, {}>> & {
|
|
3914
3914
|
userId: import("mongodb").ObjectId;
|
|
3915
3915
|
redirect: string;
|
|
3916
3916
|
}, never>, "userId"> & Partial<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3921,7 +3921,7 @@ export declare const collections: {
|
|
|
3921
3921
|
readonly redirect: {
|
|
3922
3922
|
readonly type: "string";
|
|
3923
3923
|
};
|
|
3924
|
-
}>> & {
|
|
3924
|
+
}, {}>> & {
|
|
3925
3925
|
userId: import("mongodb").ObjectId;
|
|
3926
3926
|
redirect: string;
|
|
3927
3927
|
}, never>>, context: Omit<import("@aeriajs/types").Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3951,7 +3951,7 @@ export declare const collections: {
|
|
|
3951
3951
|
};
|
|
3952
3952
|
};
|
|
3953
3953
|
};
|
|
3954
|
-
}>> & {
|
|
3954
|
+
}, {}>> & {
|
|
3955
3955
|
_tag: "Error";
|
|
3956
3956
|
result: undefined;
|
|
3957
3957
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3968,7 +3968,7 @@ export declare const collections: {
|
|
|
3968
3968
|
readonly type: "object";
|
|
3969
3969
|
readonly additionalProperties: true;
|
|
3970
3970
|
};
|
|
3971
|
-
}>> & {
|
|
3971
|
+
}, {}>> & {
|
|
3972
3972
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3973
3973
|
httpStatus: 400 | 403 | 404;
|
|
3974
3974
|
message: string;
|
|
@@ -3987,7 +3987,7 @@ export declare const collections: {
|
|
|
3987
3987
|
readonly type: "object";
|
|
3988
3988
|
readonly additionalProperties: true;
|
|
3989
3989
|
};
|
|
3990
|
-
}>> & {
|
|
3990
|
+
}, {}>> & {
|
|
3991
3991
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3992
3992
|
httpStatus: 400 | 403 | 404;
|
|
3993
3993
|
message: string;
|
|
@@ -4020,7 +4020,7 @@ export declare const collections: {
|
|
|
4020
4020
|
};
|
|
4021
4021
|
};
|
|
4022
4022
|
};
|
|
4023
|
-
}>> & {
|
|
4023
|
+
}, {}>> & {
|
|
4024
4024
|
_tag: "Error";
|
|
4025
4025
|
result: undefined;
|
|
4026
4026
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4037,7 +4037,7 @@ export declare const collections: {
|
|
|
4037
4037
|
readonly type: "object";
|
|
4038
4038
|
readonly additionalProperties: true;
|
|
4039
4039
|
};
|
|
4040
|
-
}>> & {
|
|
4040
|
+
}, {}>> & {
|
|
4041
4041
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
4042
4042
|
httpStatus: 400 | 403;
|
|
4043
4043
|
message: string;
|
|
@@ -4056,7 +4056,7 @@ export declare const collections: {
|
|
|
4056
4056
|
readonly type: "object";
|
|
4057
4057
|
readonly additionalProperties: true;
|
|
4058
4058
|
};
|
|
4059
|
-
}>> & {
|
|
4059
|
+
}, {}>> & {
|
|
4060
4060
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
4061
4061
|
httpStatus: 400 | 403;
|
|
4062
4062
|
message: string;
|
|
@@ -4078,13 +4078,13 @@ export declare const collections: {
|
|
|
4078
4078
|
};
|
|
4079
4079
|
};
|
|
4080
4080
|
};
|
|
4081
|
-
}>> & {
|
|
4081
|
+
}, {}>> & {
|
|
4082
4082
|
_tag: "Result";
|
|
4083
4083
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4084
4084
|
readonly url: {
|
|
4085
4085
|
readonly type: "string";
|
|
4086
4086
|
};
|
|
4087
|
-
}>> & {
|
|
4087
|
+
}, {}>> & {
|
|
4088
4088
|
url: string;
|
|
4089
4089
|
}, never>;
|
|
4090
4090
|
error: undefined;
|
|
@@ -4115,7 +4115,7 @@ export declare const collections: {
|
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
4117
|
};
|
|
4118
|
-
}>> & {
|
|
4118
|
+
}, {}>> & {
|
|
4119
4119
|
_tag: "Error";
|
|
4120
4120
|
result: undefined;
|
|
4121
4121
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4132,7 +4132,7 @@ export declare const collections: {
|
|
|
4132
4132
|
readonly type: "object";
|
|
4133
4133
|
readonly additionalProperties: true;
|
|
4134
4134
|
};
|
|
4135
|
-
}>> & {
|
|
4135
|
+
}, {}>> & {
|
|
4136
4136
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4137
4137
|
httpStatus: 400 | 403 | 404;
|
|
4138
4138
|
message: string;
|
|
@@ -4151,7 +4151,7 @@ export declare const collections: {
|
|
|
4151
4151
|
readonly type: "object";
|
|
4152
4152
|
readonly additionalProperties: true;
|
|
4153
4153
|
};
|
|
4154
|
-
}>> & {
|
|
4154
|
+
}, {}>> & {
|
|
4155
4155
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4156
4156
|
httpStatus: 400 | 403 | 404;
|
|
4157
4157
|
message: string;
|
|
@@ -4184,7 +4184,7 @@ export declare const collections: {
|
|
|
4184
4184
|
};
|
|
4185
4185
|
};
|
|
4186
4186
|
};
|
|
4187
|
-
}>> & {
|
|
4187
|
+
}, {}>> & {
|
|
4188
4188
|
_tag: "Error";
|
|
4189
4189
|
result: undefined;
|
|
4190
4190
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4201,7 +4201,7 @@ export declare const collections: {
|
|
|
4201
4201
|
readonly type: "object";
|
|
4202
4202
|
readonly additionalProperties: true;
|
|
4203
4203
|
};
|
|
4204
|
-
}>> & {
|
|
4204
|
+
}, {}>> & {
|
|
4205
4205
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
4206
4206
|
httpStatus: 400 | 403;
|
|
4207
4207
|
message: string;
|
|
@@ -4220,7 +4220,7 @@ export declare const collections: {
|
|
|
4220
4220
|
readonly type: "object";
|
|
4221
4221
|
readonly additionalProperties: true;
|
|
4222
4222
|
};
|
|
4223
|
-
}>> & {
|
|
4223
|
+
}, {}>> & {
|
|
4224
4224
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
4225
4225
|
httpStatus: 400 | 403;
|
|
4226
4226
|
message: string;
|
|
@@ -4242,13 +4242,13 @@ export declare const collections: {
|
|
|
4242
4242
|
};
|
|
4243
4243
|
};
|
|
4244
4244
|
};
|
|
4245
|
-
}>> & {
|
|
4245
|
+
}, {}>> & {
|
|
4246
4246
|
_tag: "Result";
|
|
4247
4247
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4248
4248
|
readonly url: {
|
|
4249
4249
|
readonly type: "string";
|
|
4250
4250
|
};
|
|
4251
|
-
}>> & {
|
|
4251
|
+
}, {}>> & {
|
|
4252
4252
|
url: string;
|
|
4253
4253
|
}, never>;
|
|
4254
4254
|
error: undefined;
|
|
@@ -4261,7 +4261,7 @@ export declare const collections: {
|
|
|
4261
4261
|
readonly redirect: {
|
|
4262
4262
|
readonly type: "string";
|
|
4263
4263
|
};
|
|
4264
|
-
}>> & {
|
|
4264
|
+
}, {}>> & {
|
|
4265
4265
|
userId: import("mongodb").ObjectId;
|
|
4266
4266
|
redirect: string;
|
|
4267
4267
|
}, never>, "userId"> & Partial<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4272,7 +4272,7 @@ export declare const collections: {
|
|
|
4272
4272
|
readonly redirect: {
|
|
4273
4273
|
readonly type: "string";
|
|
4274
4274
|
};
|
|
4275
|
-
}>> & {
|
|
4275
|
+
}, {}>> & {
|
|
4276
4276
|
userId: import("mongodb").ObjectId;
|
|
4277
4277
|
redirect: string;
|
|
4278
4278
|
}, never>>, context: Omit<import("@aeriajs/types").Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4302,7 +4302,7 @@ export declare const collections: {
|
|
|
4302
4302
|
};
|
|
4303
4303
|
};
|
|
4304
4304
|
};
|
|
4305
|
-
}>> & {
|
|
4305
|
+
}, {}>> & {
|
|
4306
4306
|
_tag: "Error";
|
|
4307
4307
|
result: undefined;
|
|
4308
4308
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4319,7 +4319,7 @@ export declare const collections: {
|
|
|
4319
4319
|
readonly type: "object";
|
|
4320
4320
|
readonly additionalProperties: true;
|
|
4321
4321
|
};
|
|
4322
|
-
}>> & {
|
|
4322
|
+
}, {}>> & {
|
|
4323
4323
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4324
4324
|
httpStatus: 400 | 403 | 404;
|
|
4325
4325
|
message: string;
|
|
@@ -4338,7 +4338,7 @@ export declare const collections: {
|
|
|
4338
4338
|
readonly type: "object";
|
|
4339
4339
|
readonly additionalProperties: true;
|
|
4340
4340
|
};
|
|
4341
|
-
}>> & {
|
|
4341
|
+
}, {}>> & {
|
|
4342
4342
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4343
4343
|
httpStatus: 400 | 403 | 404;
|
|
4344
4344
|
message: string;
|
|
@@ -4371,7 +4371,7 @@ export declare const collections: {
|
|
|
4371
4371
|
};
|
|
4372
4372
|
};
|
|
4373
4373
|
};
|
|
4374
|
-
}>> & {
|
|
4374
|
+
}, {}>> & {
|
|
4375
4375
|
_tag: "Error";
|
|
4376
4376
|
result: undefined;
|
|
4377
4377
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4388,7 +4388,7 @@ export declare const collections: {
|
|
|
4388
4388
|
readonly type: "object";
|
|
4389
4389
|
readonly additionalProperties: true;
|
|
4390
4390
|
};
|
|
4391
|
-
}>> & {
|
|
4391
|
+
}, {}>> & {
|
|
4392
4392
|
code: "USER_NOT_ACTIVE";
|
|
4393
4393
|
httpStatus: 403;
|
|
4394
4394
|
message: string;
|
|
@@ -4407,7 +4407,7 @@ export declare const collections: {
|
|
|
4407
4407
|
readonly type: "object";
|
|
4408
4408
|
readonly additionalProperties: true;
|
|
4409
4409
|
};
|
|
4410
|
-
}>> & {
|
|
4410
|
+
}, {}>> & {
|
|
4411
4411
|
code: "USER_NOT_ACTIVE";
|
|
4412
4412
|
httpStatus: 403;
|
|
4413
4413
|
message: string;
|
|
@@ -4429,13 +4429,13 @@ export declare const collections: {
|
|
|
4429
4429
|
};
|
|
4430
4430
|
};
|
|
4431
4431
|
};
|
|
4432
|
-
}>> & {
|
|
4432
|
+
}, {}>> & {
|
|
4433
4433
|
_tag: "Result";
|
|
4434
4434
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4435
4435
|
readonly url: {
|
|
4436
4436
|
readonly type: "string";
|
|
4437
4437
|
};
|
|
4438
|
-
}>> & {
|
|
4438
|
+
}, {}>> & {
|
|
4439
4439
|
url: string;
|
|
4440
4440
|
}, never>;
|
|
4441
4441
|
error: undefined;
|
|
@@ -4466,7 +4466,7 @@ export declare const collections: {
|
|
|
4466
4466
|
};
|
|
4467
4467
|
};
|
|
4468
4468
|
};
|
|
4469
|
-
}>> & {
|
|
4469
|
+
}, {}>> & {
|
|
4470
4470
|
_tag: "Error";
|
|
4471
4471
|
result: undefined;
|
|
4472
4472
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4483,7 +4483,7 @@ export declare const collections: {
|
|
|
4483
4483
|
readonly type: "object";
|
|
4484
4484
|
readonly additionalProperties: true;
|
|
4485
4485
|
};
|
|
4486
|
-
}>> & {
|
|
4486
|
+
}, {}>> & {
|
|
4487
4487
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4488
4488
|
httpStatus: 400 | 403 | 404;
|
|
4489
4489
|
message: string;
|
|
@@ -4502,7 +4502,7 @@ export declare const collections: {
|
|
|
4502
4502
|
readonly type: "object";
|
|
4503
4503
|
readonly additionalProperties: true;
|
|
4504
4504
|
};
|
|
4505
|
-
}>> & {
|
|
4505
|
+
}, {}>> & {
|
|
4506
4506
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4507
4507
|
httpStatus: 400 | 403 | 404;
|
|
4508
4508
|
message: string;
|
|
@@ -4535,7 +4535,7 @@ export declare const collections: {
|
|
|
4535
4535
|
};
|
|
4536
4536
|
};
|
|
4537
4537
|
};
|
|
4538
|
-
}>> & {
|
|
4538
|
+
}, {}>> & {
|
|
4539
4539
|
_tag: "Error";
|
|
4540
4540
|
result: undefined;
|
|
4541
4541
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4552,7 +4552,7 @@ export declare const collections: {
|
|
|
4552
4552
|
readonly type: "object";
|
|
4553
4553
|
readonly additionalProperties: true;
|
|
4554
4554
|
};
|
|
4555
|
-
}>> & {
|
|
4555
|
+
}, {}>> & {
|
|
4556
4556
|
code: "USER_NOT_ACTIVE";
|
|
4557
4557
|
httpStatus: 403;
|
|
4558
4558
|
message: string;
|
|
@@ -4571,7 +4571,7 @@ export declare const collections: {
|
|
|
4571
4571
|
readonly type: "object";
|
|
4572
4572
|
readonly additionalProperties: true;
|
|
4573
4573
|
};
|
|
4574
|
-
}>> & {
|
|
4574
|
+
}, {}>> & {
|
|
4575
4575
|
code: "USER_NOT_ACTIVE";
|
|
4576
4576
|
httpStatus: 403;
|
|
4577
4577
|
message: string;
|
|
@@ -4593,13 +4593,13 @@ export declare const collections: {
|
|
|
4593
4593
|
};
|
|
4594
4594
|
};
|
|
4595
4595
|
};
|
|
4596
|
-
}>> & {
|
|
4596
|
+
}, {}>> & {
|
|
4597
4597
|
_tag: "Result";
|
|
4598
4598
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4599
4599
|
readonly url: {
|
|
4600
4600
|
readonly type: "string";
|
|
4601
4601
|
};
|
|
4602
|
-
}>> & {
|
|
4602
|
+
}, {}>> & {
|
|
4603
4603
|
url: string;
|
|
4604
4604
|
}, never>;
|
|
4605
4605
|
error: undefined;
|
|
@@ -4615,7 +4615,7 @@ export declare const collections: {
|
|
|
4615
4615
|
readonly token: {
|
|
4616
4616
|
readonly type: "string";
|
|
4617
4617
|
};
|
|
4618
|
-
}>> & {
|
|
4618
|
+
}, {}>> & {
|
|
4619
4619
|
password: string;
|
|
4620
4620
|
token: string;
|
|
4621
4621
|
userId: import("mongodb").ObjectId;
|
|
@@ -4646,7 +4646,7 @@ export declare const collections: {
|
|
|
4646
4646
|
};
|
|
4647
4647
|
};
|
|
4648
4648
|
};
|
|
4649
|
-
}>> & {
|
|
4649
|
+
}, {}>> & {
|
|
4650
4650
|
_tag: "Error";
|
|
4651
4651
|
result: undefined;
|
|
4652
4652
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4663,7 +4663,7 @@ export declare const collections: {
|
|
|
4663
4663
|
readonly type: "object";
|
|
4664
4664
|
readonly additionalProperties: true;
|
|
4665
4665
|
};
|
|
4666
|
-
}>> & {
|
|
4666
|
+
}, {}>> & {
|
|
4667
4667
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4668
4668
|
httpStatus: 400 | 403 | 404;
|
|
4669
4669
|
message: string;
|
|
@@ -4682,7 +4682,7 @@ export declare const collections: {
|
|
|
4682
4682
|
readonly type: "object";
|
|
4683
4683
|
readonly additionalProperties: true;
|
|
4684
4684
|
};
|
|
4685
|
-
}>> & {
|
|
4685
|
+
}, {}>> & {
|
|
4686
4686
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4687
4687
|
httpStatus: 400 | 403 | 404;
|
|
4688
4688
|
message: string;
|
|
@@ -4715,7 +4715,7 @@ export declare const collections: {
|
|
|
4715
4715
|
};
|
|
4716
4716
|
};
|
|
4717
4717
|
};
|
|
4718
|
-
}>> & {
|
|
4718
|
+
}, {}>> & {
|
|
4719
4719
|
_tag: "Error";
|
|
4720
4720
|
result: undefined;
|
|
4721
4721
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4732,7 +4732,7 @@ export declare const collections: {
|
|
|
4732
4732
|
readonly type: "object";
|
|
4733
4733
|
readonly additionalProperties: true;
|
|
4734
4734
|
};
|
|
4735
|
-
}>> & {
|
|
4735
|
+
}, {}>> & {
|
|
4736
4736
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
4737
4737
|
httpStatus: 401 | 403 | 404 | 422;
|
|
4738
4738
|
message: string;
|
|
@@ -4751,7 +4751,7 @@ export declare const collections: {
|
|
|
4751
4751
|
readonly type: "object";
|
|
4752
4752
|
readonly additionalProperties: true;
|
|
4753
4753
|
};
|
|
4754
|
-
}>> & {
|
|
4754
|
+
}, {}>> & {
|
|
4755
4755
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
4756
4756
|
httpStatus: 401 | 403 | 404 | 422;
|
|
4757
4757
|
message: string;
|
|
@@ -4774,14 +4774,14 @@ export declare const collections: {
|
|
|
4774
4774
|
};
|
|
4775
4775
|
};
|
|
4776
4776
|
};
|
|
4777
|
-
}>> & {
|
|
4777
|
+
}, {}>> & {
|
|
4778
4778
|
_tag: "Result";
|
|
4779
4779
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4780
4780
|
readonly userId: {
|
|
4781
4781
|
readonly type: "string";
|
|
4782
4782
|
readonly format: "objectid";
|
|
4783
4783
|
};
|
|
4784
|
-
}>> & {
|
|
4784
|
+
}, {}>> & {
|
|
4785
4785
|
userId: import("mongodb").ObjectId;
|
|
4786
4786
|
}, never>;
|
|
4787
4787
|
error: undefined;
|
|
@@ -4812,7 +4812,7 @@ export declare const collections: {
|
|
|
4812
4812
|
};
|
|
4813
4813
|
};
|
|
4814
4814
|
};
|
|
4815
|
-
}>> & {
|
|
4815
|
+
}, {}>> & {
|
|
4816
4816
|
_tag: "Error";
|
|
4817
4817
|
result: undefined;
|
|
4818
4818
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4829,7 +4829,7 @@ export declare const collections: {
|
|
|
4829
4829
|
readonly type: "object";
|
|
4830
4830
|
readonly additionalProperties: true;
|
|
4831
4831
|
};
|
|
4832
|
-
}>> & {
|
|
4832
|
+
}, {}>> & {
|
|
4833
4833
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4834
4834
|
httpStatus: 400 | 403 | 404;
|
|
4835
4835
|
message: string;
|
|
@@ -4848,7 +4848,7 @@ export declare const collections: {
|
|
|
4848
4848
|
readonly type: "object";
|
|
4849
4849
|
readonly additionalProperties: true;
|
|
4850
4850
|
};
|
|
4851
|
-
}>> & {
|
|
4851
|
+
}, {}>> & {
|
|
4852
4852
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
4853
4853
|
httpStatus: 400 | 403 | 404;
|
|
4854
4854
|
message: string;
|
|
@@ -4881,7 +4881,7 @@ export declare const collections: {
|
|
|
4881
4881
|
};
|
|
4882
4882
|
};
|
|
4883
4883
|
};
|
|
4884
|
-
}>> & {
|
|
4884
|
+
}, {}>> & {
|
|
4885
4885
|
_tag: "Error";
|
|
4886
4886
|
result: undefined;
|
|
4887
4887
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -4898,7 +4898,7 @@ export declare const collections: {
|
|
|
4898
4898
|
readonly type: "object";
|
|
4899
4899
|
readonly additionalProperties: true;
|
|
4900
4900
|
};
|
|
4901
|
-
}>> & {
|
|
4901
|
+
}, {}>> & {
|
|
4902
4902
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
4903
4903
|
httpStatus: 401 | 403 | 404 | 422;
|
|
4904
4904
|
message: string;
|
|
@@ -4917,7 +4917,7 @@ export declare const collections: {
|
|
|
4917
4917
|
readonly type: "object";
|
|
4918
4918
|
readonly additionalProperties: true;
|
|
4919
4919
|
};
|
|
4920
|
-
}>> & {
|
|
4920
|
+
}, {}>> & {
|
|
4921
4921
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
4922
4922
|
httpStatus: 401 | 403 | 404 | 422;
|
|
4923
4923
|
message: string;
|
|
@@ -4940,14 +4940,14 @@ export declare const collections: {
|
|
|
4940
4940
|
};
|
|
4941
4941
|
};
|
|
4942
4942
|
};
|
|
4943
|
-
}>> & {
|
|
4943
|
+
}, {}>> & {
|
|
4944
4944
|
_tag: "Result";
|
|
4945
4945
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4946
4946
|
readonly userId: {
|
|
4947
4947
|
readonly type: "string";
|
|
4948
4948
|
readonly format: "objectid";
|
|
4949
4949
|
};
|
|
4950
|
-
}>> & {
|
|
4950
|
+
}, {}>> & {
|
|
4951
4951
|
userId: import("mongodb").ObjectId;
|
|
4952
4952
|
}, never>;
|
|
4953
4953
|
error: undefined;
|