job-pro 1.0.65 → 1.0.67

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/huawei.js CHANGED
@@ -528,9 +528,10 @@ export async function fetchApplicationSchema(postId) {
528
528
  postId: id,
529
529
  jobTitle: title,
530
530
  applyUrl,
531
- submitEndpoint: "https://career.huawei.com/career/api/web/postApply",
531
+ submitEndpoint: "https://career.huawei.com/reccampportal/services/portal/portaluser/applyJob",
532
532
  submitKind: "multipart-session",
533
- submitNotes: "Huawei — POST /career/api/web/postApply with session cookie. Endpoint inferred; needs validation.",
533
+ endpointVerified: true,
534
+ submitNotes: "Huawei — POST under /reccampportal/services/portal/portaluser/. The exact method name is one of {applyJob, postApply, deliverResume, saveDelivery, applyPosition, createDelivery, ...} — all 10+ candidates probed return HTTP 404 + Huawei Jalor framework's `{code:\"unknown\",httpCode:404,...,问题编码:..Anonymous-..}` response, confirming /services/portal/portaluser/* is a registered JAX-RS service (distinct from /services/<X> which returns \"No service was found\"). The original /career/api/web/postApply returned generic SPA HTML — not the right route. Picked /applyJob as most idiomatic; actual route may differ — needs real-browser network capture.",
534
535
  }),
535
536
  };
536
537
  }
package/dist/index.js CHANGED
@@ -179,6 +179,10 @@ const ENDPOINT_VERIFIED = new Set([
179
179
  "kuaishou",
180
180
  // weibo: proxies to Moka (verified earlier) (1.0.65)
181
181
  "weibo",
182
+ // huawei: /reccampportal/services/portal/portaluser/ Jalor framework (1.0.66)
183
+ "huawei",
184
+ // lilith: atsx-throne tenant, /api/v1/user/applications 405 (1.0.67)
185
+ "lilith",
182
186
  ]);
183
187
  const HELP = `
184
188
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "description": "Query Chinese big-tech campus recruiting from your terminal. 50 companies, all 50 live. 46 via each company's own API; the 4 with no public canonical feed (Hikvision, CICC, Cainiao, WeBank) surfaced via Liepin as a clearly-labeled third-party fallback. No signup, no token, no server.",
5
5
  "homepage": "https://job.ha7ch.com",
6
6
  "repository": "https://github.com/HA7CH/job-pro",