UNPKG

amberflo-metering-typescript

Version:
19 lines 836 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomerPortalSession = exports.CustomerPortalSessionApiPayload = void 0; const validation_1 = require("./validation"); class CustomerPortalSessionApiPayload { constructor(customerId) { this.customerId = customerId; } validate() { validation_1.validators.nonEmptyStr('customerId', this.customerId, false); validation_1.validators.nonEmptyStr('returnUrl', this.returnUrl); validation_1.validators.positiveInteger('expirationEpochMilliSeconds', this.expirationEpochMilliSeconds); } } exports.CustomerPortalSessionApiPayload = CustomerPortalSessionApiPayload; class CustomerPortalSession { } exports.CustomerPortalSession = CustomerPortalSession; //# sourceMappingURL=customerPortalSessionApiPayload.js.map