Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit 79d83ec

Browse files
authored
Update generated code (#22)
1 parent 405f017 commit 79d83ec

File tree

5 files changed

+16
-28
lines changed

5 files changed

+16
-28
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@userhub/sdk",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"exports": "./src/mod.ts",
55
"lint": {
66
"include": ["src/", "test/deno"],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@userhub/sdk",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "UserHub JavaScript SDK",
55
"license": "MIT",
66
"author": "UserHub (https://userhub.com/)",

src/adminv1.ts

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,12 @@ export interface Organization {
15531553
* The sign-up time for the organization.
15541554
*/
15551555
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;
15561562
/**
15571563
* Whether the organization is disabled.
15581564
*/
@@ -2665,30 +2671,6 @@ export interface TriggerResult {
26652671
error?: apiv1.Status | null;
26662672
}
26672673

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-
26922674
/**
26932675
* Individual account.
26942676
*/

src/internal/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Code generated. DO NOT EDIT.
22

33
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";
66

77
export const AUTH_HEADER = "Authorization";
88
export const API_KEY_HEADER = "UserHub-Api-Key";

src/userv1.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,12 @@ export interface Organization {
786786
* The photo/avatar URL of the organization.
787787
*/
788788
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;
789795
/**
790796
* Whether the organization is disabled.
791797
*/

0 commit comments

Comments
 (0)