boondmanager-mcp-server 1.5.0 → 1.5.2
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/LICENSE +200 -21
- package/NOTICE +11 -0
- package/README.md +75 -5
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/prompts/index.d.ts +10 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +207 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/resources/index.d.ts +9 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +90 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/schemas/index.d.ts +219 -64
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +200 -84
- package/dist/schemas/index.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +4 -0
- package/dist/server.js.map +1 -1
- package/dist/services/boond-client.d.ts +15 -0
- package/dist/services/boond-client.d.ts.map +1 -1
- package/dist/services/boond-client.js +77 -4
- package/dist/services/boond-client.js.map +1 -1
- package/dist/tools/candidates.d.ts.map +1 -1
- package/dist/tools/candidates.js +12 -10
- package/dist/tools/candidates.js.map +1 -1
- package/dist/tools/companies.d.ts.map +1 -1
- package/dist/tools/companies.js +15 -12
- package/dist/tools/companies.js.map +1 -1
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/contacts.js +15 -12
- package/dist/tools/contacts.js.map +1 -1
- package/dist/tools/opportunities.d.ts.map +1 -1
- package/dist/tools/opportunities.js +12 -9
- package/dist/tools/opportunities.js.map +1 -1
- package/dist/tools/projects.d.ts.map +1 -1
- package/dist/tools/projects.js +12 -9
- package/dist/tools/projects.js.map +1 -1
- package/dist/tools/resources.d.ts.map +1 -1
- package/dist/tools/resources.js +15 -13
- package/dist/tools/resources.js.map +1 -1
- package/manifest.json +3 -3
- package/package.json +7 -4
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { apiRequest } from "../services/boond-client.js";
|
|
2
|
+
/**
|
|
3
|
+
* Well-known Boond dictionaries surfaced as static MCP resources. We keep
|
|
4
|
+
* this list deliberately curated — better to expose the dozen the search
|
|
5
|
+
* tools actually depend on than the hundreds of obscure config dicts.
|
|
6
|
+
*/
|
|
7
|
+
const DICTIONARIES = [
|
|
8
|
+
// states/* — used to translate the integer `state` attribute on entities
|
|
9
|
+
{ slug: "states/resources", title: "États ressources", description: "Libellés des états de ressource (collaborateur)." },
|
|
10
|
+
{ slug: "states/candidates", title: "États candidats", description: "Libellés des états de candidat." },
|
|
11
|
+
{ slug: "states/contacts", title: "États contacts", description: "Libellés des états de contact." },
|
|
12
|
+
{ slug: "states/companies", title: "États sociétés", description: "Libellés des états de société." },
|
|
13
|
+
{ slug: "states/opportunities", title: "États opportunités", description: "Libellés des états d'opportunité commerciale." },
|
|
14
|
+
{ slug: "states/projects", title: "États projets", description: "Libellés des états de projet/mission." },
|
|
15
|
+
{ slug: "states/invoices", title: "États factures", description: "Libellés des états de facture client." },
|
|
16
|
+
{ slug: "states/orders", title: "États bons de commande", description: "Libellés des états de bon de commande." },
|
|
17
|
+
{ slug: "states/positionings", title: "États positionnements", description: "Libellés des états de positionnement." },
|
|
18
|
+
{ slug: "states/absences", title: "États absences", description: "Libellés des états des demandes d'absence." },
|
|
19
|
+
// typeOf/* — used to translate the integer `typeOf` attribute on entities
|
|
20
|
+
{ slug: "typeOf/resources", title: "Types ressources", description: "Types de ressource (interne, sous-traitant, freelance...)." },
|
|
21
|
+
{ slug: "typeOf/candidates", title: "Types candidats", description: "Types de candidat." },
|
|
22
|
+
{ slug: "typeOf/contacts", title: "Types contacts", description: "Types de contact." },
|
|
23
|
+
{ slug: "typeOf/projects", title: "Types projets", description: "Types de projet (régie, forfait, produit...)." },
|
|
24
|
+
{ slug: "typeOf/actions", title: "Types actions", description: "Types d'action (appel, email, RDV, note...)." },
|
|
25
|
+
{ slug: "typeOf/absences", title: "Types absences", description: "Types d'absence (CP, RTT, maladie, sans solde...)." },
|
|
26
|
+
// Global lookups
|
|
27
|
+
{ slug: "countries", title: "Pays", description: "Liste des pays (codes ISO + libellés)." },
|
|
28
|
+
{ slug: "currencies", title: "Devises", description: "Liste des devises supportées." },
|
|
29
|
+
{ slug: "languages", title: "Langues", description: "Liste des langues parlées." },
|
|
30
|
+
];
|
|
31
|
+
/** URI prefix under which all dictionaries are exposed. */
|
|
32
|
+
const DICTIONARY_URI_PREFIX = "boond://dictionary/";
|
|
33
|
+
/** URI of the cached identity resource. */
|
|
34
|
+
const CURRENT_USER_URI = "boond://application/current-user";
|
|
35
|
+
function buildResourceUri(slug) {
|
|
36
|
+
return `${DICTIONARY_URI_PREFIX}${slug}`;
|
|
37
|
+
}
|
|
38
|
+
/** Exposed for tests; lets us assert the catalog without booting a server. */
|
|
39
|
+
export const REGISTERED_RESOURCES = [
|
|
40
|
+
...DICTIONARIES.map((d) => ({
|
|
41
|
+
name: `dictionary/${d.slug}`,
|
|
42
|
+
uri: buildResourceUri(d.slug),
|
|
43
|
+
title: d.title,
|
|
44
|
+
})),
|
|
45
|
+
{ name: "application/current-user", uri: CURRENT_USER_URI, title: "Utilisateur courant" },
|
|
46
|
+
];
|
|
47
|
+
export function registerAllResources(server) {
|
|
48
|
+
for (const dict of DICTIONARIES) {
|
|
49
|
+
const uri = buildResourceUri(dict.slug);
|
|
50
|
+
server.registerResource(`dictionary/${dict.slug}`, uri, {
|
|
51
|
+
title: dict.title,
|
|
52
|
+
description: dict.description,
|
|
53
|
+
mimeType: "application/json",
|
|
54
|
+
}, async () => {
|
|
55
|
+
// Mirror the path used by the boond_application_dictionary tool so
|
|
56
|
+
// both read paths stay in sync if the upstream API moves.
|
|
57
|
+
const response = await apiRequest(`/application/dictionaries/${dict.slug}`);
|
|
58
|
+
return {
|
|
59
|
+
contents: [
|
|
60
|
+
{
|
|
61
|
+
uri,
|
|
62
|
+
mimeType: "application/json",
|
|
63
|
+
text: JSON.stringify(response, null, 2),
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
};
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
// The current-user resource is a convenience for prompts/tools that need
|
|
70
|
+
// the caller's userId without first issuing a tool call. The body is the
|
|
71
|
+
// full /application/current-user payload.
|
|
72
|
+
server.registerResource("application/current-user", CURRENT_USER_URI, {
|
|
73
|
+
title: "Utilisateur courant",
|
|
74
|
+
description: "Profil de l'utilisateur authentifié auprès de l'API BoondManager (id, agence, permissions). "
|
|
75
|
+
+ "Utile pour résoudre 'mon ID' avant un appel filtré par perimeterManagers.",
|
|
76
|
+
mimeType: "application/json",
|
|
77
|
+
}, async () => {
|
|
78
|
+
const response = await apiRequest("/application/current-user");
|
|
79
|
+
return {
|
|
80
|
+
contents: [
|
|
81
|
+
{
|
|
82
|
+
uri: CURRENT_USER_URI,
|
|
83
|
+
mimeType: "application/json",
|
|
84
|
+
text: JSON.stringify(response, null, 2),
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AA8BzD;;;;GAIG;AACH,MAAM,YAAY,GAAsB;IACtC,yEAAyE;IACzE,EAAE,IAAI,EAAE,kBAAkB,EAAM,KAAK,EAAE,kBAAkB,EAAM,WAAW,EAAE,kDAAkD,EAAE;IAChI,EAAE,IAAI,EAAE,mBAAmB,EAAK,KAAK,EAAE,iBAAiB,EAAO,WAAW,EAAE,iCAAiC,EAAE;IAC/G,EAAE,IAAI,EAAE,iBAAiB,EAAO,KAAK,EAAE,gBAAgB,EAAQ,WAAW,EAAE,gCAAgC,EAAE;IAC9G,EAAE,IAAI,EAAE,kBAAkB,EAAM,KAAK,EAAE,gBAAgB,EAAQ,WAAW,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,6BAA6B,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;YAC5E,OAAO;gBACL,QAAQ,EAAE;oBACR;wBACE,GAAG;wBACH,QAAQ,EAAE,kBAAkB;wBAC5B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;qBACxC;iBACF;aACF,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,yEAAyE;IACzE,yEAAyE;IACzE,0CAA0C;IAC1C,MAAM,CAAC,gBAAgB,CACrB,0BAA0B,EAC1B,gBAAgB,EAChB;QACE,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACT,8FAA8F;cAC5F,2EAA2E;QAC/E,QAAQ,EAAE,kBAAkB;KAC7B,EACD,KAAK,IAAI,EAAE;QACT,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,2BAA2B,CAAC,CAAC;QAC/D,OAAO;YACL,QAAQ,EAAE;gBACR;oBACE,GAAG,EAAE,gBAAgB;oBACrB,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;iBACxC;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -6,17 +6,57 @@ export declare const SearchSchema: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strict>;
|
|
7
7
|
export declare const ResourceSearchSchema: z.ZodObject<{
|
|
8
8
|
keywords: z.ZodOptional<z.ZodString>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
keywordsType: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
firstName: "firstName";
|
|
11
|
+
lastName: "lastName";
|
|
12
|
+
title: "title";
|
|
13
|
+
resumeTd: "resumeTd";
|
|
14
|
+
fullName: "fullName";
|
|
15
|
+
strictFullName: "strictFullName";
|
|
16
|
+
emails: "emails";
|
|
17
|
+
titleSkills: "titleSkills";
|
|
18
|
+
phones: "phones";
|
|
19
|
+
reference: "reference";
|
|
20
|
+
resume: "resume";
|
|
21
|
+
td: "td";
|
|
22
|
+
}>>;
|
|
23
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
24
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
25
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
26
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
27
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28
|
+
data: "data";
|
|
29
|
+
agencies: "agencies";
|
|
30
|
+
poles: "poles";
|
|
31
|
+
businessUnits: "businessUnits";
|
|
32
|
+
managers: "managers";
|
|
33
|
+
}>>>;
|
|
34
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
resourceStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
36
|
+
excludeResourceStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
37
|
+
resourceTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
38
|
+
excludeResourceTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16
39
|
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
experiences: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
43
|
+
trainings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
+
mobilityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
45
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
-
|
|
19
|
-
|
|
46
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
47
|
+
period: z.ZodOptional<z.ZodString>;
|
|
48
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
49
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
50
|
+
providerCompanies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
51
|
+
coordinates: z.ZodOptional<z.ZodString>;
|
|
52
|
+
location: z.ZodOptional<z.ZodString>;
|
|
53
|
+
geoDistance: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
excludeManager: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
56
|
+
minimum: "minimum";
|
|
57
|
+
uncomplete: "uncomplete";
|
|
58
|
+
complete: "complete";
|
|
59
|
+
}>>>;
|
|
20
60
|
sort: z.ZodOptional<z.ZodString>;
|
|
21
61
|
order: z.ZodOptional<z.ZodEnum<{
|
|
22
62
|
asc: "asc";
|
|
@@ -27,20 +67,62 @@ export declare const ResourceSearchSchema: z.ZodObject<{
|
|
|
27
67
|
}, z.core.$strict>;
|
|
28
68
|
export declare const CandidateSearchSchema: z.ZodObject<{
|
|
29
69
|
keywords: z.ZodOptional<z.ZodString>;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
70
|
+
keywordsType: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
firstName: "firstName";
|
|
72
|
+
lastName: "lastName";
|
|
73
|
+
title: "title";
|
|
74
|
+
resumeTd: "resumeTd";
|
|
75
|
+
fullName: "fullName";
|
|
76
|
+
strictFullName: "strictFullName";
|
|
77
|
+
emails: "emails";
|
|
78
|
+
titleSkills: "titleSkills";
|
|
79
|
+
phones: "phones";
|
|
80
|
+
reference: "reference";
|
|
81
|
+
resume: "resume";
|
|
82
|
+
td: "td";
|
|
83
|
+
}>>;
|
|
84
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
85
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
86
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
87
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
88
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
89
|
+
data: "data";
|
|
90
|
+
agencies: "agencies";
|
|
91
|
+
poles: "poles";
|
|
92
|
+
businessUnits: "businessUnits";
|
|
93
|
+
managers: "managers";
|
|
94
|
+
}>>>;
|
|
95
|
+
perimeterManagersType: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
main: "main";
|
|
97
|
+
hr: "hr";
|
|
98
|
+
}>>;
|
|
99
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
candidateStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
101
|
+
candidateTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
102
|
+
contractTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
103
|
+
availabilityTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
37
104
|
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
-
|
|
39
|
-
|
|
105
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
+
experiences: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
108
|
+
trainings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
109
|
mobilityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
110
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
+
evaluations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
114
|
+
period: z.ZodOptional<z.ZodString>;
|
|
115
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
116
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
117
|
+
providerCompanies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
118
|
+
coordinates: z.ZodOptional<z.ZodString>;
|
|
119
|
+
location: z.ZodOptional<z.ZodString>;
|
|
120
|
+
geoDistance: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
122
|
+
minimum: "minimum";
|
|
123
|
+
uncomplete: "uncomplete";
|
|
124
|
+
complete: "complete";
|
|
125
|
+
}>>>;
|
|
44
126
|
sort: z.ZodOptional<z.ZodString>;
|
|
45
127
|
order: z.ZodOptional<z.ZodEnum<{
|
|
46
128
|
asc: "asc";
|
|
@@ -51,16 +133,47 @@ export declare const CandidateSearchSchema: z.ZodObject<{
|
|
|
51
133
|
}, z.core.$strict>;
|
|
52
134
|
export declare const ContactSearchSchema: z.ZodObject<{
|
|
53
135
|
keywords: z.ZodOptional<z.ZodString>;
|
|
54
|
-
|
|
136
|
+
keywordsType: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
default: "default";
|
|
138
|
+
firstName: "firstName";
|
|
139
|
+
lastName: "lastName";
|
|
140
|
+
fullName: "fullName";
|
|
141
|
+
strictFullName: "strictFullName";
|
|
142
|
+
emails: "emails";
|
|
143
|
+
phones: "phones";
|
|
144
|
+
companyFullName: "companyFullName";
|
|
145
|
+
socialNetworks: "socialNetworks";
|
|
146
|
+
}>>;
|
|
147
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
148
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
149
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
150
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
151
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
152
|
+
data: "data";
|
|
153
|
+
agencies: "agencies";
|
|
154
|
+
poles: "poles";
|
|
155
|
+
businessUnits: "businessUnits";
|
|
156
|
+
managers: "managers";
|
|
157
|
+
}>>>;
|
|
158
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
55
159
|
states: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
businessUnits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
-
company: z.ZodOptional<z.ZodString>;
|
|
60
|
-
typeOf: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
+
companyStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
161
|
+
typesOf: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
61
162
|
origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
163
|
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
-
|
|
164
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
166
|
+
influencers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
167
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
168
|
+
period: z.ZodOptional<z.ZodString>;
|
|
169
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
170
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
171
|
+
completeness: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
173
|
+
minimum: "minimum";
|
|
174
|
+
uncomplete: "uncomplete";
|
|
175
|
+
complete: "complete";
|
|
176
|
+
}>>>;
|
|
64
177
|
sort: z.ZodOptional<z.ZodString>;
|
|
65
178
|
order: z.ZodOptional<z.ZodEnum<{
|
|
66
179
|
asc: "asc";
|
|
@@ -71,15 +184,38 @@ export declare const ContactSearchSchema: z.ZodObject<{
|
|
|
71
184
|
}, z.core.$strict>;
|
|
72
185
|
export declare const CompanySearchSchema: z.ZodObject<{
|
|
73
186
|
keywords: z.ZodOptional<z.ZodString>;
|
|
74
|
-
|
|
187
|
+
keywordsType: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
default: "default";
|
|
189
|
+
name: "name";
|
|
190
|
+
emails: "emails";
|
|
191
|
+
phones: "phones";
|
|
192
|
+
socialNetworks: "socialNetworks";
|
|
193
|
+
}>>;
|
|
194
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
195
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
196
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
197
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
198
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
199
|
+
data: "data";
|
|
200
|
+
agencies: "agencies";
|
|
201
|
+
poles: "poles";
|
|
202
|
+
businessUnits: "businessUnits";
|
|
203
|
+
managers: "managers";
|
|
204
|
+
}>>>;
|
|
205
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
75
206
|
states: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
76
|
-
|
|
77
|
-
poles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
-
businessUnits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
-
typeOf: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
-
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
208
|
origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
|
-
|
|
209
|
+
influencers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
210
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
211
|
+
period: z.ZodOptional<z.ZodString>;
|
|
212
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
213
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
214
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
215
|
+
minimum: "minimum";
|
|
216
|
+
uncomplete: "uncomplete";
|
|
217
|
+
complete: "complete";
|
|
218
|
+
}>>>;
|
|
83
219
|
sort: z.ZodOptional<z.ZodString>;
|
|
84
220
|
order: z.ZodOptional<z.ZodEnum<{
|
|
85
221
|
asc: "asc";
|
|
@@ -90,24 +226,40 @@ export declare const CompanySearchSchema: z.ZodObject<{
|
|
|
90
226
|
}, z.core.$strict>;
|
|
91
227
|
export declare const OpportunitySearchSchema: z.ZodObject<{
|
|
92
228
|
keywords: z.ZodOptional<z.ZodString>;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
229
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
230
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
231
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
232
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
233
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
234
|
+
data: "data";
|
|
235
|
+
agencies: "agencies";
|
|
236
|
+
poles: "poles";
|
|
237
|
+
businessUnits: "businessUnits";
|
|
238
|
+
managers: "managers";
|
|
239
|
+
}>>>;
|
|
240
|
+
perimeterManagersType: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
main: "main";
|
|
242
|
+
hr: "hr";
|
|
243
|
+
}>>;
|
|
244
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
+
opportunityStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
246
|
+
opportunityTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
247
|
+
positioningStates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
249
|
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
250
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
places: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
252
|
+
durations: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
101
253
|
origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
update: "update";
|
|
105
|
-
startDate: "startDate";
|
|
106
|
-
endDate: "endDate";
|
|
107
|
-
}>>;
|
|
254
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
255
|
+
period: z.ZodOptional<z.ZodString>;
|
|
108
256
|
startDate: z.ZodOptional<z.ZodString>;
|
|
109
257
|
endDate: z.ZodOptional<z.ZodString>;
|
|
110
|
-
|
|
258
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
259
|
+
minimum: "minimum";
|
|
260
|
+
uncomplete: "uncomplete";
|
|
261
|
+
complete: "complete";
|
|
262
|
+
}>>>;
|
|
111
263
|
sort: z.ZodOptional<z.ZodString>;
|
|
112
264
|
order: z.ZodOptional<z.ZodEnum<{
|
|
113
265
|
asc: "asc";
|
|
@@ -118,24 +270,27 @@ export declare const OpportunitySearchSchema: z.ZodObject<{
|
|
|
118
270
|
}, z.core.$strict>;
|
|
119
271
|
export declare const ProjectSearchSchema: z.ZodObject<{
|
|
120
272
|
keywords: z.ZodOptional<z.ZodString>;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
273
|
+
perimeterManagers: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
274
|
+
perimeterAgencies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
275
|
+
perimeterPoles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
276
|
+
perimeterBusinessUnits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
277
|
+
perimeterDynamic: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
278
|
+
data: "data";
|
|
279
|
+
agencies: "agencies";
|
|
280
|
+
poles: "poles";
|
|
281
|
+
businessUnits: "businessUnits";
|
|
282
|
+
managers: "managers";
|
|
283
|
+
}>>>;
|
|
284
|
+
narrowPerimeter: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
projectStates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
286
|
+
projectTypes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
287
|
+
companies: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
288
|
+
expertiseAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
289
|
activityAreas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
update: "update";
|
|
133
|
-
startDate: "startDate";
|
|
134
|
-
endDate: "endDate";
|
|
135
|
-
}>>;
|
|
290
|
+
flags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
291
|
+
period: z.ZodOptional<z.ZodString>;
|
|
136
292
|
startDate: z.ZodOptional<z.ZodString>;
|
|
137
293
|
endDate: z.ZodOptional<z.ZodString>;
|
|
138
|
-
saved: z.ZodOptional<z.ZodString>;
|
|
139
294
|
sort: z.ZodOptional<z.ZodString>;
|
|
140
295
|
order: z.ZodOptional<z.ZodEnum<{
|
|
141
296
|
asc: "asc";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,YAAY;;;;kBAKd,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,YAAY;;;;kBAKd,CAAC;AAwCZ,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiEtB,CAAC;AAIZ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmDvB,CAAC;AAIZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8CrB,CAAC;AAIZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BrB,CAAC;AAIZ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyCzB,CAAC;AAIZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2BrB,CAAC;AAGZ,eAAO,MAAM,QAAQ;;kBAEV,CAAC;AAGZ,eAAO,MAAM,WAAW;;;kBAGb,CAAC;AAIZ,eAAO,MAAM,qBAAqB;;;;;;;;;;;kBAWvB,CAAC;AAEZ,eAAO,MAAM,q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