@messenger-box/platform-client 0.0.1-alpha.348 → 0.0.1-alpha.360
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 +8 -0
- package/lib/generated-model.d.ts +8 -2
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/src/generated-model.tsx +11 -3
- package/src/graphql/queries/channel.gql +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.360](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.359...v0.0.1-alpha.360) (2023-06-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-client
|
|
9
|
+
|
|
10
|
+
## [0.0.1-alpha.358](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.357...v0.0.1-alpha.358) (2023-06-06)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @messenger-box/platform-client
|
|
13
|
+
|
|
6
14
|
## [0.0.1-alpha.348](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.347...v0.0.1-alpha.348) (2023-05-11)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @messenger-box/platform-client
|
package/lib/generated-model.d.ts
CHANGED
|
@@ -1108,7 +1108,8 @@ export declare enum IMoleculerTopics {
|
|
|
1108
1108
|
PostService = "PostService",
|
|
1109
1109
|
PostThreadService = "PostThreadService",
|
|
1110
1110
|
ReactionService = "ReactionService",
|
|
1111
|
-
MessengerNotificationService = "MessengerNotificationService"
|
|
1111
|
+
MessengerNotificationService = "MessengerNotificationService",
|
|
1112
|
+
ExtendedTokenAccountService = "ExtendedTokenAccountService"
|
|
1112
1113
|
}
|
|
1113
1114
|
export declare type IMutation = {
|
|
1114
1115
|
__typename?: 'Mutation';
|
|
@@ -2254,6 +2255,7 @@ export declare type IQuery = {
|
|
|
2254
2255
|
fetchUserSessions?: Maybe<Array<Maybe<IUserSession>>>;
|
|
2255
2256
|
fileInfo: IFileInfo;
|
|
2256
2257
|
filesInfo: IFilesInfo;
|
|
2258
|
+
getAccountByAuth0Id?: Maybe<IUserAccount>;
|
|
2257
2259
|
getAccounts?: Maybe<Array<Maybe<IUserAccount>>>;
|
|
2258
2260
|
getAllCountries?: Maybe<Array<Maybe<ICountry>>>;
|
|
2259
2261
|
getAllDeviceToken?: Maybe<IDeviceTokens>;
|
|
@@ -2393,6 +2395,9 @@ export declare type IQueryFilesInfoArgs = {
|
|
|
2393
2395
|
skip?: Maybe<Scalars['Int']>;
|
|
2394
2396
|
sort?: Maybe<ISort>;
|
|
2395
2397
|
};
|
|
2398
|
+
export declare type IQueryGetAccountByAuth0IdArgs = {
|
|
2399
|
+
auth0Id: Scalars['String'];
|
|
2400
|
+
};
|
|
2396
2401
|
export declare type IQueryGetAccountsArgs = {
|
|
2397
2402
|
where?: Maybe<IUserAccountWhere>;
|
|
2398
2403
|
};
|
|
@@ -3451,7 +3456,7 @@ export declare type IViewChannelDetailQuery = ({
|
|
|
3451
3456
|
} & {
|
|
3452
3457
|
viewChannelDetail?: Maybe<({
|
|
3453
3458
|
__typename?: 'Channel';
|
|
3454
|
-
} & Pick<IChannel, 'id' | 'title' | 'description' | 'type' | 'displayName'> & {
|
|
3459
|
+
} & Pick<IChannel, 'id' | 'title' | 'description' | 'type' | 'displayName' | 'orgName' | 'topic' | 'purpose' | 'totalMsgCount' | 'totalMsgCountRoot' | 'lastPostAt' | 'createdAt' | 'updatedAt' | 'deletedAt'> & {
|
|
3455
3460
|
members?: Maybe<Array<Maybe<({
|
|
3456
3461
|
__typename?: 'ChannelMember';
|
|
3457
3462
|
} & Pick<IChannelMember, 'id'> & {
|
|
@@ -5371,6 +5376,7 @@ export declare type IQueryResolvers<ContextType = any, ParentType extends IResol
|
|
|
5371
5376
|
fetchUserSessions?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserSession']>>>, ParentType, ContextType>;
|
|
5372
5377
|
fileInfo?: Resolver<IResolversTypes['FileInfo'], ParentType, ContextType, RequireFields<IQueryFileInfoArgs, 'id'>>;
|
|
5373
5378
|
filesInfo?: Resolver<IResolversTypes['FilesInfo'], ParentType, ContextType, RequireFields<IQueryFilesInfoArgs, never>>;
|
|
5379
|
+
getAccountByAuth0Id?: Resolver<Maybe<IResolversTypes['UserAccount']>, ParentType, ContextType, RequireFields<IQueryGetAccountByAuth0IdArgs, 'auth0Id'>>;
|
|
5374
5380
|
getAccounts?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserAccount']>>>, ParentType, ContextType, RequireFields<IQueryGetAccountsArgs, never>>;
|
|
5375
5381
|
getAllCountries?: Resolver<Maybe<Array<Maybe<IResolversTypes['Country']>>>, ParentType, ContextType, RequireFields<IQueryGetAllCountriesArgs, never>>;
|
|
5376
5382
|
getAllDeviceToken?: Resolver<Maybe<IResolversTypes['DeviceTokens']>, ParentType, ContextType>;
|
package/lib/index.js
CHANGED
|
@@ -310,6 +310,7 @@ var IMoleculerTopics;
|
|
|
310
310
|
IMoleculerTopics["PostThreadService"] = "PostThreadService";
|
|
311
311
|
IMoleculerTopics["ReactionService"] = "ReactionService";
|
|
312
312
|
IMoleculerTopics["MessengerNotificationService"] = "MessengerNotificationService";
|
|
313
|
+
IMoleculerTopics["ExtendedTokenAccountService"] = "ExtendedTokenAccountService";
|
|
313
314
|
})(IMoleculerTopics = exports.IMoleculerTopics || (exports.IMoleculerTopics = {}));
|
|
314
315
|
var IOtpAction;
|
|
315
316
|
(function (IOtpAction) {
|
|
@@ -911,7 +912,7 @@ function useGetAllChannelLazyQuery(baseOptions) {
|
|
|
911
912
|
return Apollo.useLazyQuery(exports.GetAllChannelDocument, options);
|
|
912
913
|
}
|
|
913
914
|
exports.useGetAllChannelLazyQuery = useGetAllChannelLazyQuery;
|
|
914
|
-
exports.ViewChannelDetailDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ViewChannelDetail" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "viewChannelDetail" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "members" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "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": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "picture" } }, { "kind": "Field", "name": { "kind": "Name", "value": "username" } }, { "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" } }] } }] } }] } }] } }] } }] };
|
|
915
|
+
exports.ViewChannelDetailDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ViewChannelDetail" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "viewChannelDetail" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "topic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalMsgCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalMsgCountRoot" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastPostAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "members" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "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": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "picture" } }, { "kind": "Field", "name": { "kind": "Name", "value": "username" } }, { "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": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "deletedAt" } }] } }] } }] };
|
|
915
916
|
/**
|
|
916
917
|
* __useViewChannelDetailQuery__
|
|
917
918
|
*
|