Skip to content

Commit

Permalink
Fix withQualityControl JMESPath (#2919)
Browse files Browse the repository at this point in the history
* fix(*): fixed withQualityControl JMESPath

* refactor(*): removed unused imports
  • Loading branch information
Omri-Levy authored Dec 29, 2024
1 parent 1a44eac commit ebd8447
Show file tree
Hide file tree
Showing 22 changed files with 135 additions and 125 deletions.
9 changes: 9 additions & 0 deletions apps/backoffice-v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @ballerine/backoffice-v2

## 0.7.85

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.61
- @ballerine/workflow-browser-sdk@0.6.80
- @ballerine/workflow-node-sdk@0.6.80

## 0.7.84

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions apps/backoffice-v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ballerine/backoffice-v2",
"version": "0.7.84",
"version": "0.7.85",
"description": "Ballerine - Backoffice",
"homepage": "https://github.com/ballerine-io/ballerine",
"type": "module",
Expand Down Expand Up @@ -52,11 +52,11 @@
},
"dependencies": {
"@ballerine/blocks": "0.2.30",
"@ballerine/common": "0.9.60",
"@ballerine/common": "0.9.61",
"@ballerine/react-pdf-toolkit": "^1.2.54",
"@ballerine/ui": "^0.5.54",
"@ballerine/workflow-browser-sdk": "0.6.79",
"@ballerine/workflow-node-sdk": "0.6.79",
"@ballerine/workflow-browser-sdk": "0.6.80",
"@ballerine/workflow-node-sdk": "0.6.80",
"@botpress/webchat": "^2.1.10",
"@botpress/webchat-generator": "^0.2.9",
"@fontsource/inter": "^4.5.15",
Expand Down
8 changes: 8 additions & 0 deletions apps/kyb-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# kyb-app

## 0.3.99

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.61
- @ballerine/workflow-browser-sdk@0.6.80

## 0.3.98

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/kyb-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/kyb-app",
"private": true,
"version": "0.3.98",
"version": "0.3.99",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -16,9 +16,9 @@
},
"dependencies": {
"@ballerine/blocks": "0.2.30",
"@ballerine/common": "^0.9.60",
"@ballerine/common": "^0.9.61",
"@ballerine/ui": "0.5.55",
"@ballerine/workflow-browser-sdk": "0.6.79",
"@ballerine/workflow-browser-sdk": "0.6.80",
"@lukemorales/query-key-factory": "^1.0.3",
"@radix-ui/react-icons": "^1.3.0",
"@rjsf/core": "^5.9.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/headless-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @ballerine/headless-example

## 0.3.79

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.61
- @ballerine/workflow-browser-sdk@0.6.80

## 0.3.78

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions examples/headless-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/headless-example",
"private": true,
"version": "0.3.78",
"version": "0.3.79",
"type": "module",
"scripts": {
"spellcheck": "cspell \"*\"",
Expand Down Expand Up @@ -34,8 +34,8 @@
"vite": "^4.5.3"
},
"dependencies": {
"@ballerine/common": "0.9.60",
"@ballerine/workflow-browser-sdk": "0.6.79",
"@ballerine/common": "0.9.61",
"@ballerine/workflow-browser-sdk": "0.6.80",
"@felte/reporter-svelte": "^1.1.5",
"@felte/validator-zod": "^1.0.13",
"@fontsource/inter": "^4.5.15",
Expand Down
6 changes: 6 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ballerine/common

## 0.9.61

### Patch Changes

- Fixed withQualityControl in plugins

## 0.9.60

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": false,
"name": "@ballerine/common",
"author": "Ballerine <[email protected]>",
"version": "0.9.60",
"version": "0.9.61",
"description": "common",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ const DriversLicenseSchema = Type.Object({
maxLength: 25,
}),
),
CountrySubdivision: Type.String({
description:
'The abbreviated state or province code for a merchant location (only supported for US and Canada merchants).',
example: 'IL',
maxLength: 2,
}),
CountrySubdivision: Type.Optional(
Type.String({
description:
'The abbreviated state or province code for a merchant location (only supported for US and Canada merchants).',
example: 'IL',
maxLength: 2,
}),
),
Country: Type.String({
description:
'The three-digit country code of the principal owner. Valid values are Three digit alpha country codes as defined in ISO 3166-1.',
Expand Down
8 changes: 8 additions & 0 deletions packages/workflow-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @ballerine/workflow-core

## 0.6.80

### Patch Changes

- Fixed withQualityControl in plugins
- Updated dependencies
- @ballerine/common@0.9.61

## 0.6.79

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/workflow-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/workflow-core",
"author": "Ballerine <[email protected]>",
"version": "0.6.79",
"version": "0.6.80",
"description": "workflow-core",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
"node": ">=12"
},
"dependencies": {
"@ballerine/common": "0.9.60",
"@ballerine/common": "0.9.61",
"ajv": "^8.12.0",
"country-state-city": "^3.1.4",
"i18n-iso-countries": "^7.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,10 +594,12 @@ export const BALLERINE_API_PLUGIN_FACTORY = {
mapping: `{
${options.dataMapping || ''}
reportType: '${options.reportType || 'MERCHANT_REPORT_T1'}',
callbackUrl: join('',['{secret.APP_API_URL}/api/v1/external/workflows/',workflowRuntimeId,'/hook/VENDOR_DONE','?resultDestination=pluginsOutput.merchantMonitoring&processName=website-monitoring'])
withQualityControl: ${
options.merchantMonitoringQualityControl ?? true ? 'true' : 'false'
}
callbackUrl: join('',['{secret.APP_API_URL}/api/v1/external/workflows/',workflowRuntimeId,'/hook/VENDOR_DONE','?resultDestination=pluginsOutput.merchantMonitoring&processName=website-monitoring']),
withQualityControl: \`${
typeof options.merchantMonitoringQualityControl === 'boolean'
? options.merchantMonitoringQualityControl
: true
}\`
}`, // jmespath
},
],
Expand Down
Loading

0 comments on commit ebd8447

Please sign in to comment.