@messenger-box/core 0.0.1-alpha.141 → 0.0.1-alpha.146
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/lib/index.js +33 -2
- package/lib/index.js.map +1 -1
- package/lib/interfaces/generated-models.d.ts +349 -9
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -122,8 +122,8 @@ __exportStar(__webpack_require__(/*! ./interfaces */ "./src/interfaces/index.ts"
|
|
|
122
122
|
"use strict";
|
|
123
123
|
|
|
124
124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125
|
-
exports.
|
|
126
|
-
exports.useCurrentUserLazyQuery = exports.useCurrentUserQuery = exports.CurrentUserDocument = exports.useUsersToChatLazyQuery = exports.useUsersToChatQuery = exports.UsersToChatDocument = exports.useGetUserByIdLazyQuery = exports.useGetUserByIdQuery = exports.GetUserByIdDocument = exports.useGetAllUsersLazyQuery = exports.useGetAllUsersQuery = exports.GetAllUsersDocument = exports.useGetMessagesLazyQuery = exports.useGetMessagesQuery = exports.GetMessagesDocument = exports.useGetAllChannelLazyQuery = exports.useGetAllChannelQuery = exports.GetAllChannelDocument = exports.useGetChannelsByUserLazyQuery = exports.useGetChannelsByUserQuery = exports.GetChannelsByUserDocument = exports.useDeleteMessageFileMutation = exports.DeleteMessageFileDocument = exports.useAttachUploadedFileToMessageMutation = exports.AttachUploadedFileToMessageDocument = exports.useCreateMessageFileUploadLinkMutation = exports.CreateMessageFileUploadLinkDocument = exports.useEditMessageMutation = exports.EditMessageDocument = void 0;
|
|
125
|
+
exports.DeleteChannelDocument = exports.useAddMemberToChannelMutation = exports.AddMemberToChannelDocument = exports.useAddDirectChannelMutation = exports.AddDirectChannelDocument = exports.useAddChannelMutation = exports.AddChannelDocument = exports.PostPropsFragmentDoc = exports.ConfigurationFragmentDoc = exports.FileInfoFragmentDoc = exports.IVisibility = exports.IUserOrderBy = exports.ISortEnum = exports.ISettingValueType = exports.IRoomType = exports.IRole = exports.IProjectType = exports.IProjectSourceType = exports.IProjectSourceProviders = exports.IPreDefinedRole = exports.IPostServiceCommands = exports.IPortalLanguage = exports.IPermissionType = exports.IPermissionResource = exports.IPermissionAction = exports.IOrgUserRole = exports.IOrganizationContextPubSubEvents = exports.IOrgainizationInvitationRole = exports.IMoleculerTopics = exports.IMoleculerServiceName = exports.IMoleculerCronServiceName = exports.IMessengerUserStatus = exports.IMessengerNotificationServiceCommands = exports.IMailTemplateId = exports.IInviteStatus = exports.IGlobalLanguages = exports.IGlobalCurrencies = exports.IFileRefType = exports.IEditPresentationTypes = exports.IConfigurationTarget = exports.IConfigurationScope = exports.IConfigFragmentName = exports.IConfigCollectionName = exports.IClientTypes = exports.IClientCacheTypeNames = exports.IChannelSort = exports.IChannelServiceCommands = exports.IChannelPrivacy = exports.IBaseServiceCommands = exports.IApplicationRoles = void 0;
|
|
126
|
+
exports.useCurrentUserLazyQuery = exports.useCurrentUserQuery = exports.CurrentUserDocument = exports.useUsersToChatLazyQuery = exports.useUsersToChatQuery = exports.UsersToChatDocument = exports.useGetUserByIdLazyQuery = exports.useGetUserByIdQuery = exports.GetUserByIdDocument = exports.useGetAllUsersLazyQuery = exports.useGetAllUsersQuery = exports.GetAllUsersDocument = exports.useGetMessagesLazyQuery = exports.useGetMessagesQuery = exports.GetMessagesDocument = exports.useGetAllChannelLazyQuery = exports.useGetAllChannelQuery = exports.GetAllChannelDocument = exports.useGetChannelsByUserLazyQuery = exports.useGetChannelsByUserQuery = exports.GetChannelsByUserDocument = exports.useDeleteMessageFileMutation = exports.DeleteMessageFileDocument = exports.useAttachUploadedFileToMessageMutation = exports.AttachUploadedFileToMessageDocument = exports.useCreateMessageFileUploadLinkMutation = exports.CreateMessageFileUploadLinkDocument = exports.useEditMessageMutation = exports.EditMessageDocument = exports.useDeleteMessageMutation = exports.DeleteMessageDocument = exports.useSendMessagesMutation = exports.SendMessagesDocument = exports.useDeleteChannelMutation = void 0;
|
|
127
127
|
const Apollo = __webpack_require__(/*! @apollo/client */ "@apollo/client");
|
|
128
128
|
const defaultOptions = {};
|
|
129
129
|
var IApplicationRoles;
|
|
@@ -197,6 +197,7 @@ var IChannelServiceCommands;
|
|
|
197
197
|
IChannelServiceCommands["leaveChannel"] = "leaveChannel";
|
|
198
198
|
IChannelServiceCommands["deleteChannel"] = "deleteChannel";
|
|
199
199
|
IChannelServiceCommands["isMember"] = "isMember";
|
|
200
|
+
IChannelServiceCommands["viewChannel"] = "viewChannel";
|
|
200
201
|
})(IChannelServiceCommands = exports.IChannelServiceCommands || (exports.IChannelServiceCommands = {}));
|
|
201
202
|
var IChannelSort;
|
|
202
203
|
(function (IChannelSort) {
|
|
@@ -300,6 +301,14 @@ var IInviteStatus;
|
|
|
300
301
|
IInviteStatus["ACCEPTED"] = "ACCEPTED";
|
|
301
302
|
IInviteStatus["DECLINED"] = "DECLINED";
|
|
302
303
|
})(IInviteStatus = exports.IInviteStatus || (exports.IInviteStatus = {}));
|
|
304
|
+
var IMailTemplateId;
|
|
305
|
+
(function (IMailTemplateId) {
|
|
306
|
+
IMailTemplateId["MessageNotificationServiceId"] = "MessageNotificationServiceId";
|
|
307
|
+
})(IMailTemplateId = exports.IMailTemplateId || (exports.IMailTemplateId = {}));
|
|
308
|
+
var IMessengerNotificationServiceCommands;
|
|
309
|
+
(function (IMessengerNotificationServiceCommands) {
|
|
310
|
+
IMessengerNotificationServiceCommands["sendNotificationOfUnreadMessages"] = "sendNotificationOfUnreadMessages";
|
|
311
|
+
})(IMessengerNotificationServiceCommands = exports.IMessengerNotificationServiceCommands || (exports.IMessengerNotificationServiceCommands = {}));
|
|
303
312
|
var IMessengerUserStatus;
|
|
304
313
|
(function (IMessengerUserStatus) {
|
|
305
314
|
IMessengerUserStatus["ONLINE"] = "ONLINE";
|
|
@@ -307,9 +316,14 @@ var IMessengerUserStatus;
|
|
|
307
316
|
IMessengerUserStatus["BUSY"] = "BUSY";
|
|
308
317
|
IMessengerUserStatus["INVISIBLE"] = "INVISIBLE";
|
|
309
318
|
})(IMessengerUserStatus = exports.IMessengerUserStatus || (exports.IMessengerUserStatus = {}));
|
|
319
|
+
var IMoleculerCronServiceName;
|
|
320
|
+
(function (IMoleculerCronServiceName) {
|
|
321
|
+
IMoleculerCronServiceName["MessengerCronJob"] = "MessengerCronJob";
|
|
322
|
+
})(IMoleculerCronServiceName = exports.IMoleculerCronServiceName || (exports.IMoleculerCronServiceName = {}));
|
|
310
323
|
/** All Moleculer Topic names are extended from this. */
|
|
311
324
|
var IMoleculerServiceName;
|
|
312
325
|
(function (IMoleculerServiceName) {
|
|
326
|
+
IMoleculerServiceName["MessengerNotificationService"] = "MessengerNotificationService";
|
|
313
327
|
IMoleculerServiceName["dummy"] = "dummy";
|
|
314
328
|
})(IMoleculerServiceName = exports.IMoleculerServiceName || (exports.IMoleculerServiceName = {}));
|
|
315
329
|
var IMoleculerTopics;
|
|
@@ -319,6 +333,7 @@ var IMoleculerTopics;
|
|
|
319
333
|
IMoleculerTopics["PostService"] = "PostService";
|
|
320
334
|
IMoleculerTopics["PostThreadService"] = "PostThreadService";
|
|
321
335
|
IMoleculerTopics["ReactionService"] = "ReactionService";
|
|
336
|
+
IMoleculerTopics["MessengerNotificationService"] = "MessengerNotificationService";
|
|
322
337
|
})(IMoleculerTopics = exports.IMoleculerTopics || (exports.IMoleculerTopics = {}));
|
|
323
338
|
/**
|
|
324
339
|
* OrganizationInvitationRole: The possible organization invitation roles.
|
|
@@ -404,6 +419,22 @@ var IPreDefinedRole;
|
|
|
404
419
|
IPreDefinedRole["GUEST"] = "GUEST";
|
|
405
420
|
IPreDefinedRole["CONTRIBUTORS"] = "CONTRIBUTORS";
|
|
406
421
|
})(IPreDefinedRole = exports.IPreDefinedRole || (exports.IPreDefinedRole = {}));
|
|
422
|
+
/** Various Source Providers for Projects Source. */
|
|
423
|
+
var IProjectSourceProviders;
|
|
424
|
+
(function (IProjectSourceProviders) {
|
|
425
|
+
IProjectSourceProviders["Github"] = "Github";
|
|
426
|
+
IProjectSourceProviders["Bitbucket"] = "Bitbucket";
|
|
427
|
+
IProjectSourceProviders["Gitlab"] = "Gitlab";
|
|
428
|
+
IProjectSourceProviders["Vsts"] = "Vsts";
|
|
429
|
+
IProjectSourceProviders["None"] = "None";
|
|
430
|
+
})(IProjectSourceProviders = exports.IProjectSourceProviders || (exports.IProjectSourceProviders = {}));
|
|
431
|
+
/** Various types of sources. */
|
|
432
|
+
var IProjectSourceType;
|
|
433
|
+
(function (IProjectSourceType) {
|
|
434
|
+
IProjectSourceType["Blank"] = "Blank";
|
|
435
|
+
IProjectSourceType["Zip"] = "Zip";
|
|
436
|
+
IProjectSourceType["Git"] = "Git";
|
|
437
|
+
})(IProjectSourceType = exports.IProjectSourceType || (exports.IProjectSourceType = {}));
|
|
407
438
|
var IProjectType;
|
|
408
439
|
(function (IProjectType) {
|
|
409
440
|
IProjectType["internal"] = "internal";
|