Skip to content

Commit

Permalink
Merge pull request #343 from Mangopay/feature/parthnership
Browse files Browse the repository at this point in the history
added Partnership legal person type
  • Loading branch information
iulian03 authored Jan 12, 2023
2 parents 865f849 + a67f506 commit 71b63c1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/models/LegalPersonType.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
NotSpecified: 'NotSpecified',
Business: 'BUSINESS',
Organization: 'ORGANIZATION',
Soletrader: 'SOLETRADER'
Soletrader: 'SOLETRADER',
Partnership: 'PARTNERSHIP'
};
2 changes: 1 addition & 1 deletion lib/models/UserLegalOwner.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var UserLegalOwner = User.extend({
defaults: _.extend({}, User.prototype.defaults, {
Name: null,
/**
* Type for legal user. Possible: ‘BUSINESS’, ’ORGANIZATION’, 'SOLETRADER'
* Type for legal user. Possible: ‘BUSINESS’, ’ORGANIZATION’, 'SOLETRADER', 'PARTNERSHIP
*/
LegalPersonType: null,
HeadquartersAddress: null,
Expand Down
1 change: 1 addition & 0 deletions typings/enums.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export namespace enums {
Business: "BUSINESS";
Organization: "ORGANIZATION";
Soletrader: "SOLETRADER";
Partnership: "PARTNERSHIP";
}

interface IPersonType {
Expand Down
2 changes: 1 addition & 1 deletion typings/models/user.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export namespace user {

type KYCLevel = "LIGHT" | "REGULAR";

type LegalPersonType = "BUSINESS" | "ORGANIZATION" | "SOLETRADER";
type LegalPersonType = "BUSINESS" | "ORGANIZATION" | "SOLETRADER" | "PARTNERSHIP";

type StaticKeys =
| "KYCLevel"
Expand Down

0 comments on commit 71b63c1

Please sign in to comment.