taxtank-core 0.23.10 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15262,6 +15262,28 @@
15262
15262
  }]
15263
15263
  }] });
15264
15264
 
15265
+ /**
15266
+ * Service to work with invitations for unregistered users
15267
+ */
15268
+ var UsersInviteService = /** @class */ (function (_super) {
15269
+ __extends(UsersInviteService, _super);
15270
+ function UsersInviteService() {
15271
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
15272
+ _this.modelClass = RegistrationInvite;
15273
+ _this.url = 'users/invite';
15274
+ return _this;
15275
+ }
15276
+ return UsersInviteService;
15277
+ }(RestService));
15278
+ UsersInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15279
+ UsersInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, providedIn: 'root' });
15280
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, decorators: [{
15281
+ type: i0.Injectable,
15282
+ args: [{
15283
+ providedIn: 'root'
15284
+ }]
15285
+ }] });
15286
+
15265
15287
  /**
15266
15288
  * Service that allows to work with WorkTank operations
15267
15289
  * @TODO separate vehicles and logbooks to different api
@@ -16181,6 +16203,20 @@
16181
16203
  return ResetPasswordForm;
16182
16204
  }(AbstractForm));
16183
16205
 
16206
+ /**
16207
+ * Form for inviting an unregistered user
16208
+ */
16209
+ var UserInviteForm = /** @class */ (function (_super) {
16210
+ __extends(UserInviteForm, _super);
16211
+ function UserInviteForm() {
16212
+ return _super.call(this, {
16213
+ firstName: new forms.FormControl(null, forms.Validators.required),
16214
+ email: new forms.FormControl(null, [forms.Validators.required, forms.Validators.email]),
16215
+ }, classTransformer.plainToClass(RegistrationInvite, {})) || this;
16216
+ }
16217
+ return UserInviteForm;
16218
+ }(AbstractForm));
16219
+
16184
16220
  var VehicleForm = /** @class */ (function (_super) {
16185
16221
  __extends(VehicleForm, _super);
16186
16222
  function VehicleForm(vehicle) {
@@ -17056,9 +17092,11 @@
17056
17092
  exports.UserEventType = UserEventType;
17057
17093
  exports.UserEventTypeCategory = UserEventTypeCategory;
17058
17094
  exports.UserEventTypeService = UserEventTypeService;
17095
+ exports.UserInviteForm = UserInviteForm;
17059
17096
  exports.UserService = UserService;
17060
17097
  exports.UserSwitcherService = UserSwitcherService;
17061
17098
  exports.UserToRegister = UserToRegister;
17099
+ exports.UsersInviteService = UsersInviteService;
17062
17100
  exports.Vehicle = Vehicle;
17063
17101
  exports.VehicleClaim = VehicleClaim;
17064
17102
  exports.VehicleClaimForm = VehicleClaimForm;