telegram-jobs-contract 1.0.11 → 1.0.13
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 +829 -808
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -11,26 +11,26 @@ export declare const apiContract: {
|
|
|
11
11
|
searchJobs: {
|
|
12
12
|
summary: "Search jobs with filters and pagination";
|
|
13
13
|
method: "POST";
|
|
14
|
-
body:
|
|
15
|
-
filters:
|
|
16
|
-
stack:
|
|
17
|
-
level:
|
|
18
|
-
jobFunction:
|
|
19
|
-
locationType:
|
|
20
|
-
excludedTitles:
|
|
21
|
-
muteKeywords:
|
|
22
|
-
isRemote:
|
|
23
|
-
experienceYears:
|
|
24
|
-
min:
|
|
25
|
-
max:
|
|
26
|
-
}, "strip",
|
|
14
|
+
body: z.ZodObject<{
|
|
15
|
+
filters: z.ZodObject<{
|
|
16
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
min?: number | undefined;
|
|
28
28
|
max?: number | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
min?: number | undefined;
|
|
31
31
|
max?: number | undefined;
|
|
32
32
|
}>>;
|
|
33
|
-
}, "strip",
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
isRemote?: boolean | undefined;
|
|
35
35
|
level?: string[] | undefined;
|
|
36
36
|
experienceYears?: {
|
|
@@ -55,17 +55,17 @@ export declare const apiContract: {
|
|
|
55
55
|
excludedTitles?: string[] | undefined;
|
|
56
56
|
muteKeywords?: string[] | undefined;
|
|
57
57
|
}>;
|
|
58
|
-
pagination:
|
|
59
|
-
limit:
|
|
60
|
-
offset:
|
|
61
|
-
}, "strip",
|
|
58
|
+
pagination: z.ZodObject<{
|
|
59
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
limit?: number | undefined;
|
|
63
63
|
offset?: number | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
limit?: number | undefined;
|
|
66
66
|
offset?: number | undefined;
|
|
67
67
|
}>;
|
|
68
|
-
}, "strip",
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
filters: {
|
|
70
70
|
isRemote?: boolean | undefined;
|
|
71
71
|
level?: string[] | undefined;
|
|
@@ -104,30 +104,30 @@ export declare const apiContract: {
|
|
|
104
104
|
}>;
|
|
105
105
|
path: "/api/jobs/search";
|
|
106
106
|
responses: {
|
|
107
|
-
200:
|
|
108
|
-
success:
|
|
109
|
-
message:
|
|
110
|
-
data:
|
|
111
|
-
jobs:
|
|
112
|
-
id:
|
|
113
|
-
telegramMessageId:
|
|
114
|
-
channelId:
|
|
115
|
-
channelUsername:
|
|
116
|
-
senderUserId:
|
|
117
|
-
senderUsername:
|
|
118
|
-
rawText:
|
|
119
|
-
parsedData:
|
|
120
|
-
jobTitle:
|
|
121
|
-
normalizedJobTitle:
|
|
122
|
-
company:
|
|
123
|
-
techStack:
|
|
124
|
-
salary:
|
|
125
|
-
contactInfo:
|
|
126
|
-
telegram:
|
|
127
|
-
email:
|
|
128
|
-
applicationUrl:
|
|
129
|
-
other:
|
|
130
|
-
}, "strip",
|
|
107
|
+
200: z.ZodObject<{
|
|
108
|
+
success: z.ZodLiteral<true>;
|
|
109
|
+
message: z.ZodString;
|
|
110
|
+
data: z.ZodObject<{
|
|
111
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
telegramMessageId: z.ZodString;
|
|
114
|
+
channelId: z.ZodString;
|
|
115
|
+
channelUsername: z.ZodOptional<z.ZodString>;
|
|
116
|
+
senderUserId: z.ZodOptional<z.ZodString>;
|
|
117
|
+
senderUsername: z.ZodOptional<z.ZodString>;
|
|
118
|
+
rawText: z.ZodOptional<z.ZodString>;
|
|
119
|
+
parsedData: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
121
|
+
normalizedJobTitle: z.ZodOptional<z.ZodString>;
|
|
122
|
+
company: z.ZodOptional<z.ZodString>;
|
|
123
|
+
techStack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
+
salary: z.ZodOptional<z.ZodString>;
|
|
125
|
+
contactInfo: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
telegram: z.ZodOptional<z.ZodString>;
|
|
127
|
+
email: z.ZodOptional<z.ZodString>;
|
|
128
|
+
applicationUrl: z.ZodOptional<z.ZodString>;
|
|
129
|
+
other: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
telegram?: string | undefined;
|
|
132
132
|
email?: string | undefined;
|
|
133
133
|
applicationUrl?: string | undefined;
|
|
@@ -138,18 +138,18 @@ export declare const apiContract: {
|
|
|
138
138
|
applicationUrl?: string | undefined;
|
|
139
139
|
other?: string | undefined;
|
|
140
140
|
}>>;
|
|
141
|
-
isRemote:
|
|
142
|
-
level:
|
|
143
|
-
employmentType:
|
|
144
|
-
location:
|
|
145
|
-
candidateLocation:
|
|
146
|
-
responsibilities:
|
|
147
|
-
requiredQualifications:
|
|
148
|
-
preferredQualifications:
|
|
149
|
-
benefits:
|
|
150
|
-
description:
|
|
151
|
-
experienceYears:
|
|
152
|
-
}, "strip",
|
|
141
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
level: z.ZodOptional<z.ZodString>;
|
|
143
|
+
employmentType: z.ZodOptional<z.ZodString>;
|
|
144
|
+
location: z.ZodOptional<z.ZodString>;
|
|
145
|
+
candidateLocation: z.ZodOptional<z.ZodString>;
|
|
146
|
+
responsibilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
147
|
+
requiredQualifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
preferredQualifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
149
|
+
benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150
|
+
description: z.ZodOptional<z.ZodString>;
|
|
151
|
+
experienceYears: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
jobTitle?: string | undefined;
|
|
154
154
|
normalizedJobTitle?: string | undefined;
|
|
155
155
|
company?: string | undefined;
|
|
@@ -196,12 +196,12 @@ export declare const apiContract: {
|
|
|
196
196
|
description?: string | undefined;
|
|
197
197
|
experienceYears?: number | undefined;
|
|
198
198
|
}>>;
|
|
199
|
-
status:
|
|
200
|
-
telegramMessageDate:
|
|
201
|
-
createdAt:
|
|
202
|
-
updatedAt:
|
|
203
|
-
isVisited:
|
|
204
|
-
}, "strip",
|
|
199
|
+
status: z.ZodOptional<z.ZodEnum<["pending_parse", "parsed", "failed"]>>;
|
|
200
|
+
telegramMessageDate: z.ZodOptional<z.ZodString>;
|
|
201
|
+
createdAt: z.ZodString;
|
|
202
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
203
|
+
isVisited: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
205
|
id: string;
|
|
206
206
|
telegramMessageId: string;
|
|
207
207
|
channelId: string;
|
|
@@ -276,10 +276,10 @@ export declare const apiContract: {
|
|
|
276
276
|
updatedAt?: string | undefined;
|
|
277
277
|
isVisited?: boolean | undefined;
|
|
278
278
|
}>, "many">;
|
|
279
|
-
total:
|
|
280
|
-
limit:
|
|
281
|
-
offset:
|
|
282
|
-
}, "strip",
|
|
279
|
+
total: z.ZodNumber;
|
|
280
|
+
limit: z.ZodNumber;
|
|
281
|
+
offset: z.ZodNumber;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
jobs: {
|
|
284
284
|
id: string;
|
|
285
285
|
telegramMessageId: string;
|
|
@@ -364,7 +364,7 @@ export declare const apiContract: {
|
|
|
364
364
|
limit: number;
|
|
365
365
|
offset: number;
|
|
366
366
|
}>;
|
|
367
|
-
}, "strip",
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
368
|
message: string;
|
|
369
369
|
success: true;
|
|
370
370
|
data: {
|
|
@@ -457,11 +457,11 @@ export declare const apiContract: {
|
|
|
457
457
|
offset: number;
|
|
458
458
|
};
|
|
459
459
|
}>;
|
|
460
|
-
401:
|
|
461
|
-
success:
|
|
462
|
-
message:
|
|
463
|
-
errors:
|
|
464
|
-
}, "strip",
|
|
460
|
+
401: z.ZodObject<{
|
|
461
|
+
success: z.ZodLiteral<false>;
|
|
462
|
+
message: z.ZodString;
|
|
463
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
message: string;
|
|
466
466
|
success: false;
|
|
467
467
|
errors?: any;
|
|
@@ -470,11 +470,11 @@ export declare const apiContract: {
|
|
|
470
470
|
success: false;
|
|
471
471
|
errors?: any;
|
|
472
472
|
}>;
|
|
473
|
-
400:
|
|
474
|
-
success:
|
|
475
|
-
message:
|
|
476
|
-
errors:
|
|
477
|
-
}, "strip",
|
|
473
|
+
400: z.ZodObject<{
|
|
474
|
+
success: z.ZodLiteral<false>;
|
|
475
|
+
message: z.ZodString;
|
|
476
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
|
478
478
|
message: string;
|
|
479
479
|
success: false;
|
|
480
480
|
errors?: any;
|
|
@@ -483,11 +483,11 @@ export declare const apiContract: {
|
|
|
483
483
|
success: false;
|
|
484
484
|
errors?: any;
|
|
485
485
|
}>;
|
|
486
|
-
500:
|
|
487
|
-
success:
|
|
488
|
-
message:
|
|
489
|
-
errors:
|
|
490
|
-
}, "strip",
|
|
486
|
+
500: z.ZodObject<{
|
|
487
|
+
success: z.ZodLiteral<false>;
|
|
488
|
+
message: z.ZodString;
|
|
489
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
491
|
message: string;
|
|
492
492
|
success: false;
|
|
493
493
|
errors?: any;
|
|
@@ -503,29 +503,29 @@ export declare const apiContract: {
|
|
|
503
503
|
method: "GET";
|
|
504
504
|
path: "/api/jobs/:id";
|
|
505
505
|
responses: {
|
|
506
|
-
200:
|
|
507
|
-
success:
|
|
508
|
-
message:
|
|
509
|
-
data:
|
|
510
|
-
id:
|
|
511
|
-
telegramMessageId:
|
|
512
|
-
channelId:
|
|
513
|
-
channelUsername:
|
|
514
|
-
senderUserId:
|
|
515
|
-
senderUsername:
|
|
516
|
-
rawText:
|
|
517
|
-
parsedData:
|
|
518
|
-
jobTitle:
|
|
519
|
-
normalizedJobTitle:
|
|
520
|
-
company:
|
|
521
|
-
techStack:
|
|
522
|
-
salary:
|
|
523
|
-
contactInfo:
|
|
524
|
-
telegram:
|
|
525
|
-
email:
|
|
526
|
-
applicationUrl:
|
|
527
|
-
other:
|
|
528
|
-
}, "strip",
|
|
506
|
+
200: z.ZodObject<{
|
|
507
|
+
success: z.ZodLiteral<true>;
|
|
508
|
+
message: z.ZodString;
|
|
509
|
+
data: z.ZodObject<{
|
|
510
|
+
id: z.ZodString;
|
|
511
|
+
telegramMessageId: z.ZodString;
|
|
512
|
+
channelId: z.ZodString;
|
|
513
|
+
channelUsername: z.ZodOptional<z.ZodString>;
|
|
514
|
+
senderUserId: z.ZodOptional<z.ZodString>;
|
|
515
|
+
senderUsername: z.ZodOptional<z.ZodString>;
|
|
516
|
+
rawText: z.ZodOptional<z.ZodString>;
|
|
517
|
+
parsedData: z.ZodOptional<z.ZodObject<{
|
|
518
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
519
|
+
normalizedJobTitle: z.ZodOptional<z.ZodString>;
|
|
520
|
+
company: z.ZodOptional<z.ZodString>;
|
|
521
|
+
techStack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
522
|
+
salary: z.ZodOptional<z.ZodString>;
|
|
523
|
+
contactInfo: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
telegram: z.ZodOptional<z.ZodString>;
|
|
525
|
+
email: z.ZodOptional<z.ZodString>;
|
|
526
|
+
applicationUrl: z.ZodOptional<z.ZodString>;
|
|
527
|
+
other: z.ZodOptional<z.ZodString>;
|
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
|
529
529
|
telegram?: string | undefined;
|
|
530
530
|
email?: string | undefined;
|
|
531
531
|
applicationUrl?: string | undefined;
|
|
@@ -536,18 +536,18 @@ export declare const apiContract: {
|
|
|
536
536
|
applicationUrl?: string | undefined;
|
|
537
537
|
other?: string | undefined;
|
|
538
538
|
}>>;
|
|
539
|
-
isRemote:
|
|
540
|
-
level:
|
|
541
|
-
employmentType:
|
|
542
|
-
location:
|
|
543
|
-
candidateLocation:
|
|
544
|
-
responsibilities:
|
|
545
|
-
requiredQualifications:
|
|
546
|
-
preferredQualifications:
|
|
547
|
-
benefits:
|
|
548
|
-
description:
|
|
549
|
-
experienceYears:
|
|
550
|
-
}, "strip",
|
|
539
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
level: z.ZodOptional<z.ZodString>;
|
|
541
|
+
employmentType: z.ZodOptional<z.ZodString>;
|
|
542
|
+
location: z.ZodOptional<z.ZodString>;
|
|
543
|
+
candidateLocation: z.ZodOptional<z.ZodString>;
|
|
544
|
+
responsibilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
545
|
+
requiredQualifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
546
|
+
preferredQualifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
547
|
+
benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
548
|
+
description: z.ZodOptional<z.ZodString>;
|
|
549
|
+
experienceYears: z.ZodOptional<z.ZodNumber>;
|
|
550
|
+
}, "strip", z.ZodTypeAny, {
|
|
551
551
|
jobTitle?: string | undefined;
|
|
552
552
|
normalizedJobTitle?: string | undefined;
|
|
553
553
|
company?: string | undefined;
|
|
@@ -594,12 +594,12 @@ export declare const apiContract: {
|
|
|
594
594
|
description?: string | undefined;
|
|
595
595
|
experienceYears?: number | undefined;
|
|
596
596
|
}>>;
|
|
597
|
-
status:
|
|
598
|
-
telegramMessageDate:
|
|
599
|
-
createdAt:
|
|
600
|
-
updatedAt:
|
|
601
|
-
isVisited:
|
|
602
|
-
}, "strip",
|
|
597
|
+
status: z.ZodOptional<z.ZodEnum<["pending_parse", "parsed", "failed"]>>;
|
|
598
|
+
telegramMessageDate: z.ZodOptional<z.ZodString>;
|
|
599
|
+
createdAt: z.ZodString;
|
|
600
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
601
|
+
isVisited: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
603
|
id: string;
|
|
604
604
|
telegramMessageId: string;
|
|
605
605
|
channelId: string;
|
|
@@ -674,7 +674,7 @@ export declare const apiContract: {
|
|
|
674
674
|
updatedAt?: string | undefined;
|
|
675
675
|
isVisited?: boolean | undefined;
|
|
676
676
|
}>;
|
|
677
|
-
}, "strip",
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
678
|
message: string;
|
|
679
679
|
success: true;
|
|
680
680
|
data: {
|
|
@@ -757,11 +757,11 @@ export declare const apiContract: {
|
|
|
757
757
|
isVisited?: boolean | undefined;
|
|
758
758
|
};
|
|
759
759
|
}>;
|
|
760
|
-
404:
|
|
761
|
-
success:
|
|
762
|
-
message:
|
|
763
|
-
errors:
|
|
764
|
-
}, "strip",
|
|
760
|
+
404: z.ZodObject<{
|
|
761
|
+
success: z.ZodLiteral<false>;
|
|
762
|
+
message: z.ZodString;
|
|
763
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
765
765
|
message: string;
|
|
766
766
|
success: false;
|
|
767
767
|
errors?: any;
|
|
@@ -770,11 +770,11 @@ export declare const apiContract: {
|
|
|
770
770
|
success: false;
|
|
771
771
|
errors?: any;
|
|
772
772
|
}>;
|
|
773
|
-
401:
|
|
774
|
-
success:
|
|
775
|
-
message:
|
|
776
|
-
errors:
|
|
777
|
-
}, "strip",
|
|
773
|
+
401: z.ZodObject<{
|
|
774
|
+
success: z.ZodLiteral<false>;
|
|
775
|
+
message: z.ZodString;
|
|
776
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
777
|
+
}, "strip", z.ZodTypeAny, {
|
|
778
778
|
message: string;
|
|
779
779
|
success: false;
|
|
780
780
|
errors?: any;
|
|
@@ -783,11 +783,11 @@ export declare const apiContract: {
|
|
|
783
783
|
success: false;
|
|
784
784
|
errors?: any;
|
|
785
785
|
}>;
|
|
786
|
-
500:
|
|
787
|
-
success:
|
|
788
|
-
message:
|
|
789
|
-
errors:
|
|
790
|
-
}, "strip",
|
|
786
|
+
500: z.ZodObject<{
|
|
787
|
+
success: z.ZodLiteral<false>;
|
|
788
|
+
message: z.ZodString;
|
|
789
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
790
|
+
}, "strip", z.ZodTypeAny, {
|
|
791
791
|
message: string;
|
|
792
792
|
success: false;
|
|
793
793
|
errors?: any;
|
|
@@ -801,20 +801,20 @@ export declare const apiContract: {
|
|
|
801
801
|
markJobAsViewed: {
|
|
802
802
|
summary: "Mark job as viewed by user";
|
|
803
803
|
method: "POST";
|
|
804
|
-
body:
|
|
804
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
805
805
|
path: "/api/jobs/:id/view";
|
|
806
806
|
responses: {
|
|
807
|
-
200:
|
|
808
|
-
success:
|
|
809
|
-
message:
|
|
810
|
-
data:
|
|
811
|
-
success:
|
|
812
|
-
}, "strip",
|
|
807
|
+
200: z.ZodObject<{
|
|
808
|
+
success: z.ZodLiteral<true>;
|
|
809
|
+
message: z.ZodString;
|
|
810
|
+
data: z.ZodObject<{
|
|
811
|
+
success: z.ZodBoolean;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
813
|
success: boolean;
|
|
814
814
|
}, {
|
|
815
815
|
success: boolean;
|
|
816
816
|
}>;
|
|
817
|
-
}, "strip",
|
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
|
818
818
|
message: string;
|
|
819
819
|
success: true;
|
|
820
820
|
data: {
|
|
@@ -827,11 +827,11 @@ export declare const apiContract: {
|
|
|
827
827
|
success: boolean;
|
|
828
828
|
};
|
|
829
829
|
}>;
|
|
830
|
-
404:
|
|
831
|
-
success:
|
|
832
|
-
message:
|
|
833
|
-
errors:
|
|
834
|
-
}, "strip",
|
|
830
|
+
404: z.ZodObject<{
|
|
831
|
+
success: z.ZodLiteral<false>;
|
|
832
|
+
message: z.ZodString;
|
|
833
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
835
|
message: string;
|
|
836
836
|
success: false;
|
|
837
837
|
errors?: any;
|
|
@@ -840,11 +840,11 @@ export declare const apiContract: {
|
|
|
840
840
|
success: false;
|
|
841
841
|
errors?: any;
|
|
842
842
|
}>;
|
|
843
|
-
401:
|
|
844
|
-
success:
|
|
845
|
-
message:
|
|
846
|
-
errors:
|
|
847
|
-
}, "strip",
|
|
843
|
+
401: z.ZodObject<{
|
|
844
|
+
success: z.ZodLiteral<false>;
|
|
845
|
+
message: z.ZodString;
|
|
846
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
847
|
+
}, "strip", z.ZodTypeAny, {
|
|
848
848
|
message: string;
|
|
849
849
|
success: false;
|
|
850
850
|
errors?: any;
|
|
@@ -853,11 +853,11 @@ export declare const apiContract: {
|
|
|
853
853
|
success: false;
|
|
854
854
|
errors?: any;
|
|
855
855
|
}>;
|
|
856
|
-
500:
|
|
857
|
-
success:
|
|
858
|
-
message:
|
|
859
|
-
errors:
|
|
860
|
-
}, "strip",
|
|
856
|
+
500: z.ZodObject<{
|
|
857
|
+
success: z.ZodLiteral<false>;
|
|
858
|
+
message: z.ZodString;
|
|
859
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
|
861
861
|
message: string;
|
|
862
862
|
success: false;
|
|
863
863
|
errors?: any;
|
|
@@ -869,9 +869,9 @@ export declare const apiContract: {
|
|
|
869
869
|
};
|
|
870
870
|
};
|
|
871
871
|
searchSkills: {
|
|
872
|
-
query:
|
|
873
|
-
q:
|
|
874
|
-
}, "strip",
|
|
872
|
+
query: z.ZodObject<{
|
|
873
|
+
q: z.ZodOptional<z.ZodString>;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
875
875
|
q?: string | undefined;
|
|
876
876
|
}, {
|
|
877
877
|
q?: string | undefined;
|
|
@@ -880,11 +880,11 @@ export declare const apiContract: {
|
|
|
880
880
|
method: "GET";
|
|
881
881
|
path: "/api/jobs/skills/search";
|
|
882
882
|
responses: {
|
|
883
|
-
200:
|
|
884
|
-
success:
|
|
885
|
-
message:
|
|
886
|
-
data:
|
|
887
|
-
}, "strip",
|
|
883
|
+
200: z.ZodObject<{
|
|
884
|
+
success: z.ZodLiteral<true>;
|
|
885
|
+
message: z.ZodString;
|
|
886
|
+
data: z.ZodArray<z.ZodString, "many">;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
888
888
|
message: string;
|
|
889
889
|
success: true;
|
|
890
890
|
data: string[];
|
|
@@ -893,11 +893,11 @@ export declare const apiContract: {
|
|
|
893
893
|
success: true;
|
|
894
894
|
data: string[];
|
|
895
895
|
}>;
|
|
896
|
-
500:
|
|
897
|
-
success:
|
|
898
|
-
message:
|
|
899
|
-
errors:
|
|
900
|
-
}, "strip",
|
|
896
|
+
500: z.ZodObject<{
|
|
897
|
+
success: z.ZodLiteral<false>;
|
|
898
|
+
message: z.ZodString;
|
|
899
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
901
901
|
message: string;
|
|
902
902
|
success: false;
|
|
903
903
|
errors?: any;
|
|
@@ -909,9 +909,9 @@ export declare const apiContract: {
|
|
|
909
909
|
};
|
|
910
910
|
};
|
|
911
911
|
searchJobFunctions: {
|
|
912
|
-
query:
|
|
913
|
-
q:
|
|
914
|
-
}, "strip",
|
|
912
|
+
query: z.ZodObject<{
|
|
913
|
+
q: z.ZodOptional<z.ZodString>;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
915
|
q?: string | undefined;
|
|
916
916
|
}, {
|
|
917
917
|
q?: string | undefined;
|
|
@@ -920,11 +920,11 @@ export declare const apiContract: {
|
|
|
920
920
|
method: "GET";
|
|
921
921
|
path: "/api/jobs/functions/search";
|
|
922
922
|
responses: {
|
|
923
|
-
200:
|
|
924
|
-
success:
|
|
925
|
-
message:
|
|
926
|
-
data:
|
|
927
|
-
}, "strip",
|
|
923
|
+
200: z.ZodObject<{
|
|
924
|
+
success: z.ZodLiteral<true>;
|
|
925
|
+
message: z.ZodString;
|
|
926
|
+
data: z.ZodArray<z.ZodString, "many">;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
928
|
message: string;
|
|
929
929
|
success: true;
|
|
930
930
|
data: string[];
|
|
@@ -933,11 +933,11 @@ export declare const apiContract: {
|
|
|
933
933
|
success: true;
|
|
934
934
|
data: string[];
|
|
935
935
|
}>;
|
|
936
|
-
500:
|
|
937
|
-
success:
|
|
938
|
-
message:
|
|
939
|
-
errors:
|
|
940
|
-
}, "strip",
|
|
936
|
+
500: z.ZodObject<{
|
|
937
|
+
success: z.ZodLiteral<false>;
|
|
938
|
+
message: z.ZodString;
|
|
939
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
940
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
941
|
message: string;
|
|
942
942
|
success: false;
|
|
943
943
|
errors?: any;
|
|
@@ -955,23 +955,23 @@ export declare const apiContract: {
|
|
|
955
955
|
method: "GET";
|
|
956
956
|
path: "/api/channels/available";
|
|
957
957
|
responses: {
|
|
958
|
-
200:
|
|
959
|
-
success:
|
|
960
|
-
message:
|
|
961
|
-
data:
|
|
962
|
-
channels:
|
|
963
|
-
id:
|
|
964
|
-
username:
|
|
965
|
-
title:
|
|
966
|
-
description:
|
|
967
|
-
category:
|
|
968
|
-
memberCount:
|
|
969
|
-
isActive:
|
|
970
|
-
isRecommended:
|
|
971
|
-
lastScrapedAt:
|
|
972
|
-
createdAt:
|
|
973
|
-
updatedAt:
|
|
974
|
-
}, "strip",
|
|
958
|
+
200: z.ZodObject<{
|
|
959
|
+
success: z.ZodLiteral<true>;
|
|
960
|
+
message: z.ZodString;
|
|
961
|
+
data: z.ZodObject<{
|
|
962
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
963
|
+
id: z.ZodString;
|
|
964
|
+
username: z.ZodString;
|
|
965
|
+
title: z.ZodString;
|
|
966
|
+
description: z.ZodOptional<z.ZodString>;
|
|
967
|
+
category: z.ZodOptional<z.ZodString>;
|
|
968
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
969
|
+
isActive: z.ZodBoolean;
|
|
970
|
+
isRecommended: z.ZodBoolean;
|
|
971
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
972
|
+
createdAt: z.ZodString;
|
|
973
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
975
|
id: string;
|
|
976
976
|
createdAt: string;
|
|
977
977
|
username: string;
|
|
@@ -996,7 +996,7 @@ export declare const apiContract: {
|
|
|
996
996
|
memberCount?: string | undefined;
|
|
997
997
|
lastScrapedAt?: string | undefined;
|
|
998
998
|
}>, "many">;
|
|
999
|
-
}, "strip",
|
|
999
|
+
}, "strip", z.ZodTypeAny, {
|
|
1000
1000
|
channels: {
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
createdAt: string;
|
|
@@ -1025,7 +1025,7 @@ export declare const apiContract: {
|
|
|
1025
1025
|
lastScrapedAt?: string | undefined;
|
|
1026
1026
|
}[];
|
|
1027
1027
|
}>;
|
|
1028
|
-
}, "strip",
|
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
|
1029
1029
|
message: string;
|
|
1030
1030
|
success: true;
|
|
1031
1031
|
data: {
|
|
@@ -1062,11 +1062,11 @@ export declare const apiContract: {
|
|
|
1062
1062
|
}[];
|
|
1063
1063
|
};
|
|
1064
1064
|
}>;
|
|
1065
|
-
401:
|
|
1066
|
-
success:
|
|
1067
|
-
message:
|
|
1068
|
-
errors:
|
|
1069
|
-
}, "strip",
|
|
1065
|
+
401: z.ZodObject<{
|
|
1066
|
+
success: z.ZodLiteral<false>;
|
|
1067
|
+
message: z.ZodString;
|
|
1068
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1069
|
+
}, "strip", z.ZodTypeAny, {
|
|
1070
1070
|
message: string;
|
|
1071
1071
|
success: false;
|
|
1072
1072
|
errors?: any;
|
|
@@ -1075,11 +1075,11 @@ export declare const apiContract: {
|
|
|
1075
1075
|
success: false;
|
|
1076
1076
|
errors?: any;
|
|
1077
1077
|
}>;
|
|
1078
|
-
500:
|
|
1079
|
-
success:
|
|
1080
|
-
message:
|
|
1081
|
-
errors:
|
|
1082
|
-
}, "strip",
|
|
1078
|
+
500: z.ZodObject<{
|
|
1079
|
+
success: z.ZodLiteral<false>;
|
|
1080
|
+
message: z.ZodString;
|
|
1081
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
1083
|
message: string;
|
|
1084
1084
|
success: false;
|
|
1085
1085
|
errors?: any;
|
|
@@ -1095,23 +1095,23 @@ export declare const apiContract: {
|
|
|
1095
1095
|
method: "GET";
|
|
1096
1096
|
path: "/api/channels/user-channels";
|
|
1097
1097
|
responses: {
|
|
1098
|
-
200:
|
|
1099
|
-
success:
|
|
1100
|
-
message:
|
|
1101
|
-
data:
|
|
1102
|
-
channels:
|
|
1103
|
-
id:
|
|
1104
|
-
username:
|
|
1105
|
-
title:
|
|
1106
|
-
description:
|
|
1107
|
-
category:
|
|
1108
|
-
memberCount:
|
|
1109
|
-
isActive:
|
|
1110
|
-
isRecommended:
|
|
1111
|
-
lastScrapedAt:
|
|
1112
|
-
createdAt:
|
|
1113
|
-
updatedAt:
|
|
1114
|
-
}, "strip",
|
|
1098
|
+
200: z.ZodObject<{
|
|
1099
|
+
success: z.ZodLiteral<true>;
|
|
1100
|
+
message: z.ZodString;
|
|
1101
|
+
data: z.ZodObject<{
|
|
1102
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1103
|
+
id: z.ZodString;
|
|
1104
|
+
username: z.ZodString;
|
|
1105
|
+
title: z.ZodString;
|
|
1106
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
isActive: z.ZodBoolean;
|
|
1110
|
+
isRecommended: z.ZodBoolean;
|
|
1111
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
createdAt: z.ZodString;
|
|
1113
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
}, "strip", z.ZodTypeAny, {
|
|
1115
1115
|
id: string;
|
|
1116
1116
|
createdAt: string;
|
|
1117
1117
|
username: string;
|
|
@@ -1136,7 +1136,7 @@ export declare const apiContract: {
|
|
|
1136
1136
|
memberCount?: string | undefined;
|
|
1137
1137
|
lastScrapedAt?: string | undefined;
|
|
1138
1138
|
}>, "many">;
|
|
1139
|
-
}, "strip",
|
|
1139
|
+
}, "strip", z.ZodTypeAny, {
|
|
1140
1140
|
channels: {
|
|
1141
1141
|
id: string;
|
|
1142
1142
|
createdAt: string;
|
|
@@ -1165,7 +1165,7 @@ export declare const apiContract: {
|
|
|
1165
1165
|
lastScrapedAt?: string | undefined;
|
|
1166
1166
|
}[];
|
|
1167
1167
|
}>;
|
|
1168
|
-
}, "strip",
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
1169
|
message: string;
|
|
1170
1170
|
success: true;
|
|
1171
1171
|
data: {
|
|
@@ -1202,11 +1202,11 @@ export declare const apiContract: {
|
|
|
1202
1202
|
}[];
|
|
1203
1203
|
};
|
|
1204
1204
|
}>;
|
|
1205
|
-
401:
|
|
1206
|
-
success:
|
|
1207
|
-
message:
|
|
1208
|
-
errors:
|
|
1209
|
-
}, "strip",
|
|
1205
|
+
401: z.ZodObject<{
|
|
1206
|
+
success: z.ZodLiteral<false>;
|
|
1207
|
+
message: z.ZodString;
|
|
1208
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1209
|
+
}, "strip", z.ZodTypeAny, {
|
|
1210
1210
|
message: string;
|
|
1211
1211
|
success: false;
|
|
1212
1212
|
errors?: any;
|
|
@@ -1215,11 +1215,11 @@ export declare const apiContract: {
|
|
|
1215
1215
|
success: false;
|
|
1216
1216
|
errors?: any;
|
|
1217
1217
|
}>;
|
|
1218
|
-
500:
|
|
1219
|
-
success:
|
|
1220
|
-
message:
|
|
1221
|
-
errors:
|
|
1222
|
-
}, "strip",
|
|
1218
|
+
500: z.ZodObject<{
|
|
1219
|
+
success: z.ZodLiteral<false>;
|
|
1220
|
+
message: z.ZodString;
|
|
1221
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1222
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
1223
|
message: string;
|
|
1224
1224
|
success: false;
|
|
1225
1225
|
errors?: any;
|
|
@@ -1235,22 +1235,22 @@ export declare const apiContract: {
|
|
|
1235
1235
|
method: "GET";
|
|
1236
1236
|
path: "/api/channels/recommended";
|
|
1237
1237
|
responses: {
|
|
1238
|
-
200:
|
|
1239
|
-
success:
|
|
1240
|
-
message:
|
|
1241
|
-
data:
|
|
1242
|
-
id:
|
|
1243
|
-
username:
|
|
1244
|
-
title:
|
|
1245
|
-
description:
|
|
1246
|
-
category:
|
|
1247
|
-
memberCount:
|
|
1248
|
-
isActive:
|
|
1249
|
-
isRecommended:
|
|
1250
|
-
lastScrapedAt:
|
|
1251
|
-
createdAt:
|
|
1252
|
-
updatedAt:
|
|
1253
|
-
}, "strip",
|
|
1238
|
+
200: z.ZodObject<{
|
|
1239
|
+
success: z.ZodLiteral<true>;
|
|
1240
|
+
message: z.ZodString;
|
|
1241
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1242
|
+
id: z.ZodString;
|
|
1243
|
+
username: z.ZodString;
|
|
1244
|
+
title: z.ZodString;
|
|
1245
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
isActive: z.ZodBoolean;
|
|
1249
|
+
isRecommended: z.ZodBoolean;
|
|
1250
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
createdAt: z.ZodString;
|
|
1252
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
}, "strip", z.ZodTypeAny, {
|
|
1254
1254
|
id: string;
|
|
1255
1255
|
createdAt: string;
|
|
1256
1256
|
username: string;
|
|
@@ -1275,7 +1275,7 @@ export declare const apiContract: {
|
|
|
1275
1275
|
memberCount?: string | undefined;
|
|
1276
1276
|
lastScrapedAt?: string | undefined;
|
|
1277
1277
|
}>, "many">;
|
|
1278
|
-
}, "strip",
|
|
1278
|
+
}, "strip", z.ZodTypeAny, {
|
|
1279
1279
|
message: string;
|
|
1280
1280
|
success: true;
|
|
1281
1281
|
data: {
|
|
@@ -1308,11 +1308,11 @@ export declare const apiContract: {
|
|
|
1308
1308
|
lastScrapedAt?: string | undefined;
|
|
1309
1309
|
}[];
|
|
1310
1310
|
}>;
|
|
1311
|
-
500:
|
|
1312
|
-
success:
|
|
1313
|
-
message:
|
|
1314
|
-
errors:
|
|
1315
|
-
}, "strip",
|
|
1311
|
+
500: z.ZodObject<{
|
|
1312
|
+
success: z.ZodLiteral<false>;
|
|
1313
|
+
message: z.ZodString;
|
|
1314
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1315
|
+
}, "strip", z.ZodTypeAny, {
|
|
1316
1316
|
message: string;
|
|
1317
1317
|
success: false;
|
|
1318
1318
|
errors?: any;
|
|
@@ -1328,20 +1328,20 @@ export declare const apiContract: {
|
|
|
1328
1328
|
method: "GET";
|
|
1329
1329
|
path: "/api/channels/categories";
|
|
1330
1330
|
responses: {
|
|
1331
|
-
200:
|
|
1332
|
-
success:
|
|
1333
|
-
message:
|
|
1334
|
-
data:
|
|
1335
|
-
name:
|
|
1336
|
-
count:
|
|
1337
|
-
}, "strip",
|
|
1331
|
+
200: z.ZodObject<{
|
|
1332
|
+
success: z.ZodLiteral<true>;
|
|
1333
|
+
message: z.ZodString;
|
|
1334
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1335
|
+
name: z.ZodString;
|
|
1336
|
+
count: z.ZodNumber;
|
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
1338
|
name: string;
|
|
1339
1339
|
count: number;
|
|
1340
1340
|
}, {
|
|
1341
1341
|
name: string;
|
|
1342
1342
|
count: number;
|
|
1343
1343
|
}>, "many">;
|
|
1344
|
-
}, "strip",
|
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
1345
|
message: string;
|
|
1346
1346
|
success: true;
|
|
1347
1347
|
data: {
|
|
@@ -1356,11 +1356,11 @@ export declare const apiContract: {
|
|
|
1356
1356
|
count: number;
|
|
1357
1357
|
}[];
|
|
1358
1358
|
}>;
|
|
1359
|
-
500:
|
|
1360
|
-
success:
|
|
1361
|
-
message:
|
|
1362
|
-
errors:
|
|
1363
|
-
}, "strip",
|
|
1359
|
+
500: z.ZodObject<{
|
|
1360
|
+
success: z.ZodLiteral<false>;
|
|
1361
|
+
message: z.ZodString;
|
|
1362
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1363
|
+
}, "strip", z.ZodTypeAny, {
|
|
1364
1364
|
message: string;
|
|
1365
1365
|
success: false;
|
|
1366
1366
|
errors?: any;
|
|
@@ -1376,33 +1376,33 @@ export declare const apiContract: {
|
|
|
1376
1376
|
method: "GET";
|
|
1377
1377
|
path: "/api/channels/explore";
|
|
1378
1378
|
responses: {
|
|
1379
|
-
200:
|
|
1380
|
-
success:
|
|
1381
|
-
message:
|
|
1382
|
-
data:
|
|
1383
|
-
categories:
|
|
1384
|
-
name:
|
|
1385
|
-
count:
|
|
1386
|
-
}, "strip",
|
|
1379
|
+
200: z.ZodObject<{
|
|
1380
|
+
success: z.ZodLiteral<true>;
|
|
1381
|
+
message: z.ZodString;
|
|
1382
|
+
data: z.ZodObject<{
|
|
1383
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1384
|
+
name: z.ZodString;
|
|
1385
|
+
count: z.ZodNumber;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
1387
|
name: string;
|
|
1388
1388
|
count: number;
|
|
1389
1389
|
}, {
|
|
1390
1390
|
name: string;
|
|
1391
1391
|
count: number;
|
|
1392
1392
|
}>, "many">;
|
|
1393
|
-
channelsByCategory:
|
|
1394
|
-
id:
|
|
1395
|
-
username:
|
|
1396
|
-
title:
|
|
1397
|
-
description:
|
|
1398
|
-
category:
|
|
1399
|
-
memberCount:
|
|
1400
|
-
isActive:
|
|
1401
|
-
isRecommended:
|
|
1402
|
-
lastScrapedAt:
|
|
1403
|
-
createdAt:
|
|
1404
|
-
updatedAt:
|
|
1405
|
-
}, "strip",
|
|
1393
|
+
channelsByCategory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1394
|
+
id: z.ZodString;
|
|
1395
|
+
username: z.ZodString;
|
|
1396
|
+
title: z.ZodString;
|
|
1397
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
isActive: z.ZodBoolean;
|
|
1401
|
+
isRecommended: z.ZodBoolean;
|
|
1402
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
createdAt: z.ZodString;
|
|
1404
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
}, "strip", z.ZodTypeAny, {
|
|
1406
1406
|
id: string;
|
|
1407
1407
|
createdAt: string;
|
|
1408
1408
|
username: string;
|
|
@@ -1427,7 +1427,7 @@ export declare const apiContract: {
|
|
|
1427
1427
|
memberCount?: string | undefined;
|
|
1428
1428
|
lastScrapedAt?: string | undefined;
|
|
1429
1429
|
}>, "many">>;
|
|
1430
|
-
}, "strip",
|
|
1430
|
+
}, "strip", z.ZodTypeAny, {
|
|
1431
1431
|
categories: {
|
|
1432
1432
|
name: string;
|
|
1433
1433
|
count: number;
|
|
@@ -1464,7 +1464,7 @@ export declare const apiContract: {
|
|
|
1464
1464
|
lastScrapedAt?: string | undefined;
|
|
1465
1465
|
}[]>;
|
|
1466
1466
|
}>;
|
|
1467
|
-
}, "strip",
|
|
1467
|
+
}, "strip", z.ZodTypeAny, {
|
|
1468
1468
|
message: string;
|
|
1469
1469
|
success: true;
|
|
1470
1470
|
data: {
|
|
@@ -1509,11 +1509,11 @@ export declare const apiContract: {
|
|
|
1509
1509
|
}[]>;
|
|
1510
1510
|
};
|
|
1511
1511
|
}>;
|
|
1512
|
-
401:
|
|
1513
|
-
success:
|
|
1514
|
-
message:
|
|
1515
|
-
errors:
|
|
1516
|
-
}, "strip",
|
|
1512
|
+
401: z.ZodObject<{
|
|
1513
|
+
success: z.ZodLiteral<false>;
|
|
1514
|
+
message: z.ZodString;
|
|
1515
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1516
|
+
}, "strip", z.ZodTypeAny, {
|
|
1517
1517
|
message: string;
|
|
1518
1518
|
success: false;
|
|
1519
1519
|
errors?: any;
|
|
@@ -1522,11 +1522,11 @@ export declare const apiContract: {
|
|
|
1522
1522
|
success: false;
|
|
1523
1523
|
errors?: any;
|
|
1524
1524
|
}>;
|
|
1525
|
-
500:
|
|
1526
|
-
success:
|
|
1527
|
-
message:
|
|
1528
|
-
errors:
|
|
1529
|
-
}, "strip",
|
|
1525
|
+
500: z.ZodObject<{
|
|
1526
|
+
success: z.ZodLiteral<false>;
|
|
1527
|
+
message: z.ZodString;
|
|
1528
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
1530
|
message: string;
|
|
1531
1531
|
success: false;
|
|
1532
1532
|
errors?: any;
|
|
@@ -1540,31 +1540,31 @@ export declare const apiContract: {
|
|
|
1540
1540
|
searchChannels: {
|
|
1541
1541
|
summary: "Search channels by query";
|
|
1542
1542
|
method: "POST";
|
|
1543
|
-
body:
|
|
1544
|
-
query:
|
|
1545
|
-
}, "strip",
|
|
1543
|
+
body: z.ZodObject<{
|
|
1544
|
+
query: z.ZodString;
|
|
1545
|
+
}, "strip", z.ZodTypeAny, {
|
|
1546
1546
|
query: string;
|
|
1547
1547
|
}, {
|
|
1548
1548
|
query: string;
|
|
1549
1549
|
}>;
|
|
1550
1550
|
path: "/api/channels/search";
|
|
1551
1551
|
responses: {
|
|
1552
|
-
200:
|
|
1553
|
-
success:
|
|
1554
|
-
message:
|
|
1555
|
-
data:
|
|
1556
|
-
id:
|
|
1557
|
-
username:
|
|
1558
|
-
title:
|
|
1559
|
-
description:
|
|
1560
|
-
category:
|
|
1561
|
-
memberCount:
|
|
1562
|
-
isActive:
|
|
1563
|
-
isRecommended:
|
|
1564
|
-
lastScrapedAt:
|
|
1565
|
-
createdAt:
|
|
1566
|
-
updatedAt:
|
|
1567
|
-
}, "strip",
|
|
1552
|
+
200: z.ZodObject<{
|
|
1553
|
+
success: z.ZodLiteral<true>;
|
|
1554
|
+
message: z.ZodString;
|
|
1555
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1556
|
+
id: z.ZodString;
|
|
1557
|
+
username: z.ZodString;
|
|
1558
|
+
title: z.ZodString;
|
|
1559
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1560
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
isActive: z.ZodBoolean;
|
|
1563
|
+
isRecommended: z.ZodBoolean;
|
|
1564
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
createdAt: z.ZodString;
|
|
1566
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
}, "strip", z.ZodTypeAny, {
|
|
1568
1568
|
id: string;
|
|
1569
1569
|
createdAt: string;
|
|
1570
1570
|
username: string;
|
|
@@ -1589,7 +1589,7 @@ export declare const apiContract: {
|
|
|
1589
1589
|
memberCount?: string | undefined;
|
|
1590
1590
|
lastScrapedAt?: string | undefined;
|
|
1591
1591
|
}>, "many">;
|
|
1592
|
-
}, "strip",
|
|
1592
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
1593
|
message: string;
|
|
1594
1594
|
success: true;
|
|
1595
1595
|
data: {
|
|
@@ -1622,11 +1622,11 @@ export declare const apiContract: {
|
|
|
1622
1622
|
lastScrapedAt?: string | undefined;
|
|
1623
1623
|
}[];
|
|
1624
1624
|
}>;
|
|
1625
|
-
400:
|
|
1626
|
-
success:
|
|
1627
|
-
message:
|
|
1628
|
-
errors:
|
|
1629
|
-
}, "strip",
|
|
1625
|
+
400: z.ZodObject<{
|
|
1626
|
+
success: z.ZodLiteral<false>;
|
|
1627
|
+
message: z.ZodString;
|
|
1628
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
message: string;
|
|
1631
1631
|
success: false;
|
|
1632
1632
|
errors?: any;
|
|
@@ -1635,11 +1635,11 @@ export declare const apiContract: {
|
|
|
1635
1635
|
success: false;
|
|
1636
1636
|
errors?: any;
|
|
1637
1637
|
}>;
|
|
1638
|
-
500:
|
|
1639
|
-
success:
|
|
1640
|
-
message:
|
|
1641
|
-
errors:
|
|
1642
|
-
}, "strip",
|
|
1638
|
+
500: z.ZodObject<{
|
|
1639
|
+
success: z.ZodLiteral<false>;
|
|
1640
|
+
message: z.ZodString;
|
|
1641
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1642
|
+
}, "strip", z.ZodTypeAny, {
|
|
1643
1643
|
message: string;
|
|
1644
1644
|
success: false;
|
|
1645
1645
|
errors?: any;
|
|
@@ -1653,29 +1653,29 @@ export declare const apiContract: {
|
|
|
1653
1653
|
subscribeToChannels: {
|
|
1654
1654
|
summary: "Subscribe to channels (replaces existing)";
|
|
1655
1655
|
method: "POST";
|
|
1656
|
-
body:
|
|
1657
|
-
channelUsernames:
|
|
1658
|
-
}, "strip",
|
|
1656
|
+
body: z.ZodObject<{
|
|
1657
|
+
channelUsernames: z.ZodArray<z.ZodString, "many">;
|
|
1658
|
+
}, "strip", z.ZodTypeAny, {
|
|
1659
1659
|
channelUsernames: string[];
|
|
1660
1660
|
}, {
|
|
1661
1661
|
channelUsernames: string[];
|
|
1662
1662
|
}>;
|
|
1663
1663
|
path: "/api/channels/subscribe";
|
|
1664
1664
|
responses: {
|
|
1665
|
-
200:
|
|
1666
|
-
success:
|
|
1667
|
-
message:
|
|
1668
|
-
data:
|
|
1669
|
-
subscribedChannels:
|
|
1670
|
-
message:
|
|
1671
|
-
}, "strip",
|
|
1665
|
+
200: z.ZodObject<{
|
|
1666
|
+
success: z.ZodLiteral<true>;
|
|
1667
|
+
message: z.ZodString;
|
|
1668
|
+
data: z.ZodObject<{
|
|
1669
|
+
subscribedChannels: z.ZodArray<z.ZodString, "many">;
|
|
1670
|
+
message: z.ZodString;
|
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
1672
|
message: string;
|
|
1673
1673
|
subscribedChannels: string[];
|
|
1674
1674
|
}, {
|
|
1675
1675
|
message: string;
|
|
1676
1676
|
subscribedChannels: string[];
|
|
1677
1677
|
}>;
|
|
1678
|
-
}, "strip",
|
|
1678
|
+
}, "strip", z.ZodTypeAny, {
|
|
1679
1679
|
message: string;
|
|
1680
1680
|
success: true;
|
|
1681
1681
|
data: {
|
|
@@ -1690,11 +1690,11 @@ export declare const apiContract: {
|
|
|
1690
1690
|
subscribedChannels: string[];
|
|
1691
1691
|
};
|
|
1692
1692
|
}>;
|
|
1693
|
-
400:
|
|
1694
|
-
success:
|
|
1695
|
-
message:
|
|
1696
|
-
errors:
|
|
1697
|
-
}, "strip",
|
|
1693
|
+
400: z.ZodObject<{
|
|
1694
|
+
success: z.ZodLiteral<false>;
|
|
1695
|
+
message: z.ZodString;
|
|
1696
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
1698
|
message: string;
|
|
1699
1699
|
success: false;
|
|
1700
1700
|
errors?: any;
|
|
@@ -1703,11 +1703,11 @@ export declare const apiContract: {
|
|
|
1703
1703
|
success: false;
|
|
1704
1704
|
errors?: any;
|
|
1705
1705
|
}>;
|
|
1706
|
-
401:
|
|
1707
|
-
success:
|
|
1708
|
-
message:
|
|
1709
|
-
errors:
|
|
1710
|
-
}, "strip",
|
|
1706
|
+
401: z.ZodObject<{
|
|
1707
|
+
success: z.ZodLiteral<false>;
|
|
1708
|
+
message: z.ZodString;
|
|
1709
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1710
|
+
}, "strip", z.ZodTypeAny, {
|
|
1711
1711
|
message: string;
|
|
1712
1712
|
success: false;
|
|
1713
1713
|
errors?: any;
|
|
@@ -1716,11 +1716,11 @@ export declare const apiContract: {
|
|
|
1716
1716
|
success: false;
|
|
1717
1717
|
errors?: any;
|
|
1718
1718
|
}>;
|
|
1719
|
-
500:
|
|
1720
|
-
success:
|
|
1721
|
-
message:
|
|
1722
|
-
errors:
|
|
1723
|
-
}, "strip",
|
|
1719
|
+
500: z.ZodObject<{
|
|
1720
|
+
success: z.ZodLiteral<false>;
|
|
1721
|
+
message: z.ZodString;
|
|
1722
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1723
|
+
}, "strip", z.ZodTypeAny, {
|
|
1724
1724
|
message: string;
|
|
1725
1725
|
success: false;
|
|
1726
1726
|
errors?: any;
|
|
@@ -1734,29 +1734,29 @@ export declare const apiContract: {
|
|
|
1734
1734
|
addChannels: {
|
|
1735
1735
|
summary: "Add channels to subscription";
|
|
1736
1736
|
method: "POST";
|
|
1737
|
-
body:
|
|
1738
|
-
channelUsernames:
|
|
1739
|
-
}, "strip",
|
|
1737
|
+
body: z.ZodObject<{
|
|
1738
|
+
channelUsernames: z.ZodArray<z.ZodString, "many">;
|
|
1739
|
+
}, "strip", z.ZodTypeAny, {
|
|
1740
1740
|
channelUsernames: string[];
|
|
1741
1741
|
}, {
|
|
1742
1742
|
channelUsernames: string[];
|
|
1743
1743
|
}>;
|
|
1744
1744
|
path: "/api/channels/add";
|
|
1745
1745
|
responses: {
|
|
1746
|
-
200:
|
|
1747
|
-
success:
|
|
1748
|
-
message:
|
|
1749
|
-
data:
|
|
1750
|
-
subscribedChannels:
|
|
1751
|
-
message:
|
|
1752
|
-
}, "strip",
|
|
1746
|
+
200: z.ZodObject<{
|
|
1747
|
+
success: z.ZodLiteral<true>;
|
|
1748
|
+
message: z.ZodString;
|
|
1749
|
+
data: z.ZodObject<{
|
|
1750
|
+
subscribedChannels: z.ZodArray<z.ZodString, "many">;
|
|
1751
|
+
message: z.ZodString;
|
|
1752
|
+
}, "strip", z.ZodTypeAny, {
|
|
1753
1753
|
message: string;
|
|
1754
1754
|
subscribedChannels: string[];
|
|
1755
1755
|
}, {
|
|
1756
1756
|
message: string;
|
|
1757
1757
|
subscribedChannels: string[];
|
|
1758
1758
|
}>;
|
|
1759
|
-
}, "strip",
|
|
1759
|
+
}, "strip", z.ZodTypeAny, {
|
|
1760
1760
|
message: string;
|
|
1761
1761
|
success: true;
|
|
1762
1762
|
data: {
|
|
@@ -1771,11 +1771,11 @@ export declare const apiContract: {
|
|
|
1771
1771
|
subscribedChannels: string[];
|
|
1772
1772
|
};
|
|
1773
1773
|
}>;
|
|
1774
|
-
400:
|
|
1775
|
-
success:
|
|
1776
|
-
message:
|
|
1777
|
-
errors:
|
|
1778
|
-
}, "strip",
|
|
1774
|
+
400: z.ZodObject<{
|
|
1775
|
+
success: z.ZodLiteral<false>;
|
|
1776
|
+
message: z.ZodString;
|
|
1777
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1778
|
+
}, "strip", z.ZodTypeAny, {
|
|
1779
1779
|
message: string;
|
|
1780
1780
|
success: false;
|
|
1781
1781
|
errors?: any;
|
|
@@ -1784,11 +1784,11 @@ export declare const apiContract: {
|
|
|
1784
1784
|
success: false;
|
|
1785
1785
|
errors?: any;
|
|
1786
1786
|
}>;
|
|
1787
|
-
401:
|
|
1788
|
-
success:
|
|
1789
|
-
message:
|
|
1790
|
-
errors:
|
|
1791
|
-
}, "strip",
|
|
1787
|
+
401: z.ZodObject<{
|
|
1788
|
+
success: z.ZodLiteral<false>;
|
|
1789
|
+
message: z.ZodString;
|
|
1790
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1791
|
+
}, "strip", z.ZodTypeAny, {
|
|
1792
1792
|
message: string;
|
|
1793
1793
|
success: false;
|
|
1794
1794
|
errors?: any;
|
|
@@ -1797,11 +1797,11 @@ export declare const apiContract: {
|
|
|
1797
1797
|
success: false;
|
|
1798
1798
|
errors?: any;
|
|
1799
1799
|
}>;
|
|
1800
|
-
500:
|
|
1801
|
-
success:
|
|
1802
|
-
message:
|
|
1803
|
-
errors:
|
|
1804
|
-
}, "strip",
|
|
1800
|
+
500: z.ZodObject<{
|
|
1801
|
+
success: z.ZodLiteral<false>;
|
|
1802
|
+
message: z.ZodString;
|
|
1803
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1804
|
+
}, "strip", z.ZodTypeAny, {
|
|
1805
1805
|
message: string;
|
|
1806
1806
|
success: false;
|
|
1807
1807
|
errors?: any;
|
|
@@ -1815,29 +1815,29 @@ export declare const apiContract: {
|
|
|
1815
1815
|
unsubscribeFromChannel: {
|
|
1816
1816
|
summary: "Unsubscribe from channel";
|
|
1817
1817
|
method: "POST";
|
|
1818
|
-
body:
|
|
1819
|
-
channelUsername:
|
|
1820
|
-
}, "strip",
|
|
1818
|
+
body: z.ZodObject<{
|
|
1819
|
+
channelUsername: z.ZodString;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
1821
|
channelUsername: string;
|
|
1822
1822
|
}, {
|
|
1823
1823
|
channelUsername: string;
|
|
1824
1824
|
}>;
|
|
1825
1825
|
path: "/api/channels/unsubscribe";
|
|
1826
1826
|
responses: {
|
|
1827
|
-
200:
|
|
1828
|
-
success:
|
|
1829
|
-
message:
|
|
1830
|
-
data:
|
|
1831
|
-
subscribedChannels:
|
|
1832
|
-
message:
|
|
1833
|
-
}, "strip",
|
|
1827
|
+
200: z.ZodObject<{
|
|
1828
|
+
success: z.ZodLiteral<true>;
|
|
1829
|
+
message: z.ZodString;
|
|
1830
|
+
data: z.ZodObject<{
|
|
1831
|
+
subscribedChannels: z.ZodArray<z.ZodString, "many">;
|
|
1832
|
+
message: z.ZodString;
|
|
1833
|
+
}, "strip", z.ZodTypeAny, {
|
|
1834
1834
|
message: string;
|
|
1835
1835
|
subscribedChannels: string[];
|
|
1836
1836
|
}, {
|
|
1837
1837
|
message: string;
|
|
1838
1838
|
subscribedChannels: string[];
|
|
1839
1839
|
}>;
|
|
1840
|
-
}, "strip",
|
|
1840
|
+
}, "strip", z.ZodTypeAny, {
|
|
1841
1841
|
message: string;
|
|
1842
1842
|
success: true;
|
|
1843
1843
|
data: {
|
|
@@ -1852,11 +1852,11 @@ export declare const apiContract: {
|
|
|
1852
1852
|
subscribedChannels: string[];
|
|
1853
1853
|
};
|
|
1854
1854
|
}>;
|
|
1855
|
-
400:
|
|
1856
|
-
success:
|
|
1857
|
-
message:
|
|
1858
|
-
errors:
|
|
1859
|
-
}, "strip",
|
|
1855
|
+
400: z.ZodObject<{
|
|
1856
|
+
success: z.ZodLiteral<false>;
|
|
1857
|
+
message: z.ZodString;
|
|
1858
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1859
|
+
}, "strip", z.ZodTypeAny, {
|
|
1860
1860
|
message: string;
|
|
1861
1861
|
success: false;
|
|
1862
1862
|
errors?: any;
|
|
@@ -1865,11 +1865,11 @@ export declare const apiContract: {
|
|
|
1865
1865
|
success: false;
|
|
1866
1866
|
errors?: any;
|
|
1867
1867
|
}>;
|
|
1868
|
-
401:
|
|
1869
|
-
success:
|
|
1870
|
-
message:
|
|
1871
|
-
errors:
|
|
1872
|
-
}, "strip",
|
|
1868
|
+
401: z.ZodObject<{
|
|
1869
|
+
success: z.ZodLiteral<false>;
|
|
1870
|
+
message: z.ZodString;
|
|
1871
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
1873
|
message: string;
|
|
1874
1874
|
success: false;
|
|
1875
1875
|
errors?: any;
|
|
@@ -1878,11 +1878,11 @@ export declare const apiContract: {
|
|
|
1878
1878
|
success: false;
|
|
1879
1879
|
errors?: any;
|
|
1880
1880
|
}>;
|
|
1881
|
-
500:
|
|
1882
|
-
success:
|
|
1883
|
-
message:
|
|
1884
|
-
errors:
|
|
1885
|
-
}, "strip",
|
|
1881
|
+
500: z.ZodObject<{
|
|
1882
|
+
success: z.ZodLiteral<false>;
|
|
1883
|
+
message: z.ZodString;
|
|
1884
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1885
|
+
}, "strip", z.ZodTypeAny, {
|
|
1886
1886
|
message: string;
|
|
1887
1887
|
success: false;
|
|
1888
1888
|
errors?: any;
|
|
@@ -1900,29 +1900,29 @@ export declare const apiContract: {
|
|
|
1900
1900
|
method: "GET";
|
|
1901
1901
|
path: "/api/users/preferences/filters";
|
|
1902
1902
|
responses: {
|
|
1903
|
-
200:
|
|
1904
|
-
success:
|
|
1905
|
-
message:
|
|
1906
|
-
data:
|
|
1907
|
-
filters:
|
|
1908
|
-
stack:
|
|
1909
|
-
level:
|
|
1910
|
-
jobFunction:
|
|
1911
|
-
locationType:
|
|
1912
|
-
excludedTitles:
|
|
1913
|
-
muteKeywords:
|
|
1914
|
-
isRemote:
|
|
1915
|
-
experienceYears:
|
|
1916
|
-
min:
|
|
1917
|
-
max:
|
|
1918
|
-
}, "strip",
|
|
1903
|
+
200: z.ZodObject<{
|
|
1904
|
+
success: z.ZodLiteral<true>;
|
|
1905
|
+
message: z.ZodString;
|
|
1906
|
+
data: z.ZodObject<{
|
|
1907
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1908
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1909
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1910
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1911
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1912
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1913
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1914
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
1915
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
1916
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1917
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1918
|
+
}, "strip", z.ZodTypeAny, {
|
|
1919
1919
|
min?: number | undefined;
|
|
1920
1920
|
max?: number | undefined;
|
|
1921
1921
|
}, {
|
|
1922
1922
|
min?: number | undefined;
|
|
1923
1923
|
max?: number | undefined;
|
|
1924
1924
|
}>>;
|
|
1925
|
-
}, "strip",
|
|
1925
|
+
}, "strip", z.ZodTypeAny, {
|
|
1926
1926
|
isRemote?: boolean | undefined;
|
|
1927
1927
|
level?: string[] | undefined;
|
|
1928
1928
|
experienceYears?: {
|
|
@@ -1947,7 +1947,7 @@ export declare const apiContract: {
|
|
|
1947
1947
|
excludedTitles?: string[] | undefined;
|
|
1948
1948
|
muteKeywords?: string[] | undefined;
|
|
1949
1949
|
}>>;
|
|
1950
|
-
}, "strip",
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
1951
|
filters?: {
|
|
1952
1952
|
isRemote?: boolean | undefined;
|
|
1953
1953
|
level?: string[] | undefined;
|
|
@@ -1976,7 +1976,7 @@ export declare const apiContract: {
|
|
|
1976
1976
|
muteKeywords?: string[] | undefined;
|
|
1977
1977
|
} | undefined;
|
|
1978
1978
|
}>;
|
|
1979
|
-
}, "strip",
|
|
1979
|
+
}, "strip", z.ZodTypeAny, {
|
|
1980
1980
|
message: string;
|
|
1981
1981
|
success: true;
|
|
1982
1982
|
data: {
|
|
@@ -2013,11 +2013,11 @@ export declare const apiContract: {
|
|
|
2013
2013
|
} | undefined;
|
|
2014
2014
|
};
|
|
2015
2015
|
}>;
|
|
2016
|
-
401:
|
|
2017
|
-
success:
|
|
2018
|
-
message:
|
|
2019
|
-
errors:
|
|
2020
|
-
}, "strip",
|
|
2016
|
+
401: z.ZodObject<{
|
|
2017
|
+
success: z.ZodLiteral<false>;
|
|
2018
|
+
message: z.ZodString;
|
|
2019
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2020
|
+
}, "strip", z.ZodTypeAny, {
|
|
2021
2021
|
message: string;
|
|
2022
2022
|
success: false;
|
|
2023
2023
|
errors?: any;
|
|
@@ -2026,11 +2026,11 @@ export declare const apiContract: {
|
|
|
2026
2026
|
success: false;
|
|
2027
2027
|
errors?: any;
|
|
2028
2028
|
}>;
|
|
2029
|
-
500:
|
|
2030
|
-
success:
|
|
2031
|
-
message:
|
|
2032
|
-
errors:
|
|
2033
|
-
}, "strip",
|
|
2029
|
+
500: z.ZodObject<{
|
|
2030
|
+
success: z.ZodLiteral<false>;
|
|
2031
|
+
message: z.ZodString;
|
|
2032
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2033
|
+
}, "strip", z.ZodTypeAny, {
|
|
2034
2034
|
message: string;
|
|
2035
2035
|
success: false;
|
|
2036
2036
|
errors?: any;
|
|
@@ -2044,26 +2044,26 @@ export declare const apiContract: {
|
|
|
2044
2044
|
saveFilterPreferences: {
|
|
2045
2045
|
summary: "Save filter preferences";
|
|
2046
2046
|
method: "PUT";
|
|
2047
|
-
body:
|
|
2048
|
-
filters:
|
|
2049
|
-
stack:
|
|
2050
|
-
level:
|
|
2051
|
-
jobFunction:
|
|
2052
|
-
locationType:
|
|
2053
|
-
excludedTitles:
|
|
2054
|
-
muteKeywords:
|
|
2055
|
-
isRemote:
|
|
2056
|
-
experienceYears:
|
|
2057
|
-
min:
|
|
2058
|
-
max:
|
|
2059
|
-
}, "strip",
|
|
2047
|
+
body: z.ZodObject<{
|
|
2048
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2049
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2050
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2051
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2052
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2053
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2054
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2055
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2056
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2057
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2058
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2059
|
+
}, "strip", z.ZodTypeAny, {
|
|
2060
2060
|
min?: number | undefined;
|
|
2061
2061
|
max?: number | undefined;
|
|
2062
2062
|
}, {
|
|
2063
2063
|
min?: number | undefined;
|
|
2064
2064
|
max?: number | undefined;
|
|
2065
2065
|
}>>;
|
|
2066
|
-
}, "strip",
|
|
2066
|
+
}, "strip", z.ZodTypeAny, {
|
|
2067
2067
|
isRemote?: boolean | undefined;
|
|
2068
2068
|
level?: string[] | undefined;
|
|
2069
2069
|
experienceYears?: {
|
|
@@ -2088,7 +2088,7 @@ export declare const apiContract: {
|
|
|
2088
2088
|
excludedTitles?: string[] | undefined;
|
|
2089
2089
|
muteKeywords?: string[] | undefined;
|
|
2090
2090
|
}>>;
|
|
2091
|
-
}, "strip",
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
2092
|
filters?: {
|
|
2093
2093
|
isRemote?: boolean | undefined;
|
|
2094
2094
|
level?: string[] | undefined;
|
|
@@ -2119,29 +2119,29 @@ export declare const apiContract: {
|
|
|
2119
2119
|
}>;
|
|
2120
2120
|
path: "/api/users/preferences/filters";
|
|
2121
2121
|
responses: {
|
|
2122
|
-
200:
|
|
2123
|
-
success:
|
|
2124
|
-
message:
|
|
2125
|
-
data:
|
|
2126
|
-
filters:
|
|
2127
|
-
stack:
|
|
2128
|
-
level:
|
|
2129
|
-
jobFunction:
|
|
2130
|
-
locationType:
|
|
2131
|
-
excludedTitles:
|
|
2132
|
-
muteKeywords:
|
|
2133
|
-
isRemote:
|
|
2134
|
-
experienceYears:
|
|
2135
|
-
min:
|
|
2136
|
-
max:
|
|
2137
|
-
}, "strip",
|
|
2122
|
+
200: z.ZodObject<{
|
|
2123
|
+
success: z.ZodLiteral<true>;
|
|
2124
|
+
message: z.ZodString;
|
|
2125
|
+
data: z.ZodObject<{
|
|
2126
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2127
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2128
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2129
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2130
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2131
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2132
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2133
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2134
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2135
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2136
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2137
|
+
}, "strip", z.ZodTypeAny, {
|
|
2138
2138
|
min?: number | undefined;
|
|
2139
2139
|
max?: number | undefined;
|
|
2140
2140
|
}, {
|
|
2141
2141
|
min?: number | undefined;
|
|
2142
2142
|
max?: number | undefined;
|
|
2143
2143
|
}>>;
|
|
2144
|
-
}, "strip",
|
|
2144
|
+
}, "strip", z.ZodTypeAny, {
|
|
2145
2145
|
isRemote?: boolean | undefined;
|
|
2146
2146
|
level?: string[] | undefined;
|
|
2147
2147
|
experienceYears?: {
|
|
@@ -2166,7 +2166,7 @@ export declare const apiContract: {
|
|
|
2166
2166
|
excludedTitles?: string[] | undefined;
|
|
2167
2167
|
muteKeywords?: string[] | undefined;
|
|
2168
2168
|
}>>;
|
|
2169
|
-
}, "strip",
|
|
2169
|
+
}, "strip", z.ZodTypeAny, {
|
|
2170
2170
|
filters?: {
|
|
2171
2171
|
isRemote?: boolean | undefined;
|
|
2172
2172
|
level?: string[] | undefined;
|
|
@@ -2195,7 +2195,7 @@ export declare const apiContract: {
|
|
|
2195
2195
|
muteKeywords?: string[] | undefined;
|
|
2196
2196
|
} | undefined;
|
|
2197
2197
|
}>;
|
|
2198
|
-
}, "strip",
|
|
2198
|
+
}, "strip", z.ZodTypeAny, {
|
|
2199
2199
|
message: string;
|
|
2200
2200
|
success: true;
|
|
2201
2201
|
data: {
|
|
@@ -2232,11 +2232,11 @@ export declare const apiContract: {
|
|
|
2232
2232
|
} | undefined;
|
|
2233
2233
|
};
|
|
2234
2234
|
}>;
|
|
2235
|
-
400:
|
|
2236
|
-
success:
|
|
2237
|
-
message:
|
|
2238
|
-
errors:
|
|
2239
|
-
}, "strip",
|
|
2235
|
+
400: z.ZodObject<{
|
|
2236
|
+
success: z.ZodLiteral<false>;
|
|
2237
|
+
message: z.ZodString;
|
|
2238
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2239
|
+
}, "strip", z.ZodTypeAny, {
|
|
2240
2240
|
message: string;
|
|
2241
2241
|
success: false;
|
|
2242
2242
|
errors?: any;
|
|
@@ -2245,11 +2245,11 @@ export declare const apiContract: {
|
|
|
2245
2245
|
success: false;
|
|
2246
2246
|
errors?: any;
|
|
2247
2247
|
}>;
|
|
2248
|
-
401:
|
|
2249
|
-
success:
|
|
2250
|
-
message:
|
|
2251
|
-
errors:
|
|
2252
|
-
}, "strip",
|
|
2248
|
+
401: z.ZodObject<{
|
|
2249
|
+
success: z.ZodLiteral<false>;
|
|
2250
|
+
message: z.ZodString;
|
|
2251
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2252
|
+
}, "strip", z.ZodTypeAny, {
|
|
2253
2253
|
message: string;
|
|
2254
2254
|
success: false;
|
|
2255
2255
|
errors?: any;
|
|
@@ -2258,11 +2258,11 @@ export declare const apiContract: {
|
|
|
2258
2258
|
success: false;
|
|
2259
2259
|
errors?: any;
|
|
2260
2260
|
}>;
|
|
2261
|
-
500:
|
|
2262
|
-
success:
|
|
2263
|
-
message:
|
|
2264
|
-
errors:
|
|
2265
|
-
}, "strip",
|
|
2261
|
+
500: z.ZodObject<{
|
|
2262
|
+
success: z.ZodLiteral<false>;
|
|
2263
|
+
message: z.ZodString;
|
|
2264
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2265
|
+
}, "strip", z.ZodTypeAny, {
|
|
2266
2266
|
message: string;
|
|
2267
2267
|
success: false;
|
|
2268
2268
|
errors?: any;
|
|
@@ -2284,14 +2284,14 @@ export declare const apiContract: {
|
|
|
2284
2284
|
}>;
|
|
2285
2285
|
path: "/api/resume/upload";
|
|
2286
2286
|
responses: {
|
|
2287
|
-
200:
|
|
2288
|
-
success:
|
|
2289
|
-
message:
|
|
2290
|
-
data:
|
|
2291
|
-
message:
|
|
2292
|
-
resumeText:
|
|
2293
|
-
fileUrl:
|
|
2294
|
-
}, "strip",
|
|
2287
|
+
200: z.ZodObject<{
|
|
2288
|
+
success: z.ZodLiteral<true>;
|
|
2289
|
+
message: z.ZodString;
|
|
2290
|
+
data: z.ZodObject<{
|
|
2291
|
+
message: z.ZodString;
|
|
2292
|
+
resumeText: z.ZodString;
|
|
2293
|
+
fileUrl: z.ZodString;
|
|
2294
|
+
}, "strip", z.ZodTypeAny, {
|
|
2295
2295
|
message: string;
|
|
2296
2296
|
resumeText: string;
|
|
2297
2297
|
fileUrl: string;
|
|
@@ -2300,7 +2300,7 @@ export declare const apiContract: {
|
|
|
2300
2300
|
resumeText: string;
|
|
2301
2301
|
fileUrl: string;
|
|
2302
2302
|
}>;
|
|
2303
|
-
}, "strip",
|
|
2303
|
+
}, "strip", z.ZodTypeAny, {
|
|
2304
2304
|
message: string;
|
|
2305
2305
|
success: true;
|
|
2306
2306
|
data: {
|
|
@@ -2317,11 +2317,11 @@ export declare const apiContract: {
|
|
|
2317
2317
|
fileUrl: string;
|
|
2318
2318
|
};
|
|
2319
2319
|
}>;
|
|
2320
|
-
400:
|
|
2321
|
-
success:
|
|
2322
|
-
message:
|
|
2323
|
-
errors:
|
|
2324
|
-
}, "strip",
|
|
2320
|
+
400: z.ZodObject<{
|
|
2321
|
+
success: z.ZodLiteral<false>;
|
|
2322
|
+
message: z.ZodString;
|
|
2323
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2324
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
2325
|
message: string;
|
|
2326
2326
|
success: false;
|
|
2327
2327
|
errors?: any;
|
|
@@ -2330,11 +2330,11 @@ export declare const apiContract: {
|
|
|
2330
2330
|
success: false;
|
|
2331
2331
|
errors?: any;
|
|
2332
2332
|
}>;
|
|
2333
|
-
401:
|
|
2334
|
-
success:
|
|
2335
|
-
message:
|
|
2336
|
-
errors:
|
|
2337
|
-
}, "strip",
|
|
2333
|
+
401: z.ZodObject<{
|
|
2334
|
+
success: z.ZodLiteral<false>;
|
|
2335
|
+
message: z.ZodString;
|
|
2336
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2337
|
+
}, "strip", z.ZodTypeAny, {
|
|
2338
2338
|
message: string;
|
|
2339
2339
|
success: false;
|
|
2340
2340
|
errors?: any;
|
|
@@ -2343,11 +2343,11 @@ export declare const apiContract: {
|
|
|
2343
2343
|
success: false;
|
|
2344
2344
|
errors?: any;
|
|
2345
2345
|
}>;
|
|
2346
|
-
500:
|
|
2347
|
-
success:
|
|
2348
|
-
message:
|
|
2349
|
-
errors:
|
|
2350
|
-
}, "strip",
|
|
2346
|
+
500: z.ZodObject<{
|
|
2347
|
+
success: z.ZodLiteral<false>;
|
|
2348
|
+
message: z.ZodString;
|
|
2349
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2350
|
+
}, "strip", z.ZodTypeAny, {
|
|
2351
2351
|
message: string;
|
|
2352
2352
|
success: false;
|
|
2353
2353
|
errors?: any;
|
|
@@ -2363,24 +2363,24 @@ export declare const apiContract: {
|
|
|
2363
2363
|
generateTailoredResume: {
|
|
2364
2364
|
summary: "Generate tailored resume for job";
|
|
2365
2365
|
method: "POST";
|
|
2366
|
-
body:
|
|
2367
|
-
jobId:
|
|
2368
|
-
}, "strip",
|
|
2366
|
+
body: z.ZodObject<{
|
|
2367
|
+
jobId: z.ZodString;
|
|
2368
|
+
}, "strip", z.ZodTypeAny, {
|
|
2369
2369
|
jobId: string;
|
|
2370
2370
|
}, {
|
|
2371
2371
|
jobId: string;
|
|
2372
2372
|
}>;
|
|
2373
2373
|
path: "/api/sniper/generate";
|
|
2374
2374
|
responses: {
|
|
2375
|
-
200:
|
|
2376
|
-
success:
|
|
2377
|
-
message:
|
|
2378
|
-
data:
|
|
2379
|
-
pdfUrl:
|
|
2380
|
-
docxUrl:
|
|
2381
|
-
telegramMessage:
|
|
2382
|
-
coverLetter:
|
|
2383
|
-
}, "strip",
|
|
2375
|
+
200: z.ZodObject<{
|
|
2376
|
+
success: z.ZodLiteral<true>;
|
|
2377
|
+
message: z.ZodString;
|
|
2378
|
+
data: z.ZodObject<{
|
|
2379
|
+
pdfUrl: z.ZodString;
|
|
2380
|
+
docxUrl: z.ZodString;
|
|
2381
|
+
telegramMessage: z.ZodString;
|
|
2382
|
+
coverLetter: z.ZodString;
|
|
2383
|
+
}, "strip", z.ZodTypeAny, {
|
|
2384
2384
|
pdfUrl: string;
|
|
2385
2385
|
docxUrl: string;
|
|
2386
2386
|
telegramMessage: string;
|
|
@@ -2391,7 +2391,7 @@ export declare const apiContract: {
|
|
|
2391
2391
|
telegramMessage: string;
|
|
2392
2392
|
coverLetter: string;
|
|
2393
2393
|
}>;
|
|
2394
|
-
}, "strip",
|
|
2394
|
+
}, "strip", z.ZodTypeAny, {
|
|
2395
2395
|
message: string;
|
|
2396
2396
|
success: true;
|
|
2397
2397
|
data: {
|
|
@@ -2410,11 +2410,11 @@ export declare const apiContract: {
|
|
|
2410
2410
|
coverLetter: string;
|
|
2411
2411
|
};
|
|
2412
2412
|
}>;
|
|
2413
|
-
400:
|
|
2414
|
-
success:
|
|
2415
|
-
message:
|
|
2416
|
-
errors:
|
|
2417
|
-
}, "strip",
|
|
2413
|
+
400: z.ZodObject<{
|
|
2414
|
+
success: z.ZodLiteral<false>;
|
|
2415
|
+
message: z.ZodString;
|
|
2416
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2417
|
+
}, "strip", z.ZodTypeAny, {
|
|
2418
2418
|
message: string;
|
|
2419
2419
|
success: false;
|
|
2420
2420
|
errors?: any;
|
|
@@ -2423,11 +2423,11 @@ export declare const apiContract: {
|
|
|
2423
2423
|
success: false;
|
|
2424
2424
|
errors?: any;
|
|
2425
2425
|
}>;
|
|
2426
|
-
401:
|
|
2427
|
-
success:
|
|
2428
|
-
message:
|
|
2429
|
-
errors:
|
|
2430
|
-
}, "strip",
|
|
2426
|
+
401: z.ZodObject<{
|
|
2427
|
+
success: z.ZodLiteral<false>;
|
|
2428
|
+
message: z.ZodString;
|
|
2429
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2430
|
+
}, "strip", z.ZodTypeAny, {
|
|
2431
2431
|
message: string;
|
|
2432
2432
|
success: false;
|
|
2433
2433
|
errors?: any;
|
|
@@ -2436,11 +2436,11 @@ export declare const apiContract: {
|
|
|
2436
2436
|
success: false;
|
|
2437
2437
|
errors?: any;
|
|
2438
2438
|
}>;
|
|
2439
|
-
404:
|
|
2440
|
-
success:
|
|
2441
|
-
message:
|
|
2442
|
-
errors:
|
|
2443
|
-
}, "strip",
|
|
2439
|
+
404: z.ZodObject<{
|
|
2440
|
+
success: z.ZodLiteral<false>;
|
|
2441
|
+
message: z.ZodString;
|
|
2442
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2443
|
+
}, "strip", z.ZodTypeAny, {
|
|
2444
2444
|
message: string;
|
|
2445
2445
|
success: false;
|
|
2446
2446
|
errors?: any;
|
|
@@ -2449,11 +2449,11 @@ export declare const apiContract: {
|
|
|
2449
2449
|
success: false;
|
|
2450
2450
|
errors?: any;
|
|
2451
2451
|
}>;
|
|
2452
|
-
500:
|
|
2453
|
-
success:
|
|
2454
|
-
message:
|
|
2455
|
-
errors:
|
|
2456
|
-
}, "strip",
|
|
2452
|
+
500: z.ZodObject<{
|
|
2453
|
+
success: z.ZodLiteral<false>;
|
|
2454
|
+
message: z.ZodString;
|
|
2455
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2456
|
+
}, "strip", z.ZodTypeAny, {
|
|
2457
2457
|
message: string;
|
|
2458
2458
|
success: false;
|
|
2459
2459
|
errors?: any;
|
|
@@ -2471,30 +2471,30 @@ export declare const apiContract: {
|
|
|
2471
2471
|
method: "GET";
|
|
2472
2472
|
path: "/api/notifications/settings";
|
|
2473
2473
|
responses: {
|
|
2474
|
-
200:
|
|
2475
|
-
success:
|
|
2476
|
-
message:
|
|
2477
|
-
data:
|
|
2478
|
-
enabled:
|
|
2479
|
-
filters:
|
|
2480
|
-
stack:
|
|
2481
|
-
level:
|
|
2482
|
-
jobFunction:
|
|
2483
|
-
locationType:
|
|
2484
|
-
excludedTitles:
|
|
2485
|
-
muteKeywords:
|
|
2486
|
-
isRemote:
|
|
2487
|
-
experienceYears:
|
|
2488
|
-
min:
|
|
2489
|
-
max:
|
|
2490
|
-
}, "strip",
|
|
2474
|
+
200: z.ZodObject<{
|
|
2475
|
+
success: z.ZodLiteral<true>;
|
|
2476
|
+
message: z.ZodString;
|
|
2477
|
+
data: z.ZodObject<{
|
|
2478
|
+
enabled: z.ZodBoolean;
|
|
2479
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2480
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2481
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2482
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2483
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2484
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2485
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2486
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2487
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2488
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2489
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2490
|
+
}, "strip", z.ZodTypeAny, {
|
|
2491
2491
|
min?: number | undefined;
|
|
2492
2492
|
max?: number | undefined;
|
|
2493
2493
|
}, {
|
|
2494
2494
|
min?: number | undefined;
|
|
2495
2495
|
max?: number | undefined;
|
|
2496
2496
|
}>>;
|
|
2497
|
-
}, "strip",
|
|
2497
|
+
}, "strip", z.ZodTypeAny, {
|
|
2498
2498
|
isRemote?: boolean | undefined;
|
|
2499
2499
|
level?: string[] | undefined;
|
|
2500
2500
|
experienceYears?: {
|
|
@@ -2519,12 +2519,12 @@ export declare const apiContract: {
|
|
|
2519
2519
|
excludedTitles?: string[] | undefined;
|
|
2520
2520
|
muteKeywords?: string[] | undefined;
|
|
2521
2521
|
}>>;
|
|
2522
|
-
quietHours:
|
|
2523
|
-
enabled:
|
|
2524
|
-
startHour:
|
|
2525
|
-
endHour:
|
|
2526
|
-
timezone:
|
|
2527
|
-
}, "strip",
|
|
2522
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
enabled: z.ZodBoolean;
|
|
2524
|
+
startHour: z.ZodNumber;
|
|
2525
|
+
endHour: z.ZodNumber;
|
|
2526
|
+
timezone: z.ZodString;
|
|
2527
|
+
}, "strip", z.ZodTypeAny, {
|
|
2528
2528
|
enabled: boolean;
|
|
2529
2529
|
startHour: number;
|
|
2530
2530
|
endHour: number;
|
|
@@ -2535,7 +2535,7 @@ export declare const apiContract: {
|
|
|
2535
2535
|
endHour: number;
|
|
2536
2536
|
timezone: string;
|
|
2537
2537
|
}>>;
|
|
2538
|
-
}, "strip",
|
|
2538
|
+
}, "strip", z.ZodTypeAny, {
|
|
2539
2539
|
enabled: boolean;
|
|
2540
2540
|
filters?: {
|
|
2541
2541
|
isRemote?: boolean | undefined;
|
|
@@ -2578,7 +2578,7 @@ export declare const apiContract: {
|
|
|
2578
2578
|
timezone: string;
|
|
2579
2579
|
} | undefined;
|
|
2580
2580
|
}>;
|
|
2581
|
-
}, "strip",
|
|
2581
|
+
}, "strip", z.ZodTypeAny, {
|
|
2582
2582
|
message: string;
|
|
2583
2583
|
success: true;
|
|
2584
2584
|
data: {
|
|
@@ -2629,11 +2629,11 @@ export declare const apiContract: {
|
|
|
2629
2629
|
} | undefined;
|
|
2630
2630
|
};
|
|
2631
2631
|
}>;
|
|
2632
|
-
401:
|
|
2633
|
-
success:
|
|
2634
|
-
message:
|
|
2635
|
-
errors:
|
|
2636
|
-
}, "strip",
|
|
2632
|
+
401: z.ZodObject<{
|
|
2633
|
+
success: z.ZodLiteral<false>;
|
|
2634
|
+
message: z.ZodString;
|
|
2635
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2636
|
+
}, "strip", z.ZodTypeAny, {
|
|
2637
2637
|
message: string;
|
|
2638
2638
|
success: false;
|
|
2639
2639
|
errors?: any;
|
|
@@ -2642,11 +2642,11 @@ export declare const apiContract: {
|
|
|
2642
2642
|
success: false;
|
|
2643
2643
|
errors?: any;
|
|
2644
2644
|
}>;
|
|
2645
|
-
500:
|
|
2646
|
-
success:
|
|
2647
|
-
message:
|
|
2648
|
-
errors:
|
|
2649
|
-
}, "strip",
|
|
2645
|
+
500: z.ZodObject<{
|
|
2646
|
+
success: z.ZodLiteral<false>;
|
|
2647
|
+
message: z.ZodString;
|
|
2648
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2649
|
+
}, "strip", z.ZodTypeAny, {
|
|
2650
2650
|
message: string;
|
|
2651
2651
|
success: false;
|
|
2652
2652
|
errors?: any;
|
|
@@ -2660,27 +2660,27 @@ export declare const apiContract: {
|
|
|
2660
2660
|
updateSettings: {
|
|
2661
2661
|
summary: "Update notification settings";
|
|
2662
2662
|
method: "POST";
|
|
2663
|
-
body:
|
|
2664
|
-
enabled:
|
|
2665
|
-
filters:
|
|
2666
|
-
stack:
|
|
2667
|
-
level:
|
|
2668
|
-
jobFunction:
|
|
2669
|
-
locationType:
|
|
2670
|
-
excludedTitles:
|
|
2671
|
-
muteKeywords:
|
|
2672
|
-
isRemote:
|
|
2673
|
-
experienceYears:
|
|
2674
|
-
min:
|
|
2675
|
-
max:
|
|
2676
|
-
}, "strip",
|
|
2663
|
+
body: z.ZodObject<{
|
|
2664
|
+
enabled: z.ZodBoolean;
|
|
2665
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2666
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2667
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2668
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2669
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2670
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2671
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2672
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2673
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2674
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
2677
|
min?: number | undefined;
|
|
2678
2678
|
max?: number | undefined;
|
|
2679
2679
|
}, {
|
|
2680
2680
|
min?: number | undefined;
|
|
2681
2681
|
max?: number | undefined;
|
|
2682
2682
|
}>>;
|
|
2683
|
-
}, "strip",
|
|
2683
|
+
}, "strip", z.ZodTypeAny, {
|
|
2684
2684
|
isRemote?: boolean | undefined;
|
|
2685
2685
|
level?: string[] | undefined;
|
|
2686
2686
|
experienceYears?: {
|
|
@@ -2705,12 +2705,12 @@ export declare const apiContract: {
|
|
|
2705
2705
|
excludedTitles?: string[] | undefined;
|
|
2706
2706
|
muteKeywords?: string[] | undefined;
|
|
2707
2707
|
}>>;
|
|
2708
|
-
quietHours:
|
|
2709
|
-
enabled:
|
|
2710
|
-
startHour:
|
|
2711
|
-
endHour:
|
|
2712
|
-
timezone:
|
|
2713
|
-
}, "strip",
|
|
2708
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2709
|
+
enabled: z.ZodBoolean;
|
|
2710
|
+
startHour: z.ZodNumber;
|
|
2711
|
+
endHour: z.ZodNumber;
|
|
2712
|
+
timezone: z.ZodString;
|
|
2713
|
+
}, "strip", z.ZodTypeAny, {
|
|
2714
2714
|
enabled: boolean;
|
|
2715
2715
|
startHour: number;
|
|
2716
2716
|
endHour: number;
|
|
@@ -2721,7 +2721,7 @@ export declare const apiContract: {
|
|
|
2721
2721
|
endHour: number;
|
|
2722
2722
|
timezone: string;
|
|
2723
2723
|
}>>;
|
|
2724
|
-
}, "strip",
|
|
2724
|
+
}, "strip", z.ZodTypeAny, {
|
|
2725
2725
|
enabled: boolean;
|
|
2726
2726
|
filters?: {
|
|
2727
2727
|
isRemote?: boolean | undefined;
|
|
@@ -2766,30 +2766,30 @@ export declare const apiContract: {
|
|
|
2766
2766
|
}>;
|
|
2767
2767
|
path: "/api/notifications/settings";
|
|
2768
2768
|
responses: {
|
|
2769
|
-
200:
|
|
2770
|
-
success:
|
|
2771
|
-
message:
|
|
2772
|
-
data:
|
|
2773
|
-
enabled:
|
|
2774
|
-
filters:
|
|
2775
|
-
stack:
|
|
2776
|
-
level:
|
|
2777
|
-
jobFunction:
|
|
2778
|
-
locationType:
|
|
2779
|
-
excludedTitles:
|
|
2780
|
-
muteKeywords:
|
|
2781
|
-
isRemote:
|
|
2782
|
-
experienceYears:
|
|
2783
|
-
min:
|
|
2784
|
-
max:
|
|
2785
|
-
}, "strip",
|
|
2769
|
+
200: z.ZodObject<{
|
|
2770
|
+
success: z.ZodLiteral<true>;
|
|
2771
|
+
message: z.ZodString;
|
|
2772
|
+
data: z.ZodObject<{
|
|
2773
|
+
enabled: z.ZodBoolean;
|
|
2774
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2775
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2776
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2777
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2778
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2779
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2780
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2781
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2782
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2783
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2784
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2785
|
+
}, "strip", z.ZodTypeAny, {
|
|
2786
2786
|
min?: number | undefined;
|
|
2787
2787
|
max?: number | undefined;
|
|
2788
2788
|
}, {
|
|
2789
2789
|
min?: number | undefined;
|
|
2790
2790
|
max?: number | undefined;
|
|
2791
2791
|
}>>;
|
|
2792
|
-
}, "strip",
|
|
2792
|
+
}, "strip", z.ZodTypeAny, {
|
|
2793
2793
|
isRemote?: boolean | undefined;
|
|
2794
2794
|
level?: string[] | undefined;
|
|
2795
2795
|
experienceYears?: {
|
|
@@ -2814,12 +2814,12 @@ export declare const apiContract: {
|
|
|
2814
2814
|
excludedTitles?: string[] | undefined;
|
|
2815
2815
|
muteKeywords?: string[] | undefined;
|
|
2816
2816
|
}>>;
|
|
2817
|
-
quietHours:
|
|
2818
|
-
enabled:
|
|
2819
|
-
startHour:
|
|
2820
|
-
endHour:
|
|
2821
|
-
timezone:
|
|
2822
|
-
}, "strip",
|
|
2817
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2818
|
+
enabled: z.ZodBoolean;
|
|
2819
|
+
startHour: z.ZodNumber;
|
|
2820
|
+
endHour: z.ZodNumber;
|
|
2821
|
+
timezone: z.ZodString;
|
|
2822
|
+
}, "strip", z.ZodTypeAny, {
|
|
2823
2823
|
enabled: boolean;
|
|
2824
2824
|
startHour: number;
|
|
2825
2825
|
endHour: number;
|
|
@@ -2830,7 +2830,7 @@ export declare const apiContract: {
|
|
|
2830
2830
|
endHour: number;
|
|
2831
2831
|
timezone: string;
|
|
2832
2832
|
}>>;
|
|
2833
|
-
}, "strip",
|
|
2833
|
+
}, "strip", z.ZodTypeAny, {
|
|
2834
2834
|
enabled: boolean;
|
|
2835
2835
|
filters?: {
|
|
2836
2836
|
isRemote?: boolean | undefined;
|
|
@@ -2873,7 +2873,7 @@ export declare const apiContract: {
|
|
|
2873
2873
|
timezone: string;
|
|
2874
2874
|
} | undefined;
|
|
2875
2875
|
}>;
|
|
2876
|
-
}, "strip",
|
|
2876
|
+
}, "strip", z.ZodTypeAny, {
|
|
2877
2877
|
message: string;
|
|
2878
2878
|
success: true;
|
|
2879
2879
|
data: {
|
|
@@ -2924,11 +2924,11 @@ export declare const apiContract: {
|
|
|
2924
2924
|
} | undefined;
|
|
2925
2925
|
};
|
|
2926
2926
|
}>;
|
|
2927
|
-
400:
|
|
2928
|
-
success:
|
|
2929
|
-
message:
|
|
2930
|
-
errors:
|
|
2931
|
-
}, "strip",
|
|
2927
|
+
400: z.ZodObject<{
|
|
2928
|
+
success: z.ZodLiteral<false>;
|
|
2929
|
+
message: z.ZodString;
|
|
2930
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2931
|
+
}, "strip", z.ZodTypeAny, {
|
|
2932
2932
|
message: string;
|
|
2933
2933
|
success: false;
|
|
2934
2934
|
errors?: any;
|
|
@@ -2937,11 +2937,11 @@ export declare const apiContract: {
|
|
|
2937
2937
|
success: false;
|
|
2938
2938
|
errors?: any;
|
|
2939
2939
|
}>;
|
|
2940
|
-
401:
|
|
2941
|
-
success:
|
|
2942
|
-
message:
|
|
2943
|
-
errors:
|
|
2944
|
-
}, "strip",
|
|
2940
|
+
401: z.ZodObject<{
|
|
2941
|
+
success: z.ZodLiteral<false>;
|
|
2942
|
+
message: z.ZodString;
|
|
2943
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2944
|
+
}, "strip", z.ZodTypeAny, {
|
|
2945
2945
|
message: string;
|
|
2946
2946
|
success: false;
|
|
2947
2947
|
errors?: any;
|
|
@@ -2950,11 +2950,11 @@ export declare const apiContract: {
|
|
|
2950
2950
|
success: false;
|
|
2951
2951
|
errors?: any;
|
|
2952
2952
|
}>;
|
|
2953
|
-
500:
|
|
2954
|
-
success:
|
|
2955
|
-
message:
|
|
2956
|
-
errors:
|
|
2957
|
-
}, "strip",
|
|
2953
|
+
500: z.ZodObject<{
|
|
2954
|
+
success: z.ZodLiteral<false>;
|
|
2955
|
+
message: z.ZodString;
|
|
2956
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2957
|
+
}, "strip", z.ZodTypeAny, {
|
|
2958
2958
|
message: string;
|
|
2959
2959
|
success: false;
|
|
2960
2960
|
errors?: any;
|
|
@@ -2968,23 +2968,23 @@ export declare const apiContract: {
|
|
|
2968
2968
|
sendTestNotification: {
|
|
2969
2969
|
summary: "Send test notification";
|
|
2970
2970
|
method: "POST";
|
|
2971
|
-
body:
|
|
2971
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2972
2972
|
path: "/api/notifications/test";
|
|
2973
2973
|
responses: {
|
|
2974
|
-
200:
|
|
2975
|
-
success:
|
|
2976
|
-
message:
|
|
2977
|
-
data:
|
|
2978
|
-
success:
|
|
2979
|
-
message:
|
|
2980
|
-
}, "strip",
|
|
2974
|
+
200: z.ZodObject<{
|
|
2975
|
+
success: z.ZodLiteral<true>;
|
|
2976
|
+
message: z.ZodString;
|
|
2977
|
+
data: z.ZodObject<{
|
|
2978
|
+
success: z.ZodBoolean;
|
|
2979
|
+
message: z.ZodString;
|
|
2980
|
+
}, "strip", z.ZodTypeAny, {
|
|
2981
2981
|
message: string;
|
|
2982
2982
|
success: boolean;
|
|
2983
2983
|
}, {
|
|
2984
2984
|
message: string;
|
|
2985
2985
|
success: boolean;
|
|
2986
2986
|
}>;
|
|
2987
|
-
}, "strip",
|
|
2987
|
+
}, "strip", z.ZodTypeAny, {
|
|
2988
2988
|
message: string;
|
|
2989
2989
|
success: true;
|
|
2990
2990
|
data: {
|
|
@@ -2999,11 +2999,11 @@ export declare const apiContract: {
|
|
|
2999
2999
|
success: boolean;
|
|
3000
3000
|
};
|
|
3001
3001
|
}>;
|
|
3002
|
-
401:
|
|
3003
|
-
success:
|
|
3004
|
-
message:
|
|
3005
|
-
errors:
|
|
3006
|
-
}, "strip",
|
|
3002
|
+
401: z.ZodObject<{
|
|
3003
|
+
success: z.ZodLiteral<false>;
|
|
3004
|
+
message: z.ZodString;
|
|
3005
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3006
|
+
}, "strip", z.ZodTypeAny, {
|
|
3007
3007
|
message: string;
|
|
3008
3008
|
success: false;
|
|
3009
3009
|
errors?: any;
|
|
@@ -3012,11 +3012,11 @@ export declare const apiContract: {
|
|
|
3012
3012
|
success: false;
|
|
3013
3013
|
errors?: any;
|
|
3014
3014
|
}>;
|
|
3015
|
-
500:
|
|
3016
|
-
success:
|
|
3017
|
-
message:
|
|
3018
|
-
errors:
|
|
3019
|
-
}, "strip",
|
|
3015
|
+
500: z.ZodObject<{
|
|
3016
|
+
success: z.ZodLiteral<false>;
|
|
3017
|
+
message: z.ZodString;
|
|
3018
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3019
|
+
}, "strip", z.ZodTypeAny, {
|
|
3020
3020
|
message: string;
|
|
3021
3021
|
success: false;
|
|
3022
3022
|
errors?: any;
|
|
@@ -3030,23 +3030,23 @@ export declare const apiContract: {
|
|
|
3030
3030
|
generateSubscriptionLink: {
|
|
3031
3031
|
summary: "Generate Telegram bot subscription link";
|
|
3032
3032
|
method: "POST";
|
|
3033
|
-
body:
|
|
3033
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3034
3034
|
path: "/api/notifications/generate-link";
|
|
3035
3035
|
responses: {
|
|
3036
|
-
200:
|
|
3037
|
-
success:
|
|
3038
|
-
message:
|
|
3039
|
-
data:
|
|
3040
|
-
link:
|
|
3041
|
-
token:
|
|
3042
|
-
}, "strip",
|
|
3036
|
+
200: z.ZodObject<{
|
|
3037
|
+
success: z.ZodLiteral<true>;
|
|
3038
|
+
message: z.ZodString;
|
|
3039
|
+
data: z.ZodObject<{
|
|
3040
|
+
link: z.ZodString;
|
|
3041
|
+
token: z.ZodString;
|
|
3042
|
+
}, "strip", z.ZodTypeAny, {
|
|
3043
3043
|
link: string;
|
|
3044
3044
|
token: string;
|
|
3045
3045
|
}, {
|
|
3046
3046
|
link: string;
|
|
3047
3047
|
token: string;
|
|
3048
3048
|
}>;
|
|
3049
|
-
}, "strip",
|
|
3049
|
+
}, "strip", z.ZodTypeAny, {
|
|
3050
3050
|
message: string;
|
|
3051
3051
|
success: true;
|
|
3052
3052
|
data: {
|
|
@@ -3061,11 +3061,11 @@ export declare const apiContract: {
|
|
|
3061
3061
|
token: string;
|
|
3062
3062
|
};
|
|
3063
3063
|
}>;
|
|
3064
|
-
401:
|
|
3065
|
-
success:
|
|
3066
|
-
message:
|
|
3067
|
-
errors:
|
|
3068
|
-
}, "strip",
|
|
3064
|
+
401: z.ZodObject<{
|
|
3065
|
+
success: z.ZodLiteral<false>;
|
|
3066
|
+
message: z.ZodString;
|
|
3067
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3068
|
+
}, "strip", z.ZodTypeAny, {
|
|
3069
3069
|
message: string;
|
|
3070
3070
|
success: false;
|
|
3071
3071
|
errors?: any;
|
|
@@ -3074,11 +3074,11 @@ export declare const apiContract: {
|
|
|
3074
3074
|
success: false;
|
|
3075
3075
|
errors?: any;
|
|
3076
3076
|
}>;
|
|
3077
|
-
500:
|
|
3078
|
-
success:
|
|
3079
|
-
message:
|
|
3080
|
-
errors:
|
|
3081
|
-
}, "strip",
|
|
3077
|
+
500: z.ZodObject<{
|
|
3078
|
+
success: z.ZodLiteral<false>;
|
|
3079
|
+
message: z.ZodString;
|
|
3080
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3081
|
+
}, "strip", z.ZodTypeAny, {
|
|
3082
3082
|
message: string;
|
|
3083
3083
|
success: false;
|
|
3084
3084
|
errors?: any;
|
|
@@ -3092,32 +3092,32 @@ export declare const apiContract: {
|
|
|
3092
3092
|
handleTelegramWebhook: {
|
|
3093
3093
|
summary: "Telegram bot webhook endpoint (public)";
|
|
3094
3094
|
method: "POST";
|
|
3095
|
-
body:
|
|
3096
|
-
update_id:
|
|
3097
|
-
message:
|
|
3098
|
-
message_id:
|
|
3099
|
-
from:
|
|
3100
|
-
id:
|
|
3101
|
-
first_name:
|
|
3102
|
-
}, "strip",
|
|
3095
|
+
body: z.ZodObject<{
|
|
3096
|
+
update_id: z.ZodNumber;
|
|
3097
|
+
message: z.ZodOptional<z.ZodObject<{
|
|
3098
|
+
message_id: z.ZodNumber;
|
|
3099
|
+
from: z.ZodObject<{
|
|
3100
|
+
id: z.ZodNumber;
|
|
3101
|
+
first_name: z.ZodString;
|
|
3102
|
+
}, "strip", z.ZodTypeAny, {
|
|
3103
3103
|
id: number;
|
|
3104
3104
|
first_name: string;
|
|
3105
3105
|
}, {
|
|
3106
3106
|
id: number;
|
|
3107
3107
|
first_name: string;
|
|
3108
3108
|
}>;
|
|
3109
|
-
chat:
|
|
3110
|
-
id:
|
|
3111
|
-
type:
|
|
3112
|
-
}, "strip",
|
|
3109
|
+
chat: z.ZodObject<{
|
|
3110
|
+
id: z.ZodNumber;
|
|
3111
|
+
type: z.ZodString;
|
|
3112
|
+
}, "strip", z.ZodTypeAny, {
|
|
3113
3113
|
type: string;
|
|
3114
3114
|
id: number;
|
|
3115
3115
|
}, {
|
|
3116
3116
|
type: string;
|
|
3117
3117
|
id: number;
|
|
3118
3118
|
}>;
|
|
3119
|
-
text:
|
|
3120
|
-
}, "strip",
|
|
3119
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
}, "strip", z.ZodTypeAny, {
|
|
3121
3121
|
message_id: number;
|
|
3122
3122
|
from: {
|
|
3123
3123
|
id: number;
|
|
@@ -3140,7 +3140,7 @@ export declare const apiContract: {
|
|
|
3140
3140
|
};
|
|
3141
3141
|
text?: string | undefined;
|
|
3142
3142
|
}>>;
|
|
3143
|
-
}, "strip",
|
|
3143
|
+
}, "strip", z.ZodTypeAny, {
|
|
3144
3144
|
update_id: number;
|
|
3145
3145
|
message?: {
|
|
3146
3146
|
message_id: number;
|
|
@@ -3171,18 +3171,18 @@ export declare const apiContract: {
|
|
|
3171
3171
|
}>;
|
|
3172
3172
|
path: "/api/notifications/telegram/webhook";
|
|
3173
3173
|
responses: {
|
|
3174
|
-
200:
|
|
3175
|
-
ok:
|
|
3176
|
-
}, "strip",
|
|
3174
|
+
200: z.ZodObject<{
|
|
3175
|
+
ok: z.ZodBoolean;
|
|
3176
|
+
}, "strip", z.ZodTypeAny, {
|
|
3177
3177
|
ok: boolean;
|
|
3178
3178
|
}, {
|
|
3179
3179
|
ok: boolean;
|
|
3180
3180
|
}>;
|
|
3181
|
-
400:
|
|
3182
|
-
success:
|
|
3183
|
-
message:
|
|
3184
|
-
errors:
|
|
3185
|
-
}, "strip",
|
|
3181
|
+
400: z.ZodObject<{
|
|
3182
|
+
success: z.ZodLiteral<false>;
|
|
3183
|
+
message: z.ZodString;
|
|
3184
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3185
|
+
}, "strip", z.ZodTypeAny, {
|
|
3186
3186
|
message: string;
|
|
3187
3187
|
success: false;
|
|
3188
3188
|
errors?: any;
|
|
@@ -3191,11 +3191,11 @@ export declare const apiContract: {
|
|
|
3191
3191
|
success: false;
|
|
3192
3192
|
errors?: any;
|
|
3193
3193
|
}>;
|
|
3194
|
-
500:
|
|
3195
|
-
success:
|
|
3196
|
-
message:
|
|
3197
|
-
errors:
|
|
3198
|
-
}, "strip",
|
|
3194
|
+
500: z.ZodObject<{
|
|
3195
|
+
success: z.ZodLiteral<false>;
|
|
3196
|
+
message: z.ZodString;
|
|
3197
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3198
|
+
}, "strip", z.ZodTypeAny, {
|
|
3199
3199
|
message: string;
|
|
3200
3200
|
success: false;
|
|
3201
3201
|
errors?: any;
|
|
@@ -3213,16 +3213,16 @@ export declare const apiContract: {
|
|
|
3213
3213
|
method: "GET";
|
|
3214
3214
|
path: "/api/stats/platform";
|
|
3215
3215
|
responses: {
|
|
3216
|
-
200:
|
|
3217
|
-
success:
|
|
3218
|
-
message:
|
|
3219
|
-
data:
|
|
3220
|
-
totalJobs:
|
|
3221
|
-
totalChannels:
|
|
3222
|
-
totalUsers:
|
|
3223
|
-
activeUsers:
|
|
3224
|
-
jobsLast24h:
|
|
3225
|
-
}, "strip",
|
|
3216
|
+
200: z.ZodObject<{
|
|
3217
|
+
success: z.ZodLiteral<true>;
|
|
3218
|
+
message: z.ZodString;
|
|
3219
|
+
data: z.ZodObject<{
|
|
3220
|
+
totalJobs: z.ZodNumber;
|
|
3221
|
+
totalChannels: z.ZodNumber;
|
|
3222
|
+
totalUsers: z.ZodNumber;
|
|
3223
|
+
activeUsers: z.ZodNumber;
|
|
3224
|
+
jobsLast24h: z.ZodNumber;
|
|
3225
|
+
}, "strip", z.ZodTypeAny, {
|
|
3226
3226
|
totalJobs: number;
|
|
3227
3227
|
totalChannels: number;
|
|
3228
3228
|
totalUsers: number;
|
|
@@ -3235,7 +3235,7 @@ export declare const apiContract: {
|
|
|
3235
3235
|
activeUsers: number;
|
|
3236
3236
|
jobsLast24h: number;
|
|
3237
3237
|
}>;
|
|
3238
|
-
}, "strip",
|
|
3238
|
+
}, "strip", z.ZodTypeAny, {
|
|
3239
3239
|
message: string;
|
|
3240
3240
|
success: true;
|
|
3241
3241
|
data: {
|
|
@@ -3256,11 +3256,11 @@ export declare const apiContract: {
|
|
|
3256
3256
|
jobsLast24h: number;
|
|
3257
3257
|
};
|
|
3258
3258
|
}>;
|
|
3259
|
-
500:
|
|
3260
|
-
success:
|
|
3261
|
-
message:
|
|
3262
|
-
errors:
|
|
3263
|
-
}, "strip",
|
|
3259
|
+
500: z.ZodObject<{
|
|
3260
|
+
success: z.ZodLiteral<false>;
|
|
3261
|
+
message: z.ZodString;
|
|
3262
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3263
|
+
}, "strip", z.ZodTypeAny, {
|
|
3264
3264
|
message: string;
|
|
3265
3265
|
success: false;
|
|
3266
3266
|
errors?: any;
|
|
@@ -3276,10 +3276,10 @@ export declare const apiContract: {
|
|
|
3276
3276
|
submitFeedback: {
|
|
3277
3277
|
summary: "Submit user feedback";
|
|
3278
3278
|
method: "POST";
|
|
3279
|
-
body:
|
|
3280
|
-
message:
|
|
3281
|
-
type:
|
|
3282
|
-
}, "strip",
|
|
3279
|
+
body: z.ZodObject<{
|
|
3280
|
+
message: z.ZodString;
|
|
3281
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3282
|
+
}, "strip", z.ZodTypeAny, {
|
|
3283
3283
|
message: string;
|
|
3284
3284
|
type?: string | undefined;
|
|
3285
3285
|
}, {
|
|
@@ -3288,17 +3288,17 @@ export declare const apiContract: {
|
|
|
3288
3288
|
}>;
|
|
3289
3289
|
path: "/api/feedback";
|
|
3290
3290
|
responses: {
|
|
3291
|
-
200:
|
|
3292
|
-
success:
|
|
3293
|
-
message:
|
|
3294
|
-
data:
|
|
3295
|
-
success:
|
|
3296
|
-
}, "strip",
|
|
3291
|
+
200: z.ZodObject<{
|
|
3292
|
+
success: z.ZodLiteral<true>;
|
|
3293
|
+
message: z.ZodString;
|
|
3294
|
+
data: z.ZodObject<{
|
|
3295
|
+
success: z.ZodBoolean;
|
|
3296
|
+
}, "strip", z.ZodTypeAny, {
|
|
3297
3297
|
success: boolean;
|
|
3298
3298
|
}, {
|
|
3299
3299
|
success: boolean;
|
|
3300
3300
|
}>;
|
|
3301
|
-
}, "strip",
|
|
3301
|
+
}, "strip", z.ZodTypeAny, {
|
|
3302
3302
|
message: string;
|
|
3303
3303
|
success: true;
|
|
3304
3304
|
data: {
|
|
@@ -3311,11 +3311,11 @@ export declare const apiContract: {
|
|
|
3311
3311
|
success: boolean;
|
|
3312
3312
|
};
|
|
3313
3313
|
}>;
|
|
3314
|
-
400:
|
|
3315
|
-
success:
|
|
3316
|
-
message:
|
|
3317
|
-
errors:
|
|
3318
|
-
}, "strip",
|
|
3314
|
+
400: z.ZodObject<{
|
|
3315
|
+
success: z.ZodLiteral<false>;
|
|
3316
|
+
message: z.ZodString;
|
|
3317
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3318
|
+
}, "strip", z.ZodTypeAny, {
|
|
3319
3319
|
message: string;
|
|
3320
3320
|
success: false;
|
|
3321
3321
|
errors?: any;
|
|
@@ -3324,11 +3324,11 @@ export declare const apiContract: {
|
|
|
3324
3324
|
success: false;
|
|
3325
3325
|
errors?: any;
|
|
3326
3326
|
}>;
|
|
3327
|
-
401:
|
|
3328
|
-
success:
|
|
3329
|
-
message:
|
|
3330
|
-
errors:
|
|
3331
|
-
}, "strip",
|
|
3327
|
+
401: z.ZodObject<{
|
|
3328
|
+
success: z.ZodLiteral<false>;
|
|
3329
|
+
message: z.ZodString;
|
|
3330
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3331
|
+
}, "strip", z.ZodTypeAny, {
|
|
3332
3332
|
message: string;
|
|
3333
3333
|
success: false;
|
|
3334
3334
|
errors?: any;
|
|
@@ -3337,11 +3337,11 @@ export declare const apiContract: {
|
|
|
3337
3337
|
success: false;
|
|
3338
3338
|
errors?: any;
|
|
3339
3339
|
}>;
|
|
3340
|
-
500:
|
|
3341
|
-
success:
|
|
3342
|
-
message:
|
|
3343
|
-
errors:
|
|
3344
|
-
}, "strip",
|
|
3340
|
+
500: z.ZodObject<{
|
|
3341
|
+
success: z.ZodLiteral<false>;
|
|
3342
|
+
message: z.ZodString;
|
|
3343
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3344
|
+
}, "strip", z.ZodTypeAny, {
|
|
3345
3345
|
message: string;
|
|
3346
3346
|
success: false;
|
|
3347
3347
|
errors?: any;
|
|
@@ -3359,20 +3359,20 @@ export declare const apiContract: {
|
|
|
3359
3359
|
method: "GET";
|
|
3360
3360
|
path: "/api/bundles";
|
|
3361
3361
|
responses: {
|
|
3362
|
-
200:
|
|
3363
|
-
success:
|
|
3364
|
-
message:
|
|
3365
|
-
data:
|
|
3366
|
-
id:
|
|
3367
|
-
name:
|
|
3368
|
-
description:
|
|
3369
|
-
channels:
|
|
3370
|
-
category:
|
|
3371
|
-
isActive:
|
|
3372
|
-
order:
|
|
3373
|
-
createdAt:
|
|
3374
|
-
updatedAt:
|
|
3375
|
-
}, "strip",
|
|
3362
|
+
200: z.ZodObject<{
|
|
3363
|
+
success: z.ZodLiteral<true>;
|
|
3364
|
+
message: z.ZodString;
|
|
3365
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3366
|
+
id: z.ZodString;
|
|
3367
|
+
name: z.ZodString;
|
|
3368
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3369
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
3370
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
isActive: z.ZodBoolean;
|
|
3372
|
+
order: z.ZodNumber;
|
|
3373
|
+
createdAt: z.ZodString;
|
|
3374
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3375
|
+
}, "strip", z.ZodTypeAny, {
|
|
3376
3376
|
id: string;
|
|
3377
3377
|
createdAt: string;
|
|
3378
3378
|
isActive: boolean;
|
|
@@ -3393,7 +3393,7 @@ export declare const apiContract: {
|
|
|
3393
3393
|
updatedAt?: string | undefined;
|
|
3394
3394
|
category?: string | undefined;
|
|
3395
3395
|
}>, "many">;
|
|
3396
|
-
}, "strip",
|
|
3396
|
+
}, "strip", z.ZodTypeAny, {
|
|
3397
3397
|
message: string;
|
|
3398
3398
|
success: true;
|
|
3399
3399
|
data: {
|
|
@@ -3422,11 +3422,11 @@ export declare const apiContract: {
|
|
|
3422
3422
|
category?: string | undefined;
|
|
3423
3423
|
}[];
|
|
3424
3424
|
}>;
|
|
3425
|
-
500:
|
|
3426
|
-
success:
|
|
3427
|
-
message:
|
|
3428
|
-
errors:
|
|
3429
|
-
}, "strip",
|
|
3425
|
+
500: z.ZodObject<{
|
|
3426
|
+
success: z.ZodLiteral<false>;
|
|
3427
|
+
message: z.ZodString;
|
|
3428
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3429
|
+
}, "strip", z.ZodTypeAny, {
|
|
3430
3430
|
message: string;
|
|
3431
3431
|
success: false;
|
|
3432
3432
|
errors?: any;
|
|
@@ -3442,20 +3442,20 @@ export declare const apiContract: {
|
|
|
3442
3442
|
method: "GET";
|
|
3443
3443
|
path: "/api/bundles/:id";
|
|
3444
3444
|
responses: {
|
|
3445
|
-
200:
|
|
3446
|
-
success:
|
|
3447
|
-
message:
|
|
3448
|
-
data:
|
|
3449
|
-
id:
|
|
3450
|
-
name:
|
|
3451
|
-
description:
|
|
3452
|
-
channels:
|
|
3453
|
-
category:
|
|
3454
|
-
isActive:
|
|
3455
|
-
order:
|
|
3456
|
-
createdAt:
|
|
3457
|
-
updatedAt:
|
|
3458
|
-
}, "strip",
|
|
3445
|
+
200: z.ZodObject<{
|
|
3446
|
+
success: z.ZodLiteral<true>;
|
|
3447
|
+
message: z.ZodString;
|
|
3448
|
+
data: z.ZodObject<{
|
|
3449
|
+
id: z.ZodString;
|
|
3450
|
+
name: z.ZodString;
|
|
3451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
3453
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
isActive: z.ZodBoolean;
|
|
3455
|
+
order: z.ZodNumber;
|
|
3456
|
+
createdAt: z.ZodString;
|
|
3457
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
}, "strip", z.ZodTypeAny, {
|
|
3459
3459
|
id: string;
|
|
3460
3460
|
createdAt: string;
|
|
3461
3461
|
isActive: boolean;
|
|
@@ -3476,7 +3476,7 @@ export declare const apiContract: {
|
|
|
3476
3476
|
updatedAt?: string | undefined;
|
|
3477
3477
|
category?: string | undefined;
|
|
3478
3478
|
}>;
|
|
3479
|
-
}, "strip",
|
|
3479
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
3480
|
message: string;
|
|
3481
3481
|
success: true;
|
|
3482
3482
|
data: {
|
|
@@ -3505,11 +3505,11 @@ export declare const apiContract: {
|
|
|
3505
3505
|
category?: string | undefined;
|
|
3506
3506
|
};
|
|
3507
3507
|
}>;
|
|
3508
|
-
404:
|
|
3509
|
-
success:
|
|
3510
|
-
message:
|
|
3511
|
-
errors:
|
|
3512
|
-
}, "strip",
|
|
3508
|
+
404: z.ZodObject<{
|
|
3509
|
+
success: z.ZodLiteral<false>;
|
|
3510
|
+
message: z.ZodString;
|
|
3511
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3512
|
+
}, "strip", z.ZodTypeAny, {
|
|
3513
3513
|
message: string;
|
|
3514
3514
|
success: false;
|
|
3515
3515
|
errors?: any;
|
|
@@ -3518,11 +3518,11 @@ export declare const apiContract: {
|
|
|
3518
3518
|
success: false;
|
|
3519
3519
|
errors?: any;
|
|
3520
3520
|
}>;
|
|
3521
|
-
500:
|
|
3522
|
-
success:
|
|
3523
|
-
message:
|
|
3524
|
-
errors:
|
|
3525
|
-
}, "strip",
|
|
3521
|
+
500: z.ZodObject<{
|
|
3522
|
+
success: z.ZodLiteral<false>;
|
|
3523
|
+
message: z.ZodString;
|
|
3524
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3525
|
+
}, "strip", z.ZodTypeAny, {
|
|
3526
3526
|
message: string;
|
|
3527
3527
|
success: false;
|
|
3528
3528
|
errors?: any;
|
|
@@ -3544,4 +3544,25 @@ export * from './schemas/bundles';
|
|
|
3544
3544
|
export * from './schemas/errors';
|
|
3545
3545
|
export { initContract } from '@ts-rest/core';
|
|
3546
3546
|
export type { ClientInferRequest, ClientInferResponses } from '@ts-rest/core';
|
|
3547
|
+
import { z } from 'zod';
|
|
3548
|
+
import { JobSchema, JobFiltersSchema, JobsResponseSchema, ContactInfoSchema, ParsedJobDataSchema } from './schemas/jobs';
|
|
3549
|
+
import { ChannelSchema, CategorySchema, ExploreChannelsResponseSchema } from './schemas/channels';
|
|
3550
|
+
import { UserPreferencesSchema, NotificationSettingsSchema, QuietHoursSchema } from './schemas/user';
|
|
3551
|
+
import { BundleSchema } from './schemas/bundles';
|
|
3552
|
+
import { PaginationSchema } from './schemas/common';
|
|
3553
|
+
import { ErrorResponseSchema } from './schemas/errors';
|
|
3554
|
+
export type Job = z.infer<typeof JobSchema>;
|
|
3555
|
+
export type JobFilters = z.infer<typeof JobFiltersSchema>;
|
|
3556
|
+
export type JobsResponse = z.infer<typeof JobsResponseSchema>;
|
|
3557
|
+
export type ContactInfo = z.infer<typeof ContactInfoSchema>;
|
|
3558
|
+
export type ParsedJobData = z.infer<typeof ParsedJobDataSchema>;
|
|
3559
|
+
export type Channel = z.infer<typeof ChannelSchema>;
|
|
3560
|
+
export type Category = z.infer<typeof CategorySchema>;
|
|
3561
|
+
export type ExploreChannelsResponse = z.infer<typeof ExploreChannelsResponseSchema>;
|
|
3562
|
+
export type UserPreferences = z.infer<typeof UserPreferencesSchema>;
|
|
3563
|
+
export type NotificationSettings = z.infer<typeof NotificationSettingsSchema>;
|
|
3564
|
+
export type QuietHours = z.infer<typeof QuietHoursSchema>;
|
|
3565
|
+
export type Bundle = z.infer<typeof BundleSchema>;
|
|
3566
|
+
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
3567
|
+
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
3547
3568
|
//# sourceMappingURL=index.d.ts.map
|