@messenger-box/platform-client 0.0.1-alpha.388 → 0.0.1-alpha.390

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.1-alpha.390](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.389...v0.0.1-alpha.390) (2023-08-29)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-client
9
+
6
10
  ## [0.0.1-alpha.388](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.387...v0.0.1-alpha.388) (2023-08-25)
7
11
 
8
12
  **Note:** Version bump only for package @messenger-box/platform-client
@@ -2792,7 +2792,6 @@ export declare type ISubscription = {
2792
2792
  SubscribeToPolicyUpdate?: Maybe<IConfigurationUpdateEvent>;
2793
2793
  chatMessageAdded?: Maybe<IPost>;
2794
2794
  dummy?: Maybe<Scalars['Int']>;
2795
- getNewPostId?: Maybe<Scalars['ID']>;
2796
2795
  publicPostAdded?: Maybe<IPost>;
2797
2796
  threadChatMessageAdded?: Maybe<IPost>;
2798
2797
  threadCreatedUpdated?: Maybe<IThreadCreatedUpdated>;
@@ -4002,12 +4001,6 @@ export declare type IOnChatMessageAddedSubscription = ({
4002
4001
  __typename?: 'Post';
4003
4002
  } & IPostFragment)>;
4004
4003
  });
4005
- export declare type IOnPublishGetNewPostIdSubscriptionVariables = Exact<{
4006
- [key: string]: never;
4007
- }>;
4008
- export declare type IOnPublishGetNewPostIdSubscription = ({
4009
- __typename?: 'Subscription';
4010
- } & Pick<ISubscription, 'getNewPostId'>);
4011
4004
  export declare type IOnPublicPostAddedSubscriptionVariables = Exact<{
4012
4005
  channelId: Scalars['String'];
4013
4006
  }>;
@@ -5912,7 +5905,6 @@ export declare type ISubscriptionResolvers<ContextType = any, ParentType extends
5912
5905
  SubscribeToPolicyUpdate?: SubscriptionResolver<Maybe<IResolversTypes['ConfigurationUpdateEvent']>, "SubscribeToPolicyUpdate", ParentType, ContextType, RequireFields<ISubscriptionSubscribeToPolicyUpdateArgs, never>>;
5913
5906
  chatMessageAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "chatMessageAdded", ParentType, ContextType, RequireFields<ISubscriptionChatMessageAddedArgs, never>>;
5914
5907
  dummy?: SubscriptionResolver<Maybe<IResolversTypes['Int']>, "dummy", ParentType, ContextType>;
5915
- getNewPostId?: SubscriptionResolver<Maybe<IResolversTypes['ID']>, "getNewPostId", ParentType, ContextType>;
5916
5908
  publicPostAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "publicPostAdded", ParentType, ContextType, RequireFields<ISubscriptionPublicPostAddedArgs, 'channelId'>>;
5917
5909
  threadChatMessageAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "threadChatMessageAdded", ParentType, ContextType, RequireFields<ISubscriptionThreadChatMessageAddedArgs, never>>;
5918
5910
  threadCreatedUpdated?: SubscriptionResolver<Maybe<IResolversTypes['ThreadCreatedUpdated']>, "threadCreatedUpdated", ParentType, ContextType, RequireFields<ISubscriptionThreadCreatedUpdatedArgs, never>>;
@@ -7472,25 +7464,6 @@ export declare const OnChatMessageAddedDocument: DocumentNode;
7472
7464
  export declare function useOnChatMessageAddedSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnChatMessageAddedSubscription, IOnChatMessageAddedSubscriptionVariables>): Apollo.SubscriptionResult<IOnChatMessageAddedSubscription, any>;
7473
7465
  export declare type OnChatMessageAddedSubscriptionHookResult = ReturnType<typeof useOnChatMessageAddedSubscription>;
7474
7466
  export declare type OnChatMessageAddedSubscriptionResult = Apollo.SubscriptionResult<IOnChatMessageAddedSubscription>;
7475
- export declare const OnPublishGetNewPostIdDocument: DocumentNode;
7476
- /**
7477
- * __useOnPublishGetNewPostIdSubscription__
7478
- *
7479
- * To run a query within a React component, call `useOnPublishGetNewPostIdSubscription` and pass it any options that fit your needs.
7480
- * When your component renders, `useOnPublishGetNewPostIdSubscription` returns an object from Apollo Client that contains loading, error, and data properties
7481
- * you can use to render your UI.
7482
- *
7483
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7484
- *
7485
- * @example
7486
- * const { data, loading, error } = useOnPublishGetNewPostIdSubscription({
7487
- * variables: {
7488
- * },
7489
- * });
7490
- */
7491
- export declare function useOnPublishGetNewPostIdSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnPublishGetNewPostIdSubscription, IOnPublishGetNewPostIdSubscriptionVariables>): Apollo.SubscriptionResult<IOnPublishGetNewPostIdSubscription, any>;
7492
- export declare type OnPublishGetNewPostIdSubscriptionHookResult = ReturnType<typeof useOnPublishGetNewPostIdSubscription>;
7493
- export declare type OnPublishGetNewPostIdSubscriptionResult = Apollo.SubscriptionResult<IOnPublishGetNewPostIdSubscription>;
7494
7467
  export declare const OnPublicPostAddedDocument: DocumentNode;
7495
7468
  /**
7496
7469
  * __useOnPublicPostAddedSubscription__
package/lib/index.js CHANGED
@@ -50,7 +50,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
50
50
  exports.ConfigurationFragmentDoc = exports.MessengerUserFragmentDoc = exports.MinimalUserFragmentDoc = exports.FileInfoFragmentDoc = exports.IVisibility = exports.IUserOrderBy = exports.ITokenTypesEnum = exports.ISortEnum = exports.ISmsServiceActions = exports.ISettingValueType = exports.IRoomType = exports.IRole = exports.IPreDefinedRole = exports.IPostTypeEnum = exports.IPostServiceCommands = exports.IPortalLanguage = exports.IPermissionType = exports.IPermissionResource = exports.IPermissionAction = exports.IOrganizationContextPubSubEvents = exports.IOrgainizationInvitationRole = exports.IOrgUserRole = exports.IOtpAction = exports.IMoleculerTopics = exports.IMoleculerServiceName = exports.IMoleculerCronServiceName = exports.IMessengerUserStatus = exports.IMessengerNotificationServiceCommands = exports.IMailTemplateId = exports.IInviteStatus = exports.IIdType = exports.IIdStatus = exports.IGlobalLanguages = exports.IGlobalCurrencies = exports.IGender = exports.IFileRefType = exports.IEditPresentationTypes = exports.IDeviceInfoPlatform = exports.IConfigurationTarget = exports.IConfigurationScope = exports.IConfigurationContributionNames = exports.IConfigFragmentName = exports.IConfigCollectionName = exports.IClientTypes = exports.IClientCacheTypeNames = exports.IChannelSort = exports.IChannelServiceCommands = exports.IChannelPrivacy = exports.IBaseServiceCommands = exports.IApplicationRoles = void 0;
51
51
  exports.useViewChannelDetailQuery = exports.ViewChannelDetailDocument = exports.useGetAllChannelLazyQuery = exports.useGetAllChannelQuery = exports.GetAllChannelDocument = exports.useCreateTeamMutation = exports.CreateTeamDocument = exports.useCreateOrganizationMutation = exports.CreateOrganizationDocument = exports.useDeleteMessageFileMutation = exports.DeleteMessageFileDocument = exports.useAttachUploadedFilesToMessageMutation = exports.AttachUploadedFilesToMessageDocument = exports.useCreateMessageFilesUploadLinkMutation = exports.CreateMessageFilesUploadLinkDocument = exports.useAttachUploadedFileToMessageMutation = exports.AttachUploadedFileToMessageDocument = exports.useCreateMessageFileUploadLinkMutation = exports.CreateMessageFileUploadLinkDocument = exports.useEditMessageMutation = exports.EditMessageDocument = exports.useDeleteMessageMutation = exports.DeleteMessageDocument = exports.useSendExpoNotificationOnPostMutation = exports.SendExpoNotificationOnPostDocument = exports.useSendPublicMessageMutation = exports.SendPublicMessageDocument = exports.useSendMessagesMutation = exports.SendMessagesDocument = exports.useSendThreadMessageMutation = exports.SendThreadMessageDocument = exports.useRemoveDeviceTokenMutation = exports.RemoveDeviceTokenDocument = exports.useSetDeviceTokenMutation = exports.SetDeviceTokenDocument = exports.useDeleteChannelMutation = exports.DeleteChannelDocument = exports.useSaveMembersToChannelMutation = exports.SaveMembersToChannelDocument = exports.useAddMemberToChannelMutation = exports.AddMemberToChannelDocument = exports.useAddDirectChannelMutation = exports.AddDirectChannelDocument = exports.useAddChannelMutation = exports.AddChannelDocument = exports.UserFragmentDoc = exports.ThreadMessageSentFragmentDoc = exports.PostThreadFragmentDoc = exports.PostFragmentDoc = exports.PostRepliesFragmentDoc = void 0;
52
52
  exports.CurrentUserDocument = exports.useUsersToChatLazyQuery = exports.useUsersToChatQuery = exports.UsersToChatDocument = exports.useGetUserByIdLazyQuery = exports.useGetUserByIdQuery = exports.GetUserByIdDocument = exports.useGetAllUsersLazyQuery = exports.useGetAllUsersQuery = exports.GetAllUsersDocument = exports.useUserAccountLazyQuery = exports.useUserAccountQuery = exports.UserAccountDocument = exports.useGetOrganizationTeamsLazyQuery = exports.useGetOrganizationTeamsQuery = exports.GetOrganizationTeamsDocument = exports.useSupportServiceChannelsLazyQuery = exports.useSupportServiceChannelsQuery = exports.SupportServiceChannelsDocument = exports.useThreadMessagesLazyQuery = exports.useThreadMessagesQuery = exports.ThreadMessagesDocument = exports.useGetMessagesLazyQuery = exports.useGetMessagesQuery = exports.GetMessagesDocument = exports.useGetOrganizationDetailLazyQuery = exports.useGetOrganizationDetailQuery = exports.GetOrganizationDetailDocument = exports.usePublicMessagesLazyQuery = exports.usePublicMessagesQuery = exports.PublicMessagesDocument = exports.useMessagesLazyQuery = exports.useMessagesQuery = exports.MessagesDocument = exports.useGetNewMongooseObjectIdLazyQuery = exports.useGetNewMongooseObjectIdQuery = exports.GetNewMongooseObjectIdDocument = exports.useGetDeviceTokenLazyQuery = exports.useGetDeviceTokenQuery = exports.GetDeviceTokenDocument = exports.useFileUrlLazyQuery = exports.useFileUrlQuery = exports.FileUrlDocument = exports.useCheckForNewMessagesLazyQuery = exports.useCheckForNewMessagesQuery = exports.CheckForNewMessagesDocument = exports.useGetChannelsByUserLazyQuery = exports.useGetChannelsByUserQuery = exports.GetChannelsByUserDocument = exports.useViewChannelDetailLazyQuery = void 0;
53
- exports.useOnThreadCreatedUpdatedSubscription = exports.OnThreadCreatedUpdatedDocument = exports.useOnThreadChatMessageAddedSubscription = exports.OnThreadChatMessageAddedDocument = exports.useOnPublicPostAddedSubscription = exports.OnPublicPostAddedDocument = exports.useOnPublishGetNewPostIdSubscription = exports.OnPublishGetNewPostIdDocument = exports.useOnChatMessageAddedSubscription = exports.OnChatMessageAddedDocument = exports.useGetOrganizationMembersLazyQuery = exports.useGetOrganizationMembersQuery = exports.GetOrganizationMembersDocument = exports.useGetUserOrganizationsLazyQuery = exports.useGetUserOrganizationsQuery = exports.GetUserOrganizationsDocument = exports.useCurrentUserLazyQuery = exports.useCurrentUserQuery = void 0;
53
+ exports.useOnThreadCreatedUpdatedSubscription = exports.OnThreadCreatedUpdatedDocument = exports.useOnThreadChatMessageAddedSubscription = exports.OnThreadChatMessageAddedDocument = exports.useOnPublicPostAddedSubscription = exports.OnPublicPostAddedDocument = exports.useOnChatMessageAddedSubscription = exports.OnChatMessageAddedDocument = exports.useGetOrganizationMembersLazyQuery = exports.useGetOrganizationMembersQuery = exports.GetOrganizationMembersDocument = exports.useGetUserOrganizationsLazyQuery = exports.useGetUserOrganizationsQuery = exports.GetUserOrganizationsDocument = exports.useCurrentUserLazyQuery = exports.useCurrentUserQuery = void 0;
54
54
  const Apollo = __importStar(__webpack_require__(/*! @apollo/client */ "@apollo/client"));
55
55
  const defaultOptions = {};
56
56
  var IApplicationRoles;
@@ -1587,27 +1587,6 @@ function useOnChatMessageAddedSubscription(baseOptions) {
1587
1587
  return Apollo.useSubscription(exports.OnChatMessageAddedDocument, options);
1588
1588
  }
1589
1589
  exports.useOnChatMessageAddedSubscription = useOnChatMessageAddedSubscription;
1590
- exports.OnPublishGetNewPostIdDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "onPublishGetNewPostId" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getNewPostId" } }] } }] };
1591
- /**
1592
- * __useOnPublishGetNewPostIdSubscription__
1593
- *
1594
- * To run a query within a React component, call `useOnPublishGetNewPostIdSubscription` and pass it any options that fit your needs.
1595
- * When your component renders, `useOnPublishGetNewPostIdSubscription` returns an object from Apollo Client that contains loading, error, and data properties
1596
- * you can use to render your UI.
1597
- *
1598
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1599
- *
1600
- * @example
1601
- * const { data, loading, error } = useOnPublishGetNewPostIdSubscription({
1602
- * variables: {
1603
- * },
1604
- * });
1605
- */
1606
- function useOnPublishGetNewPostIdSubscription(baseOptions) {
1607
- const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
1608
- return Apollo.useSubscription(exports.OnPublishGetNewPostIdDocument, options);
1609
- }
1610
- exports.useOnPublishGetNewPostIdSubscription = useOnPublishGetNewPostIdSubscription;
1611
1590
  exports.OnPublicPostAddedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "onPublicPostAdded" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "channelId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "publicPostAdded" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "channelId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "channelId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Post" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Configuration" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IConfigurationModel" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "resource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "target" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "keys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "overrides" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "identifiers" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "MessengerUser" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "UserAccount" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "givenName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "familyName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "username" } }, { "kind": "Field", "name": { "kind": "Name", "value": "picture" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokens" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "valid" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Post" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Post" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "author" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "MessengerUser" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPinned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isDelivered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isRead" } }, { "kind": "Field", "name": { "kind": "Name", "value": "parentId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromServer" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "propsConfiguration" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "props" } }, { "kind": "Field", "name": { "kind": "Name", "value": "files" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "extension" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }, { "kind": "Field", "name": { "kind": "Name", "value": "size" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "refType" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "replies" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "PostReplies" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PostReplies" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Messages" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "author" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "MessengerUser" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPinned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isDelivered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isRead" } }, { "kind": "Field", "name": { "kind": "Name", "value": "parentId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromServer" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "propsConfiguration" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "props" } }, { "kind": "Field", "name": { "kind": "Name", "value": "files" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "extension" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }, { "kind": "Field", "name": { "kind": "Name", "value": "size" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "refType" } }] } }] } }] } }] } }] };
1612
1591
  /**
1613
1592
  * __useOnPublicPostAddedSubscription__