ntk-cms-api
Advanced tools
Comparing version 1.0.5 to 1.0.6
import { BaseEntity } from '../base/baseEntity'; | ||
import { EnumTransactionRecordStatus } from '../enums/bankPayment.enum'; | ||
import { EnumTransactionRecordStatus } from '../Enums/enumTransactionRecordStatus'; | ||
import { BankPaymentTransactionModel } from './bankPaymentTransactionModel'; | ||
@@ -4,0 +4,0 @@ export declare class BankPaymentTransactionLogModel extends BaseEntity<number> { |
import { BaseEntity } from '../base/baseEntity'; | ||
import { GetPropertiesInfoModel } from '../base/fieldInfo/getPropertiesInfoModel'; | ||
import { EnumTransactionBankStatus, EnumTransactionRecordStatus } from '../enums/bankPayment.enum'; | ||
import { BankPaymentPrivateSiteConfigModel } from './bankPaymentPrivateSiteConfigModel'; | ||
import { BankPaymentTransactionLogModel } from './bankPaymentTransactionLogModel'; | ||
import { EnumTransactionBankStatus } from '../Enums/enumTransactionBankStatus'; | ||
import { EnumTransactionRecordStatus } from '../Enums/enumTransactionRecordStatus'; | ||
export declare class BankPaymentTransactionModel extends BaseEntity<number> { | ||
@@ -7,0 +8,0 @@ TransactionStatus: EnumTransactionRecordStatus; |
@@ -1,2 +0,2 @@ | ||
import { RecordStatus } from '../Enums/recordStatus.enum'; | ||
import { EnumRecordStatus } from '../Enums/enumRecordStatus'; | ||
export declare class BaseEntity<TKey> { | ||
@@ -8,3 +8,3 @@ Id: TKey; | ||
UpdatedBy: number; | ||
RecordStatus: RecordStatus; | ||
RecordStatus: EnumRecordStatus; | ||
AntiInjectionRun: boolean; | ||
@@ -11,0 +11,0 @@ AntiInjectionGuid: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseEntity = void 0; | ||
var recordStatus_enum_1 = require("../Enums/recordStatus.enum"); | ||
var enumRecordStatus_1 = require("../Enums/enumRecordStatus"); | ||
var BaseEntity = /** @class */ (function () { | ||
function BaseEntity() { | ||
this.RecordStatus = recordStatus_enum_1.RecordStatus.Available; | ||
this.RecordStatus = enumRecordStatus_1.EnumRecordStatus.Available; | ||
//endregion AniInjection | ||
@@ -9,0 +9,0 @@ } |
@@ -1,7 +0,7 @@ | ||
import { ExportFileType } from '../Enums/exportFileType.enum'; | ||
import { ExportReceiveMethod } from '../Enums/exportReceiveMethod.enum'; | ||
import { EnumExportReceiveMethod } from '../Enums/enumExportReceiveMethod'; | ||
import { EnumExportFileType } from '../Enums/enumExportFileType'; | ||
export declare class ExportFileModel { | ||
FileType: ExportFileType; | ||
RecieveMethod: ExportReceiveMethod; | ||
FileType: EnumExportFileType; | ||
RecieveMethod: EnumExportReceiveMethod; | ||
RowCount: number; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { ClauseType } from '../Enums/clauseType.enum'; | ||
import { FilterDataModelSearchTypes } from '../Enums/filterDataModelSearchTypes.enum'; | ||
import { EnumFilterDataModelSearchTypes } from '../Enums/enumFilterDataModelSearchTypes'; | ||
import { EnumClauseType } from '../Enums/enumClauseType'; | ||
export declare class FilterDataModel { | ||
@@ -12,4 +12,4 @@ Filters: FilterDataModel[]; | ||
PropertyAnyName: string; | ||
ClauseType: ClauseType; | ||
SearchType: FilterDataModelSearchTypes; | ||
ClauseType: EnumClauseType; | ||
SearchType: EnumFilterDataModelSearchTypes; | ||
StringValue1: string; | ||
@@ -16,0 +16,0 @@ StringContainValues: string[]; |
@@ -1,4 +0,4 @@ | ||
import { SortType } from '../Enums/sortType.enum'; | ||
import { FilterDataModel } from './filterDataModel'; | ||
import { ExportFileModel } from './exportFileModel'; | ||
import { EnumSortType } from '../Enums/enumSortType'; | ||
export declare class FilterModel { | ||
@@ -12,5 +12,5 @@ Filters: FilterDataModel[]; | ||
RowPerPage: number; | ||
SortType: SortType; | ||
SortType: EnumSortType; | ||
SortColumn: string; | ||
ExportFile: ExportFileModel; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { ManageUserAccessAreaTypes } from '../Enums/ManageUserAccessAreaTypes.enum'; | ||
import { ManageUserAccessControllerTypes } from '../Enums/manageUserAccessControllerTypes.enum'; | ||
import { EnumManageUserAccessAreaTypes } from '../Enums/enumManageUserAccessAreaTypes'; | ||
import { EnumManageUserAccessControllerTypes } from '../Enums/enumManageUserAccessControllerTypes'; | ||
export declare class TokenInfoModel { | ||
@@ -12,4 +12,4 @@ token: string; | ||
UserAccessAdminAllowToAllData: boolean; | ||
UserType: ManageUserAccessControllerTypes; | ||
UserAccessAreaType: ManageUserAccessAreaTypes; | ||
UserType: EnumManageUserAccessControllerTypes; | ||
UserAccessAreaType: EnumManageUserAccessAreaTypes; | ||
Username: string; | ||
@@ -16,0 +16,0 @@ Name: string; |
import { BaseEntity } from '../base/baseEntity'; | ||
import { MenuPlaceType } from '../Enums/menuPlaceType.enum'; | ||
import { EnumMenuPlaceType } from '../Enums/enumMenuPlaceType'; | ||
export declare class CoreCpMainMenuModel extends BaseEntity<number> { | ||
@@ -18,4 +18,4 @@ Title: string; | ||
ShowInAccessAdminAllowToProfessionalData: boolean; | ||
MenuPlaceType: MenuPlaceType; | ||
MenuPlaceType: EnumMenuPlaceType; | ||
Children: CoreCpMainMenuModel[]; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { GenderType } from '../Enums/genderType.enum'; | ||
import { BaseEntity } from '../base/baseEntity'; | ||
import { EnumGenderType } from '../Enums/enumGenderType'; | ||
export declare class CoreUser extends BaseEntity<number> { | ||
@@ -14,3 +14,3 @@ Username: string; | ||
BirthDay: Date; | ||
Gender: GenderType; | ||
Gender: EnumGenderType; | ||
CompanyName: string; | ||
@@ -17,0 +17,0 @@ Address: string; |
@@ -26,2 +26,3 @@ import { OnDestroy } from '@angular/core'; | ||
ServiceCaptcha(): Observable<ErrorExcptionResult<CaptchaModel>>; | ||
ServiceGetTokenDevice(key: string): Observable<ErrorExcptionResult<TokenInfoModel>>; | ||
ServiceSignupUser(model: AuthUserSignUpModel): Observable<ErrorExcptionResult<TokenInfoModel>>; | ||
@@ -28,0 +29,0 @@ ServiceSigninUser(model: AuthUserSignInModel): Observable<ErrorExcptionResult<TokenInfoModel>>; |
@@ -111,11 +111,9 @@ "use strict"; | ||
}; | ||
CmsAuthService.prototype.ServiceGetTokenDevice = function (key) { | ||
return this.http.get(this.baseUrl + this.getModuleCotrolerUrl() + 'GetTokenDevice/' + key).pipe(operators_1.catchError(this.handleError), operators_1.map(function (ret) { | ||
return ret; | ||
})); | ||
}; | ||
CmsAuthService.prototype.ServiceSignupUser = function (model) { | ||
return this.http.post(this.baseUrl + this.getModuleCotrolerUrl() + 'signup', model).pipe(operators_1.catchError(this.handleError), operators_1.map(function (ret) { | ||
// if (ret) { | ||
if (ret.IsSuccess) { | ||
// this.toastrService.success('با موفقیت ثبت نام شدید', 'موفق''); | ||
} | ||
else { | ||
// this.toastrService.error(ret.ErrorMessage, 'خطا در ثبت نام'); | ||
} | ||
return ret; | ||
@@ -122,0 +120,0 @@ // } |
@@ -1,3 +0,19 @@ | ||
import { CmsAuthService } from "./cmsService/core/auth.service"; | ||
import { SmsLogInBoxService } from "./cmsService/sms/smsLogInBox.service"; | ||
export { SmsLogInBoxService, CmsAuthService }; | ||
export * from './cmsService/core/auth.service'; | ||
export * from './cmsService/core/coreConfiguration.service'; | ||
export * from './cmsService/core/coreCpMainMenu.service'; | ||
export * from './cmsService/core/coreEnum.service'; | ||
export * from './cmsService/core/coreGuide.service'; | ||
export * from './cmsService/core/coreLocation.service'; | ||
export * from './cmsService/core/coreModule.service'; | ||
export * from './cmsService/core/coreModuleProcess.service'; | ||
export * from './cmsService/core/coreModuleProcessCustomize.service'; | ||
export * from './cmsService/core/coreModuleSite.service'; | ||
export * from './cmsService/core/coreSite.service'; | ||
export * from './cmsService/core/coreSiteCategory.service'; | ||
export * from './cmsService/core/coreSiteCategoryCmsModule.service'; | ||
export * from './cmsService/core/coreSiteCategoryModule.service'; | ||
export * from './cmsService/core/coreSiteDomainAlias.service'; | ||
export * from './cmsService/core/coreSiteUser.service'; | ||
export * from './cmsService/core/coreUser.service'; | ||
export * from './cmsService/core/coreUserBadLogin.service'; | ||
export * from './cmsService/core/coreUserGroup.service'; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CmsAuthService = exports.SmsLogInBoxService = void 0; | ||
var auth_service_1 = require("./cmsService/core/auth.service"); | ||
Object.defineProperty(exports, "CmsAuthService", { enumerable: true, get: function () { return auth_service_1.CmsAuthService; } }); | ||
var smsLogInBox_service_1 = require("./cmsService/sms/smsLogInBox.service"); | ||
Object.defineProperty(exports, "SmsLogInBoxService", { enumerable: true, get: function () { return smsLogInBox_service_1.SmsLogInBoxService; } }); | ||
__exportStar(require("./cmsService/core/auth.service"), exports); | ||
__exportStar(require("./cmsService/core/coreConfiguration.service"), exports); | ||
__exportStar(require("./cmsService/core/coreCpMainMenu.service"), exports); | ||
__exportStar(require("./cmsService/core/coreEnum.service"), exports); | ||
__exportStar(require("./cmsService/core/coreGuide.service"), exports); | ||
__exportStar(require("./cmsService/core/coreLocation.service"), exports); | ||
__exportStar(require("./cmsService/core/coreModule.service"), exports); | ||
__exportStar(require("./cmsService/core/coreModuleProcess.service"), exports); | ||
__exportStar(require("./cmsService/core/coreModuleProcessCustomize.service"), exports); | ||
__exportStar(require("./cmsService/core/coreModuleSite.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSite.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSiteCategory.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSiteCategoryCmsModule.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSiteCategoryModule.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSiteDomainAlias.service"), exports); | ||
__exportStar(require("./cmsService/core/coreSiteUser.service"), exports); | ||
__exportStar(require("./cmsService/core/coreUser.service"), exports); | ||
__exportStar(require("./cmsService/core/coreUserBadLogin.service"), exports); | ||
__exportStar(require("./cmsService/core/coreUserGroup.service"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,35 +0,34 @@ | ||
{ | ||
"name": "ntk-cms-api", | ||
"version": "1.0.5", | ||
"description": "Ntk Cms Api And Model", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsc", | ||
"prepare": "npm run build", | ||
"lint": "tslint -p tsconfig.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/akaravi/npm-ntk-cms-api.git" | ||
}, | ||
"keywords": [], | ||
"author": "monisnap-jason", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"prettier": "^2.1.2", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
"dependencies": { | ||
"@angular/common": "^10.2.0", | ||
"@angular/core": "^10.2.0", | ||
"rxjs": "^6.6.3" | ||
} | ||
} | ||
{ | ||
"name": "ntk-cms-api", | ||
"version": "1.0.6", | ||
"description": "Ntk Cms Api And Model", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsc", | ||
"prepare": "npm run build", | ||
"lint": "tslint -p tsconfig.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/akaravi/npm-ntk-cms-api.git" | ||
}, | ||
"keywords": [], | ||
"author": "monisnap-jason", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"prettier": "^2.1.2", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
"dependencies": { | ||
"@angular/common": "^10.2.0", | ||
"@angular/core": "^10.2.0", | ||
"rxjs": "^6.6.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
406830
487
6515
29