This repository was archived by the owner on Jul 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-28
lines changed Expand file tree Collapse file tree 5 files changed +16
-28
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @userhub/sdk" ,
3
- "version" : " 0.6.0 " ,
3
+ "version" : " 0.6.1 " ,
4
4
"exports" : " ./src/mod.ts" ,
5
5
"lint" : {
6
6
"include" : [" src/" , " test/deno" ],
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @userhub/sdk" ,
3
- "version" : " 0.6.0 " ,
3
+ "version" : " 0.6.1 " ,
4
4
"description" : " UserHub JavaScript SDK" ,
5
5
"license" : " MIT" ,
6
6
"author" : " UserHub (https://userhub.com/)" ,
Original file line number Diff line number Diff line change @@ -1553,6 +1553,12 @@ export interface Organization {
1553
1553
* The sign-up time for the organization.
1554
1554
*/
1555
1555
signupTime ?: Date | null ;
1556
+ /**
1557
+ * The number of members in the organization.
1558
+ *
1559
+ * This includes disabled users, but does not include user's marked for deletion.
1560
+ */
1561
+ memberCount ?: number ;
1556
1562
/**
1557
1563
* Whether the organization is disabled.
1558
1564
*/
@@ -2665,30 +2671,6 @@ export interface TriggerResult {
2665
2671
error ?: apiv1 . Status | null ;
2666
2672
}
2667
2673
2668
- /**
2669
- * The subscription items.
2670
- */
2671
- export interface UpdateSubscriptionItemsRequestItem {
2672
- /**
2673
- * The product identifier.
2674
- *
2675
- * If this is empty and the user ID is set, the default
2676
- * seat will be used.
2677
- */
2678
- productId ?: string ;
2679
- /**
2680
- * The member user ID of the organization member. This can
2681
- * only be specified for seat items.
2682
- */
2683
- userId ?: string ;
2684
- /**
2685
- * The quantity for the item.
2686
- *
2687
- * If this is `0` the item will be removed.
2688
- */
2689
- quantity ?: number ;
2690
- }
2691
-
2692
2674
/**
2693
2675
* Individual account.
2694
2676
*/
Original file line number Diff line number Diff line change 1
1
// Code generated. DO NOT EDIT.
2
2
3
3
export const API_BASE_URL = "https://api.userhub.com" ;
4
- export const USER_AGENT = "UserHub-JavaScript/0.6.0 " ;
5
- export const VERSION = "0.6.0 " ;
4
+ export const USER_AGENT = "UserHub-JavaScript/0.6.1 " ;
5
+ export const VERSION = "0.6.1 " ;
6
6
7
7
export const AUTH_HEADER = "Authorization" ;
8
8
export const API_KEY_HEADER = "UserHub-Api-Key" ;
Original file line number Diff line number Diff line change @@ -786,6 +786,12 @@ export interface Organization {
786
786
* The photo/avatar URL of the organization.
787
787
*/
788
788
imageUrl ?: string ;
789
+ /**
790
+ * The number of members in the organization.
791
+ *
792
+ * This includes disabled users, but does not include user's marked for deletion.
793
+ */
794
+ memberCount ?: number ;
789
795
/**
790
796
* Whether the organization is disabled.
791
797
*/
You can’t perform that action at this time.
0 commit comments