@messenger-box/platform-client 10.0.3-alpha.50 → 10.0.3-alpha.54

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
+ ## [10.0.3-alpha.54](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.53...v10.0.3-alpha.54) (2025-06-29)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-client
9
+
6
10
  ## [10.0.3-alpha.50](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.49...v10.0.3-alpha.50) (2025-06-05)
7
11
 
8
12
  **Note:** Version bump only for package @messenger-box/platform-client
@@ -1,56 +1,99 @@
1
1
  query GetOrganizationDetail($where: OrgDetailWhere!) {
2
2
  getOrganizationDetail(where: $where) {
3
- createdAt
4
- description
5
3
  id
4
+ name
5
+ title
6
+ description
7
+ picture
8
+ orgUserCount
9
+ status
10
+ periodStart
11
+ periodStop
12
+ createdAt
13
+ updatedAt
14
+ billingEmail
15
+ stripeId
16
+ stripeSubscription
17
+ erpId
18
+ costCenter
19
+ legalEntityName
20
+ taxId
21
+ organizationType
22
+ organizationCategory
23
+ resources
24
+ settings
25
+ contributionRoles {
26
+ id
27
+ name
28
+ target
29
+ description
30
+ }
6
31
  invitations {
7
- active
8
- acceptedAt
9
- createdAt
32
+ id
10
33
  email
34
+ roles
35
+ status
11
36
  fullName
12
- id
13
- invitedBy
14
- teamId
15
- updatedAt
16
- tokenExpiration
17
- role
18
37
  inviteCount
38
+ invitedBy {
39
+ id
40
+ email
41
+ username
42
+ givenName
43
+ familyName
44
+ picture
45
+ }
46
+ inviteLink
47
+ createdAt
48
+ updatedAt
49
+ acceptedAt
50
+ sent
51
+ expiresAt
52
+ team {
53
+ id
54
+ name
55
+ title
56
+ }
19
57
  }
20
- name
21
- orgMembers {
58
+ members {
59
+ id
60
+ email
61
+ displayName
62
+ roles
63
+ status
64
+ lastVisited
65
+ joinedAt
66
+ isBillingLeader
67
+ createdAt
68
+ updatedAt
22
69
  crossCheckEmail
23
- inactive
24
- orgName
25
70
  user {
71
+ id
26
72
  email
73
+ username
74
+ givenName
75
+ familyName
76
+ picture
27
77
  alias
28
78
  emailVerified
29
- id
30
- username
31
79
  }
32
- roles
33
- userId
34
80
  }
35
- orgUserCount
36
- periodStart
37
- periodStop
38
- picture
39
- status
40
- title
41
- updatedAt
42
81
  }
43
82
  }
44
83
 
45
-
46
-
47
-
48
- query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channelCriteria: AnyObject,$offset: Int, $limit: Int, $sort: Sort) {
49
- getOrganizationMembers(offset: $offset, limit: $limit, orgName: $orgName) {
84
+ query GetOrganizationMembersWithChannels($orgId: ID, $orgName: String, $role: String, $channelCriteria: AnyObject, $offset: Int, $limit: Int, $sort: Sort) {
85
+ getOrganizationMembers(offset: $offset, limit: $limit, orgId: $orgId, orgName: $orgName) {
50
86
  totalCount
51
87
  data {
88
+ _id
52
89
  userId
53
90
  roles
91
+ inactive
92
+ orgName
93
+ crossCheckEmail
94
+ teamNames
95
+ lastVisited
96
+ isSelf
54
97
  user {
55
98
  id
56
99
  givenName
@@ -59,11 +102,11 @@ query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channe
59
102
  username
60
103
  email
61
104
  alias
105
+ emailVerified
62
106
  }
63
- teamNames
64
107
  }
65
- }
66
- channelsByUser(role: $role, criteria: $channelCriteria, limit: $limit, skip: $offset, sort: $sort) {
108
+ }
109
+ channelsByUser(role: $role, criteria: $channelCriteria, limit: $limit, skip: $offset, sort: $sort) {
67
110
  id
68
111
  title
69
112
  description
@@ -85,6 +128,6 @@ query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channe
85
128
  }
86
129
 
87
130
  query GetOrganizationSharableLink($teamId: String) {
88
- getOrganizationSharableLink(teamId: $teamId)
131
+ getOrganizationSharableLink(teamId: $teamId)
89
132
  }
90
133
 
@@ -1,32 +1,82 @@
1
1
 
2
2
 
3
- query GetOrganizationTeam($orgName: String!, $teamName: String!) {
4
- getTeam(orgName: $orgName, teamName: $teamName) {
5
- title
6
- orgName
7
- name
8
- id
9
- createdAt
10
- updatedAt
11
- _id
12
- teamMembers:members {
13
- id
14
- name
15
- email
16
- username
17
- userId
18
- status
19
- role
3
+ query GetOrganizationTeam($orgName: String!, $teamId: ID!) {
4
+ getTeam(orgName: $orgName, teamId: $teamId) {
5
+ id
6
+ name
7
+ title
8
+ description
9
+ tags
10
+ status
11
+ visibility
12
+ joinMethod
13
+ inviteCode
14
+ isCommunity
15
+ verificationLevel
16
+ defaultNotifications
17
+ guidelines
18
+ welcomeMessage
19
+ connectionId
20
+ metadata
21
+ createdAt
22
+ updatedAt
23
+ updatedBy {
24
+ id
25
+ email
26
+ username
27
+ givenName
28
+ familyName
29
+ picture
30
+ }
31
+ organization {
32
+ id
33
+ name
34
+ title
35
+ description
36
+ picture
37
+ }
38
+ parentTeam {
39
+ id
40
+ name
41
+ title
42
+ description
43
+ }
44
+ teamMembers:members {
45
+ id
46
+ roles
47
+ status
48
+ joinedAt
49
+ lastActiveAt
50
+ memberOrigin
51
+ connectionId
52
+ user {
53
+ id
54
+ email
55
+ username
56
+ givenName
57
+ familyName
58
+ picture
59
+ alias
60
+ emailVerified
61
+ }
62
+ orgMember {
63
+ id
64
+ email
65
+ displayName
66
+ roles
67
+ status
68
+ lastVisited
69
+ joinedAt
70
+ isBillingLeader
71
+ crossCheckEmail
72
+ }
73
+ originOrg {
74
+ id
75
+ name
76
+ title
77
+ description
78
+ picture
79
+ }
80
+ }
20
81
  }
21
- members {
22
- id
23
- name
24
- email
25
- username
26
- userId
27
- status
28
- role
29
- }
30
- }
31
- }
32
-
82
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-client",
3
- "version": "10.0.3-alpha.50",
3
+ "version": "10.0.3-alpha.54",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@container-stack/file-info-client": "^5.4.1-alpha.6",
24
- "@messenger-box/core": "10.0.3-alpha.50",
24
+ "@messenger-box/core": "10.0.3-alpha.54",
25
25
  "key-mirror": "1.0.1",
26
26
  "moment-timezone": "0.5.33"
27
27
  },
@@ -35,5 +35,5 @@
35
35
  "typescript": {
36
36
  "definition": "lib/index.d.ts"
37
37
  },
38
- "gitHead": "04bd383c41b79ec5f5f2254d8886b8ab2761eaab"
38
+ "gitHead": "7b4c5e0acfbb4bfc3aefab287374d5739c40b4bc"
39
39
  }
@@ -1,56 +1,99 @@
1
1
  query GetOrganizationDetail($where: OrgDetailWhere!) {
2
2
  getOrganizationDetail(where: $where) {
3
- createdAt
4
- description
5
3
  id
4
+ name
5
+ title
6
+ description
7
+ picture
8
+ orgUserCount
9
+ status
10
+ periodStart
11
+ periodStop
12
+ createdAt
13
+ updatedAt
14
+ billingEmail
15
+ stripeId
16
+ stripeSubscription
17
+ erpId
18
+ costCenter
19
+ legalEntityName
20
+ taxId
21
+ organizationType
22
+ organizationCategory
23
+ resources
24
+ settings
25
+ contributionRoles {
26
+ id
27
+ name
28
+ target
29
+ description
30
+ }
6
31
  invitations {
7
- active
8
- acceptedAt
9
- createdAt
32
+ id
10
33
  email
34
+ roles
35
+ status
11
36
  fullName
12
- id
13
- invitedBy
14
- teamId
15
- updatedAt
16
- tokenExpiration
17
- role
18
37
  inviteCount
38
+ invitedBy {
39
+ id
40
+ email
41
+ username
42
+ givenName
43
+ familyName
44
+ picture
45
+ }
46
+ inviteLink
47
+ createdAt
48
+ updatedAt
49
+ acceptedAt
50
+ sent
51
+ expiresAt
52
+ team {
53
+ id
54
+ name
55
+ title
56
+ }
19
57
  }
20
- name
21
- orgMembers {
58
+ members {
59
+ id
60
+ email
61
+ displayName
62
+ roles
63
+ status
64
+ lastVisited
65
+ joinedAt
66
+ isBillingLeader
67
+ createdAt
68
+ updatedAt
22
69
  crossCheckEmail
23
- inactive
24
- orgName
25
70
  user {
71
+ id
26
72
  email
73
+ username
74
+ givenName
75
+ familyName
76
+ picture
27
77
  alias
28
78
  emailVerified
29
- id
30
- username
31
79
  }
32
- roles
33
- userId
34
80
  }
35
- orgUserCount
36
- periodStart
37
- periodStop
38
- picture
39
- status
40
- title
41
- updatedAt
42
81
  }
43
82
  }
44
83
 
45
-
46
-
47
-
48
- query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channelCriteria: AnyObject,$offset: Int, $limit: Int, $sort: Sort) {
49
- getOrganizationMembers(offset: $offset, limit: $limit, orgName: $orgName) {
84
+ query GetOrganizationMembersWithChannels($orgId: ID, $orgName: String, $role: String, $channelCriteria: AnyObject, $offset: Int, $limit: Int, $sort: Sort) {
85
+ getOrganizationMembers(offset: $offset, limit: $limit, orgId: $orgId, orgName: $orgName) {
50
86
  totalCount
51
87
  data {
88
+ _id
52
89
  userId
53
90
  roles
91
+ inactive
92
+ orgName
93
+ crossCheckEmail
94
+ teamNames
95
+ lastVisited
96
+ isSelf
54
97
  user {
55
98
  id
56
99
  givenName
@@ -59,11 +102,11 @@ query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channe
59
102
  username
60
103
  email
61
104
  alias
105
+ emailVerified
62
106
  }
63
- teamNames
64
107
  }
65
- }
66
- channelsByUser(role: $role, criteria: $channelCriteria, limit: $limit, skip: $offset, sort: $sort) {
108
+ }
109
+ channelsByUser(role: $role, criteria: $channelCriteria, limit: $limit, skip: $offset, sort: $sort) {
67
110
  id
68
111
  title
69
112
  description
@@ -85,6 +128,6 @@ query GetOrganizationMembersWithChannels($orgName: String,$role: String, $channe
85
128
  }
86
129
 
87
130
  query GetOrganizationSharableLink($teamId: String) {
88
- getOrganizationSharableLink(teamId: $teamId)
131
+ getOrganizationSharableLink(teamId: $teamId)
89
132
  }
90
133
 
@@ -1,32 +1,82 @@
1
1
 
2
2
 
3
- query GetOrganizationTeam($orgName: String!, $teamName: String!) {
4
- getTeam(orgName: $orgName, teamName: $teamName) {
5
- title
6
- orgName
7
- name
8
- id
9
- createdAt
10
- updatedAt
11
- _id
12
- teamMembers:members {
13
- id
14
- name
15
- email
16
- username
17
- userId
18
- status
19
- role
3
+ query GetOrganizationTeam($orgName: String!, $teamId: ID!) {
4
+ getTeam(orgName: $orgName, teamId: $teamId) {
5
+ id
6
+ name
7
+ title
8
+ description
9
+ tags
10
+ status
11
+ visibility
12
+ joinMethod
13
+ inviteCode
14
+ isCommunity
15
+ verificationLevel
16
+ defaultNotifications
17
+ guidelines
18
+ welcomeMessage
19
+ connectionId
20
+ metadata
21
+ createdAt
22
+ updatedAt
23
+ updatedBy {
24
+ id
25
+ email
26
+ username
27
+ givenName
28
+ familyName
29
+ picture
30
+ }
31
+ organization {
32
+ id
33
+ name
34
+ title
35
+ description
36
+ picture
37
+ }
38
+ parentTeam {
39
+ id
40
+ name
41
+ title
42
+ description
43
+ }
44
+ teamMembers:members {
45
+ id
46
+ roles
47
+ status
48
+ joinedAt
49
+ lastActiveAt
50
+ memberOrigin
51
+ connectionId
52
+ user {
53
+ id
54
+ email
55
+ username
56
+ givenName
57
+ familyName
58
+ picture
59
+ alias
60
+ emailVerified
61
+ }
62
+ orgMember {
63
+ id
64
+ email
65
+ displayName
66
+ roles
67
+ status
68
+ lastVisited
69
+ joinedAt
70
+ isBillingLeader
71
+ crossCheckEmail
72
+ }
73
+ originOrg {
74
+ id
75
+ name
76
+ title
77
+ description
78
+ picture
79
+ }
80
+ }
20
81
  }
21
- members {
22
- id
23
- name
24
- email
25
- username
26
- userId
27
- status
28
- role
29
- }
30
- }
31
- }
32
-
82
+ }