@faable/auth-sdk 2.2.1 → 2.4.0

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.
@@ -1,5 +1,5 @@
1
- import { TeamCreate, UserCreate, UserUpdate } from "./api/api-types.js";
2
- import { ApiParams, FaableApi } from "@faable/sdk-base";
1
+ import { GeneratedFaableAuthApi } from "./api/generated-client.js";
2
+ import { type ApiParams } from "@faable/sdk-base";
3
3
  type FaableAuthApiParams = {
4
4
  domain: string;
5
5
  /**
@@ -16,7 +16,7 @@ type FaableAuthApiParams = {
16
16
  account_id?: string;
17
17
  };
18
18
  } & ApiParams;
19
- export declare class FaableAuthApi extends FaableApi {
19
+ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
20
20
  constructor(params?: FaableAuthApiParams);
21
21
  setUserMetadata(user_id: string, user_metadata: Record<string, string | any[] | boolean | number | null | undefined>): Promise<{
22
22
  [key: string]: unknown;
@@ -24,7 +24,9 @@ export declare class FaableAuthApi extends FaableApi {
24
24
  getUserMetadata(user_id: string): Promise<{
25
25
  [key: string]: unknown;
26
26
  }>;
27
- currentAccount(): Promise<{
27
+ isUserMemberOfTeam(user_id: string, team_id: string): Promise<boolean>;
28
+ /** @deprecated use {@link GeneratedFaableAuthApi.accountCurrent | accountCurrent} */
29
+ currentAccount(...args: Parameters<GeneratedFaableAuthApi["accountCurrent"]>): Promise<{
28
30
  id: string;
29
31
  name: string;
30
32
  domain: string;
@@ -46,9 +48,8 @@ export declare class FaableAuthApi extends FaableApi {
46
48
  createdAt: string;
47
49
  updatedAt?: string | undefined;
48
50
  }>;
49
- listUsers(params?: {
50
- email?: string;
51
- }): {
51
+ /** @deprecated use {@link GeneratedFaableAuthApi.userList | userList} */
52
+ listUsers(...args: Parameters<GeneratedFaableAuthApi["userList"]>): {
52
53
  all: () => Promise<{
53
54
  id: string;
54
55
  name?: string | null | undefined;
@@ -203,7 +204,8 @@ export declare class FaableAuthApi extends FaableApi {
203
204
  updatedAt?: string | undefined;
204
205
  }>>;
205
206
  };
206
- getUser(user_id: string): Promise<{
207
+ /** @deprecated use {@link GeneratedFaableAuthApi.userGet | userGet} */
208
+ getUser(...args: Parameters<GeneratedFaableAuthApi["userGet"]>): Promise<{
207
209
  id: string;
208
210
  name?: string | null | undefined;
209
211
  username?: string | null | undefined;
@@ -253,7 +255,8 @@ export declare class FaableAuthApi extends FaableApi {
253
255
  createdAt: string;
254
256
  updatedAt?: string | undefined;
255
257
  }>;
256
- createUser(data: UserCreate): Promise<{
258
+ /** @deprecated use {@link GeneratedFaableAuthApi.userCreate | userCreate} */
259
+ createUser(...args: Parameters<GeneratedFaableAuthApi["userCreate"]>): Promise<{
257
260
  id: string;
258
261
  name?: string | null | undefined;
259
262
  username?: string | null | undefined;
@@ -303,7 +306,8 @@ export declare class FaableAuthApi extends FaableApi {
303
306
  createdAt: string;
304
307
  updatedAt?: string | undefined;
305
308
  }>;
306
- updateUser(user_id: string, data: UserUpdate): Promise<{
309
+ /** @deprecated use {@link GeneratedFaableAuthApi.userUpdate | userUpdate} */
310
+ updateUser(...args: Parameters<GeneratedFaableAuthApi["userUpdate"]>): Promise<{
307
311
  id: string;
308
312
  name?: string | null | undefined;
309
313
  username?: string | null | undefined;
@@ -353,7 +357,8 @@ export declare class FaableAuthApi extends FaableApi {
353
357
  createdAt: string;
354
358
  updatedAt?: string | undefined;
355
359
  }>;
356
- getTeam(team_id: string): Promise<{
360
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamGet | teamGet} */
361
+ getTeam(...args: Parameters<GeneratedFaableAuthApi["teamGet"]>): Promise<{
357
362
  id: string;
358
363
  name: string;
359
364
  slug: string;
@@ -366,8 +371,8 @@ export declare class FaableAuthApi extends FaableApi {
366
371
  createdAt: string;
367
372
  updatedAt?: string | undefined;
368
373
  }>;
369
- deleteTeam(team_id: string): Promise<any>;
370
- createTeam(data: TeamCreate): Promise<{
374
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamDelete | teamDelete} */
375
+ deleteTeam(...args: Parameters<GeneratedFaableAuthApi["teamDelete"]>): Promise<{
371
376
  id: string;
372
377
  name: string;
373
378
  slug: string;
@@ -380,9 +385,22 @@ export declare class FaableAuthApi extends FaableApi {
380
385
  createdAt: string;
381
386
  updatedAt?: string | undefined;
382
387
  }>;
383
- listTeams(params?: {
384
- user_id?: string;
385
- }): {
388
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamCreate | teamCreate} */
389
+ createTeam(...args: Parameters<GeneratedFaableAuthApi["teamCreate"]>): Promise<{
390
+ id: string;
391
+ name: string;
392
+ slug: string;
393
+ description: string | null;
394
+ logo_url: string | null;
395
+ account: string;
396
+ metadata: {
397
+ [key: string]: unknown;
398
+ };
399
+ createdAt: string;
400
+ updatedAt?: string | undefined;
401
+ }>;
402
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamList | teamList} */
403
+ listTeams(...args: Parameters<GeneratedFaableAuthApi["teamList"]>): {
386
404
  all: () => Promise<{
387
405
  id: string;
388
406
  name: string;
@@ -426,9 +444,8 @@ export declare class FaableAuthApi extends FaableApi {
426
444
  updatedAt?: string | undefined;
427
445
  }>>;
428
446
  };
429
- listTeamMembers(params: {
430
- query?: string;
431
- }): {
447
+ /** @deprecated use {@link GeneratedFaableAuthApi.teammemberList | teammemberList} */
448
+ listTeamMembers(...args: Parameters<GeneratedFaableAuthApi["teammemberList"]>): {
432
449
  all: () => Promise<{
433
450
  id: string;
434
451
  user: unknown;
@@ -469,8 +486,8 @@ export declare class FaableAuthApi extends FaableApi {
469
486
  updatedAt?: string | undefined;
470
487
  }>>;
471
488
  };
472
- isUserMemberOfTeam(user_id: string, team_id: string): Promise<boolean>;
473
- listConections(): {
489
+ /** @deprecated typo use {@link GeneratedFaableAuthApi.connectionList | connectionList} */
490
+ listConections(...args: Parameters<GeneratedFaableAuthApi["connectionList"]>): {
474
491
  all: () => Promise<{
475
492
  id: string;
476
493
  connection_name: string;
@@ -589,7 +606,8 @@ export declare class FaableAuthApi extends FaableApi {
589
606
  updatedAt?: string | undefined;
590
607
  }>>;
591
608
  };
592
- getConection(connection_id: string): Promise<{
609
+ /** @deprecated typo — use {@link GeneratedFaableAuthApi.connectionGet | connectionGet} */
610
+ getConection(...args: Parameters<GeneratedFaableAuthApi["connectionGet"]>): Promise<{
593
611
  id: string;
594
612
  connection_name: string;
595
613
  connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
@@ -627,9 +645,8 @@ export declare class FaableAuthApi extends FaableApi {
627
645
  createdAt: string;
628
646
  updatedAt?: string | undefined;
629
647
  }>;
630
- listClients(params?: {
631
- client_id?: string;
632
- }): {
648
+ /** @deprecated use {@link GeneratedFaableAuthApi.clientList | clientList} */
649
+ listClients(...args: Parameters<GeneratedFaableAuthApi["clientList"]>): {
633
650
  all: () => Promise<{
634
651
  id: string;
635
652
  name: string;
@@ -733,37 +750,33 @@ export declare class FaableAuthApi extends FaableApi {
733
750
  updatedAt?: string | undefined;
734
751
  }>>;
735
752
  };
736
- getClient(client_id: string): Promise<{
753
+ /** @deprecated use {@link GeneratedFaableAuthApi.clientGet | clientGet} */
754
+ getClient(...args: Parameters<GeneratedFaableAuthApi["clientGet"]>): Promise<{
737
755
  id: string;
738
- connection_name: string;
739
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
740
- authorize_url: string;
741
- token_url: string;
742
- userinfo_url: string;
756
+ name: string;
757
+ description: string;
743
758
  client_id: string;
744
759
  client_secret: string;
745
- issuer: string;
746
- jwks_url: string;
747
- response_type: string;
748
- enabled: boolean;
749
- enabled_clients: string[] | null;
750
- scope: string[];
751
- authorize_params: {
752
- [key: string]: string;
760
+ callbacks: string[];
761
+ logout_urls: string[];
762
+ refresh_token: {
763
+ expiration_mode: "expire" | "not-expire";
764
+ infinite_token_lifetime: boolean;
765
+ token_lifetime: number;
753
766
  };
754
- claims_mapping?: {
755
- [key: string]: string;
756
- } | undefined;
757
- readonly is_using_default_credentials: boolean;
758
- email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
759
- password_policy?: {
760
- level: "none" | "low" | "fair" | "good" | "excellent";
761
- min_length?: number | undefined;
762
- require_lowercase?: boolean | undefined;
763
- require_uppercase?: boolean | undefined;
764
- require_number?: boolean | undefined;
765
- require_special?: boolean | undefined;
766
- } | undefined;
767
+ client_uri?: string | null | undefined;
768
+ logo_uri?: string | null | undefined;
769
+ tos_uri?: string | null | undefined;
770
+ policy_uri?: string | null | undefined;
771
+ contacts?: string[] | undefined;
772
+ grant_types?: string[] | undefined;
773
+ response_types?: string[] | undefined;
774
+ token_endpoint_auth_method?: string | undefined;
775
+ application_type?: string | undefined;
776
+ software_id?: string | null | undefined;
777
+ software_version?: string | null | undefined;
778
+ frontchannel_logout_uri?: string | null | undefined;
779
+ frontchannel_logout_session_required?: boolean | undefined;
767
780
  account: string;
768
781
  metadata: {
769
782
  [key: string]: unknown;
@@ -1,6 +1,7 @@
1
1
  import { getDomain, isPlainObject, requireId } from "./helpers.js";
2
2
  import { FaableApiError } from "./error_handler.js";
3
- import { FaableApi, authClientCredentials } from "@faable/sdk-base";
3
+ import { GeneratedFaableAuthApi } from "./api/generated-client.js";
4
+ import { authClientCredentials } from "@faable/sdk-base";
4
5
  import { version } from "./version.js";
5
6
  // auth-sdk exists to drive the Faable management API, so a client_credentials
6
7
  // client should "just work" against it from `domain` alone. The management API
@@ -30,7 +31,7 @@ const discoverManagementAudience = (baseURL) => {
30
31
  return cached;
31
32
  };
32
33
  };
33
- export class FaableAuthApi extends FaableApi {
34
+ export class FaableAuthApi extends GeneratedFaableAuthApi {
34
35
  constructor(params) {
35
36
  if (!params?.domain) {
36
37
  throw new FaableApiError("FaableAuthApi: `domain` is required. Pass your account host, e.g. " +
@@ -83,6 +84,8 @@ export class FaableAuthApi extends FaableApi {
83
84
  },
84
85
  });
85
86
  }
87
+ // ── Custom-logic helpers (not plain CRUD — kept hand-written) ──────────────
88
+ // Wraps `user_metadata` in the User patch body and returns just the metadata.
86
89
  async setUserMetadata(user_id, user_metadata) {
87
90
  requireId("user_id", user_id);
88
91
  if (!isPlainObject(user_metadata)) {
@@ -93,65 +96,77 @@ export class FaableAuthApi extends FaableApi {
93
96
  });
94
97
  return user.user_metadata;
95
98
  }
99
+ // Reads the User and returns just its `user_metadata`.
96
100
  async getUserMetadata(user_id) {
97
101
  requireId("user_id", user_id);
98
102
  const user = await this.fetcher.get(`/user/${user_id}`);
99
103
  return user.user_metadata;
100
104
  }
101
- currentAccount() {
102
- return this.fetcher.get("/account/current");
103
- }
104
- listUsers(params = {}) {
105
- return this.paginator({ url: "/user", params });
106
- }
107
- getUser(user_id) {
108
- requireId("user_id", user_id);
109
- return this.fetcher.get(`/user/${user_id}`);
110
- }
111
- createUser(data) {
112
- return this.fetcher.post(`/user`, data);
113
- }
114
- updateUser(user_id, data) {
115
- requireId("user_id", user_id);
116
- return this.fetcher.post(`/user/${user_id}`, data);
117
- }
118
- getTeam(team_id) {
119
- requireId("team_id", team_id);
120
- return this.fetcher.get(`/team/${team_id}`);
121
- }
122
- deleteTeam(team_id) {
123
- requireId("team_id", team_id);
124
- return this.fetcher.delete(`/team/${team_id}`);
125
- }
126
- createTeam(data) {
127
- return this.fetcher.post(`/team`, data);
128
- }
129
- listTeams(params) {
130
- return this.paginator({ url: "/team", params });
131
- }
132
- listTeamMembers(params) {
133
- return this.paginator({
134
- url: `/teammember`,
135
- params,
136
- });
137
- }
105
+ // Membership check via HTTP status (200/404) rather than a body — distinct
106
+ // from the generated `teamCheckMember`, which returns the TeamMember object.
138
107
  isUserMemberOfTeam(user_id, team_id) {
139
108
  requireId("user_id", user_id);
140
109
  requireId("team_id", team_id);
141
110
  return this.fetcher.check(`/team/${team_id}/member/check/${user_id}`);
142
111
  }
143
- listConections() {
144
- return this.paginator({ url: "/connection" });
145
- }
146
- getConection(connection_id) {
147
- requireId("connection_id", connection_id);
148
- return this.fetcher.get(`/connection/${connection_id}`);
149
- }
150
- listClients(params) {
151
- return this.paginator({ url: "/client", params });
152
- }
153
- getClient(client_id) {
154
- requireId("client_id", client_id);
155
- return this.fetcher.get(`/client/${client_id}`);
112
+ // ── Deprecated aliases ─────────────────────────────────────────────────────
113
+ // Thin forwarders to the auto-generated methods, kept so existing consumers
114
+ // don't break. Signatures track the generated methods via `Parameters<…>`.
115
+ // Prefer the generated names; these will be removed in a future major.
116
+ /** @deprecated use {@link GeneratedFaableAuthApi.accountCurrent | accountCurrent} */
117
+ currentAccount(...args) {
118
+ return this.accountCurrent(...args);
119
+ }
120
+ /** @deprecated use {@link GeneratedFaableAuthApi.userList | userList} */
121
+ listUsers(...args) {
122
+ return this.userList(...args);
123
+ }
124
+ /** @deprecated use {@link GeneratedFaableAuthApi.userGet | userGet} */
125
+ getUser(...args) {
126
+ return this.userGet(...args);
127
+ }
128
+ /** @deprecated use {@link GeneratedFaableAuthApi.userCreate | userCreate} */
129
+ createUser(...args) {
130
+ return this.userCreate(...args);
131
+ }
132
+ /** @deprecated use {@link GeneratedFaableAuthApi.userUpdate | userUpdate} */
133
+ updateUser(...args) {
134
+ return this.userUpdate(...args);
135
+ }
136
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamGet | teamGet} */
137
+ getTeam(...args) {
138
+ return this.teamGet(...args);
139
+ }
140
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamDelete | teamDelete} */
141
+ deleteTeam(...args) {
142
+ return this.teamDelete(...args);
143
+ }
144
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamCreate | teamCreate} */
145
+ createTeam(...args) {
146
+ return this.teamCreate(...args);
147
+ }
148
+ /** @deprecated use {@link GeneratedFaableAuthApi.teamList | teamList} */
149
+ listTeams(...args) {
150
+ return this.teamList(...args);
151
+ }
152
+ /** @deprecated use {@link GeneratedFaableAuthApi.teammemberList | teammemberList} */
153
+ listTeamMembers(...args) {
154
+ return this.teammemberList(...args);
155
+ }
156
+ /** @deprecated typo — use {@link GeneratedFaableAuthApi.connectionList | connectionList} */
157
+ listConections(...args) {
158
+ return this.connectionList(...args);
159
+ }
160
+ /** @deprecated typo — use {@link GeneratedFaableAuthApi.connectionGet | connectionGet} */
161
+ getConection(...args) {
162
+ return this.connectionGet(...args);
163
+ }
164
+ /** @deprecated use {@link GeneratedFaableAuthApi.clientList | clientList} */
165
+ listClients(...args) {
166
+ return this.clientList(...args);
167
+ }
168
+ /** @deprecated use {@link GeneratedFaableAuthApi.clientGet | clientGet} */
169
+ getClient(...args) {
170
+ return this.clientGet(...args);
156
171
  }
157
172
  }
@@ -1,10 +1,93 @@
1
- import { components } from "./types.js";
1
+ import type { components } from "./types.js";
2
+ export type AccountNotificationSettings = components["schemas"]["AccountNotificationSettings"];
3
+ export type Action = components["schemas"]["Action"];
4
+ export type ActionCreate = components["schemas"]["ActionCreate"];
5
+ export type ActionMetadata = components["schemas"]["ActionMetadata"];
6
+ export type Api = components["schemas"]["Api"];
7
+ export type ApiCreate = components["schemas"]["ApiCreate"];
8
+ export type ApiMetadata = components["schemas"]["ApiMetadata"];
9
+ export type ApiSigningAlg = components["schemas"]["ApiSigningAlg"];
10
+ export type ApiTokenDialect = components["schemas"]["ApiTokenDialect"];
11
+ export type ApiUpdate = components["schemas"]["ApiUpdate"];
12
+ export type AuthAccount = components["schemas"]["AuthAccount"];
13
+ export type AuthAccountCreate = components["schemas"]["AuthAccountCreate"];
14
+ export type AuthAccountMetadataCreate = components["schemas"]["AuthAccountMetadataCreate"];
15
+ export type AuthAccountUpdate = components["schemas"]["AuthAccountUpdate"];
16
+ export type Client = components["schemas"]["Client"];
17
+ export type ClientCreate = components["schemas"]["ClientCreate"];
18
+ export type ClientMetadata = components["schemas"]["ClientMetadata"];
19
+ export type ClientMetadataCreate = components["schemas"]["ClientMetadataCreate"];
20
+ export type ClientRegistrationRequest = components["schemas"]["ClientRegistrationRequest"];
21
+ export type ClientRegistrationResponse = components["schemas"]["ClientRegistrationResponse"];
22
+ export type ClientUpdate = components["schemas"]["ClientUpdate"];
23
+ export type Connection = components["schemas"]["Connection"];
24
+ export type ConnectionCreate = components["schemas"]["ConnectionCreate"];
25
+ export type ConnectionMetadata = components["schemas"]["ConnectionMetadata"];
26
+ export type ConnectionMetadataCreate = components["schemas"]["ConnectionMetadataCreate"];
27
+ export type ConnectionUpdate = components["schemas"]["ConnectionUpdate"];
28
+ export type Credential = components["schemas"]["Credential"];
29
+ export type CredentialMetadata = components["schemas"]["CredentialMetadata"];
30
+ export type CredentialsCreate = components["schemas"]["CredentialsCreate"];
31
+ export type CredentialsUpdate = components["schemas"]["CredentialsUpdate"];
32
+ export type Customdomain = components["schemas"]["Customdomain"];
33
+ export type CustomdomainCreate = components["schemas"]["CustomdomainCreate"];
34
+ export type CustomdomainMetadata = components["schemas"]["CustomdomainMetadata"];
35
+ export type CustomdomainMetadataCreate = components["schemas"]["CustomdomainMetadataCreate"];
36
+ export type EmailChangeVerificationMode = components["schemas"]["EmailChangeVerificationMode"];
37
+ export type Identity = components["schemas"]["Identity"];
38
+ export type IdentityCreate = components["schemas"]["IdentityCreate"];
39
+ export type IdentityMetadata = components["schemas"]["IdentityMetadata"];
40
+ export type Log = components["schemas"]["Log"];
41
+ export type LogMetadata = components["schemas"]["LogMetadata"];
42
+ export type LoginCallbackBody = components["schemas"]["LoginCallbackBody"];
43
+ export type NotificationSubscription = components["schemas"]["NotificationSubscription"];
44
+ export type NotificationSubscriptionCreate = components["schemas"]["NotificationSubscriptionCreate"];
45
+ export type NotificationSubscriptionEmail = components["schemas"]["NotificationSubscriptionEmail"];
46
+ export type NotificationSubscriptionEmailConfig = components["schemas"]["NotificationSubscriptionEmailConfig"];
47
+ export type NotificationSubscriptionEmailConfigCreate = components["schemas"]["NotificationSubscriptionEmailConfigCreate"];
48
+ export type NotificationSubscriptionEmailCreate = components["schemas"]["NotificationSubscriptionEmailCreate"];
49
+ export type NotificationSubscriptionEmailMetadata = components["schemas"]["NotificationSubscriptionEmailMetadata"];
50
+ export type NotificationSubscriptionEmailMetadataCreate = components["schemas"]["NotificationSubscriptionEmailMetadataCreate"];
51
+ export type NotificationSubscriptionEmailMetadataUpdate = components["schemas"]["NotificationSubscriptionEmailMetadataUpdate"];
52
+ export type NotificationSubscriptionUpdate = components["schemas"]["NotificationSubscriptionUpdate"];
53
+ export type NotificationSubscriptionWebhook = components["schemas"]["NotificationSubscriptionWebhook"];
54
+ export type NotificationSubscriptionWebhookConfig = components["schemas"]["NotificationSubscriptionWebhookConfig"];
55
+ export type NotificationSubscriptionWebhookConfigCreate = components["schemas"]["NotificationSubscriptionWebhookConfigCreate"];
56
+ export type NotificationSubscriptionWebhookCreate = components["schemas"]["NotificationSubscriptionWebhookCreate"];
57
+ export type NotificationSubscriptionWebhookMetadata = components["schemas"]["NotificationSubscriptionWebhookMetadata"];
58
+ export type NotificationSubscriptionWebhookMetadataCreate = components["schemas"]["NotificationSubscriptionWebhookMetadataCreate"];
59
+ export type NotificationSubscriptionWebhookMetadataUpdate = components["schemas"]["NotificationSubscriptionWebhookMetadataUpdate"];
60
+ export type OAuthGrantType = components["schemas"]["OAuthGrantType"];
61
+ export type OAuthTokenParams = components["schemas"]["OAuthTokenParams"];
62
+ export type Permission = components["schemas"]["Permission"];
63
+ export type PermissionCreate = components["schemas"]["PermissionCreate"];
64
+ export type Role = components["schemas"]["Role"];
65
+ export type RoleCreate = components["schemas"]["RoleCreate"];
66
+ export type RoleMember = components["schemas"]["RoleMember"];
67
+ export type RoleMemberCreate = components["schemas"]["RoleMemberCreate"];
68
+ export type RoleMemberMetadata = components["schemas"]["RoleMemberMetadata"];
69
+ export type RoleMetadata = components["schemas"]["RoleMetadata"];
70
+ export type RoleMetadataCreate = components["schemas"]["RoleMetadataCreate"];
71
+ export type RoleUpdate = components["schemas"]["RoleUpdate"];
72
+ export type Team = components["schemas"]["Team"];
73
+ export type TeamCreate = components["schemas"]["TeamCreate"];
74
+ export type TeamMember = components["schemas"]["TeamMember"];
75
+ export type TeamMemberCreate = components["schemas"]["TeamMemberCreate"];
76
+ export type TeamMemberMetadata = components["schemas"]["TeamMemberMetadata"];
77
+ export type TeamMetadata = components["schemas"]["TeamMetadata"];
78
+ export type TeamMetadataCreate = components["schemas"]["TeamMetadataCreate"];
79
+ export type TeamUpdate = components["schemas"]["TeamUpdate"];
80
+ export type TeamUpdateMetadata = components["schemas"]["TeamUpdateMetadata"];
81
+ export type TokenSigningAlg = components["schemas"]["TokenSigningAlg"];
2
82
  export type User = components["schemas"]["User"];
83
+ export type UserAddress = components["schemas"]["UserAddress"];
84
+ export type UserAppCreate = components["schemas"]["UserAppCreate"];
85
+ export type UserAppMetadata = components["schemas"]["UserAppMetadata"];
86
+ export type UserAppMetadataUpdate = components["schemas"]["UserAppMetadataUpdate"];
3
87
  export type UserCreate = components["schemas"]["UserCreate"];
88
+ export type UserMetadata = components["schemas"]["UserMetadata"];
4
89
  export type UserUpdate = components["schemas"]["UserUpdate"];
5
- export type Team = components["schemas"]["Team"];
6
- export type TeamMember = components["schemas"]["TeamMember"];
7
- export type TeamCreate = components["schemas"]["TeamCreate"];
8
- export type AuthAccount = components["schemas"]["AuthAccount"];
9
- export type Connection = components["schemas"]["Connection"];
10
- export type Client = components["schemas"]["Client"];
90
+ export type UserUserCreate = components["schemas"]["UserUserCreate"];
91
+ export type UserUserMetadata = components["schemas"]["UserUserMetadata"];
92
+ export type UserUserMetadataUpdate = components["schemas"]["UserUserMetadataUpdate"];
93
+ export type UsernamepasswordLoginBody = components["schemas"]["UsernamepasswordLoginBody"];
@@ -1 +1,4 @@
1
+ // AUTO-GENERATED by scripts/gen-client.mjs — do not edit by hand.
2
+ // Regenerated from the OpenAPI spec on every build (npm run gentypes).
3
+ // One simple-named alias per schema in `components["schemas"]`.
1
4
  export {};