Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip - Update match schema #2672

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.38

### Patch Changes

- Updated dependencies
- @ballerine/[email protected]
- @ballerine/[email protected]
- @ballerine/[email protected]

## 0.7.37

### 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.37",
"version": "0.7.38",
"description": "Ballerine - Backoffice",
"homepage": "https://github.com/ballerine-io/ballerine",
"repository": {
Expand Down Expand Up @@ -51,11 +51,11 @@
},
"dependencies": {
"@ballerine/blocks": "0.2.13",
"@ballerine/common": "0.9.27",
"@ballerine/common": "0.9.28",
"@ballerine/react-pdf-toolkit": "^1.2.23",
"@ballerine/ui": "^0.5.23",
"@ballerine/workflow-browser-sdk": "0.6.38",
"@ballerine/workflow-node-sdk": "0.6.38",
"@ballerine/workflow-browser-sdk": "0.6.39",
"@ballerine/workflow-node-sdk": "0.6.39",
"@fontsource/inter": "^4.5.15",
"@formkit/auto-animate": "1.0.0-beta.5",
"@hookform/resolvers": "^3.1.0",
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.46

### Patch Changes

- Updated dependencies
- @ballerine/[email protected]
- @ballerine/[email protected]

## 0.3.45

### 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.45",
"version": "0.3.46",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -15,9 +15,9 @@
},
"dependencies": {
"@ballerine/blocks": "0.2.13",
"@ballerine/common": "^0.9.27",
"@ballerine/common": "^0.9.28",
"@ballerine/ui": "0.5.23",
"@ballerine/workflow-browser-sdk": "0.6.38",
"@ballerine/workflow-browser-sdk": "0.6.39",
"@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.38

### Patch Changes

- Updated dependencies
- @ballerine/[email protected]
- @ballerine/[email protected]

## 0.3.37

### 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.37",
"version": "0.3.38",
"type": "module",
"scripts": {
"spellcheck": "cspell \"*\"",
Expand Down Expand Up @@ -34,8 +34,8 @@
"vite": "^4.5.3"
},
"dependencies": {
"@ballerine/common": "0.9.27",
"@ballerine/workflow-browser-sdk": "0.6.38",
"@ballerine/common": "0.9.28",
"@ballerine/workflow-browser-sdk": "0.6.39",
"@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.28

### Patch Changes

- updated match schema

## 0.9.27

### 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.27",
"version": "0.9.28",
"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 @@ -147,43 +147,57 @@ const MerchantMatchSchema = Type.Object({
description: 'The name of the Business which has been terminated.',
example: 'M01',
}),
DoingBusinessAsName: Type.String({
description:
'The name used by a merchant that could be different from the legal name of the business.',
example: 'M01',
}),
PhoneNumber: Type.String({
description: 'The Business or Merchant’s phone number.',
example: 'M01',
}),
DoingBusinessAsName: Type.Optional(
Type.String({
description:
'The name used by a merchant that could be different from the legal name of the business.',
example: 'M01',
}),
),
PhoneNumber: Type.Optional(
Type.String({
description: 'The Business or Merchant’s phone number.',
example: 'M01',
}),
),
Address: Type.String({
description: 'Address of the merchant location.',
example: 'M01',
}),
AltPhoneNumber: Type.String({
description: 'The Business or Merchant’s alternate phone number.',
example: 'M01',
}),
CountrySubdivisionTaxId: Type.String({
description:
'The Merchant’s state tax ID; for the U.S region only. Return value will be hidden.',
example: 'M01',
}),
NationalTaxId: Type.String({
description:
'The National tax ID or business registration number. Return value will be hidden.',
example: 'M02',
}),
ServiceProvLegal: Type.String({
description:
'The name of the service provider associated with the merchant listed in the MATCH.',
example: 'M00',
}),
ServiceProvDBA: Type.String({
description:
'The name of the service provider associated with the merchant listed in the MATCH.',
example: 'M01',
}),
AltPhoneNumber: Type.Optional(
Type.String({
description: 'The Business or Merchant’s alternate phone number.',
example: 'M01',
}),
),
CountrySubdivisionTaxId: Type.Optional(
Type.String({
description:
'The Merchant’s state tax ID; for the U.S region only. Return value will be hidden.',
example: 'M01',
}),
),
NationalTaxId: Type.Optional(
Type.String({
description:
'The National tax ID or business registration number. Return value will be hidden.',
example: 'M02',
}),
),
ServiceProvLegal: Type.Optional(
Type.String({
description:
'The name of the service provider associated with the merchant listed in the MATCH.',
example: 'M00',
}),
),
ServiceProvDBA: Type.Optional(
Type.String({
description:
'The name of the service provider associated with the merchant listed in the MATCH.',
example: 'M01',
}),
),
PrincipalMatch: Type.Optional(Type.Array(PrincipalSchema)),
UrlMatch: Type.Optional(
Type.Array(
Expand Down Expand Up @@ -212,7 +226,7 @@ const MerchantSchema = Type.Object({
maxLength: 110,
}),
),
Address: Type.Optional(AddressSchema),
Address: AddressSchema,
PhoneNumber: Type.String({
description: "The Business or Merchant's phone number, including the area code.",
example: '3165557625',
Expand Down
7 changes: 7 additions & 0 deletions packages/workflow-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ballerine/workflow-core

## 0.6.39

### Patch Changes

- Updated dependencies
- @ballerine/[email protected]

## 0.6.38

### 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.38",
"version": "0.6.39",
"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.27",
"@ballerine/common": "0.9.28",
"ajv": "^8.12.0",
"i18n-iso-countries": "^7.6.0",
"jmespath": "^0.16.0",
Expand Down
Loading
Loading