jamespot-front-business 1.1.99 → 1.1.101

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/dist/types.d.ts CHANGED
@@ -7231,9 +7231,9 @@ declare const Comment: {
7231
7231
  action: string;
7232
7232
  do: string;
7233
7233
  };
7234
- stats: {
7234
+ stats?: {
7235
7235
  total: number;
7236
- };
7236
+ } | undefined;
7237
7237
  }> | undefined;
7238
7238
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7239
7239
  layers?: string[] | undefined;
@@ -7843,9 +7843,9 @@ declare const Comment: {
7843
7843
  action: string;
7844
7844
  do: string;
7845
7845
  };
7846
- stats: {
7846
+ stats?: {
7847
7847
  total: number;
7848
- };
7848
+ } | undefined;
7849
7849
  }> | undefined;
7850
7850
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7851
7851
  layers?: string[] | undefined;
@@ -7924,12 +7924,34 @@ declare const Comment: {
7924
7924
  }>)>[] | undefined;
7925
7925
  } & {
7926
7926
  _extend: Pick<{
7927
+ socialEventRecord: {
7928
+ userResponseStatus: 0 | 1 | "unknown" | "onSpot" | "visio" | "available" | "unavailable";
7929
+ subscribersTotal: number;
7930
+ subscribeAction: {
7931
+ type: string;
7932
+ class: string;
7933
+ label: string;
7934
+ isActive: boolean;
7935
+ cssClass: string;
7936
+ cssColor: string;
7937
+ struct: {
7938
+ type: string;
7939
+ targetId: number;
7940
+ targetType: string;
7941
+ action: string;
7942
+ do: string;
7943
+ };
7944
+ stats?: {
7945
+ total: number;
7946
+ } | undefined;
7947
+ };
7948
+ subscribers: jamespot_user_api.jUserLittle[];
7949
+ };
7927
7950
  search: never;
7928
7951
  bookmark: never;
7929
7952
  contact: never;
7930
7953
  quizFieldDefinitions: never;
7931
7954
  quizResponseRecord: never;
7932
- socialEventRecord: never;
7933
7955
  surveyDateRecord: never;
7934
7956
  actions?: {
7935
7957
  type: string;
@@ -7986,9 +8008,9 @@ declare const Comment: {
7986
8008
  action: string;
7987
8009
  do: string;
7988
8010
  };
7989
- stats: {
8011
+ stats?: {
7990
8012
  total: number;
7991
- };
8013
+ } | undefined;
7992
8014
  }> | undefined;
7993
8015
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7994
8016
  layers?: string[] | undefined;
@@ -12427,6 +12449,11 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
12427
12449
  isActive: boolean;
12428
12450
  hasLicense: boolean;
12429
12451
  } | undefined;
12452
+ LuccaAbsenceHook?: {
12453
+ label: string;
12454
+ isActive: boolean;
12455
+ hasLicense: boolean;
12456
+ } | undefined;
12430
12457
  OnlyOfficeHook?: {
12431
12458
  color: string;
12432
12459
  description: string;
@@ -12543,6 +12570,11 @@ declare const Hook: {
12543
12570
  isActive: boolean;
12544
12571
  hasLicense: boolean;
12545
12572
  } | undefined;
12573
+ LuccaAbsenceHook?: {
12574
+ label: string;
12575
+ isActive: boolean;
12576
+ hasLicense: boolean;
12577
+ } | undefined;
12546
12578
  OnlyOfficeHook?: {
12547
12579
  color: string;
12548
12580
  description: string;
@@ -12655,6 +12687,11 @@ declare const Hook: {
12655
12687
  isActive: boolean;
12656
12688
  hasLicense: boolean;
12657
12689
  } | undefined;
12690
+ LuccaAbsenceHook?: {
12691
+ label: string;
12692
+ isActive: boolean;
12693
+ hasLicense: boolean;
12694
+ } | undefined;
12658
12695
  OnlyOfficeHook?: {
12659
12696
  color: string;
12660
12697
  description: string;
@@ -12767,6 +12804,11 @@ declare const Hook: {
12767
12804
  isActive: boolean;
12768
12805
  hasLicense: boolean;
12769
12806
  } | undefined;
12807
+ LuccaAbsenceHook?: {
12808
+ label: string;
12809
+ isActive: boolean;
12810
+ hasLicense: boolean;
12811
+ } | undefined;
12770
12812
  OnlyOfficeHook?: {
12771
12813
  color: string;
12772
12814
  description: string;
@@ -12799,7 +12841,7 @@ declare const Hook: {
12799
12841
  hasLicense: boolean;
12800
12842
  } | undefined;
12801
12843
  };
12802
- selectHook: <T extends "ExtraBotHook" | "AdminAdvancedHook" | "AnimatedMeetingHook" | "calendarHook" | "DriveHook" | "FAQHook" | "FileBankHook" | "JitsiHook" | "spotRssFeed" | "WidgetHook" | "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T) => ({
12844
+ selectHook: <T extends "ExtraBotHook" | "AdminAdvancedHook" | "AnimatedMeetingHook" | "calendarHook" | "DriveHook" | "FAQHook" | "FileBankHook" | "JitsiHook" | "spotRssFeed" | "WidgetHook" | "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T) => ({
12803
12845
  AdminAdvancedHook?: {
12804
12846
  isActive: boolean;
12805
12847
  sendAlert: boolean;
@@ -12877,6 +12919,11 @@ declare const Hook: {
12877
12919
  isActive: boolean;
12878
12920
  hasLicense: boolean;
12879
12921
  } | undefined;
12922
+ LuccaAbsenceHook?: {
12923
+ label: string;
12924
+ isActive: boolean;
12925
+ hasLicense: boolean;
12926
+ } | undefined;
12880
12927
  OnlyOfficeHook?: {
12881
12928
  color: string;
12882
12929
  description: string;
@@ -12909,7 +12956,7 @@ declare const Hook: {
12909
12956
  hasLicense: boolean;
12910
12957
  } | undefined;
12911
12958
  })[T] | undefined;
12912
- hasHookLicense: <T_1 extends "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T_1) => boolean;
12959
+ hasHookLicense: <T_1 extends "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T_1) => boolean;
12913
12960
  };
12914
12961
  utils: {
12915
12962
  buildDrivesArrayFromObject: (drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>> | undefined) => string[];
@@ -18980,6 +19027,7 @@ declare const WedocApp: {
18980
19027
  dateCreation: string;
18981
19028
  dateModified: string;
18982
19029
  _url: string;
19030
+ parentType: string;
18983
19031
  generalAccessRule: string;
18984
19032
  fileInfo: {
18985
19033
  color: string;
@@ -18989,7 +19037,6 @@ declare const WedocApp: {
18989
19037
  extension: string;
18990
19038
  };
18991
19039
  parentId: number;
18992
- parentType: string;
18993
19040
  parentFiles: number[];
18994
19041
  generalAccessHash?: string | undefined;
18995
19042
  };
@@ -19032,6 +19079,7 @@ declare const WedocApp: {
19032
19079
  dateCreation: string;
19033
19080
  dateModified: string;
19034
19081
  _url: string;
19082
+ parentType: string;
19035
19083
  generalAccessRule: string;
19036
19084
  fileInfo: {
19037
19085
  color: string;
@@ -19041,7 +19089,6 @@ declare const WedocApp: {
19041
19089
  extension: string;
19042
19090
  };
19043
19091
  parentId: number;
19044
- parentType: string;
19045
19092
  parentFiles: number[];
19046
19093
  generalAccessHash?: string | undefined;
19047
19094
  };
@@ -19078,6 +19125,7 @@ declare const WedocApp: {
19078
19125
  dateCreation: string;
19079
19126
  dateModified: string;
19080
19127
  _url: string;
19128
+ parentType: string;
19081
19129
  generalAccessRule: string;
19082
19130
  fileInfo: {
19083
19131
  color: string;
@@ -19087,7 +19135,6 @@ declare const WedocApp: {
19087
19135
  extension: string;
19088
19136
  };
19089
19137
  parentId: number;
19090
- parentType: string;
19091
19138
  parentFiles: number[];
19092
19139
  generalAccessHash?: string | undefined;
19093
19140
  };
@@ -19122,6 +19169,7 @@ declare const WedocApp: {
19122
19169
  dateCreation: string;
19123
19170
  dateModified: string;
19124
19171
  _url: string;
19172
+ parentType: string;
19125
19173
  generalAccessRule: string;
19126
19174
  fileInfo: {
19127
19175
  color: string;
@@ -19131,7 +19179,6 @@ declare const WedocApp: {
19131
19179
  extension: string;
19132
19180
  };
19133
19181
  parentId: number;
19134
- parentType: string;
19135
19182
  parentFiles: number[];
19136
19183
  generalAccessHash?: string | undefined;
19137
19184
  };
@@ -19394,6 +19441,7 @@ declare const WedocApp: {
19394
19441
  dateCreation: string;
19395
19442
  dateModified: string;
19396
19443
  _url: string;
19444
+ parentType: string;
19397
19445
  generalAccessRule: string;
19398
19446
  fileInfo: {
19399
19447
  color: string;
@@ -19403,7 +19451,6 @@ declare const WedocApp: {
19403
19451
  extension: string;
19404
19452
  };
19405
19453
  parentId: number;
19406
- parentType: string;
19407
19454
  parentFiles: number[];
19408
19455
  generalAccessHash?: string | undefined;
19409
19456
  };
@@ -23016,6 +23063,9 @@ type AppStatusType = ValueOf<typeof StatusType>;
23016
23063
  interface StudioAppBase extends StudioApplicationBase {
23017
23064
  articlesCount?: number;
23018
23065
  }
23066
+ type AppSyncViewFieldOrder = {
23067
+ [key in ViewName]: boolean;
23068
+ };
23019
23069
  interface StudioApplication {
23020
23070
  idApp: string;
23021
23071
  status: AppStatusType;
@@ -23024,9 +23074,7 @@ interface StudioApplication {
23024
23074
  migratedFrom?: number;
23025
23075
  manifest: StudioAppManifest;
23026
23076
  inWorkVersion?: StudioApplication;
23027
- syncViewFieldOrder?: {
23028
- [key in ViewName]: boolean;
23029
- };
23077
+ syncViewFieldOrder?: AppSyncViewFieldOrder;
23030
23078
  fields: AppFieldsFormItem[];
23031
23079
  views: AppViewsFields;
23032
23080
  audience: StudioAudienceType;
@@ -23141,6 +23189,14 @@ declare const ExtraAppFieldsItemViews: {
23141
23189
  readonly CREATIONDATE: "CREATIONDATE";
23142
23190
  };
23143
23191
  type ExtraAppFieldsItemViewsValues = ValueOf<typeof ExtraAppFieldsItemViews>;
23192
+ declare const ExtraAppFieldsItemName: {
23193
+ TITLE: string;
23194
+ USER: string;
23195
+ PUBLISHTO: string;
23196
+ SENDALERTTOSUBSCRIBERS: string;
23197
+ RECEIVEACOPY: string;
23198
+ CREATIONDATE: string;
23199
+ };
23144
23200
  type CheckBoxOption = {
23145
23201
  label: string;
23146
23202
  value: any;
@@ -23562,7 +23618,7 @@ type ThunkApiConfig<T> = {
23562
23618
  };
23563
23619
  };
23564
23620
 
23565
- declare function updateViewsFromFields(clonedApp: StudioApplication, appFields: AppFieldsFormItem[]): any;
23621
+ declare function updateViewsFromFields(views: AppViewsFields, syncViewFieldOrder: AppSyncViewFieldOrder | undefined, appFields: AppFieldsFormItem[]): any;
23566
23622
 
23567
23623
  declare function generateNewFormField(type: AppFormItemTypesValues, viewsDefault?: boolean): AppFieldsFormItem;
23568
23624
 
@@ -25912,4 +25968,4 @@ declare const studio: {
25912
25968
  };
25913
25969
  };
25914
25970
 
25915
- export { APP_STATUS_TYPE, AUDIENCE, AccessRightObjectList, Action, AdminLogs, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, Animations, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormItemTypesValues, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReport, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Description, Display, DisplayComposant, Displays, EditorProps, EditorsRootState, EditorsState, Element, ExtraAppFieldsItemViews, ExtraAppFieldsItemViewsValues, ExtraBot, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, Faq, FaqRootState, HTMLInfo, Hook, HookRootState, InstalledApp, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPad, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, OptionsClass, PagingState, ParamsClass, Platform, PlatformRootState, RTDispatch, ReservationForm, ReservationRootState, ReservationState, Right, RootDispatch, RootState, STUDIO_VIEW, Share, SocialActions, Solr, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplay, TVDisplayRootState, Table, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, UserCurrent, UserCurrentRootState, Values, ViewName, WedocApp, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState, contentReportSlice, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, slice, studio, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
25971
+ export { APP_STATUS_TYPE, AUDIENCE, AccessRightObjectList, Action, AdminLogs, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, Animations, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormItemTypesValues, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReport, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Description, Display, DisplayComposant, Displays, EditorProps, EditorsRootState, EditorsState, Element, ExtraAppFieldsItemName, ExtraAppFieldsItemViews, ExtraAppFieldsItemViewsValues, ExtraBot, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, Faq, FaqRootState, HTMLInfo, Hook, HookRootState, InstalledApp, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPad, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, OptionsClass, PagingState, ParamsClass, Platform, PlatformRootState, RTDispatch, ReservationForm, ReservationRootState, ReservationState, Right, RootDispatch, RootState, STUDIO_VIEW, Share, SocialActions, Solr, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplay, TVDisplayRootState, Table, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, UserCurrent, UserCurrentRootState, Values, ViewName, WedocApp, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState, contentReportSlice, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, slice, studio, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.99",
3
+ "version": "1.1.101",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@reduxjs/toolkit": "1.9.0",
45
45
  "@types/uuid": "^10.0.0",
46
- "jamespot-user-api": "^1.0.225",
46
+ "jamespot-user-api": "^1.0.227",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"