ns8-protect-models
Advanced tools
Comparing version 1.0.305-cd.c953ba697caf6ed118f42e6e1b59beb3c6c9f6be.0 to 1.0.305-cd.cbb8cb40ff00bce6bcc147e987da4e0b5c99f545.0
@@ -8,2 +8,5 @@ "use strict"; | ||
} | ||
if (!this.updatedAt) { | ||
this.updatedAt = this.createdAt; | ||
} | ||
} | ||
@@ -10,0 +13,0 @@ setUpdatedAt() { |
@@ -24,2 +24,3 @@ export * from './AccessToken'; | ||
export * from './event/OrderEventType'; | ||
export * from './extension/EkataMigrationListOptions'; | ||
export * from './extension/ExtensionEvent'; | ||
@@ -39,2 +40,3 @@ export * from './extension/ExtensionItemListOptions'; | ||
export * from './interface/IValidatable'; | ||
export * from './interface/PartnerMerchantFilter'; | ||
export * from './interface/PlatformInstallRequest'; | ||
@@ -53,2 +55,3 @@ export * from './interface/PlatformInstallResponse'; | ||
export * from './MerchantUpdate'; | ||
export * from './migrations/EkataMigrationStatusResponse'; | ||
export * from './MonitorPutOptions'; | ||
@@ -55,0 +58,0 @@ export * from './MonitorStationType'; |
@@ -29,2 +29,3 @@ "use strict"; | ||
__export(require("./event/OrderEventType")); | ||
__export(require("./extension/EkataMigrationListOptions")); | ||
__export(require("./extension/ExtensionEvent")); | ||
@@ -54,2 +55,3 @@ __export(require("./extension/ExtensionItemListOptions")); | ||
__export(require("./MerchantUpdate")); | ||
__export(require("./migrations/EkataMigrationStatusResponse")); | ||
__export(require("./MonitorPutOptions")); | ||
@@ -56,0 +58,0 @@ __export(require("./MonitorStationType")); |
import { Contact } from './Contact'; | ||
import { MerchantStatus } from './MerchantStatus'; | ||
import { Profile } from './Profile'; | ||
export declare class MerchantUpdate { | ||
@@ -8,3 +9,4 @@ constructor(partial?: Partial<MerchantUpdate>); | ||
contact?: Contact; | ||
profile?: Profile; | ||
storefrontUrl?: string; | ||
} |
@@ -31,2 +31,6 @@ "use strict"; | ||
class_validator_1.IsOptional(), | ||
class_validator_1.ValidateNested() | ||
], MerchantUpdate.prototype, "profile", void 0); | ||
__decorate([ | ||
class_validator_1.IsOptional(), | ||
class_validator_1.IsString() | ||
@@ -33,0 +37,0 @@ ], MerchantUpdate.prototype, "storefrontUrl", void 0); |
@@ -18,2 +18,3 @@ import { Account } from './accounts/Account'; | ||
logoSrc?: string; | ||
stripeId?: string; | ||
} | ||
@@ -20,0 +21,0 @@ export declare class Partner extends PartnerBase implements AuditObject { |
@@ -58,2 +58,6 @@ "use strict"; | ||
], PartnerBase.prototype, "logoSrc", void 0); | ||
__decorate([ | ||
class_validator_1.IsOptional(), | ||
class_validator_1.MaxLength(255) | ||
], PartnerBase.prototype, "stripeId", void 0); | ||
exports.PartnerBase = PartnerBase; | ||
@@ -69,2 +73,5 @@ class Partner extends PartnerBase { | ||
} | ||
if (!this.updatedAt) { | ||
this.updatedAt = this.createdAt; | ||
} | ||
} | ||
@@ -71,0 +78,0 @@ setUpdatedAt() { |
@@ -33,4 +33,3 @@ import { AuditObject } from './AuditObject'; | ||
isMigratedToEkataExtensionFramework: boolean; | ||
isMigratedToVerifiExtensionFramework: boolean; | ||
settings?: Object; | ||
} |
@@ -18,3 +18,2 @@ "use strict"; | ||
super(); | ||
this.isMigratedToEkataExtensionFramework = false; | ||
Object.assign(this, partial || {}); | ||
@@ -146,5 +145,2 @@ } | ||
__decorate([ | ||
class_validator_1.IsBoolean() | ||
], Profile.prototype, "isMigratedToVerifiExtensionFramework", void 0); | ||
__decorate([ | ||
class_validator_1.IsOptional() | ||
@@ -151,0 +147,0 @@ ], Profile.prototype, "settings", void 0); |
export declare enum SubjectType { | ||
MERCHANT = "MERCHANT", | ||
DEVELOPER = "DEVELOPER" | ||
DEVELOPER = "DEVELOPER", | ||
EXTENSION = "EXTENSION" | ||
} |
@@ -7,3 +7,4 @@ "use strict"; | ||
SubjectType["DEVELOPER"] = "DEVELOPER"; | ||
SubjectType["EXTENSION"] = "EXTENSION"; | ||
})(SubjectType = exports.SubjectType || (exports.SubjectType = {})); | ||
//# sourceMappingURL=SubjectType.js.map |
{ | ||
"name": "ns8-protect-models", | ||
"version": "1.0.305-cd.c953ba697caf6ed118f42e6e1b59beb3c6c9f6be.0", | ||
"version": "1.0.305-cd.cbb8cb40ff00bce6bcc147e987da4e0b5c99f545.0", | ||
"description": "Core data model classes defined by protect and shared with consumers like switchboard", | ||
@@ -5,0 +5,0 @@ "types": "lib/index.d.ts", |
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
251724
366
4325