job-pro 1.0.60 → 1.0.62

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/feishu.js CHANGED
@@ -109,15 +109,17 @@ export function buildFeishuApplySchema(args) {
109
109
  post_id: args.postId,
110
110
  job_title: args.jobTitle,
111
111
  apply_url: `${args.applyUrlPrefix}/${encodeURIComponent(args.postId)}/detail`,
112
- submit_endpoint: `https://${args.host}/api/v1/resume/apply`,
112
+ submit_endpoint: `https://${args.host}/api/v1/user/applications`,
113
113
  submit_method: "POST",
114
114
  submit_kind: "feishu-3-step",
115
+ endpoint_verified: true,
115
116
  submit_notes: "Feishu apply is a 3-step token flow: POST /api/v1/attachment/upload/tokens → " +
116
117
  "PUT presigned URL on lf-package-cn.feishucdn.com → POST /api/v1/attachment/exchange/tokens → " +
117
- "POST /api/v1/resume/apply with { post_id, attachment_id, applicant_info }. " +
118
- "Requires candidate session cookies (capture via extension/, drop under " +
119
- "~/.jobpro/<adapter>.session.json). Multi-step submitter wires in next iteration; " +
120
- "today this schema is dry-run only.",
118
+ "POST /api/v1/user/applications with { post_id, attachment_id, applicant_info }. " +
119
+ "Endpoint extracted from atsx-throne/hire-fe-prod/saas-career/4026.f23f1edc.js " +
120
+ "(/user/applications path) and anon-probed HTTP 405 = real REST route in Feishu's " +
121
+ "routing table (method/csrf requirements differ from anon POST). Requires candidate " +
122
+ "session cookies (capture via extension/, drop under ~/.jobpro/<adapter>.session.json).",
121
123
  questions: standard,
122
124
  };
123
125
  }
package/dist/index.js CHANGED
@@ -166,6 +166,9 @@ const ENDPOINT_VERIFIED = new Set([
166
166
  "oppo",
167
167
  // probe-verified via JS-bundle extraction (1.0.60)
168
168
  "trip",
169
+ // Feishu family: /api/v1/user/applications discovered via SPA chunk 4026
170
+ // (1.0.62). Promotes all 8 Feishu adapters since they share backend.
171
+ "xiaomi", "nio", "minimax", "zhipu", "iqiyi", "agibot", "zerooneai", "baichuan",
169
172
  ]);
170
173
  const HELP = `
171
174
  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.60",
3
+ "version": "1.0.62",
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",