telegram-jobs-contract 1.0.12 → 1.0.14
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/contracts/channels.contract.d.ts +191 -307
- package/dist/contracts/channels.contract.d.ts.map +1 -1
- package/dist/contracts/channels.contract.js +26 -10
- package/dist/contracts/stats.contract.d.ts +4 -4
- package/dist/index.d.ts +976 -1071
- 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,118 +955,84 @@ 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
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
lastScrapedAt?: string | undefined;
|
|
986
|
-
}, {
|
|
987
|
-
id: string;
|
|
988
|
-
createdAt: string;
|
|
989
|
-
username: string;
|
|
990
|
-
title: string;
|
|
991
|
-
isActive: boolean;
|
|
992
|
-
isRecommended: boolean;
|
|
993
|
-
description?: string | undefined;
|
|
994
|
-
updatedAt?: string | undefined;
|
|
995
|
-
category?: string | undefined;
|
|
996
|
-
memberCount?: string | undefined;
|
|
997
|
-
lastScrapedAt?: string | undefined;
|
|
998
|
-
}>, "many">;
|
|
999
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1000
|
-
channels: {
|
|
1001
|
-
id: string;
|
|
1002
|
-
createdAt: string;
|
|
1003
|
-
username: string;
|
|
1004
|
-
title: string;
|
|
1005
|
-
isActive: boolean;
|
|
1006
|
-
isRecommended: boolean;
|
|
1007
|
-
description?: string | undefined;
|
|
1008
|
-
updatedAt?: string | undefined;
|
|
1009
|
-
category?: string | undefined;
|
|
1010
|
-
memberCount?: string | undefined;
|
|
1011
|
-
lastScrapedAt?: string | undefined;
|
|
1012
|
-
}[];
|
|
958
|
+
200: z.ZodObject<{
|
|
959
|
+
success: z.ZodLiteral<true>;
|
|
960
|
+
message: z.ZodString;
|
|
961
|
+
data: z.ZodArray<z.ZodObject<{
|
|
962
|
+
id: z.ZodString;
|
|
963
|
+
username: z.ZodString;
|
|
964
|
+
title: z.ZodString;
|
|
965
|
+
description: z.ZodOptional<z.ZodString>;
|
|
966
|
+
category: z.ZodOptional<z.ZodString>;
|
|
967
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
968
|
+
isActive: z.ZodBoolean;
|
|
969
|
+
isRecommended: z.ZodBoolean;
|
|
970
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
971
|
+
createdAt: z.ZodString;
|
|
972
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
id: string;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
username: string;
|
|
977
|
+
title: string;
|
|
978
|
+
isActive: boolean;
|
|
979
|
+
isRecommended: boolean;
|
|
980
|
+
description?: string | undefined;
|
|
981
|
+
updatedAt?: string | undefined;
|
|
982
|
+
category?: string | undefined;
|
|
983
|
+
memberCount?: string | undefined;
|
|
984
|
+
lastScrapedAt?: string | undefined;
|
|
1013
985
|
}, {
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
}>;
|
|
1028
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
986
|
+
id: string;
|
|
987
|
+
createdAt: string;
|
|
988
|
+
username: string;
|
|
989
|
+
title: string;
|
|
990
|
+
isActive: boolean;
|
|
991
|
+
isRecommended: boolean;
|
|
992
|
+
description?: string | undefined;
|
|
993
|
+
updatedAt?: string | undefined;
|
|
994
|
+
category?: string | undefined;
|
|
995
|
+
memberCount?: string | undefined;
|
|
996
|
+
lastScrapedAt?: string | undefined;
|
|
997
|
+
}>, "many">;
|
|
998
|
+
}, "strip", z.ZodTypeAny, {
|
|
1029
999
|
message: string;
|
|
1030
1000
|
success: true;
|
|
1031
1001
|
data: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
}[];
|
|
1045
|
-
};
|
|
1002
|
+
id: string;
|
|
1003
|
+
createdAt: string;
|
|
1004
|
+
username: string;
|
|
1005
|
+
title: string;
|
|
1006
|
+
isActive: boolean;
|
|
1007
|
+
isRecommended: boolean;
|
|
1008
|
+
description?: string | undefined;
|
|
1009
|
+
updatedAt?: string | undefined;
|
|
1010
|
+
category?: string | undefined;
|
|
1011
|
+
memberCount?: string | undefined;
|
|
1012
|
+
lastScrapedAt?: string | undefined;
|
|
1013
|
+
}[];
|
|
1046
1014
|
}, {
|
|
1047
1015
|
message: string;
|
|
1048
1016
|
success: true;
|
|
1049
1017
|
data: {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
}[];
|
|
1063
|
-
};
|
|
1018
|
+
id: string;
|
|
1019
|
+
createdAt: string;
|
|
1020
|
+
username: string;
|
|
1021
|
+
title: string;
|
|
1022
|
+
isActive: boolean;
|
|
1023
|
+
isRecommended: boolean;
|
|
1024
|
+
description?: string | undefined;
|
|
1025
|
+
updatedAt?: string | undefined;
|
|
1026
|
+
category?: string | undefined;
|
|
1027
|
+
memberCount?: string | undefined;
|
|
1028
|
+
lastScrapedAt?: string | undefined;
|
|
1029
|
+
}[];
|
|
1064
1030
|
}>;
|
|
1065
|
-
401:
|
|
1066
|
-
success:
|
|
1067
|
-
message:
|
|
1068
|
-
errors:
|
|
1069
|
-
}, "strip",
|
|
1031
|
+
401: z.ZodObject<{
|
|
1032
|
+
success: z.ZodLiteral<false>;
|
|
1033
|
+
message: z.ZodString;
|
|
1034
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1035
|
+
}, "strip", z.ZodTypeAny, {
|
|
1070
1036
|
message: string;
|
|
1071
1037
|
success: false;
|
|
1072
1038
|
errors?: any;
|
|
@@ -1075,11 +1041,11 @@ export declare const apiContract: {
|
|
|
1075
1041
|
success: false;
|
|
1076
1042
|
errors?: any;
|
|
1077
1043
|
}>;
|
|
1078
|
-
500:
|
|
1079
|
-
success:
|
|
1080
|
-
message:
|
|
1081
|
-
errors:
|
|
1082
|
-
}, "strip",
|
|
1044
|
+
500: z.ZodObject<{
|
|
1045
|
+
success: z.ZodLiteral<false>;
|
|
1046
|
+
message: z.ZodString;
|
|
1047
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1048
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
1049
|
message: string;
|
|
1084
1050
|
success: false;
|
|
1085
1051
|
errors?: any;
|
|
@@ -1095,118 +1061,84 @@ export declare const apiContract: {
|
|
|
1095
1061
|
method: "GET";
|
|
1096
1062
|
path: "/api/channels/user-channels";
|
|
1097
1063
|
responses: {
|
|
1098
|
-
200:
|
|
1099
|
-
success:
|
|
1100
|
-
message:
|
|
1101
|
-
data:
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
lastScrapedAt?: string | undefined;
|
|
1126
|
-
}, {
|
|
1127
|
-
id: string;
|
|
1128
|
-
createdAt: string;
|
|
1129
|
-
username: string;
|
|
1130
|
-
title: string;
|
|
1131
|
-
isActive: boolean;
|
|
1132
|
-
isRecommended: boolean;
|
|
1133
|
-
description?: string | undefined;
|
|
1134
|
-
updatedAt?: string | undefined;
|
|
1135
|
-
category?: string | undefined;
|
|
1136
|
-
memberCount?: string | undefined;
|
|
1137
|
-
lastScrapedAt?: string | undefined;
|
|
1138
|
-
}>, "many">;
|
|
1139
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1140
|
-
channels: {
|
|
1141
|
-
id: string;
|
|
1142
|
-
createdAt: string;
|
|
1143
|
-
username: string;
|
|
1144
|
-
title: string;
|
|
1145
|
-
isActive: boolean;
|
|
1146
|
-
isRecommended: boolean;
|
|
1147
|
-
description?: string | undefined;
|
|
1148
|
-
updatedAt?: string | undefined;
|
|
1149
|
-
category?: string | undefined;
|
|
1150
|
-
memberCount?: string | undefined;
|
|
1151
|
-
lastScrapedAt?: string | undefined;
|
|
1152
|
-
}[];
|
|
1064
|
+
200: z.ZodObject<{
|
|
1065
|
+
success: z.ZodLiteral<true>;
|
|
1066
|
+
message: z.ZodString;
|
|
1067
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1068
|
+
id: z.ZodString;
|
|
1069
|
+
username: z.ZodString;
|
|
1070
|
+
title: z.ZodString;
|
|
1071
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
isActive: z.ZodBoolean;
|
|
1075
|
+
isRecommended: z.ZodBoolean;
|
|
1076
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
createdAt: z.ZodString;
|
|
1078
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
}, "strip", z.ZodTypeAny, {
|
|
1080
|
+
id: string;
|
|
1081
|
+
createdAt: string;
|
|
1082
|
+
username: string;
|
|
1083
|
+
title: string;
|
|
1084
|
+
isActive: boolean;
|
|
1085
|
+
isRecommended: boolean;
|
|
1086
|
+
description?: string | undefined;
|
|
1087
|
+
updatedAt?: string | undefined;
|
|
1088
|
+
category?: string | undefined;
|
|
1089
|
+
memberCount?: string | undefined;
|
|
1090
|
+
lastScrapedAt?: string | undefined;
|
|
1153
1091
|
}, {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}>;
|
|
1168
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1092
|
+
id: string;
|
|
1093
|
+
createdAt: string;
|
|
1094
|
+
username: string;
|
|
1095
|
+
title: string;
|
|
1096
|
+
isActive: boolean;
|
|
1097
|
+
isRecommended: boolean;
|
|
1098
|
+
description?: string | undefined;
|
|
1099
|
+
updatedAt?: string | undefined;
|
|
1100
|
+
category?: string | undefined;
|
|
1101
|
+
memberCount?: string | undefined;
|
|
1102
|
+
lastScrapedAt?: string | undefined;
|
|
1103
|
+
}>, "many">;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
1105
|
message: string;
|
|
1170
1106
|
success: true;
|
|
1171
1107
|
data: {
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
}[];
|
|
1185
|
-
};
|
|
1108
|
+
id: string;
|
|
1109
|
+
createdAt: string;
|
|
1110
|
+
username: string;
|
|
1111
|
+
title: string;
|
|
1112
|
+
isActive: boolean;
|
|
1113
|
+
isRecommended: boolean;
|
|
1114
|
+
description?: string | undefined;
|
|
1115
|
+
updatedAt?: string | undefined;
|
|
1116
|
+
category?: string | undefined;
|
|
1117
|
+
memberCount?: string | undefined;
|
|
1118
|
+
lastScrapedAt?: string | undefined;
|
|
1119
|
+
}[];
|
|
1186
1120
|
}, {
|
|
1187
1121
|
message: string;
|
|
1188
1122
|
success: true;
|
|
1189
1123
|
data: {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
}[];
|
|
1203
|
-
};
|
|
1124
|
+
id: string;
|
|
1125
|
+
createdAt: string;
|
|
1126
|
+
username: string;
|
|
1127
|
+
title: string;
|
|
1128
|
+
isActive: boolean;
|
|
1129
|
+
isRecommended: boolean;
|
|
1130
|
+
description?: string | undefined;
|
|
1131
|
+
updatedAt?: string | undefined;
|
|
1132
|
+
category?: string | undefined;
|
|
1133
|
+
memberCount?: string | undefined;
|
|
1134
|
+
lastScrapedAt?: string | undefined;
|
|
1135
|
+
}[];
|
|
1204
1136
|
}>;
|
|
1205
|
-
401:
|
|
1206
|
-
success:
|
|
1207
|
-
message:
|
|
1208
|
-
errors:
|
|
1209
|
-
}, "strip",
|
|
1137
|
+
401: z.ZodObject<{
|
|
1138
|
+
success: z.ZodLiteral<false>;
|
|
1139
|
+
message: z.ZodString;
|
|
1140
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1141
|
+
}, "strip", z.ZodTypeAny, {
|
|
1210
1142
|
message: string;
|
|
1211
1143
|
success: false;
|
|
1212
1144
|
errors?: any;
|
|
@@ -1215,11 +1147,11 @@ export declare const apiContract: {
|
|
|
1215
1147
|
success: false;
|
|
1216
1148
|
errors?: any;
|
|
1217
1149
|
}>;
|
|
1218
|
-
500:
|
|
1219
|
-
success:
|
|
1220
|
-
message:
|
|
1221
|
-
errors:
|
|
1222
|
-
}, "strip",
|
|
1150
|
+
500: z.ZodObject<{
|
|
1151
|
+
success: z.ZodLiteral<false>;
|
|
1152
|
+
message: z.ZodString;
|
|
1153
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1154
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
1155
|
message: string;
|
|
1224
1156
|
success: false;
|
|
1225
1157
|
errors?: any;
|
|
@@ -1235,22 +1167,22 @@ export declare const apiContract: {
|
|
|
1235
1167
|
method: "GET";
|
|
1236
1168
|
path: "/api/channels/recommended";
|
|
1237
1169
|
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",
|
|
1170
|
+
200: z.ZodObject<{
|
|
1171
|
+
success: z.ZodLiteral<true>;
|
|
1172
|
+
message: z.ZodString;
|
|
1173
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
username: z.ZodString;
|
|
1176
|
+
title: z.ZodString;
|
|
1177
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
isActive: z.ZodBoolean;
|
|
1181
|
+
isRecommended: z.ZodBoolean;
|
|
1182
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
createdAt: z.ZodString;
|
|
1184
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1254
1186
|
id: string;
|
|
1255
1187
|
createdAt: string;
|
|
1256
1188
|
username: string;
|
|
@@ -1275,7 +1207,7 @@ export declare const apiContract: {
|
|
|
1275
1207
|
memberCount?: string | undefined;
|
|
1276
1208
|
lastScrapedAt?: string | undefined;
|
|
1277
1209
|
}>, "many">;
|
|
1278
|
-
}, "strip",
|
|
1210
|
+
}, "strip", z.ZodTypeAny, {
|
|
1279
1211
|
message: string;
|
|
1280
1212
|
success: true;
|
|
1281
1213
|
data: {
|
|
@@ -1308,11 +1240,11 @@ export declare const apiContract: {
|
|
|
1308
1240
|
lastScrapedAt?: string | undefined;
|
|
1309
1241
|
}[];
|
|
1310
1242
|
}>;
|
|
1311
|
-
500:
|
|
1312
|
-
success:
|
|
1313
|
-
message:
|
|
1314
|
-
errors:
|
|
1315
|
-
}, "strip",
|
|
1243
|
+
500: z.ZodObject<{
|
|
1244
|
+
success: z.ZodLiteral<false>;
|
|
1245
|
+
message: z.ZodString;
|
|
1246
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1247
|
+
}, "strip", z.ZodTypeAny, {
|
|
1316
1248
|
message: string;
|
|
1317
1249
|
success: false;
|
|
1318
1250
|
errors?: any;
|
|
@@ -1328,20 +1260,20 @@ export declare const apiContract: {
|
|
|
1328
1260
|
method: "GET";
|
|
1329
1261
|
path: "/api/channels/categories";
|
|
1330
1262
|
responses: {
|
|
1331
|
-
200:
|
|
1332
|
-
success:
|
|
1333
|
-
message:
|
|
1334
|
-
data:
|
|
1335
|
-
name:
|
|
1336
|
-
count:
|
|
1337
|
-
}, "strip",
|
|
1263
|
+
200: z.ZodObject<{
|
|
1264
|
+
success: z.ZodLiteral<true>;
|
|
1265
|
+
message: z.ZodString;
|
|
1266
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1267
|
+
name: z.ZodString;
|
|
1268
|
+
count: z.ZodNumber;
|
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
1270
|
name: string;
|
|
1339
1271
|
count: number;
|
|
1340
1272
|
}, {
|
|
1341
1273
|
name: string;
|
|
1342
1274
|
count: number;
|
|
1343
1275
|
}>, "many">;
|
|
1344
|
-
}, "strip",
|
|
1276
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
1277
|
message: string;
|
|
1346
1278
|
success: true;
|
|
1347
1279
|
data: {
|
|
@@ -1356,11 +1288,11 @@ export declare const apiContract: {
|
|
|
1356
1288
|
count: number;
|
|
1357
1289
|
}[];
|
|
1358
1290
|
}>;
|
|
1359
|
-
500:
|
|
1360
|
-
success:
|
|
1361
|
-
message:
|
|
1362
|
-
errors:
|
|
1363
|
-
}, "strip",
|
|
1291
|
+
500: z.ZodObject<{
|
|
1292
|
+
success: z.ZodLiteral<false>;
|
|
1293
|
+
message: z.ZodString;
|
|
1294
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
|
1364
1296
|
message: string;
|
|
1365
1297
|
success: false;
|
|
1366
1298
|
errors?: any;
|
|
@@ -1372,148 +1304,95 @@ export declare const apiContract: {
|
|
|
1372
1304
|
};
|
|
1373
1305
|
};
|
|
1374
1306
|
exploreChannels: {
|
|
1307
|
+
query: z.ZodObject<{
|
|
1308
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
|
+
categories?: string[] | undefined;
|
|
1312
|
+
searchQuery?: string | undefined;
|
|
1313
|
+
}, {
|
|
1314
|
+
categories?: string[] | undefined;
|
|
1315
|
+
searchQuery?: string | undefined;
|
|
1316
|
+
}>;
|
|
1375
1317
|
summary: "Get explore channels modal data";
|
|
1376
1318
|
method: "GET";
|
|
1377
1319
|
path: "/api/channels/explore";
|
|
1378
1320
|
responses: {
|
|
1379
|
-
200:
|
|
1380
|
-
success:
|
|
1381
|
-
message:
|
|
1382
|
-
data:
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
}, {
|
|
1390
|
-
name: string;
|
|
1391
|
-
count: number;
|
|
1392
|
-
}>, "many">;
|
|
1393
|
-
channelsByCategory: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
|
|
1394
|
-
id: import("zod").ZodString;
|
|
1395
|
-
username: import("zod").ZodString;
|
|
1396
|
-
title: import("zod").ZodString;
|
|
1397
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1398
|
-
category: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1399
|
-
memberCount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1400
|
-
isActive: import("zod").ZodBoolean;
|
|
1401
|
-
isRecommended: import("zod").ZodBoolean;
|
|
1402
|
-
lastScrapedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1403
|
-
createdAt: import("zod").ZodString;
|
|
1404
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1405
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1406
|
-
id: string;
|
|
1407
|
-
createdAt: string;
|
|
1321
|
+
200: z.ZodObject<{
|
|
1322
|
+
success: z.ZodLiteral<true>;
|
|
1323
|
+
message: z.ZodString;
|
|
1324
|
+
data: z.ZodObject<{
|
|
1325
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1326
|
+
username: z.ZodString;
|
|
1327
|
+
title: z.ZodString;
|
|
1328
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
isJoined: z.ZodBoolean;
|
|
1331
|
+
}, "strip", z.ZodTypeAny, {
|
|
1408
1332
|
username: string;
|
|
1409
1333
|
title: string;
|
|
1410
|
-
|
|
1411
|
-
isRecommended: boolean;
|
|
1334
|
+
isJoined: boolean;
|
|
1412
1335
|
description?: string | undefined;
|
|
1413
|
-
|
|
1414
|
-
category?: string | undefined;
|
|
1415
|
-
memberCount?: string | undefined;
|
|
1416
|
-
lastScrapedAt?: string | undefined;
|
|
1336
|
+
memberCount?: number | undefined;
|
|
1417
1337
|
}, {
|
|
1418
|
-
id: string;
|
|
1419
|
-
createdAt: string;
|
|
1420
1338
|
username: string;
|
|
1421
1339
|
title: string;
|
|
1422
|
-
|
|
1423
|
-
isRecommended: boolean;
|
|
1340
|
+
isJoined: boolean;
|
|
1424
1341
|
description?: string | undefined;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1431
|
-
categories: {
|
|
1432
|
-
name: string;
|
|
1433
|
-
count: number;
|
|
1434
|
-
}[];
|
|
1435
|
-
channelsByCategory: Record<string, {
|
|
1436
|
-
id: string;
|
|
1437
|
-
createdAt: string;
|
|
1342
|
+
memberCount?: number | undefined;
|
|
1343
|
+
}>, "many">;
|
|
1344
|
+
missedJobsCount: z.ZodNumber;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
channels: {
|
|
1438
1347
|
username: string;
|
|
1439
1348
|
title: string;
|
|
1440
|
-
|
|
1441
|
-
isRecommended: boolean;
|
|
1349
|
+
isJoined: boolean;
|
|
1442
1350
|
description?: string | undefined;
|
|
1443
|
-
|
|
1444
|
-
category?: string | undefined;
|
|
1445
|
-
memberCount?: string | undefined;
|
|
1446
|
-
lastScrapedAt?: string | undefined;
|
|
1447
|
-
}[]>;
|
|
1448
|
-
}, {
|
|
1449
|
-
categories: {
|
|
1450
|
-
name: string;
|
|
1451
|
-
count: number;
|
|
1351
|
+
memberCount?: number | undefined;
|
|
1452
1352
|
}[];
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1353
|
+
missedJobsCount: number;
|
|
1354
|
+
}, {
|
|
1355
|
+
channels: {
|
|
1456
1356
|
username: string;
|
|
1457
1357
|
title: string;
|
|
1458
|
-
|
|
1459
|
-
isRecommended: boolean;
|
|
1358
|
+
isJoined: boolean;
|
|
1460
1359
|
description?: string | undefined;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
lastScrapedAt?: string | undefined;
|
|
1465
|
-
}[]>;
|
|
1360
|
+
memberCount?: number | undefined;
|
|
1361
|
+
}[];
|
|
1362
|
+
missedJobsCount: number;
|
|
1466
1363
|
}>;
|
|
1467
|
-
}, "strip",
|
|
1364
|
+
}, "strip", z.ZodTypeAny, {
|
|
1468
1365
|
message: string;
|
|
1469
1366
|
success: true;
|
|
1470
1367
|
data: {
|
|
1471
|
-
|
|
1472
|
-
name: string;
|
|
1473
|
-
count: number;
|
|
1474
|
-
}[];
|
|
1475
|
-
channelsByCategory: Record<string, {
|
|
1476
|
-
id: string;
|
|
1477
|
-
createdAt: string;
|
|
1368
|
+
channels: {
|
|
1478
1369
|
username: string;
|
|
1479
1370
|
title: string;
|
|
1480
|
-
|
|
1481
|
-
isRecommended: boolean;
|
|
1371
|
+
isJoined: boolean;
|
|
1482
1372
|
description?: string | undefined;
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
lastScrapedAt?: string | undefined;
|
|
1487
|
-
}[]>;
|
|
1373
|
+
memberCount?: number | undefined;
|
|
1374
|
+
}[];
|
|
1375
|
+
missedJobsCount: number;
|
|
1488
1376
|
};
|
|
1489
1377
|
}, {
|
|
1490
1378
|
message: string;
|
|
1491
1379
|
success: true;
|
|
1492
1380
|
data: {
|
|
1493
|
-
|
|
1494
|
-
name: string;
|
|
1495
|
-
count: number;
|
|
1496
|
-
}[];
|
|
1497
|
-
channelsByCategory: Record<string, {
|
|
1498
|
-
id: string;
|
|
1499
|
-
createdAt: string;
|
|
1381
|
+
channels: {
|
|
1500
1382
|
username: string;
|
|
1501
1383
|
title: string;
|
|
1502
|
-
|
|
1503
|
-
isRecommended: boolean;
|
|
1384
|
+
isJoined: boolean;
|
|
1504
1385
|
description?: string | undefined;
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
lastScrapedAt?: string | undefined;
|
|
1509
|
-
}[]>;
|
|
1386
|
+
memberCount?: number | undefined;
|
|
1387
|
+
}[];
|
|
1388
|
+
missedJobsCount: number;
|
|
1510
1389
|
};
|
|
1511
1390
|
}>;
|
|
1512
|
-
401:
|
|
1513
|
-
success:
|
|
1514
|
-
message:
|
|
1515
|
-
errors:
|
|
1516
|
-
}, "strip",
|
|
1391
|
+
401: z.ZodObject<{
|
|
1392
|
+
success: z.ZodLiteral<false>;
|
|
1393
|
+
message: z.ZodString;
|
|
1394
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1395
|
+
}, "strip", z.ZodTypeAny, {
|
|
1517
1396
|
message: string;
|
|
1518
1397
|
success: false;
|
|
1519
1398
|
errors?: any;
|
|
@@ -1522,11 +1401,11 @@ export declare const apiContract: {
|
|
|
1522
1401
|
success: false;
|
|
1523
1402
|
errors?: any;
|
|
1524
1403
|
}>;
|
|
1525
|
-
500:
|
|
1526
|
-
success:
|
|
1527
|
-
message:
|
|
1528
|
-
errors:
|
|
1529
|
-
}, "strip",
|
|
1404
|
+
500: z.ZodObject<{
|
|
1405
|
+
success: z.ZodLiteral<false>;
|
|
1406
|
+
message: z.ZodString;
|
|
1407
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1408
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
1409
|
message: string;
|
|
1531
1410
|
success: false;
|
|
1532
1411
|
errors?: any;
|
|
@@ -1540,31 +1419,31 @@ export declare const apiContract: {
|
|
|
1540
1419
|
searchChannels: {
|
|
1541
1420
|
summary: "Search channels by query";
|
|
1542
1421
|
method: "POST";
|
|
1543
|
-
body:
|
|
1544
|
-
query:
|
|
1545
|
-
}, "strip",
|
|
1422
|
+
body: z.ZodObject<{
|
|
1423
|
+
query: z.ZodString;
|
|
1424
|
+
}, "strip", z.ZodTypeAny, {
|
|
1546
1425
|
query: string;
|
|
1547
1426
|
}, {
|
|
1548
1427
|
query: string;
|
|
1549
1428
|
}>;
|
|
1550
1429
|
path: "/api/channels/search";
|
|
1551
1430
|
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",
|
|
1431
|
+
200: z.ZodObject<{
|
|
1432
|
+
success: z.ZodLiteral<true>;
|
|
1433
|
+
message: z.ZodString;
|
|
1434
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1435
|
+
id: z.ZodString;
|
|
1436
|
+
username: z.ZodString;
|
|
1437
|
+
title: z.ZodString;
|
|
1438
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
isActive: z.ZodBoolean;
|
|
1442
|
+
isRecommended: z.ZodBoolean;
|
|
1443
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
createdAt: z.ZodString;
|
|
1445
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
}, "strip", z.ZodTypeAny, {
|
|
1568
1447
|
id: string;
|
|
1569
1448
|
createdAt: string;
|
|
1570
1449
|
username: string;
|
|
@@ -1589,7 +1468,7 @@ export declare const apiContract: {
|
|
|
1589
1468
|
memberCount?: string | undefined;
|
|
1590
1469
|
lastScrapedAt?: string | undefined;
|
|
1591
1470
|
}>, "many">;
|
|
1592
|
-
}, "strip",
|
|
1471
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
1472
|
message: string;
|
|
1594
1473
|
success: true;
|
|
1595
1474
|
data: {
|
|
@@ -1622,11 +1501,11 @@ export declare const apiContract: {
|
|
|
1622
1501
|
lastScrapedAt?: string | undefined;
|
|
1623
1502
|
}[];
|
|
1624
1503
|
}>;
|
|
1625
|
-
400:
|
|
1626
|
-
success:
|
|
1627
|
-
message:
|
|
1628
|
-
errors:
|
|
1629
|
-
}, "strip",
|
|
1504
|
+
400: z.ZodObject<{
|
|
1505
|
+
success: z.ZodLiteral<false>;
|
|
1506
|
+
message: z.ZodString;
|
|
1507
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
1509
|
message: string;
|
|
1631
1510
|
success: false;
|
|
1632
1511
|
errors?: any;
|
|
@@ -1635,11 +1514,11 @@ export declare const apiContract: {
|
|
|
1635
1514
|
success: false;
|
|
1636
1515
|
errors?: any;
|
|
1637
1516
|
}>;
|
|
1638
|
-
500:
|
|
1639
|
-
success:
|
|
1640
|
-
message:
|
|
1641
|
-
errors:
|
|
1642
|
-
}, "strip",
|
|
1517
|
+
500: z.ZodObject<{
|
|
1518
|
+
success: z.ZodLiteral<false>;
|
|
1519
|
+
message: z.ZodString;
|
|
1520
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1521
|
+
}, "strip", z.ZodTypeAny, {
|
|
1643
1522
|
message: string;
|
|
1644
1523
|
success: false;
|
|
1645
1524
|
errors?: any;
|
|
@@ -1653,48 +1532,48 @@ export declare const apiContract: {
|
|
|
1653
1532
|
subscribeToChannels: {
|
|
1654
1533
|
summary: "Subscribe to channels (replaces existing)";
|
|
1655
1534
|
method: "POST";
|
|
1656
|
-
body:
|
|
1657
|
-
|
|
1658
|
-
}, "strip",
|
|
1659
|
-
|
|
1535
|
+
body: z.ZodObject<{
|
|
1536
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
1537
|
+
}, "strip", z.ZodTypeAny, {
|
|
1538
|
+
channels: string[];
|
|
1660
1539
|
}, {
|
|
1661
|
-
|
|
1540
|
+
channels: string[];
|
|
1662
1541
|
}>;
|
|
1663
1542
|
path: "/api/channels/subscribe";
|
|
1664
1543
|
responses: {
|
|
1665
|
-
200:
|
|
1666
|
-
success:
|
|
1667
|
-
message:
|
|
1668
|
-
data:
|
|
1669
|
-
|
|
1670
|
-
message:
|
|
1671
|
-
}, "strip",
|
|
1544
|
+
200: z.ZodObject<{
|
|
1545
|
+
success: z.ZodLiteral<true>;
|
|
1546
|
+
message: z.ZodString;
|
|
1547
|
+
data: z.ZodObject<{
|
|
1548
|
+
success: z.ZodBoolean;
|
|
1549
|
+
message: z.ZodString;
|
|
1550
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
1551
|
message: string;
|
|
1673
|
-
|
|
1552
|
+
success: boolean;
|
|
1674
1553
|
}, {
|
|
1675
1554
|
message: string;
|
|
1676
|
-
|
|
1555
|
+
success: boolean;
|
|
1677
1556
|
}>;
|
|
1678
|
-
}, "strip",
|
|
1557
|
+
}, "strip", z.ZodTypeAny, {
|
|
1679
1558
|
message: string;
|
|
1680
1559
|
success: true;
|
|
1681
1560
|
data: {
|
|
1682
1561
|
message: string;
|
|
1683
|
-
|
|
1562
|
+
success: boolean;
|
|
1684
1563
|
};
|
|
1685
1564
|
}, {
|
|
1686
1565
|
message: string;
|
|
1687
1566
|
success: true;
|
|
1688
1567
|
data: {
|
|
1689
1568
|
message: string;
|
|
1690
|
-
|
|
1569
|
+
success: boolean;
|
|
1691
1570
|
};
|
|
1692
1571
|
}>;
|
|
1693
|
-
400:
|
|
1694
|
-
success:
|
|
1695
|
-
message:
|
|
1696
|
-
errors:
|
|
1697
|
-
}, "strip",
|
|
1572
|
+
400: z.ZodObject<{
|
|
1573
|
+
success: z.ZodLiteral<false>;
|
|
1574
|
+
message: z.ZodString;
|
|
1575
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1576
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
1577
|
message: string;
|
|
1699
1578
|
success: false;
|
|
1700
1579
|
errors?: any;
|
|
@@ -1703,11 +1582,11 @@ export declare const apiContract: {
|
|
|
1703
1582
|
success: false;
|
|
1704
1583
|
errors?: any;
|
|
1705
1584
|
}>;
|
|
1706
|
-
401:
|
|
1707
|
-
success:
|
|
1708
|
-
message:
|
|
1709
|
-
errors:
|
|
1710
|
-
}, "strip",
|
|
1585
|
+
401: z.ZodObject<{
|
|
1586
|
+
success: z.ZodLiteral<false>;
|
|
1587
|
+
message: z.ZodString;
|
|
1588
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1589
|
+
}, "strip", z.ZodTypeAny, {
|
|
1711
1590
|
message: string;
|
|
1712
1591
|
success: false;
|
|
1713
1592
|
errors?: any;
|
|
@@ -1716,11 +1595,11 @@ export declare const apiContract: {
|
|
|
1716
1595
|
success: false;
|
|
1717
1596
|
errors?: any;
|
|
1718
1597
|
}>;
|
|
1719
|
-
500:
|
|
1720
|
-
success:
|
|
1721
|
-
message:
|
|
1722
|
-
errors:
|
|
1723
|
-
}, "strip",
|
|
1598
|
+
500: z.ZodObject<{
|
|
1599
|
+
success: z.ZodLiteral<false>;
|
|
1600
|
+
message: z.ZodString;
|
|
1601
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1602
|
+
}, "strip", z.ZodTypeAny, {
|
|
1724
1603
|
message: string;
|
|
1725
1604
|
success: false;
|
|
1726
1605
|
errors?: any;
|
|
@@ -1734,48 +1613,48 @@ export declare const apiContract: {
|
|
|
1734
1613
|
addChannels: {
|
|
1735
1614
|
summary: "Add channels to subscription";
|
|
1736
1615
|
method: "POST";
|
|
1737
|
-
body:
|
|
1738
|
-
|
|
1739
|
-
}, "strip",
|
|
1740
|
-
|
|
1616
|
+
body: z.ZodObject<{
|
|
1617
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
1618
|
+
}, "strip", z.ZodTypeAny, {
|
|
1619
|
+
channels: string[];
|
|
1741
1620
|
}, {
|
|
1742
|
-
|
|
1621
|
+
channels: string[];
|
|
1743
1622
|
}>;
|
|
1744
1623
|
path: "/api/channels/add";
|
|
1745
1624
|
responses: {
|
|
1746
|
-
200:
|
|
1747
|
-
success:
|
|
1748
|
-
message:
|
|
1749
|
-
data:
|
|
1750
|
-
|
|
1751
|
-
message:
|
|
1752
|
-
}, "strip",
|
|
1625
|
+
200: z.ZodObject<{
|
|
1626
|
+
success: z.ZodLiteral<true>;
|
|
1627
|
+
message: z.ZodString;
|
|
1628
|
+
data: z.ZodObject<{
|
|
1629
|
+
success: z.ZodBoolean;
|
|
1630
|
+
message: z.ZodString;
|
|
1631
|
+
}, "strip", z.ZodTypeAny, {
|
|
1753
1632
|
message: string;
|
|
1754
|
-
|
|
1633
|
+
success: boolean;
|
|
1755
1634
|
}, {
|
|
1756
1635
|
message: string;
|
|
1757
|
-
|
|
1636
|
+
success: boolean;
|
|
1758
1637
|
}>;
|
|
1759
|
-
}, "strip",
|
|
1638
|
+
}, "strip", z.ZodTypeAny, {
|
|
1760
1639
|
message: string;
|
|
1761
1640
|
success: true;
|
|
1762
1641
|
data: {
|
|
1763
1642
|
message: string;
|
|
1764
|
-
|
|
1643
|
+
success: boolean;
|
|
1765
1644
|
};
|
|
1766
1645
|
}, {
|
|
1767
1646
|
message: string;
|
|
1768
1647
|
success: true;
|
|
1769
1648
|
data: {
|
|
1770
1649
|
message: string;
|
|
1771
|
-
|
|
1650
|
+
success: boolean;
|
|
1772
1651
|
};
|
|
1773
1652
|
}>;
|
|
1774
|
-
400:
|
|
1775
|
-
success:
|
|
1776
|
-
message:
|
|
1777
|
-
errors:
|
|
1778
|
-
}, "strip",
|
|
1653
|
+
400: z.ZodObject<{
|
|
1654
|
+
success: z.ZodLiteral<false>;
|
|
1655
|
+
message: z.ZodString;
|
|
1656
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1657
|
+
}, "strip", z.ZodTypeAny, {
|
|
1779
1658
|
message: string;
|
|
1780
1659
|
success: false;
|
|
1781
1660
|
errors?: any;
|
|
@@ -1784,11 +1663,11 @@ export declare const apiContract: {
|
|
|
1784
1663
|
success: false;
|
|
1785
1664
|
errors?: any;
|
|
1786
1665
|
}>;
|
|
1787
|
-
401:
|
|
1788
|
-
success:
|
|
1789
|
-
message:
|
|
1790
|
-
errors:
|
|
1791
|
-
}, "strip",
|
|
1666
|
+
401: z.ZodObject<{
|
|
1667
|
+
success: z.ZodLiteral<false>;
|
|
1668
|
+
message: z.ZodString;
|
|
1669
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1670
|
+
}, "strip", z.ZodTypeAny, {
|
|
1792
1671
|
message: string;
|
|
1793
1672
|
success: false;
|
|
1794
1673
|
errors?: any;
|
|
@@ -1797,11 +1676,11 @@ export declare const apiContract: {
|
|
|
1797
1676
|
success: false;
|
|
1798
1677
|
errors?: any;
|
|
1799
1678
|
}>;
|
|
1800
|
-
500:
|
|
1801
|
-
success:
|
|
1802
|
-
message:
|
|
1803
|
-
errors:
|
|
1804
|
-
}, "strip",
|
|
1679
|
+
500: z.ZodObject<{
|
|
1680
|
+
success: z.ZodLiteral<false>;
|
|
1681
|
+
message: z.ZodString;
|
|
1682
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1683
|
+
}, "strip", z.ZodTypeAny, {
|
|
1805
1684
|
message: string;
|
|
1806
1685
|
success: false;
|
|
1807
1686
|
errors?: any;
|
|
@@ -1815,48 +1694,53 @@ export declare const apiContract: {
|
|
|
1815
1694
|
unsubscribeFromChannel: {
|
|
1816
1695
|
summary: "Unsubscribe from channel";
|
|
1817
1696
|
method: "POST";
|
|
1818
|
-
body:
|
|
1819
|
-
|
|
1820
|
-
}, "strip",
|
|
1821
|
-
|
|
1697
|
+
body: z.ZodObject<{
|
|
1698
|
+
channel: z.ZodString;
|
|
1699
|
+
}, "strip", z.ZodTypeAny, {
|
|
1700
|
+
channel: string;
|
|
1822
1701
|
}, {
|
|
1823
|
-
|
|
1702
|
+
channel: string;
|
|
1824
1703
|
}>;
|
|
1825
1704
|
path: "/api/channels/unsubscribe";
|
|
1826
1705
|
responses: {
|
|
1827
|
-
200:
|
|
1828
|
-
success:
|
|
1829
|
-
message:
|
|
1830
|
-
data:
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1706
|
+
200: z.ZodObject<{
|
|
1707
|
+
success: z.ZodLiteral<true>;
|
|
1708
|
+
message: z.ZodString;
|
|
1709
|
+
data: z.ZodObject<{
|
|
1710
|
+
success: z.ZodBoolean;
|
|
1711
|
+
totalChannels: z.ZodNumber;
|
|
1712
|
+
swapsRemaining: z.ZodOptional<z.ZodNumber>;
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
|
+
success: boolean;
|
|
1715
|
+
totalChannels: number;
|
|
1716
|
+
swapsRemaining?: number | undefined;
|
|
1836
1717
|
}, {
|
|
1837
|
-
|
|
1838
|
-
|
|
1718
|
+
success: boolean;
|
|
1719
|
+
totalChannels: number;
|
|
1720
|
+
swapsRemaining?: number | undefined;
|
|
1839
1721
|
}>;
|
|
1840
|
-
}, "strip",
|
|
1722
|
+
}, "strip", z.ZodTypeAny, {
|
|
1841
1723
|
message: string;
|
|
1842
1724
|
success: true;
|
|
1843
1725
|
data: {
|
|
1844
|
-
|
|
1845
|
-
|
|
1726
|
+
success: boolean;
|
|
1727
|
+
totalChannels: number;
|
|
1728
|
+
swapsRemaining?: number | undefined;
|
|
1846
1729
|
};
|
|
1847
1730
|
}, {
|
|
1848
1731
|
message: string;
|
|
1849
1732
|
success: true;
|
|
1850
1733
|
data: {
|
|
1851
|
-
|
|
1852
|
-
|
|
1734
|
+
success: boolean;
|
|
1735
|
+
totalChannels: number;
|
|
1736
|
+
swapsRemaining?: number | undefined;
|
|
1853
1737
|
};
|
|
1854
1738
|
}>;
|
|
1855
|
-
400:
|
|
1856
|
-
success:
|
|
1857
|
-
message:
|
|
1858
|
-
errors:
|
|
1859
|
-
}, "strip",
|
|
1739
|
+
400: z.ZodObject<{
|
|
1740
|
+
success: z.ZodLiteral<false>;
|
|
1741
|
+
message: z.ZodString;
|
|
1742
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1743
|
+
}, "strip", z.ZodTypeAny, {
|
|
1860
1744
|
message: string;
|
|
1861
1745
|
success: false;
|
|
1862
1746
|
errors?: any;
|
|
@@ -1865,11 +1749,11 @@ export declare const apiContract: {
|
|
|
1865
1749
|
success: false;
|
|
1866
1750
|
errors?: any;
|
|
1867
1751
|
}>;
|
|
1868
|
-
401:
|
|
1869
|
-
success:
|
|
1870
|
-
message:
|
|
1871
|
-
errors:
|
|
1872
|
-
}, "strip",
|
|
1752
|
+
401: z.ZodObject<{
|
|
1753
|
+
success: z.ZodLiteral<false>;
|
|
1754
|
+
message: z.ZodString;
|
|
1755
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1756
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
1757
|
message: string;
|
|
1874
1758
|
success: false;
|
|
1875
1759
|
errors?: any;
|
|
@@ -1878,11 +1762,11 @@ export declare const apiContract: {
|
|
|
1878
1762
|
success: false;
|
|
1879
1763
|
errors?: any;
|
|
1880
1764
|
}>;
|
|
1881
|
-
500:
|
|
1882
|
-
success:
|
|
1883
|
-
message:
|
|
1884
|
-
errors:
|
|
1885
|
-
}, "strip",
|
|
1765
|
+
500: z.ZodObject<{
|
|
1766
|
+
success: z.ZodLiteral<false>;
|
|
1767
|
+
message: z.ZodString;
|
|
1768
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1886
1770
|
message: string;
|
|
1887
1771
|
success: false;
|
|
1888
1772
|
errors?: any;
|
|
@@ -1900,29 +1784,29 @@ export declare const apiContract: {
|
|
|
1900
1784
|
method: "GET";
|
|
1901
1785
|
path: "/api/users/preferences/filters";
|
|
1902
1786
|
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",
|
|
1787
|
+
200: z.ZodObject<{
|
|
1788
|
+
success: z.ZodLiteral<true>;
|
|
1789
|
+
message: z.ZodString;
|
|
1790
|
+
data: z.ZodObject<{
|
|
1791
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1792
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1793
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1794
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1795
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1796
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1797
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1798
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
1799
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
1800
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1801
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1802
|
+
}, "strip", z.ZodTypeAny, {
|
|
1919
1803
|
min?: number | undefined;
|
|
1920
1804
|
max?: number | undefined;
|
|
1921
1805
|
}, {
|
|
1922
1806
|
min?: number | undefined;
|
|
1923
1807
|
max?: number | undefined;
|
|
1924
1808
|
}>>;
|
|
1925
|
-
}, "strip",
|
|
1809
|
+
}, "strip", z.ZodTypeAny, {
|
|
1926
1810
|
isRemote?: boolean | undefined;
|
|
1927
1811
|
level?: string[] | undefined;
|
|
1928
1812
|
experienceYears?: {
|
|
@@ -1947,7 +1831,7 @@ export declare const apiContract: {
|
|
|
1947
1831
|
excludedTitles?: string[] | undefined;
|
|
1948
1832
|
muteKeywords?: string[] | undefined;
|
|
1949
1833
|
}>>;
|
|
1950
|
-
}, "strip",
|
|
1834
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
1835
|
filters?: {
|
|
1952
1836
|
isRemote?: boolean | undefined;
|
|
1953
1837
|
level?: string[] | undefined;
|
|
@@ -1976,7 +1860,7 @@ export declare const apiContract: {
|
|
|
1976
1860
|
muteKeywords?: string[] | undefined;
|
|
1977
1861
|
} | undefined;
|
|
1978
1862
|
}>;
|
|
1979
|
-
}, "strip",
|
|
1863
|
+
}, "strip", z.ZodTypeAny, {
|
|
1980
1864
|
message: string;
|
|
1981
1865
|
success: true;
|
|
1982
1866
|
data: {
|
|
@@ -2013,11 +1897,11 @@ export declare const apiContract: {
|
|
|
2013
1897
|
} | undefined;
|
|
2014
1898
|
};
|
|
2015
1899
|
}>;
|
|
2016
|
-
401:
|
|
2017
|
-
success:
|
|
2018
|
-
message:
|
|
2019
|
-
errors:
|
|
2020
|
-
}, "strip",
|
|
1900
|
+
401: z.ZodObject<{
|
|
1901
|
+
success: z.ZodLiteral<false>;
|
|
1902
|
+
message: z.ZodString;
|
|
1903
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
|
2021
1905
|
message: string;
|
|
2022
1906
|
success: false;
|
|
2023
1907
|
errors?: any;
|
|
@@ -2026,11 +1910,11 @@ export declare const apiContract: {
|
|
|
2026
1910
|
success: false;
|
|
2027
1911
|
errors?: any;
|
|
2028
1912
|
}>;
|
|
2029
|
-
500:
|
|
2030
|
-
success:
|
|
2031
|
-
message:
|
|
2032
|
-
errors:
|
|
2033
|
-
}, "strip",
|
|
1913
|
+
500: z.ZodObject<{
|
|
1914
|
+
success: z.ZodLiteral<false>;
|
|
1915
|
+
message: z.ZodString;
|
|
1916
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
1917
|
+
}, "strip", z.ZodTypeAny, {
|
|
2034
1918
|
message: string;
|
|
2035
1919
|
success: false;
|
|
2036
1920
|
errors?: any;
|
|
@@ -2044,26 +1928,26 @@ export declare const apiContract: {
|
|
|
2044
1928
|
saveFilterPreferences: {
|
|
2045
1929
|
summary: "Save filter preferences";
|
|
2046
1930
|
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",
|
|
1931
|
+
body: z.ZodObject<{
|
|
1932
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1933
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1934
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1935
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1936
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1937
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1938
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1939
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
1940
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
1941
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1942
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1943
|
+
}, "strip", z.ZodTypeAny, {
|
|
2060
1944
|
min?: number | undefined;
|
|
2061
1945
|
max?: number | undefined;
|
|
2062
1946
|
}, {
|
|
2063
1947
|
min?: number | undefined;
|
|
2064
1948
|
max?: number | undefined;
|
|
2065
1949
|
}>>;
|
|
2066
|
-
}, "strip",
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
2067
1951
|
isRemote?: boolean | undefined;
|
|
2068
1952
|
level?: string[] | undefined;
|
|
2069
1953
|
experienceYears?: {
|
|
@@ -2088,7 +1972,7 @@ export declare const apiContract: {
|
|
|
2088
1972
|
excludedTitles?: string[] | undefined;
|
|
2089
1973
|
muteKeywords?: string[] | undefined;
|
|
2090
1974
|
}>>;
|
|
2091
|
-
}, "strip",
|
|
1975
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
1976
|
filters?: {
|
|
2093
1977
|
isRemote?: boolean | undefined;
|
|
2094
1978
|
level?: string[] | undefined;
|
|
@@ -2119,29 +2003,29 @@ export declare const apiContract: {
|
|
|
2119
2003
|
}>;
|
|
2120
2004
|
path: "/api/users/preferences/filters";
|
|
2121
2005
|
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",
|
|
2006
|
+
200: z.ZodObject<{
|
|
2007
|
+
success: z.ZodLiteral<true>;
|
|
2008
|
+
message: z.ZodString;
|
|
2009
|
+
data: z.ZodObject<{
|
|
2010
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2011
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2012
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2013
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2014
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2015
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2016
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2017
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2018
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2019
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2020
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2138
2022
|
min?: number | undefined;
|
|
2139
2023
|
max?: number | undefined;
|
|
2140
2024
|
}, {
|
|
2141
2025
|
min?: number | undefined;
|
|
2142
2026
|
max?: number | undefined;
|
|
2143
2027
|
}>>;
|
|
2144
|
-
}, "strip",
|
|
2028
|
+
}, "strip", z.ZodTypeAny, {
|
|
2145
2029
|
isRemote?: boolean | undefined;
|
|
2146
2030
|
level?: string[] | undefined;
|
|
2147
2031
|
experienceYears?: {
|
|
@@ -2166,7 +2050,7 @@ export declare const apiContract: {
|
|
|
2166
2050
|
excludedTitles?: string[] | undefined;
|
|
2167
2051
|
muteKeywords?: string[] | undefined;
|
|
2168
2052
|
}>>;
|
|
2169
|
-
}, "strip",
|
|
2053
|
+
}, "strip", z.ZodTypeAny, {
|
|
2170
2054
|
filters?: {
|
|
2171
2055
|
isRemote?: boolean | undefined;
|
|
2172
2056
|
level?: string[] | undefined;
|
|
@@ -2195,7 +2079,7 @@ export declare const apiContract: {
|
|
|
2195
2079
|
muteKeywords?: string[] | undefined;
|
|
2196
2080
|
} | undefined;
|
|
2197
2081
|
}>;
|
|
2198
|
-
}, "strip",
|
|
2082
|
+
}, "strip", z.ZodTypeAny, {
|
|
2199
2083
|
message: string;
|
|
2200
2084
|
success: true;
|
|
2201
2085
|
data: {
|
|
@@ -2232,11 +2116,11 @@ export declare const apiContract: {
|
|
|
2232
2116
|
} | undefined;
|
|
2233
2117
|
};
|
|
2234
2118
|
}>;
|
|
2235
|
-
400:
|
|
2236
|
-
success:
|
|
2237
|
-
message:
|
|
2238
|
-
errors:
|
|
2239
|
-
}, "strip",
|
|
2119
|
+
400: z.ZodObject<{
|
|
2120
|
+
success: z.ZodLiteral<false>;
|
|
2121
|
+
message: z.ZodString;
|
|
2122
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2123
|
+
}, "strip", z.ZodTypeAny, {
|
|
2240
2124
|
message: string;
|
|
2241
2125
|
success: false;
|
|
2242
2126
|
errors?: any;
|
|
@@ -2245,11 +2129,11 @@ export declare const apiContract: {
|
|
|
2245
2129
|
success: false;
|
|
2246
2130
|
errors?: any;
|
|
2247
2131
|
}>;
|
|
2248
|
-
401:
|
|
2249
|
-
success:
|
|
2250
|
-
message:
|
|
2251
|
-
errors:
|
|
2252
|
-
}, "strip",
|
|
2132
|
+
401: z.ZodObject<{
|
|
2133
|
+
success: z.ZodLiteral<false>;
|
|
2134
|
+
message: z.ZodString;
|
|
2135
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2136
|
+
}, "strip", z.ZodTypeAny, {
|
|
2253
2137
|
message: string;
|
|
2254
2138
|
success: false;
|
|
2255
2139
|
errors?: any;
|
|
@@ -2258,11 +2142,11 @@ export declare const apiContract: {
|
|
|
2258
2142
|
success: false;
|
|
2259
2143
|
errors?: any;
|
|
2260
2144
|
}>;
|
|
2261
|
-
500:
|
|
2262
|
-
success:
|
|
2263
|
-
message:
|
|
2264
|
-
errors:
|
|
2265
|
-
}, "strip",
|
|
2145
|
+
500: z.ZodObject<{
|
|
2146
|
+
success: z.ZodLiteral<false>;
|
|
2147
|
+
message: z.ZodString;
|
|
2148
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2149
|
+
}, "strip", z.ZodTypeAny, {
|
|
2266
2150
|
message: string;
|
|
2267
2151
|
success: false;
|
|
2268
2152
|
errors?: any;
|
|
@@ -2284,14 +2168,14 @@ export declare const apiContract: {
|
|
|
2284
2168
|
}>;
|
|
2285
2169
|
path: "/api/resume/upload";
|
|
2286
2170
|
responses: {
|
|
2287
|
-
200:
|
|
2288
|
-
success:
|
|
2289
|
-
message:
|
|
2290
|
-
data:
|
|
2291
|
-
message:
|
|
2292
|
-
resumeText:
|
|
2293
|
-
fileUrl:
|
|
2294
|
-
}, "strip",
|
|
2171
|
+
200: z.ZodObject<{
|
|
2172
|
+
success: z.ZodLiteral<true>;
|
|
2173
|
+
message: z.ZodString;
|
|
2174
|
+
data: z.ZodObject<{
|
|
2175
|
+
message: z.ZodString;
|
|
2176
|
+
resumeText: z.ZodString;
|
|
2177
|
+
fileUrl: z.ZodString;
|
|
2178
|
+
}, "strip", z.ZodTypeAny, {
|
|
2295
2179
|
message: string;
|
|
2296
2180
|
resumeText: string;
|
|
2297
2181
|
fileUrl: string;
|
|
@@ -2300,7 +2184,7 @@ export declare const apiContract: {
|
|
|
2300
2184
|
resumeText: string;
|
|
2301
2185
|
fileUrl: string;
|
|
2302
2186
|
}>;
|
|
2303
|
-
}, "strip",
|
|
2187
|
+
}, "strip", z.ZodTypeAny, {
|
|
2304
2188
|
message: string;
|
|
2305
2189
|
success: true;
|
|
2306
2190
|
data: {
|
|
@@ -2317,11 +2201,11 @@ export declare const apiContract: {
|
|
|
2317
2201
|
fileUrl: string;
|
|
2318
2202
|
};
|
|
2319
2203
|
}>;
|
|
2320
|
-
400:
|
|
2321
|
-
success:
|
|
2322
|
-
message:
|
|
2323
|
-
errors:
|
|
2324
|
-
}, "strip",
|
|
2204
|
+
400: z.ZodObject<{
|
|
2205
|
+
success: z.ZodLiteral<false>;
|
|
2206
|
+
message: z.ZodString;
|
|
2207
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2208
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
2209
|
message: string;
|
|
2326
2210
|
success: false;
|
|
2327
2211
|
errors?: any;
|
|
@@ -2330,11 +2214,11 @@ export declare const apiContract: {
|
|
|
2330
2214
|
success: false;
|
|
2331
2215
|
errors?: any;
|
|
2332
2216
|
}>;
|
|
2333
|
-
401:
|
|
2334
|
-
success:
|
|
2335
|
-
message:
|
|
2336
|
-
errors:
|
|
2337
|
-
}, "strip",
|
|
2217
|
+
401: z.ZodObject<{
|
|
2218
|
+
success: z.ZodLiteral<false>;
|
|
2219
|
+
message: z.ZodString;
|
|
2220
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2221
|
+
}, "strip", z.ZodTypeAny, {
|
|
2338
2222
|
message: string;
|
|
2339
2223
|
success: false;
|
|
2340
2224
|
errors?: any;
|
|
@@ -2343,11 +2227,11 @@ export declare const apiContract: {
|
|
|
2343
2227
|
success: false;
|
|
2344
2228
|
errors?: any;
|
|
2345
2229
|
}>;
|
|
2346
|
-
500:
|
|
2347
|
-
success:
|
|
2348
|
-
message:
|
|
2349
|
-
errors:
|
|
2350
|
-
}, "strip",
|
|
2230
|
+
500: z.ZodObject<{
|
|
2231
|
+
success: z.ZodLiteral<false>;
|
|
2232
|
+
message: z.ZodString;
|
|
2233
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2351
2235
|
message: string;
|
|
2352
2236
|
success: false;
|
|
2353
2237
|
errors?: any;
|
|
@@ -2363,24 +2247,24 @@ export declare const apiContract: {
|
|
|
2363
2247
|
generateTailoredResume: {
|
|
2364
2248
|
summary: "Generate tailored resume for job";
|
|
2365
2249
|
method: "POST";
|
|
2366
|
-
body:
|
|
2367
|
-
jobId:
|
|
2368
|
-
}, "strip",
|
|
2250
|
+
body: z.ZodObject<{
|
|
2251
|
+
jobId: z.ZodString;
|
|
2252
|
+
}, "strip", z.ZodTypeAny, {
|
|
2369
2253
|
jobId: string;
|
|
2370
2254
|
}, {
|
|
2371
2255
|
jobId: string;
|
|
2372
2256
|
}>;
|
|
2373
2257
|
path: "/api/sniper/generate";
|
|
2374
2258
|
responses: {
|
|
2375
|
-
200:
|
|
2376
|
-
success:
|
|
2377
|
-
message:
|
|
2378
|
-
data:
|
|
2379
|
-
pdfUrl:
|
|
2380
|
-
docxUrl:
|
|
2381
|
-
telegramMessage:
|
|
2382
|
-
coverLetter:
|
|
2383
|
-
}, "strip",
|
|
2259
|
+
200: z.ZodObject<{
|
|
2260
|
+
success: z.ZodLiteral<true>;
|
|
2261
|
+
message: z.ZodString;
|
|
2262
|
+
data: z.ZodObject<{
|
|
2263
|
+
pdfUrl: z.ZodString;
|
|
2264
|
+
docxUrl: z.ZodString;
|
|
2265
|
+
telegramMessage: z.ZodString;
|
|
2266
|
+
coverLetter: z.ZodString;
|
|
2267
|
+
}, "strip", z.ZodTypeAny, {
|
|
2384
2268
|
pdfUrl: string;
|
|
2385
2269
|
docxUrl: string;
|
|
2386
2270
|
telegramMessage: string;
|
|
@@ -2391,7 +2275,7 @@ export declare const apiContract: {
|
|
|
2391
2275
|
telegramMessage: string;
|
|
2392
2276
|
coverLetter: string;
|
|
2393
2277
|
}>;
|
|
2394
|
-
}, "strip",
|
|
2278
|
+
}, "strip", z.ZodTypeAny, {
|
|
2395
2279
|
message: string;
|
|
2396
2280
|
success: true;
|
|
2397
2281
|
data: {
|
|
@@ -2410,11 +2294,11 @@ export declare const apiContract: {
|
|
|
2410
2294
|
coverLetter: string;
|
|
2411
2295
|
};
|
|
2412
2296
|
}>;
|
|
2413
|
-
400:
|
|
2414
|
-
success:
|
|
2415
|
-
message:
|
|
2416
|
-
errors:
|
|
2417
|
-
}, "strip",
|
|
2297
|
+
400: z.ZodObject<{
|
|
2298
|
+
success: z.ZodLiteral<false>;
|
|
2299
|
+
message: z.ZodString;
|
|
2300
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2301
|
+
}, "strip", z.ZodTypeAny, {
|
|
2418
2302
|
message: string;
|
|
2419
2303
|
success: false;
|
|
2420
2304
|
errors?: any;
|
|
@@ -2423,11 +2307,11 @@ export declare const apiContract: {
|
|
|
2423
2307
|
success: false;
|
|
2424
2308
|
errors?: any;
|
|
2425
2309
|
}>;
|
|
2426
|
-
401:
|
|
2427
|
-
success:
|
|
2428
|
-
message:
|
|
2429
|
-
errors:
|
|
2430
|
-
}, "strip",
|
|
2310
|
+
401: z.ZodObject<{
|
|
2311
|
+
success: z.ZodLiteral<false>;
|
|
2312
|
+
message: z.ZodString;
|
|
2313
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2314
|
+
}, "strip", z.ZodTypeAny, {
|
|
2431
2315
|
message: string;
|
|
2432
2316
|
success: false;
|
|
2433
2317
|
errors?: any;
|
|
@@ -2436,11 +2320,11 @@ export declare const apiContract: {
|
|
|
2436
2320
|
success: false;
|
|
2437
2321
|
errors?: any;
|
|
2438
2322
|
}>;
|
|
2439
|
-
404:
|
|
2440
|
-
success:
|
|
2441
|
-
message:
|
|
2442
|
-
errors:
|
|
2443
|
-
}, "strip",
|
|
2323
|
+
404: z.ZodObject<{
|
|
2324
|
+
success: z.ZodLiteral<false>;
|
|
2325
|
+
message: z.ZodString;
|
|
2326
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2327
|
+
}, "strip", z.ZodTypeAny, {
|
|
2444
2328
|
message: string;
|
|
2445
2329
|
success: false;
|
|
2446
2330
|
errors?: any;
|
|
@@ -2449,11 +2333,11 @@ export declare const apiContract: {
|
|
|
2449
2333
|
success: false;
|
|
2450
2334
|
errors?: any;
|
|
2451
2335
|
}>;
|
|
2452
|
-
500:
|
|
2453
|
-
success:
|
|
2454
|
-
message:
|
|
2455
|
-
errors:
|
|
2456
|
-
}, "strip",
|
|
2336
|
+
500: z.ZodObject<{
|
|
2337
|
+
success: z.ZodLiteral<false>;
|
|
2338
|
+
message: z.ZodString;
|
|
2339
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2340
|
+
}, "strip", z.ZodTypeAny, {
|
|
2457
2341
|
message: string;
|
|
2458
2342
|
success: false;
|
|
2459
2343
|
errors?: any;
|
|
@@ -2471,30 +2355,30 @@ export declare const apiContract: {
|
|
|
2471
2355
|
method: "GET";
|
|
2472
2356
|
path: "/api/notifications/settings";
|
|
2473
2357
|
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",
|
|
2358
|
+
200: z.ZodObject<{
|
|
2359
|
+
success: z.ZodLiteral<true>;
|
|
2360
|
+
message: z.ZodString;
|
|
2361
|
+
data: z.ZodObject<{
|
|
2362
|
+
enabled: z.ZodBoolean;
|
|
2363
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2364
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2365
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2366
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2367
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2368
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2369
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2370
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2371
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2372
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2373
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2491
2375
|
min?: number | undefined;
|
|
2492
2376
|
max?: number | undefined;
|
|
2493
2377
|
}, {
|
|
2494
2378
|
min?: number | undefined;
|
|
2495
2379
|
max?: number | undefined;
|
|
2496
2380
|
}>>;
|
|
2497
|
-
}, "strip",
|
|
2381
|
+
}, "strip", z.ZodTypeAny, {
|
|
2498
2382
|
isRemote?: boolean | undefined;
|
|
2499
2383
|
level?: string[] | undefined;
|
|
2500
2384
|
experienceYears?: {
|
|
@@ -2519,12 +2403,12 @@ export declare const apiContract: {
|
|
|
2519
2403
|
excludedTitles?: string[] | undefined;
|
|
2520
2404
|
muteKeywords?: string[] | undefined;
|
|
2521
2405
|
}>>;
|
|
2522
|
-
quietHours:
|
|
2523
|
-
enabled:
|
|
2524
|
-
startHour:
|
|
2525
|
-
endHour:
|
|
2526
|
-
timezone:
|
|
2527
|
-
}, "strip",
|
|
2406
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2407
|
+
enabled: z.ZodBoolean;
|
|
2408
|
+
startHour: z.ZodNumber;
|
|
2409
|
+
endHour: z.ZodNumber;
|
|
2410
|
+
timezone: z.ZodString;
|
|
2411
|
+
}, "strip", z.ZodTypeAny, {
|
|
2528
2412
|
enabled: boolean;
|
|
2529
2413
|
startHour: number;
|
|
2530
2414
|
endHour: number;
|
|
@@ -2535,7 +2419,7 @@ export declare const apiContract: {
|
|
|
2535
2419
|
endHour: number;
|
|
2536
2420
|
timezone: string;
|
|
2537
2421
|
}>>;
|
|
2538
|
-
}, "strip",
|
|
2422
|
+
}, "strip", z.ZodTypeAny, {
|
|
2539
2423
|
enabled: boolean;
|
|
2540
2424
|
filters?: {
|
|
2541
2425
|
isRemote?: boolean | undefined;
|
|
@@ -2578,7 +2462,7 @@ export declare const apiContract: {
|
|
|
2578
2462
|
timezone: string;
|
|
2579
2463
|
} | undefined;
|
|
2580
2464
|
}>;
|
|
2581
|
-
}, "strip",
|
|
2465
|
+
}, "strip", z.ZodTypeAny, {
|
|
2582
2466
|
message: string;
|
|
2583
2467
|
success: true;
|
|
2584
2468
|
data: {
|
|
@@ -2629,11 +2513,11 @@ export declare const apiContract: {
|
|
|
2629
2513
|
} | undefined;
|
|
2630
2514
|
};
|
|
2631
2515
|
}>;
|
|
2632
|
-
401:
|
|
2633
|
-
success:
|
|
2634
|
-
message:
|
|
2635
|
-
errors:
|
|
2636
|
-
}, "strip",
|
|
2516
|
+
401: z.ZodObject<{
|
|
2517
|
+
success: z.ZodLiteral<false>;
|
|
2518
|
+
message: z.ZodString;
|
|
2519
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2520
|
+
}, "strip", z.ZodTypeAny, {
|
|
2637
2521
|
message: string;
|
|
2638
2522
|
success: false;
|
|
2639
2523
|
errors?: any;
|
|
@@ -2642,11 +2526,11 @@ export declare const apiContract: {
|
|
|
2642
2526
|
success: false;
|
|
2643
2527
|
errors?: any;
|
|
2644
2528
|
}>;
|
|
2645
|
-
500:
|
|
2646
|
-
success:
|
|
2647
|
-
message:
|
|
2648
|
-
errors:
|
|
2649
|
-
}, "strip",
|
|
2529
|
+
500: z.ZodObject<{
|
|
2530
|
+
success: z.ZodLiteral<false>;
|
|
2531
|
+
message: z.ZodString;
|
|
2532
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2533
|
+
}, "strip", z.ZodTypeAny, {
|
|
2650
2534
|
message: string;
|
|
2651
2535
|
success: false;
|
|
2652
2536
|
errors?: any;
|
|
@@ -2660,27 +2544,27 @@ export declare const apiContract: {
|
|
|
2660
2544
|
updateSettings: {
|
|
2661
2545
|
summary: "Update notification settings";
|
|
2662
2546
|
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",
|
|
2547
|
+
body: z.ZodObject<{
|
|
2548
|
+
enabled: z.ZodBoolean;
|
|
2549
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2550
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2551
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2552
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2553
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2554
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2555
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2556
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2557
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2558
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2559
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2560
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
2561
|
min?: number | undefined;
|
|
2678
2562
|
max?: number | undefined;
|
|
2679
2563
|
}, {
|
|
2680
2564
|
min?: number | undefined;
|
|
2681
2565
|
max?: number | undefined;
|
|
2682
2566
|
}>>;
|
|
2683
|
-
}, "strip",
|
|
2567
|
+
}, "strip", z.ZodTypeAny, {
|
|
2684
2568
|
isRemote?: boolean | undefined;
|
|
2685
2569
|
level?: string[] | undefined;
|
|
2686
2570
|
experienceYears?: {
|
|
@@ -2705,12 +2589,12 @@ export declare const apiContract: {
|
|
|
2705
2589
|
excludedTitles?: string[] | undefined;
|
|
2706
2590
|
muteKeywords?: string[] | undefined;
|
|
2707
2591
|
}>>;
|
|
2708
|
-
quietHours:
|
|
2709
|
-
enabled:
|
|
2710
|
-
startHour:
|
|
2711
|
-
endHour:
|
|
2712
|
-
timezone:
|
|
2713
|
-
}, "strip",
|
|
2592
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2593
|
+
enabled: z.ZodBoolean;
|
|
2594
|
+
startHour: z.ZodNumber;
|
|
2595
|
+
endHour: z.ZodNumber;
|
|
2596
|
+
timezone: z.ZodString;
|
|
2597
|
+
}, "strip", z.ZodTypeAny, {
|
|
2714
2598
|
enabled: boolean;
|
|
2715
2599
|
startHour: number;
|
|
2716
2600
|
endHour: number;
|
|
@@ -2721,7 +2605,7 @@ export declare const apiContract: {
|
|
|
2721
2605
|
endHour: number;
|
|
2722
2606
|
timezone: string;
|
|
2723
2607
|
}>>;
|
|
2724
|
-
}, "strip",
|
|
2608
|
+
}, "strip", z.ZodTypeAny, {
|
|
2725
2609
|
enabled: boolean;
|
|
2726
2610
|
filters?: {
|
|
2727
2611
|
isRemote?: boolean | undefined;
|
|
@@ -2766,30 +2650,30 @@ export declare const apiContract: {
|
|
|
2766
2650
|
}>;
|
|
2767
2651
|
path: "/api/notifications/settings";
|
|
2768
2652
|
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",
|
|
2653
|
+
200: z.ZodObject<{
|
|
2654
|
+
success: z.ZodLiteral<true>;
|
|
2655
|
+
message: z.ZodString;
|
|
2656
|
+
data: z.ZodObject<{
|
|
2657
|
+
enabled: z.ZodBoolean;
|
|
2658
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2659
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2660
|
+
level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2661
|
+
jobFunction: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2662
|
+
locationType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2663
|
+
excludedTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2664
|
+
muteKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2665
|
+
isRemote: z.ZodOptional<z.ZodBoolean>;
|
|
2666
|
+
experienceYears: z.ZodOptional<z.ZodObject<{
|
|
2667
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2668
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2669
|
+
}, "strip", z.ZodTypeAny, {
|
|
2786
2670
|
min?: number | undefined;
|
|
2787
2671
|
max?: number | undefined;
|
|
2788
2672
|
}, {
|
|
2789
2673
|
min?: number | undefined;
|
|
2790
2674
|
max?: number | undefined;
|
|
2791
2675
|
}>>;
|
|
2792
|
-
}, "strip",
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2793
2677
|
isRemote?: boolean | undefined;
|
|
2794
2678
|
level?: string[] | undefined;
|
|
2795
2679
|
experienceYears?: {
|
|
@@ -2814,12 +2698,12 @@ export declare const apiContract: {
|
|
|
2814
2698
|
excludedTitles?: string[] | undefined;
|
|
2815
2699
|
muteKeywords?: string[] | undefined;
|
|
2816
2700
|
}>>;
|
|
2817
|
-
quietHours:
|
|
2818
|
-
enabled:
|
|
2819
|
-
startHour:
|
|
2820
|
-
endHour:
|
|
2821
|
-
timezone:
|
|
2822
|
-
}, "strip",
|
|
2701
|
+
quietHours: z.ZodOptional<z.ZodObject<{
|
|
2702
|
+
enabled: z.ZodBoolean;
|
|
2703
|
+
startHour: z.ZodNumber;
|
|
2704
|
+
endHour: z.ZodNumber;
|
|
2705
|
+
timezone: z.ZodString;
|
|
2706
|
+
}, "strip", z.ZodTypeAny, {
|
|
2823
2707
|
enabled: boolean;
|
|
2824
2708
|
startHour: number;
|
|
2825
2709
|
endHour: number;
|
|
@@ -2830,7 +2714,7 @@ export declare const apiContract: {
|
|
|
2830
2714
|
endHour: number;
|
|
2831
2715
|
timezone: string;
|
|
2832
2716
|
}>>;
|
|
2833
|
-
}, "strip",
|
|
2717
|
+
}, "strip", z.ZodTypeAny, {
|
|
2834
2718
|
enabled: boolean;
|
|
2835
2719
|
filters?: {
|
|
2836
2720
|
isRemote?: boolean | undefined;
|
|
@@ -2873,7 +2757,7 @@ export declare const apiContract: {
|
|
|
2873
2757
|
timezone: string;
|
|
2874
2758
|
} | undefined;
|
|
2875
2759
|
}>;
|
|
2876
|
-
}, "strip",
|
|
2760
|
+
}, "strip", z.ZodTypeAny, {
|
|
2877
2761
|
message: string;
|
|
2878
2762
|
success: true;
|
|
2879
2763
|
data: {
|
|
@@ -2924,11 +2808,11 @@ export declare const apiContract: {
|
|
|
2924
2808
|
} | undefined;
|
|
2925
2809
|
};
|
|
2926
2810
|
}>;
|
|
2927
|
-
400:
|
|
2928
|
-
success:
|
|
2929
|
-
message:
|
|
2930
|
-
errors:
|
|
2931
|
-
}, "strip",
|
|
2811
|
+
400: z.ZodObject<{
|
|
2812
|
+
success: z.ZodLiteral<false>;
|
|
2813
|
+
message: z.ZodString;
|
|
2814
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2815
|
+
}, "strip", z.ZodTypeAny, {
|
|
2932
2816
|
message: string;
|
|
2933
2817
|
success: false;
|
|
2934
2818
|
errors?: any;
|
|
@@ -2937,11 +2821,11 @@ export declare const apiContract: {
|
|
|
2937
2821
|
success: false;
|
|
2938
2822
|
errors?: any;
|
|
2939
2823
|
}>;
|
|
2940
|
-
401:
|
|
2941
|
-
success:
|
|
2942
|
-
message:
|
|
2943
|
-
errors:
|
|
2944
|
-
}, "strip",
|
|
2824
|
+
401: z.ZodObject<{
|
|
2825
|
+
success: z.ZodLiteral<false>;
|
|
2826
|
+
message: z.ZodString;
|
|
2827
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2828
|
+
}, "strip", z.ZodTypeAny, {
|
|
2945
2829
|
message: string;
|
|
2946
2830
|
success: false;
|
|
2947
2831
|
errors?: any;
|
|
@@ -2950,11 +2834,11 @@ export declare const apiContract: {
|
|
|
2950
2834
|
success: false;
|
|
2951
2835
|
errors?: any;
|
|
2952
2836
|
}>;
|
|
2953
|
-
500:
|
|
2954
|
-
success:
|
|
2955
|
-
message:
|
|
2956
|
-
errors:
|
|
2957
|
-
}, "strip",
|
|
2837
|
+
500: z.ZodObject<{
|
|
2838
|
+
success: z.ZodLiteral<false>;
|
|
2839
|
+
message: z.ZodString;
|
|
2840
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2841
|
+
}, "strip", z.ZodTypeAny, {
|
|
2958
2842
|
message: string;
|
|
2959
2843
|
success: false;
|
|
2960
2844
|
errors?: any;
|
|
@@ -2968,23 +2852,23 @@ export declare const apiContract: {
|
|
|
2968
2852
|
sendTestNotification: {
|
|
2969
2853
|
summary: "Send test notification";
|
|
2970
2854
|
method: "POST";
|
|
2971
|
-
body:
|
|
2855
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2972
2856
|
path: "/api/notifications/test";
|
|
2973
2857
|
responses: {
|
|
2974
|
-
200:
|
|
2975
|
-
success:
|
|
2976
|
-
message:
|
|
2977
|
-
data:
|
|
2978
|
-
success:
|
|
2979
|
-
message:
|
|
2980
|
-
}, "strip",
|
|
2858
|
+
200: z.ZodObject<{
|
|
2859
|
+
success: z.ZodLiteral<true>;
|
|
2860
|
+
message: z.ZodString;
|
|
2861
|
+
data: z.ZodObject<{
|
|
2862
|
+
success: z.ZodBoolean;
|
|
2863
|
+
message: z.ZodString;
|
|
2864
|
+
}, "strip", z.ZodTypeAny, {
|
|
2981
2865
|
message: string;
|
|
2982
2866
|
success: boolean;
|
|
2983
2867
|
}, {
|
|
2984
2868
|
message: string;
|
|
2985
2869
|
success: boolean;
|
|
2986
2870
|
}>;
|
|
2987
|
-
}, "strip",
|
|
2871
|
+
}, "strip", z.ZodTypeAny, {
|
|
2988
2872
|
message: string;
|
|
2989
2873
|
success: true;
|
|
2990
2874
|
data: {
|
|
@@ -2999,11 +2883,11 @@ export declare const apiContract: {
|
|
|
2999
2883
|
success: boolean;
|
|
3000
2884
|
};
|
|
3001
2885
|
}>;
|
|
3002
|
-
401:
|
|
3003
|
-
success:
|
|
3004
|
-
message:
|
|
3005
|
-
errors:
|
|
3006
|
-
}, "strip",
|
|
2886
|
+
401: z.ZodObject<{
|
|
2887
|
+
success: z.ZodLiteral<false>;
|
|
2888
|
+
message: z.ZodString;
|
|
2889
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2890
|
+
}, "strip", z.ZodTypeAny, {
|
|
3007
2891
|
message: string;
|
|
3008
2892
|
success: false;
|
|
3009
2893
|
errors?: any;
|
|
@@ -3012,11 +2896,11 @@ export declare const apiContract: {
|
|
|
3012
2896
|
success: false;
|
|
3013
2897
|
errors?: any;
|
|
3014
2898
|
}>;
|
|
3015
|
-
500:
|
|
3016
|
-
success:
|
|
3017
|
-
message:
|
|
3018
|
-
errors:
|
|
3019
|
-
}, "strip",
|
|
2899
|
+
500: z.ZodObject<{
|
|
2900
|
+
success: z.ZodLiteral<false>;
|
|
2901
|
+
message: z.ZodString;
|
|
2902
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2903
|
+
}, "strip", z.ZodTypeAny, {
|
|
3020
2904
|
message: string;
|
|
3021
2905
|
success: false;
|
|
3022
2906
|
errors?: any;
|
|
@@ -3030,23 +2914,23 @@ export declare const apiContract: {
|
|
|
3030
2914
|
generateSubscriptionLink: {
|
|
3031
2915
|
summary: "Generate Telegram bot subscription link";
|
|
3032
2916
|
method: "POST";
|
|
3033
|
-
body:
|
|
2917
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3034
2918
|
path: "/api/notifications/generate-link";
|
|
3035
2919
|
responses: {
|
|
3036
|
-
200:
|
|
3037
|
-
success:
|
|
3038
|
-
message:
|
|
3039
|
-
data:
|
|
3040
|
-
link:
|
|
3041
|
-
token:
|
|
3042
|
-
}, "strip",
|
|
2920
|
+
200: z.ZodObject<{
|
|
2921
|
+
success: z.ZodLiteral<true>;
|
|
2922
|
+
message: z.ZodString;
|
|
2923
|
+
data: z.ZodObject<{
|
|
2924
|
+
link: z.ZodString;
|
|
2925
|
+
token: z.ZodString;
|
|
2926
|
+
}, "strip", z.ZodTypeAny, {
|
|
3043
2927
|
link: string;
|
|
3044
2928
|
token: string;
|
|
3045
2929
|
}, {
|
|
3046
2930
|
link: string;
|
|
3047
2931
|
token: string;
|
|
3048
2932
|
}>;
|
|
3049
|
-
}, "strip",
|
|
2933
|
+
}, "strip", z.ZodTypeAny, {
|
|
3050
2934
|
message: string;
|
|
3051
2935
|
success: true;
|
|
3052
2936
|
data: {
|
|
@@ -3061,11 +2945,11 @@ export declare const apiContract: {
|
|
|
3061
2945
|
token: string;
|
|
3062
2946
|
};
|
|
3063
2947
|
}>;
|
|
3064
|
-
401:
|
|
3065
|
-
success:
|
|
3066
|
-
message:
|
|
3067
|
-
errors:
|
|
3068
|
-
}, "strip",
|
|
2948
|
+
401: z.ZodObject<{
|
|
2949
|
+
success: z.ZodLiteral<false>;
|
|
2950
|
+
message: z.ZodString;
|
|
2951
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2952
|
+
}, "strip", z.ZodTypeAny, {
|
|
3069
2953
|
message: string;
|
|
3070
2954
|
success: false;
|
|
3071
2955
|
errors?: any;
|
|
@@ -3074,11 +2958,11 @@ export declare const apiContract: {
|
|
|
3074
2958
|
success: false;
|
|
3075
2959
|
errors?: any;
|
|
3076
2960
|
}>;
|
|
3077
|
-
500:
|
|
3078
|
-
success:
|
|
3079
|
-
message:
|
|
3080
|
-
errors:
|
|
3081
|
-
}, "strip",
|
|
2961
|
+
500: z.ZodObject<{
|
|
2962
|
+
success: z.ZodLiteral<false>;
|
|
2963
|
+
message: z.ZodString;
|
|
2964
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
2965
|
+
}, "strip", z.ZodTypeAny, {
|
|
3082
2966
|
message: string;
|
|
3083
2967
|
success: false;
|
|
3084
2968
|
errors?: any;
|
|
@@ -3092,32 +2976,32 @@ export declare const apiContract: {
|
|
|
3092
2976
|
handleTelegramWebhook: {
|
|
3093
2977
|
summary: "Telegram bot webhook endpoint (public)";
|
|
3094
2978
|
method: "POST";
|
|
3095
|
-
body:
|
|
3096
|
-
update_id:
|
|
3097
|
-
message:
|
|
3098
|
-
message_id:
|
|
3099
|
-
from:
|
|
3100
|
-
id:
|
|
3101
|
-
first_name:
|
|
3102
|
-
}, "strip",
|
|
2979
|
+
body: z.ZodObject<{
|
|
2980
|
+
update_id: z.ZodNumber;
|
|
2981
|
+
message: z.ZodOptional<z.ZodObject<{
|
|
2982
|
+
message_id: z.ZodNumber;
|
|
2983
|
+
from: z.ZodObject<{
|
|
2984
|
+
id: z.ZodNumber;
|
|
2985
|
+
first_name: z.ZodString;
|
|
2986
|
+
}, "strip", z.ZodTypeAny, {
|
|
3103
2987
|
id: number;
|
|
3104
2988
|
first_name: string;
|
|
3105
2989
|
}, {
|
|
3106
2990
|
id: number;
|
|
3107
2991
|
first_name: string;
|
|
3108
2992
|
}>;
|
|
3109
|
-
chat:
|
|
3110
|
-
id:
|
|
3111
|
-
type:
|
|
3112
|
-
}, "strip",
|
|
2993
|
+
chat: z.ZodObject<{
|
|
2994
|
+
id: z.ZodNumber;
|
|
2995
|
+
type: z.ZodString;
|
|
2996
|
+
}, "strip", z.ZodTypeAny, {
|
|
3113
2997
|
type: string;
|
|
3114
2998
|
id: number;
|
|
3115
2999
|
}, {
|
|
3116
3000
|
type: string;
|
|
3117
3001
|
id: number;
|
|
3118
3002
|
}>;
|
|
3119
|
-
text:
|
|
3120
|
-
}, "strip",
|
|
3003
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
}, "strip", z.ZodTypeAny, {
|
|
3121
3005
|
message_id: number;
|
|
3122
3006
|
from: {
|
|
3123
3007
|
id: number;
|
|
@@ -3140,7 +3024,7 @@ export declare const apiContract: {
|
|
|
3140
3024
|
};
|
|
3141
3025
|
text?: string | undefined;
|
|
3142
3026
|
}>>;
|
|
3143
|
-
}, "strip",
|
|
3027
|
+
}, "strip", z.ZodTypeAny, {
|
|
3144
3028
|
update_id: number;
|
|
3145
3029
|
message?: {
|
|
3146
3030
|
message_id: number;
|
|
@@ -3171,18 +3055,18 @@ export declare const apiContract: {
|
|
|
3171
3055
|
}>;
|
|
3172
3056
|
path: "/api/notifications/telegram/webhook";
|
|
3173
3057
|
responses: {
|
|
3174
|
-
200:
|
|
3175
|
-
ok:
|
|
3176
|
-
}, "strip",
|
|
3058
|
+
200: z.ZodObject<{
|
|
3059
|
+
ok: z.ZodBoolean;
|
|
3060
|
+
}, "strip", z.ZodTypeAny, {
|
|
3177
3061
|
ok: boolean;
|
|
3178
3062
|
}, {
|
|
3179
3063
|
ok: boolean;
|
|
3180
3064
|
}>;
|
|
3181
|
-
400:
|
|
3182
|
-
success:
|
|
3183
|
-
message:
|
|
3184
|
-
errors:
|
|
3185
|
-
}, "strip",
|
|
3065
|
+
400: z.ZodObject<{
|
|
3066
|
+
success: z.ZodLiteral<false>;
|
|
3067
|
+
message: z.ZodString;
|
|
3068
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3069
|
+
}, "strip", z.ZodTypeAny, {
|
|
3186
3070
|
message: string;
|
|
3187
3071
|
success: false;
|
|
3188
3072
|
errors?: any;
|
|
@@ -3191,11 +3075,11 @@ export declare const apiContract: {
|
|
|
3191
3075
|
success: false;
|
|
3192
3076
|
errors?: any;
|
|
3193
3077
|
}>;
|
|
3194
|
-
500:
|
|
3195
|
-
success:
|
|
3196
|
-
message:
|
|
3197
|
-
errors:
|
|
3198
|
-
}, "strip",
|
|
3078
|
+
500: z.ZodObject<{
|
|
3079
|
+
success: z.ZodLiteral<false>;
|
|
3080
|
+
message: z.ZodString;
|
|
3081
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3082
|
+
}, "strip", z.ZodTypeAny, {
|
|
3199
3083
|
message: string;
|
|
3200
3084
|
success: false;
|
|
3201
3085
|
errors?: any;
|
|
@@ -3213,34 +3097,34 @@ export declare const apiContract: {
|
|
|
3213
3097
|
method: "GET";
|
|
3214
3098
|
path: "/api/stats/platform";
|
|
3215
3099
|
responses: {
|
|
3216
|
-
200:
|
|
3217
|
-
success:
|
|
3218
|
-
message:
|
|
3219
|
-
data:
|
|
3220
|
-
totalJobs:
|
|
3221
|
-
totalChannels:
|
|
3222
|
-
totalUsers:
|
|
3223
|
-
activeUsers:
|
|
3224
|
-
jobsLast24h:
|
|
3225
|
-
}, "strip",
|
|
3226
|
-
totalJobs: number;
|
|
3100
|
+
200: z.ZodObject<{
|
|
3101
|
+
success: z.ZodLiteral<true>;
|
|
3102
|
+
message: z.ZodString;
|
|
3103
|
+
data: z.ZodObject<{
|
|
3104
|
+
totalJobs: z.ZodNumber;
|
|
3105
|
+
totalChannels: z.ZodNumber;
|
|
3106
|
+
totalUsers: z.ZodNumber;
|
|
3107
|
+
activeUsers: z.ZodNumber;
|
|
3108
|
+
jobsLast24h: z.ZodNumber;
|
|
3109
|
+
}, "strip", z.ZodTypeAny, {
|
|
3227
3110
|
totalChannels: number;
|
|
3111
|
+
totalJobs: number;
|
|
3228
3112
|
totalUsers: number;
|
|
3229
3113
|
activeUsers: number;
|
|
3230
3114
|
jobsLast24h: number;
|
|
3231
3115
|
}, {
|
|
3232
|
-
totalJobs: number;
|
|
3233
3116
|
totalChannels: number;
|
|
3117
|
+
totalJobs: number;
|
|
3234
3118
|
totalUsers: number;
|
|
3235
3119
|
activeUsers: number;
|
|
3236
3120
|
jobsLast24h: number;
|
|
3237
3121
|
}>;
|
|
3238
|
-
}, "strip",
|
|
3122
|
+
}, "strip", z.ZodTypeAny, {
|
|
3239
3123
|
message: string;
|
|
3240
3124
|
success: true;
|
|
3241
3125
|
data: {
|
|
3242
|
-
totalJobs: number;
|
|
3243
3126
|
totalChannels: number;
|
|
3127
|
+
totalJobs: number;
|
|
3244
3128
|
totalUsers: number;
|
|
3245
3129
|
activeUsers: number;
|
|
3246
3130
|
jobsLast24h: number;
|
|
@@ -3249,18 +3133,18 @@ export declare const apiContract: {
|
|
|
3249
3133
|
message: string;
|
|
3250
3134
|
success: true;
|
|
3251
3135
|
data: {
|
|
3252
|
-
totalJobs: number;
|
|
3253
3136
|
totalChannels: number;
|
|
3137
|
+
totalJobs: number;
|
|
3254
3138
|
totalUsers: number;
|
|
3255
3139
|
activeUsers: number;
|
|
3256
3140
|
jobsLast24h: number;
|
|
3257
3141
|
};
|
|
3258
3142
|
}>;
|
|
3259
|
-
500:
|
|
3260
|
-
success:
|
|
3261
|
-
message:
|
|
3262
|
-
errors:
|
|
3263
|
-
}, "strip",
|
|
3143
|
+
500: z.ZodObject<{
|
|
3144
|
+
success: z.ZodLiteral<false>;
|
|
3145
|
+
message: z.ZodString;
|
|
3146
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3147
|
+
}, "strip", z.ZodTypeAny, {
|
|
3264
3148
|
message: string;
|
|
3265
3149
|
success: false;
|
|
3266
3150
|
errors?: any;
|
|
@@ -3276,10 +3160,10 @@ export declare const apiContract: {
|
|
|
3276
3160
|
submitFeedback: {
|
|
3277
3161
|
summary: "Submit user feedback";
|
|
3278
3162
|
method: "POST";
|
|
3279
|
-
body:
|
|
3280
|
-
message:
|
|
3281
|
-
type:
|
|
3282
|
-
}, "strip",
|
|
3163
|
+
body: z.ZodObject<{
|
|
3164
|
+
message: z.ZodString;
|
|
3165
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
}, "strip", z.ZodTypeAny, {
|
|
3283
3167
|
message: string;
|
|
3284
3168
|
type?: string | undefined;
|
|
3285
3169
|
}, {
|
|
@@ -3288,17 +3172,17 @@ export declare const apiContract: {
|
|
|
3288
3172
|
}>;
|
|
3289
3173
|
path: "/api/feedback";
|
|
3290
3174
|
responses: {
|
|
3291
|
-
200:
|
|
3292
|
-
success:
|
|
3293
|
-
message:
|
|
3294
|
-
data:
|
|
3295
|
-
success:
|
|
3296
|
-
}, "strip",
|
|
3175
|
+
200: z.ZodObject<{
|
|
3176
|
+
success: z.ZodLiteral<true>;
|
|
3177
|
+
message: z.ZodString;
|
|
3178
|
+
data: z.ZodObject<{
|
|
3179
|
+
success: z.ZodBoolean;
|
|
3180
|
+
}, "strip", z.ZodTypeAny, {
|
|
3297
3181
|
success: boolean;
|
|
3298
3182
|
}, {
|
|
3299
3183
|
success: boolean;
|
|
3300
3184
|
}>;
|
|
3301
|
-
}, "strip",
|
|
3185
|
+
}, "strip", z.ZodTypeAny, {
|
|
3302
3186
|
message: string;
|
|
3303
3187
|
success: true;
|
|
3304
3188
|
data: {
|
|
@@ -3311,11 +3195,11 @@ export declare const apiContract: {
|
|
|
3311
3195
|
success: boolean;
|
|
3312
3196
|
};
|
|
3313
3197
|
}>;
|
|
3314
|
-
400:
|
|
3315
|
-
success:
|
|
3316
|
-
message:
|
|
3317
|
-
errors:
|
|
3318
|
-
}, "strip",
|
|
3198
|
+
400: z.ZodObject<{
|
|
3199
|
+
success: z.ZodLiteral<false>;
|
|
3200
|
+
message: z.ZodString;
|
|
3201
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3202
|
+
}, "strip", z.ZodTypeAny, {
|
|
3319
3203
|
message: string;
|
|
3320
3204
|
success: false;
|
|
3321
3205
|
errors?: any;
|
|
@@ -3324,11 +3208,11 @@ export declare const apiContract: {
|
|
|
3324
3208
|
success: false;
|
|
3325
3209
|
errors?: any;
|
|
3326
3210
|
}>;
|
|
3327
|
-
401:
|
|
3328
|
-
success:
|
|
3329
|
-
message:
|
|
3330
|
-
errors:
|
|
3331
|
-
}, "strip",
|
|
3211
|
+
401: z.ZodObject<{
|
|
3212
|
+
success: z.ZodLiteral<false>;
|
|
3213
|
+
message: z.ZodString;
|
|
3214
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3215
|
+
}, "strip", z.ZodTypeAny, {
|
|
3332
3216
|
message: string;
|
|
3333
3217
|
success: false;
|
|
3334
3218
|
errors?: any;
|
|
@@ -3337,11 +3221,11 @@ export declare const apiContract: {
|
|
|
3337
3221
|
success: false;
|
|
3338
3222
|
errors?: any;
|
|
3339
3223
|
}>;
|
|
3340
|
-
500:
|
|
3341
|
-
success:
|
|
3342
|
-
message:
|
|
3343
|
-
errors:
|
|
3344
|
-
}, "strip",
|
|
3224
|
+
500: z.ZodObject<{
|
|
3225
|
+
success: z.ZodLiteral<false>;
|
|
3226
|
+
message: z.ZodString;
|
|
3227
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3228
|
+
}, "strip", z.ZodTypeAny, {
|
|
3345
3229
|
message: string;
|
|
3346
3230
|
success: false;
|
|
3347
3231
|
errors?: any;
|
|
@@ -3359,20 +3243,20 @@ export declare const apiContract: {
|
|
|
3359
3243
|
method: "GET";
|
|
3360
3244
|
path: "/api/bundles";
|
|
3361
3245
|
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",
|
|
3246
|
+
200: z.ZodObject<{
|
|
3247
|
+
success: z.ZodLiteral<true>;
|
|
3248
|
+
message: z.ZodString;
|
|
3249
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3250
|
+
id: z.ZodString;
|
|
3251
|
+
name: z.ZodString;
|
|
3252
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3253
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
3254
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3255
|
+
isActive: z.ZodBoolean;
|
|
3256
|
+
order: z.ZodNumber;
|
|
3257
|
+
createdAt: z.ZodString;
|
|
3258
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3259
|
+
}, "strip", z.ZodTypeAny, {
|
|
3376
3260
|
id: string;
|
|
3377
3261
|
createdAt: string;
|
|
3378
3262
|
isActive: boolean;
|
|
@@ -3393,7 +3277,7 @@ export declare const apiContract: {
|
|
|
3393
3277
|
updatedAt?: string | undefined;
|
|
3394
3278
|
category?: string | undefined;
|
|
3395
3279
|
}>, "many">;
|
|
3396
|
-
}, "strip",
|
|
3280
|
+
}, "strip", z.ZodTypeAny, {
|
|
3397
3281
|
message: string;
|
|
3398
3282
|
success: true;
|
|
3399
3283
|
data: {
|
|
@@ -3422,11 +3306,11 @@ export declare const apiContract: {
|
|
|
3422
3306
|
category?: string | undefined;
|
|
3423
3307
|
}[];
|
|
3424
3308
|
}>;
|
|
3425
|
-
500:
|
|
3426
|
-
success:
|
|
3427
|
-
message:
|
|
3428
|
-
errors:
|
|
3429
|
-
}, "strip",
|
|
3309
|
+
500: z.ZodObject<{
|
|
3310
|
+
success: z.ZodLiteral<false>;
|
|
3311
|
+
message: z.ZodString;
|
|
3312
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3313
|
+
}, "strip", z.ZodTypeAny, {
|
|
3430
3314
|
message: string;
|
|
3431
3315
|
success: false;
|
|
3432
3316
|
errors?: any;
|
|
@@ -3442,20 +3326,20 @@ export declare const apiContract: {
|
|
|
3442
3326
|
method: "GET";
|
|
3443
3327
|
path: "/api/bundles/:id";
|
|
3444
3328
|
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",
|
|
3329
|
+
200: z.ZodObject<{
|
|
3330
|
+
success: z.ZodLiteral<true>;
|
|
3331
|
+
message: z.ZodString;
|
|
3332
|
+
data: z.ZodObject<{
|
|
3333
|
+
id: z.ZodString;
|
|
3334
|
+
name: z.ZodString;
|
|
3335
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3336
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
3337
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3338
|
+
isActive: z.ZodBoolean;
|
|
3339
|
+
order: z.ZodNumber;
|
|
3340
|
+
createdAt: z.ZodString;
|
|
3341
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3342
|
+
}, "strip", z.ZodTypeAny, {
|
|
3459
3343
|
id: string;
|
|
3460
3344
|
createdAt: string;
|
|
3461
3345
|
isActive: boolean;
|
|
@@ -3476,7 +3360,7 @@ export declare const apiContract: {
|
|
|
3476
3360
|
updatedAt?: string | undefined;
|
|
3477
3361
|
category?: string | undefined;
|
|
3478
3362
|
}>;
|
|
3479
|
-
}, "strip",
|
|
3363
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
3364
|
message: string;
|
|
3481
3365
|
success: true;
|
|
3482
3366
|
data: {
|
|
@@ -3505,11 +3389,11 @@ export declare const apiContract: {
|
|
|
3505
3389
|
category?: string | undefined;
|
|
3506
3390
|
};
|
|
3507
3391
|
}>;
|
|
3508
|
-
404:
|
|
3509
|
-
success:
|
|
3510
|
-
message:
|
|
3511
|
-
errors:
|
|
3512
|
-
}, "strip",
|
|
3392
|
+
404: z.ZodObject<{
|
|
3393
|
+
success: z.ZodLiteral<false>;
|
|
3394
|
+
message: z.ZodString;
|
|
3395
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3396
|
+
}, "strip", z.ZodTypeAny, {
|
|
3513
3397
|
message: string;
|
|
3514
3398
|
success: false;
|
|
3515
3399
|
errors?: any;
|
|
@@ -3518,11 +3402,11 @@ export declare const apiContract: {
|
|
|
3518
3402
|
success: false;
|
|
3519
3403
|
errors?: any;
|
|
3520
3404
|
}>;
|
|
3521
|
-
500:
|
|
3522
|
-
success:
|
|
3523
|
-
message:
|
|
3524
|
-
errors:
|
|
3525
|
-
}, "strip",
|
|
3405
|
+
500: z.ZodObject<{
|
|
3406
|
+
success: z.ZodLiteral<false>;
|
|
3407
|
+
message: z.ZodString;
|
|
3408
|
+
errors: z.ZodOptional<z.ZodAny>;
|
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
|
3526
3410
|
message: string;
|
|
3527
3411
|
success: false;
|
|
3528
3412
|
errors?: any;
|
|
@@ -3544,4 +3428,25 @@ export * from './schemas/bundles';
|
|
|
3544
3428
|
export * from './schemas/errors';
|
|
3545
3429
|
export { initContract } from '@ts-rest/core';
|
|
3546
3430
|
export type { ClientInferRequest, ClientInferResponses } from '@ts-rest/core';
|
|
3431
|
+
import { z } from 'zod';
|
|
3432
|
+
import { JobSchema, JobFiltersSchema, JobsResponseSchema, ContactInfoSchema, ParsedJobDataSchema } from './schemas/jobs';
|
|
3433
|
+
import { ChannelSchema, CategorySchema, ExploreChannelsResponseSchema } from './schemas/channels';
|
|
3434
|
+
import { UserPreferencesSchema, NotificationSettingsSchema, QuietHoursSchema } from './schemas/user';
|
|
3435
|
+
import { BundleSchema } from './schemas/bundles';
|
|
3436
|
+
import { PaginationSchema } from './schemas/common';
|
|
3437
|
+
import { ErrorResponseSchema } from './schemas/errors';
|
|
3438
|
+
export type Job = z.infer<typeof JobSchema>;
|
|
3439
|
+
export type JobFilters = z.infer<typeof JobFiltersSchema>;
|
|
3440
|
+
export type JobsResponse = z.infer<typeof JobsResponseSchema>;
|
|
3441
|
+
export type ContactInfo = z.infer<typeof ContactInfoSchema>;
|
|
3442
|
+
export type ParsedJobData = z.infer<typeof ParsedJobDataSchema>;
|
|
3443
|
+
export type Channel = z.infer<typeof ChannelSchema>;
|
|
3444
|
+
export type Category = z.infer<typeof CategorySchema>;
|
|
3445
|
+
export type ExploreChannelsResponse = z.infer<typeof ExploreChannelsResponseSchema>;
|
|
3446
|
+
export type UserPreferences = z.infer<typeof UserPreferencesSchema>;
|
|
3447
|
+
export type NotificationSettings = z.infer<typeof NotificationSettingsSchema>;
|
|
3448
|
+
export type QuietHours = z.infer<typeof QuietHoursSchema>;
|
|
3449
|
+
export type Bundle = z.infer<typeof BundleSchema>;
|
|
3450
|
+
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
3451
|
+
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
3547
3452
|
//# sourceMappingURL=index.d.ts.map
|