@prodigio-io/sdk 1.0.1 → 1.0.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/dist/index.d.mts CHANGED
@@ -25,7 +25,9 @@ interface Job {
25
25
  eligibilityCriteria?: string;
26
26
  salaryRange: SalaryRange | null;
27
27
  applicationDeadline: string | null;
28
+ /** ISO 8601 date string e.g. "2026-04-01T09:00:00.000Z" — use new Date(createdAt) to convert */
28
29
  createdAt: string;
30
+ /** ISO 8601 date string e.g. "2026-04-01T09:00:00.000Z" — use new Date(updatedAt) to convert */
29
31
  updatedAt: string;
30
32
  poweredBy: PoweredBy;
31
33
  }
@@ -43,12 +45,16 @@ interface CVInfo {
43
45
  mimeType: string;
44
46
  path?: string;
45
47
  }
48
+ interface Achievement {
49
+ description: string;
50
+ attachment?: UploadResult | null;
51
+ }
46
52
  interface SubmitApplicationParams {
47
53
  jobId: string;
48
54
  applicant: Applicant;
49
55
  cv: CVInfo;
50
56
  coverLetter?: string;
51
- achievements?: string[];
57
+ achievements?: Achievement[];
52
58
  }
53
59
  interface ApplicationResult {
54
60
  id: string;
@@ -91,4 +97,4 @@ declare class Prodigio {
91
97
  };
92
98
  }
93
99
 
94
- export { type Applicant, type ApplicationResult, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
100
+ export { type Achievement, type Applicant, type ApplicationResult, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
package/dist/index.d.ts CHANGED
@@ -25,7 +25,9 @@ interface Job {
25
25
  eligibilityCriteria?: string;
26
26
  salaryRange: SalaryRange | null;
27
27
  applicationDeadline: string | null;
28
+ /** ISO 8601 date string e.g. "2026-04-01T09:00:00.000Z" — use new Date(createdAt) to convert */
28
29
  createdAt: string;
30
+ /** ISO 8601 date string e.g. "2026-04-01T09:00:00.000Z" — use new Date(updatedAt) to convert */
29
31
  updatedAt: string;
30
32
  poweredBy: PoweredBy;
31
33
  }
@@ -43,12 +45,16 @@ interface CVInfo {
43
45
  mimeType: string;
44
46
  path?: string;
45
47
  }
48
+ interface Achievement {
49
+ description: string;
50
+ attachment?: UploadResult | null;
51
+ }
46
52
  interface SubmitApplicationParams {
47
53
  jobId: string;
48
54
  applicant: Applicant;
49
55
  cv: CVInfo;
50
56
  coverLetter?: string;
51
- achievements?: string[];
57
+ achievements?: Achievement[];
52
58
  }
53
59
  interface ApplicationResult {
54
60
  id: string;
@@ -91,4 +97,4 @@ declare class Prodigio {
91
97
  };
92
98
  }
93
99
 
94
- export { type Applicant, type ApplicationResult, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
100
+ export { type Achievement, type Applicant, type ApplicationResult, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prodigio-io/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official JavaScript SDK for the Prodigio hiring API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",