From 04e27dabaf37f4fb303178ffed190ebf1cb80839 Mon Sep 17 00:00:00 2001 From: Tiago Date: Thu, 20 Jun 2024 11:00:17 +0100 Subject: [PATCH 1/5] adding sdk_token to workflow run schema "sdk_token" exposed the studio sdk token for v3.6 API. --- schemas/workflow_runs/definitions.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index e2787943..746d7e29 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -21,6 +21,9 @@ workflow_run_shared: type: string minLength: 1 maxLength: 128 + sdk_token: + type: ["null", string] + description: client token to use when loading this workflow run in the Onfido SDK. link: type: object description: Object for the configuration of the Workflow Run link. From 1597f6dfddeacd8e5487fac85fca4f954111623e Mon Sep 17 00:00:00 2001 From: Tiago Date: Thu, 20 Jun 2024 16:57:44 +0100 Subject: [PATCH 2/5] use nullable --- schemas/workflow_runs/definitions.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index 746d7e29..92d47ac8 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -22,7 +22,8 @@ workflow_run_shared: minLength: 1 maxLength: 128 sdk_token: - type: ["null", string] + type: string + nullable: true description: client token to use when loading this workflow run in the Onfido SDK. link: type: object From 96f3a85b789b25bfdcd004b4bad56a5ff5ba2044 Mon Sep 17 00:00:00 2001 From: Tiago Date: Fri, 21 Jun 2024 15:48:51 +0100 Subject: [PATCH 3/5] Update schemas/workflow_runs/definitions.yaml Co-authored-by: dvacca-onfido <134616519+dvacca-onfido@users.noreply.github.com> --- schemas/workflow_runs/definitions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index 92d47ac8..0653f4da 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -24,7 +24,7 @@ workflow_run_shared: sdk_token: type: string nullable: true - description: client token to use when loading this workflow run in the Onfido SDK. + description: Client token to use when loading this workflow run in the Onfido SDK. link: type: object description: Object for the configuration of the Workflow Run link. From dcbc5988357aeab7687be5a442e2b714d384b70b Mon Sep 17 00:00:00 2001 From: dvacca-onfido <134616519+dvacca-onfido@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:31:56 +0200 Subject: [PATCH 4/5] Move sdk_token below workflow_run_request --- schemas/workflow_runs/definitions.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index 0653f4da..8d56812a 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -21,10 +21,6 @@ workflow_run_shared: type: string minLength: 1 maxLength: 128 - sdk_token: - type: string - nullable: true - description: Client token to use when loading this workflow run in the Onfido SDK. link: type: object description: Object for the configuration of the Workflow Run link. @@ -69,6 +65,10 @@ workflow_run_request: type: object additionalProperties: true description: Object with Custom Input Data to be used in the Workflow Run. + sdk_token: + type: string + nullable: true + description: Client token to use when loading this workflow run in the Onfido SDK. workflow_run_response: type: object From bc64590f6bf1d3ea4465a5091b72deeb06f0b14a Mon Sep 17 00:00:00 2001 From: dvacca-onfido <134616519+dvacca-onfido@users.noreply.github.com> Date: Tue, 23 Jul 2024 15:34:21 +0200 Subject: [PATCH 5/5] Move sdk_token in the response --- schemas/workflow_runs/definitions.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index 8d56812a..c61cf2cc 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -65,10 +65,6 @@ workflow_run_request: type: object additionalProperties: true description: Object with Custom Input Data to be used in the Workflow Run. - sdk_token: - type: string - nullable: true - description: Client token to use when loading this workflow run in the Onfido SDK. workflow_run_response: type: object @@ -114,3 +110,7 @@ workflow_run_response: message: type: string description: A textual description of the error. + sdk_token: + type: string + nullable: true + description: Client token to use when loading this workflow run in the Onfido SDK.