@bodidata/events
Advanced tools
Comparing version 1.15.0-0 to 1.15.0-1
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.Events$Account$ClientOrganizationActivated = exports.Events$Account$ClientOrganizationDeactivated = exports.Events$Account$ClientOrganizationNameChanged = exports.Events$Account$ClientOrganizationCreated = exports.Events$Scanner$LicenseeUpdated = exports.Events$Scanner$LicenseeCreated = exports.Events$Scanner$PasswordChangedEmailDelivered = exports.Events$Scanner$PasswordChangedEmailFailed = exports.Events$Scanner$PasswordChangedEmailQueued = exports.Events$Scanner$PasswordResetEmailDelivered = exports.Events$Scanner$PasswordResetEmailFailed = exports.Events$Scanner$PasswordResetEmailQueued = exports.Events$Scanner$AccountVerificationEmailDelivered = exports.Events$Scanner$AccountVerificationEmailFailed = exports.Events$Scanner$AccountVerificationEmailQueued = exports.Events$Scanner$Delivered = exports.Events$Scanner$EmailFailed = exports.Events$Scanner$EmailQueued = exports.Events$Scanner$UserUpdated = exports.Events$Scanner$UserCreated = exports.UserProfileUpdate = exports.UserProfileCreate = undefined; | ||
exports.Events$Account$ClientOrganizationActivated = exports.Events$Account$ClientOrganizationDeactivated = exports.Events$Account$ClientOrganizationTokenChanged = exports.Events$Account$ClientOrganizationNameChanged = exports.Events$Account$ClientOrganizationCreated = exports.Events$Scanner$LicenseeUpdated = exports.Events$Scanner$LicenseeCreated = exports.Events$Scanner$PasswordChangedEmailDelivered = exports.Events$Scanner$PasswordChangedEmailFailed = exports.Events$Scanner$PasswordChangedEmailQueued = exports.Events$Scanner$PasswordResetEmailDelivered = exports.Events$Scanner$PasswordResetEmailFailed = exports.Events$Scanner$PasswordResetEmailQueued = exports.Events$Scanner$AccountVerificationEmailDelivered = exports.Events$Scanner$AccountVerificationEmailFailed = exports.Events$Scanner$AccountVerificationEmailQueued = exports.Events$Scanner$Delivered = exports.Events$Scanner$EmailFailed = exports.Events$Scanner$EmailQueued = exports.Events$Scanner$UserUpdated = exports.Events$Scanner$UserCreated = exports.UserProfileUpdate = exports.UserProfileCreate = undefined; | ||
@@ -23,3 +23,3 @@ var _flowRuntime = require('flow-runtime'); | ||
const UserProfile = _flowRuntime2.default.type('UserProfile', _flowRuntime2.default.object(_flowRuntime2.default.property('email', _flowRuntime2.default.string()), _flowRuntime2.default.property('password', _flowRuntime2.default.string()), _flowRuntime2.default.property('fullname', _flowRuntime2.default.string()), _flowRuntime2.default.property('isVerified', _flowRuntime2.default.boolean()), _flowRuntime2.default.property('role', _flowRuntime2.default.union(_flowRuntime2.default.string('bodidata_admin'), _flowRuntime2.default.string('owner'), _flowRuntime2.default.string('admin'), _flowRuntime2.default.string('operator'))), _flowRuntime2.default.property('deleted', _flowRuntime2.default.boolean(), true))); | ||
const UserProfile = _flowRuntime2.default.type('UserProfile', _flowRuntime2.default.object(_flowRuntime2.default.property('email', _flowRuntime2.default.string()), _flowRuntime2.default.property('password', _flowRuntime2.default.string()), _flowRuntime2.default.property('fullname', _flowRuntime2.default.string()), _flowRuntime2.default.property('isVerified', _flowRuntime2.default.boolean()), _flowRuntime2.default.property('role', _flowRuntime2.default.union(_flowRuntime2.default.string('bodidata_admin'), _flowRuntime2.default.string('admin'), _flowRuntime2.default.string('operator'))), _flowRuntime2.default.property('suspended', _flowRuntime2.default.boolean(), true), _flowRuntime2.default.property('deleted', _flowRuntime2.default.boolean(), true))); | ||
@@ -90,8 +90,10 @@ const UserTokens = _flowRuntime2.default.type('UserTokens', _flowRuntime2.default.object(_flowRuntime2.default.property('verifyToken', _flowRuntime2.default.nullable(_flowRuntime2.default.string()), true), _flowRuntime2.default.property('verifyShortToken', _flowRuntime2.default.nullable(_flowRuntime2.default.string()), true), _flowRuntime2.default.property('verifyExpires', _flowRuntime2.default.any(), true), _flowRuntime2.default.property('verifyChanges', _flowRuntime2.default.any(), true), _flowRuntime2.default.property('resetToken', _flowRuntime2.default.nullable(_flowRuntime2.default.string()), true), _flowRuntime2.default.property('resetShortToken', _flowRuntime2.default.nullable(_flowRuntime2.default.string()), true), _flowRuntime2.default.property('resetExpires', _flowRuntime2.default.any(), true))); | ||
const Events$Account$ClientOrganizationCreated = exports.Events$Account$ClientOrganizationCreated = _flowRuntime2.default.type('Events$Account$ClientOrganizationCreated', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_CREATED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters, _flowRuntime2.default.object(_flowRuntime2.default.property('licensee_id', _flowRuntime2.default.string()), _flowRuntime2.default.property('name', _flowRuntime2.default.string()), _flowRuntime2.default.property('activated', _flowRuntime2.default.boolean())))), _flowRuntime2.default.property('meta', DefaultMeta))); | ||
const Events$Account$ClientOrganizationCreated = exports.Events$Account$ClientOrganizationCreated = _flowRuntime2.default.type('Events$Account$ClientOrganizationCreated', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_CREATED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters, _flowRuntime2.default.object(_flowRuntime2.default.property('licensee_id', _flowRuntime2.default.string()), _flowRuntime2.default.property('name', _flowRuntime2.default.string()), _flowRuntime2.default.property('activated', _flowRuntime2.default.boolean()), _flowRuntime2.default.property('token', _flowRuntime2.default.string())))), _flowRuntime2.default.property('meta', DefaultMeta))); | ||
const Events$Account$ClientOrganizationNameChanged = exports.Events$Account$ClientOrganizationNameChanged = _flowRuntime2.default.type('Events$Account$ClientOrganizationNameChanged', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_NAME_CHANGED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters, _flowRuntime2.default.object(_flowRuntime2.default.property('name', _flowRuntime2.default.string())))), _flowRuntime2.default.property('meta', DefaultMeta))); | ||
const Events$Account$ClientOrganizationTokenChanged = exports.Events$Account$ClientOrganizationTokenChanged = _flowRuntime2.default.type('Events$Account$ClientOrganizationTokenChanged', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_TOKEN_CHANGED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters, _flowRuntime2.default.object(_flowRuntime2.default.property('token', _flowRuntime2.default.string())))), _flowRuntime2.default.property('meta', DefaultMeta))); | ||
const Events$Account$ClientOrganizationDeactivated = exports.Events$Account$ClientOrganizationDeactivated = _flowRuntime2.default.type('Events$Account$ClientOrganizationDeactivated', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_DEACTIVATED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters)), _flowRuntime2.default.property('meta', DefaultMeta))); | ||
const Events$Account$ClientOrganizationActivated = exports.Events$Account$ClientOrganizationActivated = _flowRuntime2.default.type('Events$Account$ClientOrganizationActivated', _flowRuntime2.default.exactObject(_flowRuntime2.default.property('id', _flowRuntime2.default.number()), _flowRuntime2.default.property('type', _flowRuntime2.default.string('ACCOUNT:CLIENT_ORGANIZATION_ACTIVATED')), _flowRuntime2.default.property('payload', _flowRuntime2.default.intersection(SimpleStringID, Updaters)), _flowRuntime2.default.property('meta', DefaultMeta))); |
{ | ||
"name": "@bodidata/events", | ||
"version": "1.15.0-0", | ||
"version": "1.15.0-1", | ||
"description": "strongly typed events dictionary", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -28,3 +28,4 @@ type DefaultMeta = { | ||
isVerified: boolean, | ||
role: 'bodidata_admin' | 'owner' | 'admin' | 'operator', | ||
role: 'bodidata_admin' | 'admin' | 'operator', | ||
suspended?: boolean, | ||
deleted?: boolean, | ||
@@ -181,2 +182,3 @@ }; | ||
activated: boolean, | ||
token: string, | ||
}, | ||
@@ -196,2 +198,12 @@ meta: DefaultMeta, | ||
export type Events$Account$ClientOrganizationTokenChanged = {| | ||
id: number, | ||
type: 'ACCOUNT:CLIENT_ORGANIZATION_TOKEN_CHANGED', | ||
payload: SimpleStringID & | ||
Updaters & { | ||
token: string, | ||
}, | ||
meta: DefaultMeta, | ||
|}; | ||
export type Events$Account$ClientOrganizationDeactivated = {| | ||
@@ -198,0 +210,0 @@ id: number, |
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
133125
620