@messenger-box/platform-client 0.0.1-alpha.302 → 0.0.1-alpha.307
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 +10 -2
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/src/generated-model.tsx +10 -2
- package/src/graphql/queries/channel.gql +13 -8
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.307](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.306...v0.0.1-alpha.307) (2023-03-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-client
|
|
9
|
+
|
|
10
|
+
## [0.0.1-alpha.306](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.305...v0.0.1-alpha.306) (2023-03-24)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @messenger-box/platform-client
|
|
13
|
+
|
|
6
14
|
## [0.0.1-alpha.302](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.301...v0.0.1-alpha.302) (2023-03-23)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/lib/generated-model.d.ts
CHANGED
|
@@ -2560,11 +2560,15 @@ export declare type IRoleInput = {
|
|
|
2560
2560
|
roleName?: Maybe<Scalars['String']>;
|
|
2561
2561
|
};
|
|
2562
2562
|
export declare enum IRoomType {
|
|
2563
|
+
/** Normal Channel with number of users - Only members from same organization */
|
|
2563
2564
|
Channel = "CHANNEL",
|
|
2565
|
+
/** Direct User to User conversations, with two or more participants - Only members from same organization */
|
|
2564
2566
|
Direct = "DIRECT",
|
|
2565
|
-
|
|
2567
|
+
/** Channels with Private Visibility - Only members from same organization */
|
|
2566
2568
|
Private = "PRIVATE",
|
|
2569
|
+
/** Channels with Public Visibility - Members from other organizations can join */
|
|
2567
2570
|
Public = "PUBLIC",
|
|
2571
|
+
Group = "GROUP",
|
|
2568
2572
|
Visitor = "VISITOR"
|
|
2569
2573
|
}
|
|
2570
2574
|
export declare type ISendSmsInput = {
|
|
@@ -3405,7 +3409,11 @@ export declare type IViewChannelDetailQuery = ({
|
|
|
3405
3409
|
} & Pick<IChannelMember, 'id'> & {
|
|
3406
3410
|
user: ({
|
|
3407
3411
|
__typename?: 'UserAccount';
|
|
3408
|
-
} & Pick<IUserAccount, 'id' | 'givenName' | 'familyName' | 'email' | 'alias' | 'picture' | 'username'>
|
|
3412
|
+
} & Pick<IUserAccount, 'id' | 'givenName' | 'familyName' | 'email' | 'alias' | 'picture' | 'username'> & {
|
|
3413
|
+
tokens?: Maybe<Array<Maybe<({
|
|
3414
|
+
__typename?: 'UserToken';
|
|
3415
|
+
} & Pick<IUserToken, 'type' | 'token' | 'valid'>)>>>;
|
|
3416
|
+
});
|
|
3409
3417
|
})>>>;
|
|
3410
3418
|
})>;
|
|
3411
3419
|
});
|
package/lib/index.js
CHANGED
|
@@ -406,11 +406,15 @@ var IRole;
|
|
|
406
406
|
})(IRole = exports.IRole || (exports.IRole = {}));
|
|
407
407
|
var IRoomType;
|
|
408
408
|
(function (IRoomType) {
|
|
409
|
+
/** Normal Channel with number of users - Only members from same organization */
|
|
409
410
|
IRoomType["Channel"] = "CHANNEL";
|
|
411
|
+
/** Direct User to User conversations, with two or more participants - Only members from same organization */
|
|
410
412
|
IRoomType["Direct"] = "DIRECT";
|
|
411
|
-
|
|
413
|
+
/** Channels with Private Visibility - Only members from same organization */
|
|
412
414
|
IRoomType["Private"] = "PRIVATE";
|
|
415
|
+
/** Channels with Public Visibility - Members from other organizations can join */
|
|
413
416
|
IRoomType["Public"] = "PUBLIC";
|
|
417
|
+
IRoomType["Group"] = "GROUP";
|
|
414
418
|
IRoomType["Visitor"] = "VISITOR";
|
|
415
419
|
})(IRoomType = exports.IRoomType || (exports.IRoomType = {}));
|
|
416
420
|
var ISettingValueType;
|
|
@@ -894,7 +898,7 @@ function useGetAllChannelLazyQuery(baseOptions) {
|
|
|
894
898
|
return Apollo.useLazyQuery(exports.GetAllChannelDocument, options);
|
|
895
899
|
}
|
|
896
900
|
exports.useGetAllChannelLazyQuery = useGetAllChannelLazyQuery;
|
|
897
|
-
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" } }] } }] } }] } }] } }] };
|
|
901
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
898
902
|
/**
|
|
899
903
|
* __useViewChannelDetailQuery__
|
|
900
904
|
*
|