From a01383bdaaf9c3583ab47f78890bd31bf168f30b Mon Sep 17 00:00:00 2001 From: Valentin Pirva Date: Fri, 7 Nov 2025 15:31:25 +0200 Subject: [PATCH 1/4] update JobBoards protocol --- package.json | 2 +- src/schema/job-board-application.json | 33 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a85660..7a44428 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ubio/protocol", - "version": "7.10.1", + "version": "7.11.0", "description": "ubio Automation Protocol", "main": "out/main/index.js", "types": "out/main/index.d.ts", diff --git a/src/schema/job-board-application.json b/src/schema/job-board-application.json index 99daba9..a8f3d83 100644 --- a/src/schema/job-board-application.json +++ b/src/schema/job-board-application.json @@ -24,6 +24,18 @@ "submit": { "typeRef": "#/domains/JobBoardApplication/types/Submit" }, + "jobPostId": { + "typeRef": "#/domains/JobBoardApplication/types/JobPostID", + "description": "The ID of the job post to apply for." + }, + "jobid": { + "typRef": "#/domains/JobBoardApplication/types/jobid", + "description": "The ID of the job post to apply for." + }, + "applicationId": { + "typeRef": "#/domains/JobBoardApplication/types/applicationId", + "description": "The ID of the application." + }, "selectedDynamicQuestions": { "typeRef": "#/domains/JobBoardApplication/types/SelectedDynamicQuestions", "dynamic": true @@ -117,6 +129,18 @@ ], "additionalProperties": false }, + "JobPostID": { + "type": "string", + "description": "The ID of the job post to apply for." + }, + "jobid": { + "type": "string", + "description": "The ID of the job post to apply for." + }, + "applicationId": { + "type": "string", + "description": "The ID of the application." + }, "Submit": { "type": "boolean", "pii": false, @@ -963,6 +987,15 @@ }, "clientName": { "type": "string" + }, + "employer": { + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "country": { + "$ref": "#/domains/Generic/types/CountryCode" } }, "required": [ From c575aa2076abe8c1f5ee674f019c445b90946af6 Mon Sep 17 00:00:00 2001 From: Valentin Pirva Date: Fri, 7 Nov 2025 16:51:53 +0200 Subject: [PATCH 2/4] fix issues --- src/schema/job-board-application.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/schema/job-board-application.json b/src/schema/job-board-application.json index a8f3d83..202400d 100644 --- a/src/schema/job-board-application.json +++ b/src/schema/job-board-application.json @@ -25,16 +25,13 @@ "typeRef": "#/domains/JobBoardApplication/types/Submit" }, "jobPostId": { - "typeRef": "#/domains/JobBoardApplication/types/JobPostID", - "description": "The ID of the job post to apply for." + "typeRef": "#/domains/JobBoardApplication/types/JobPostId" }, "jobid": { - "typRef": "#/domains/JobBoardApplication/types/jobid", - "description": "The ID of the job post to apply for." + "typeRef": "#/domains/JobBoardApplication/types/Jobid" }, "applicationId": { - "typeRef": "#/domains/JobBoardApplication/types/applicationId", - "description": "The ID of the application." + "typeRef": "#/domains/JobBoardApplication/types/ApplicationId" }, "selectedDynamicQuestions": { "typeRef": "#/domains/JobBoardApplication/types/SelectedDynamicQuestions", @@ -129,17 +126,20 @@ ], "additionalProperties": false }, - "JobPostID": { + "JobPostId": { "type": "string", - "description": "The ID of the job post to apply for." + "description": "The ID of the job post to apply for.", + "additionalProperties": false }, - "jobid": { + "Jobid": { "type": "string", - "description": "The ID of the job post to apply for." + "description": "The ID of the job post to apply for.", + "additionalProperties": false }, - "applicationId": { + "ApplicationId": { "type": "string", - "description": "The ID of the application." + "description": "The ID of the application.", + "additionalProperties": false }, "Submit": { "type": "boolean", From a826cfb88fe70caeef2ab3520ce90bab2def9083 Mon Sep 17 00:00:00 2001 From: Valentin Pirva Date: Fri, 14 Nov 2025 14:36:36 +0200 Subject: [PATCH 3/4] add resolvedUrl, triggerProxyEmailFallback and serviceData --- src/schema/job-board-application.json | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/schema/job-board-application.json b/src/schema/job-board-application.json index 202400d..25327ab 100644 --- a/src/schema/job-board-application.json +++ b/src/schema/job-board-application.json @@ -51,6 +51,15 @@ } }, "outputs": { + "resolvedUrl": { + "typeRef": "#/domains/JobBoardApplication/types/ResolvedUrl" + }, + "triggerProxyEmailFallback": { + "typeRef": "#/domains/JobBoardApplication/types/TriggerProxyEmailFallback" + }, + "serviceData": { + "typeRef": "#/domains/JobBoardApplication/types/ServiceData" + }, "cookies": { "typeRef": "#/domains/Generic/types/Cookies" }, @@ -112,6 +121,40 @@ }, "additionalProperties": false }, + "ResolvedUrl": { + "type": "string", + "description": "", + "additionalProperties": false + }, + "TriggerProxyEmailFallback": { + "type": "boolean", + "description": "", + "additionalProperties": false + }, + "ServiceData": { + "type": "object", + "description": "The service data.", + "properties": { + "domain": { + "type": "string", + "description": "" + }, + "serviceId": { + "type": "string", + "description": "" + }, + "url": { + "type": "string", + "description": "" + } + }, + "required": [ + "domain", + "serviceId", + "url" + ], + "additionalProperties": false + }, "Files": { "type": "object", "pii": true, From 8ff0933efb5314a6f78b899c0efbf101fa27a524 Mon Sep 17 00:00:00 2001 From: Valentin Pirva Date: Fri, 14 Nov 2025 14:47:20 +0200 Subject: [PATCH 4/4] fix resolvedUrl --- src/schema/job-board-application.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/schema/job-board-application.json b/src/schema/job-board-application.json index 25327ab..5f602eb 100644 --- a/src/schema/job-board-application.json +++ b/src/schema/job-board-application.json @@ -122,8 +122,22 @@ "additionalProperties": false }, "ResolvedUrl": { - "type": "string", + "type": "object", "description": "", + "properties": { + "domain": { + "type": "string", + "description": "" + }, + "url": { + "type": "string", + "description": "" + } + }, + "required": [ + "domain", + "url" + ], "additionalProperties": false }, "TriggerProxyEmailFallback": {