@resolveio/client-lib-core 21.0.29 → 21.0.31

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/client-lib-core",
3
- "version": "21.0.29",
3
+ "version": "21.0.31",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -104,6 +104,7 @@ interface UserModel extends CollectionDocument {
104
104
  last?: Date;
105
105
  settings?: UserSettingsModel;
106
106
  services?: Object;
107
+ is_customer?: boolean;
107
108
  }
108
109
  interface UserSettingsModel {
109
110
  table_color: string;
@@ -145,9 +146,9 @@ interface UserRoleModel {
145
146
  }
146
147
  interface UserRoleApprovalModel {
147
148
  type: string;
148
- key_1: string;
149
- key_2: string;
150
- key_3: string;
149
+ key_1?: string;
150
+ key_2?: string;
151
+ key_3?: string;
151
152
  name: string;
152
153
  }
153
154
  interface UserRoleGroupModel {
@@ -156,9 +157,47 @@ interface UserRoleGroupModel {
156
157
  yards?: string[];
157
158
  }
158
159
  interface OtherObject {
160
+ customer_type?: string;
161
+ id_customer?: string;
162
+ customer?: string;
163
+ yards?: string[];
164
+ signature?: string;
165
+ delegates?: UserDelegateModel[];
166
+ supervisors?: UserSupervisorModel[];
167
+ notifications?: UserNotificationModel[];
168
+ employment_level?: UserEmploymentLevelType;
169
+ id_employment_level?: string;
159
170
  date_picker_day_start?: 'S' | 'M';
160
171
  [key: string]: any;
161
172
  }
173
+ type UserEmploymentLevelType = '' | 'Field' | 'Yard' | 'Account Manager' | 'Area Manager' | 'Mid Level' | 'Senior Management';
174
+ interface UserDelegateModel {
175
+ id_user: string;
176
+ user: string;
177
+ id_shared_user: string;
178
+ id_cron: string;
179
+ date_start: Date;
180
+ date_end: Date;
181
+ }
182
+ interface UserSupervisorModel {
183
+ id_user: string;
184
+ user: string;
185
+ }
186
+ interface UserNotificationModel {
187
+ id_notification?: string;
188
+ notification_name?: string;
189
+ delivery_method_email?: boolean;
190
+ delivery_method_sms?: boolean;
191
+ type?: UserNotificationTypes;
192
+ subtype?: UserNotificationSubTypes;
193
+ data?: UserNotificationConfigModel;
194
+ [key: string]: any;
195
+ }
196
+ interface UserNotificationConfigModel {
197
+ [key: string]: any;
198
+ }
199
+ type UserNotificationSubTypes = 'All' | 'My' | 'Selected';
200
+ type UserNotificationTypes = 'All' | 'Users' | 'Yards' | 'Wells';
162
201
 
163
202
  interface AppStatusModel extends CollectionDocument {
164
203
  message: string;
@@ -1135,6 +1174,7 @@ declare class CollapseTableComponent implements OnInit, OnDestroy {
1135
1174
  headerFixed: boolean;
1136
1175
  secondaryColor: boolean;
1137
1176
  tertiaryColor: boolean;
1177
+ scrollable: boolean;
1138
1178
  windowSize: number;
1139
1179
  windowSizeSubscription: any;
1140
1180
  constructor(_resizeService: ResizeService, _account: AccountManagerService);
@@ -1144,7 +1184,7 @@ declare class CollapseTableComponent implements OnInit, OnDestroy {
1144
1184
  getCollapseClass(): string[];
1145
1185
  getPrimaryColor(): string;
1146
1186
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapseTableComponent, never>;
1147
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapseTableComponent, "collapse-table", never, { "collapseSize": { "alias": "collapseSize"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "tertiaryColor": { "alias": "tertiaryColor"; "required": false; }; }, {}, never, ["*"], false, never>;
1187
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollapseTableComponent, "collapse-table", never, { "collapseSize": { "alias": "collapseSize"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "tertiaryColor": { "alias": "tertiaryColor"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, {}, never, ["*"], false, never>;
1148
1188
  }
1149
1189
 
1150
1190
  declare class CollapseTableModule {
@@ -1558,7 +1598,6 @@ declare class UsersSettingsComponent extends BaseComponent implements OnInit, On
1558
1598
  stickySelections: {
1559
1599
  [key: string]: any;
1560
1600
  };
1561
- hasSubmit: boolean;
1562
1601
  constructor(_aps: AuthPermissionService, _us: UserSettingsService, _services: ProviderService, _ds: DialogService, _stickyAdapter?: NgSelectStickyAdapter);
1563
1602
  ngOnInit(): void;
1564
1603
  ngOnDestroy(): void;
@@ -2126,4 +2165,4 @@ declare const ReportBuilderModulePermission: ModulePermissionModel;
2126
2165
  declare const SuperAdminModulePermission: ModulePermissionModel;
2127
2166
 
2128
2167
  export { AccountManagerService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreComponent, CoreModule, CoreService, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogService, DomSanitizorPipe, Draggable, DropEvent, Droppable, EnrollComponent, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, JsonParsePipe, LoggerComponent, MinusCurrencyPipe, NavbarMainComponent, NavbarModuleComponent, NgDragDropModule, NgDragDropService, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, Sortable as SortableJs, SortablejsDirective, SortablejsModule, StorageDB, SuperAdminModulePermission, SupportTicketComponent, SupportTicketDetailComponent, SupportTicketEditComponent, SupportTicketListComponent, SupportTicketModule, SupportTicketNewComponent, SupportTicketRouting, SupportTicketService, TitleCaseAndUnderscorePipe, TokenManagerService, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, dateReviver, deepCopy, deepDiffDetails, exportCsv, generateCronStringFromDate, isUpperCase, mergeDeep, pad, rioDatePickerConfigFactory, round, s2ab, toDataURL, toTitleCase, type };
2129
- export type { ActiveClientSubscriptionModel, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableColumn, DatatableModel, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, SupportTicketClientUserModel, SupportTicketMessageModel, SupportTicketModel, SupportTicketNoteModel, SupportTicketPriority, SupportTicketStatus, SupportTicketSubstatus, SupportTicketTaskModel, SupportTicketType, SupportTicketUserAssignedModel, SupportTicketWatchersModel, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, alertType };
2168
+ export type { ActiveClientSubscriptionModel, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableColumn, DatatableModel, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, SupportTicketClientUserModel, SupportTicketMessageModel, SupportTicketModel, SupportTicketNoteModel, SupportTicketPriority, SupportTicketStatus, SupportTicketSubstatus, SupportTicketTaskModel, SupportTicketType, SupportTicketUserAssignedModel, SupportTicketWatchersModel, UserDelegateModel, UserEmploymentLevelType, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserNotificationConfigModel, UserNotificationModel, UserNotificationSubTypes, UserNotificationTypes, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, UserSupervisorModel, alertType };