Socket
Socket
Sign inDemoInstall

@comparaonline/common-schema

Package Overview
Dependencies
Maintainers
14
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comparaonline/common-schema - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

dist/index.d.ts

@@ -1,4 +0,2 @@

import { Gender, CivilStatus, IdentificationType, EducationLevel, OccupationTypes, CompanyTypes } from './interfaces/common';
export { Gender, CivilStatus, IdentificationType, EducationLevel, OccupationTypes, CompanyTypes };
declare const _default: "";
export default _default;
import { Gender, CivilStatus, IdentificationType, EducationLevel, OccupationTypes, CompanyTypes, HousingType } from './interfaces/common';
export { Gender, CivilStatus, IdentificationType, EducationLevel, OccupationTypes, CompanyTypes, HousingType };

@@ -11,2 +11,2 @@ "use strict";

exports.CompanyTypes = common_1.CompanyTypes;
exports.default = '';
exports.HousingType = common_1.HousingType;
export declare enum Gender {
Male = "male",
Female = "famale"
Female = "female"
}
export declare enum CivilStatus {
Single = 1,
Married = 2,
Separated = 3,
Widower = 4
Single = "single",
Married = "married",
Separated = "separated",
Widower = "widower"
}
export declare enum IdentificationType {
NationalId = 0,
TaxesId = 1,
ForeignNationalId = 2,
IdentifcationCard = 3,
Passport = 4
NationalId = "nationalId",
TaxesId = "taxesId",
ForeignNationalId = "foreignNationalId",
IdentifcationCard = "identifcationCard",
Passport = "passport"
}
export declare enum EducationLevel {
Baccalaureate = 0,
Technical = 1,
Technologist = 2,
Graduate = 3,
Postgraduate = 4,
Other = 5
Baccalaureate = "baccalaureate",
Technical = "technical",
Technologist = "technologist",
Graduate = "graduate",
Postgraduate = "postgraduate",
Other = "other"
}
export declare enum OccupationTypes {
Hired = 0,
Retired = 1,
Student = 2,
Housekeeper = 3,
Freelance = 4
Hired = "hired",
Retired = "retired",
Student = "student",
Housekeeper = "housekeeper",
Freelance = "freelance"
}
export declare enum CompanyTypes {
Private = 0,
Oficial = 1,
Mixed = 2,
Other = 3
Private = "private",
Oficial = "oficial",
Mixed = "mixed",
Other = "other"
}
export declare enum HousingType {
Owner = "owner",
Family = "family",
Rent = "rent",
Other = "other"
}

@@ -7,42 +7,49 @@ "use strict";

Gender["Male"] = "male";
Gender["Female"] = "famale";
Gender["Female"] = "female";
})(Gender = exports.Gender || (exports.Gender = {}));
var CivilStatus;
(function (CivilStatus) {
CivilStatus[CivilStatus["Single"] = 1] = "Single";
CivilStatus[CivilStatus["Married"] = 2] = "Married";
CivilStatus[CivilStatus["Separated"] = 3] = "Separated";
CivilStatus[CivilStatus["Widower"] = 4] = "Widower";
CivilStatus["Single"] = "single";
CivilStatus["Married"] = "married";
CivilStatus["Separated"] = "separated";
CivilStatus["Widower"] = "widower";
})(CivilStatus = exports.CivilStatus || (exports.CivilStatus = {}));
var IdentificationType;
(function (IdentificationType) {
IdentificationType[IdentificationType["NationalId"] = 0] = "NationalId";
IdentificationType[IdentificationType["TaxesId"] = 1] = "TaxesId";
IdentificationType[IdentificationType["ForeignNationalId"] = 2] = "ForeignNationalId";
IdentificationType[IdentificationType["IdentifcationCard"] = 3] = "IdentifcationCard";
IdentificationType[IdentificationType["Passport"] = 4] = "Passport";
IdentificationType["NationalId"] = "nationalId";
IdentificationType["TaxesId"] = "taxesId";
IdentificationType["ForeignNationalId"] = "foreignNationalId";
IdentificationType["IdentifcationCard"] = "identifcationCard";
IdentificationType["Passport"] = "passport";
})(IdentificationType = exports.IdentificationType || (exports.IdentificationType = {}));
var EducationLevel;
(function (EducationLevel) {
EducationLevel[EducationLevel["Baccalaureate"] = 0] = "Baccalaureate";
EducationLevel[EducationLevel["Technical"] = 1] = "Technical";
EducationLevel[EducationLevel["Technologist"] = 2] = "Technologist";
EducationLevel[EducationLevel["Graduate"] = 3] = "Graduate";
EducationLevel[EducationLevel["Postgraduate"] = 4] = "Postgraduate";
EducationLevel[EducationLevel["Other"] = 5] = "Other";
EducationLevel["Baccalaureate"] = "baccalaureate";
EducationLevel["Technical"] = "technical";
EducationLevel["Technologist"] = "technologist";
EducationLevel["Graduate"] = "graduate";
EducationLevel["Postgraduate"] = "postgraduate";
EducationLevel["Other"] = "other";
})(EducationLevel = exports.EducationLevel || (exports.EducationLevel = {}));
var OccupationTypes;
(function (OccupationTypes) {
OccupationTypes[OccupationTypes["Hired"] = 0] = "Hired";
OccupationTypes[OccupationTypes["Retired"] = 1] = "Retired";
OccupationTypes[OccupationTypes["Student"] = 2] = "Student";
OccupationTypes[OccupationTypes["Housekeeper"] = 3] = "Housekeeper";
OccupationTypes[OccupationTypes["Freelance"] = 4] = "Freelance";
OccupationTypes["Hired"] = "hired";
OccupationTypes["Retired"] = "retired";
OccupationTypes["Student"] = "student";
OccupationTypes["Housekeeper"] = "housekeeper";
OccupationTypes["Freelance"] = "freelance";
})(OccupationTypes = exports.OccupationTypes || (exports.OccupationTypes = {}));
var CompanyTypes;
(function (CompanyTypes) {
CompanyTypes[CompanyTypes["Private"] = 0] = "Private";
CompanyTypes[CompanyTypes["Oficial"] = 1] = "Oficial";
CompanyTypes[CompanyTypes["Mixed"] = 2] = "Mixed";
CompanyTypes[CompanyTypes["Other"] = 3] = "Other";
})(CompanyTypes = exports.CompanyTypes || (exports.CompanyTypes = {}));
CompanyTypes["Private"] = "private";
CompanyTypes["Oficial"] = "oficial";
CompanyTypes["Mixed"] = "mixed";
CompanyTypes["Other"] = "other";
})(CompanyTypes = exports.CompanyTypes || (exports.CompanyTypes = {}));
var HousingType;
(function (HousingType) {
HousingType["Owner"] = "owner";
HousingType["Family"] = "family";
HousingType["Rent"] = "rent";
HousingType["Other"] = "other";
})(HousingType = exports.HousingType || (exports.HousingType = {}));
{
"name": "@comparaonline/common-schema",
"version": "1.0.0",
"version": "1.1.0",
"description": "Common Schema",

@@ -23,3 +23,3 @@ "main": "dist/index.js",

},
"gitHead": "5d77b52acc42775f8dd58e99019eda6d86e0c6e7"
"gitHead": "917080eac16752bdc4a9b413324436d1f8b53d4f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc