@hexclave/shared 1.0.17 → 1.0.18

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.
@@ -131,6 +131,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
131
131
  };
132
132
  }[] | undefined;
133
133
  quantity: number;
134
+ id: string | null;
134
135
  product: {
135
136
  free_trial?: DayInterval | undefined;
136
137
  client_metadata?: {} | null | undefined;
@@ -157,7 +158,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
157
158
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
158
159
  }>;
159
160
  };
160
- id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
163
163
  pagination: {
@@ -80,10 +80,10 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
81
  user_id: string;
82
82
  type: "user";
83
- description: string;
84
83
  id: string;
85
- created_at_millis: number;
84
+ description: string;
86
85
  expires_at_millis: number | undefined;
86
+ created_at_millis: number;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -178,10 +178,10 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
180
  team_id: string;
181
- description: string;
182
181
  id: string;
183
- created_at_millis: number;
182
+ description: string;
184
183
  expires_at_millis: number | undefined;
184
+ created_at_millis: number;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -51,15 +51,11 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
51
51
  onboarding_state: {
52
52
  selected_config_choice: "create-new" | "link-existing";
53
53
  selected_apps: string[];
54
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
58
58
  config: {
59
- domains: {
60
- domain: string;
61
- handler_path: string;
62
- }[];
63
59
  oauth_providers: {
64
60
  client_id?: string | undefined;
65
61
  client_secret?: string | undefined;
@@ -70,6 +66,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
70
66
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
71
67
  provider_config_id: string;
72
68
  }[];
69
+ domains: {
70
+ domain: string;
71
+ handler_path: string;
72
+ }[];
73
73
  allow_localhost: boolean;
74
74
  sign_up_enabled: boolean;
75
75
  credential_enabled: boolean;
@@ -204,15 +204,11 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
204
204
  onboarding_state: {
205
205
  selected_config_choice: "create-new" | "link-existing";
206
206
  selected_apps: string[];
207
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
207
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
208
208
  selected_email_theme_id: string | null;
209
209
  selected_payments_country: "US" | "OTHER";
210
210
  } | null | undefined;
211
211
  config: {
212
- domains?: {
213
- domain: string;
214
- handler_path: string;
215
- }[] | undefined;
216
212
  oauth_providers?: {
217
213
  client_id?: string | undefined;
218
214
  client_secret?: string | undefined;
@@ -222,6 +218,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
222
218
  type: "shared" | "standard";
223
219
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
224
220
  }[] | undefined;
221
+ domains?: {
222
+ domain: string;
223
+ handler_path: string;
224
+ }[] | undefined;
225
225
  allow_localhost?: boolean | undefined;
226
226
  sign_up_enabled?: boolean | undefined;
227
227
  credential_enabled?: boolean | undefined;
@@ -284,15 +284,11 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
284
284
  onboarding_state: {
285
285
  selected_config_choice: "create-new" | "link-existing";
286
286
  selected_apps: string[];
287
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
287
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
288
288
  selected_email_theme_id: string | null;
289
289
  selected_payments_country: "US" | "OTHER";
290
290
  } | null | undefined;
291
291
  config: {
292
- domains?: {
293
- domain: string;
294
- handler_path: string;
295
- }[] | undefined;
296
292
  oauth_providers?: {
297
293
  client_id?: string | undefined;
298
294
  client_secret?: string | undefined;
@@ -302,6 +298,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
302
298
  type: "shared" | "standard";
303
299
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
304
300
  }[] | undefined;
301
+ domains?: {
302
+ domain: string;
303
+ handler_path: string;
304
+ }[] | undefined;
305
305
  allow_localhost?: boolean | undefined;
306
306
  sign_up_enabled?: boolean | undefined;
307
307
  credential_enabled?: boolean | undefined;
@@ -424,15 +424,11 @@ declare const projectsCrud: CrudSchemaFromOptions<{
424
424
  onboarding_state: {
425
425
  selected_config_choice: "create-new" | "link-existing";
426
426
  selected_apps: string[];
427
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
427
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
428
428
  selected_email_theme_id: string | null;
429
429
  selected_payments_country: "US" | "OTHER";
430
430
  } | null | undefined;
431
431
  config: {
432
- domains: {
433
- domain: string;
434
- handler_path: string;
435
- }[];
436
432
  oauth_providers: {
437
433
  client_id?: string | undefined;
438
434
  client_secret?: string | undefined;
@@ -443,6 +439,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
443
439
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
444
440
  provider_config_id: string;
445
441
  }[];
442
+ domains: {
443
+ domain: string;
444
+ handler_path: string;
445
+ }[];
446
446
  allow_localhost: boolean;
447
447
  sign_up_enabled: boolean;
448
448
  credential_enabled: boolean;
@@ -539,15 +539,11 @@ declare const projectsCrud: CrudSchemaFromOptions<{
539
539
  onboarding_state: {
540
540
  selected_config_choice: "create-new" | "link-existing";
541
541
  selected_apps: string[];
542
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
542
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
543
543
  selected_email_theme_id: string | null;
544
544
  selected_payments_country: "US" | "OTHER";
545
545
  } | null | undefined;
546
546
  config: {
547
- domains?: {
548
- domain: string;
549
- handler_path: string;
550
- }[] | undefined;
551
547
  oauth_providers?: {
552
548
  client_id?: string | undefined;
553
549
  client_secret?: string | undefined;
@@ -557,6 +553,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
557
553
  type: "shared" | "standard";
558
554
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
559
555
  }[] | undefined;
556
+ domains?: {
557
+ domain: string;
558
+ handler_path: string;
559
+ }[] | undefined;
560
560
  allow_localhost?: boolean | undefined;
561
561
  sign_up_enabled?: boolean | undefined;
562
562
  credential_enabled?: boolean | undefined;
@@ -647,15 +647,11 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
647
647
  onboarding_state: {
648
648
  selected_config_choice: "create-new" | "link-existing";
649
649
  selected_apps: string[];
650
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
650
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
651
651
  selected_email_theme_id: string | null;
652
652
  selected_payments_country: "US" | "OTHER";
653
653
  } | null | undefined;
654
654
  config: {
655
- domains: {
656
- domain: string;
657
- handler_path: string;
658
- }[];
659
655
  oauth_providers: {
660
656
  client_id?: string | undefined;
661
657
  client_secret?: string | undefined;
@@ -666,6 +662,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
666
662
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
667
663
  provider_config_id: string;
668
664
  }[];
665
+ domains: {
666
+ domain: string;
667
+ handler_path: string;
668
+ }[];
669
669
  allow_localhost: boolean;
670
670
  sign_up_enabled: boolean;
671
671
  credential_enabled: boolean;
@@ -762,15 +762,11 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
762
762
  onboarding_state: {
763
763
  selected_config_choice: "create-new" | "link-existing";
764
764
  selected_apps: string[];
765
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
765
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
766
766
  selected_email_theme_id: string | null;
767
767
  selected_payments_country: "US" | "OTHER";
768
768
  } | null | undefined;
769
769
  config: {
770
- domains?: {
771
- domain: string;
772
- handler_path: string;
773
- }[] | undefined;
774
770
  oauth_providers?: {
775
771
  client_id?: string | undefined;
776
772
  client_secret?: string | undefined;
@@ -780,6 +776,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
780
776
  type: "shared" | "standard";
781
777
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
782
778
  }[] | undefined;
779
+ domains?: {
780
+ domain: string;
781
+ handler_path: string;
782
+ }[] | undefined;
783
783
  allow_localhost?: boolean | undefined;
784
784
  sign_up_enabled?: boolean | undefined;
785
785
  credential_enabled?: boolean | undefined;
@@ -24,36 +24,36 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
24
24
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
25
  } | null;
26
26
  primary_email: string | null;
27
+ id: string;
27
28
  display_name: string | null;
28
29
  client_metadata: {} | null;
29
30
  client_read_only_metadata: {} | null;
30
31
  server_metadata: {} | null;
31
- id: string;
32
32
  selected_team_id: string | null;
33
33
  is_anonymous: boolean;
34
34
  is_restricted: boolean;
35
35
  requires_totp_mfa: boolean;
36
- country_code: string | null;
37
36
  profile_image_url: string | null;
38
- signed_up_at_millis: number;
39
- last_active_at_millis: number;
40
37
  primary_email_verified: boolean;
41
38
  primary_email_auth_enabled: boolean;
42
39
  selected_team: {
43
40
  client_metadata?: {} | null | undefined;
44
41
  client_read_only_metadata?: {} | null | undefined;
45
42
  server_metadata?: {} | null | undefined;
46
- display_name: string;
47
43
  id: string;
48
- created_at_millis: number;
44
+ display_name: string;
49
45
  profile_image_url: string | null;
46
+ created_at_millis: number;
50
47
  } | null;
48
+ signed_up_at_millis: number;
51
49
  has_password: boolean;
52
50
  otp_auth_enabled: boolean;
53
51
  passkey_auth_enabled: boolean;
52
+ last_active_at_millis: number;
54
53
  restricted_by_admin: boolean;
55
54
  restricted_by_admin_reason: string | null;
56
55
  restricted_by_admin_private_details: string | null;
56
+ country_code: string | null;
57
57
  risk_scores: {
58
58
  sign_up: {
59
59
  bot: number;
@@ -147,36 +147,36 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
147
147
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
148
  } | null;
149
149
  primary_email: string | null;
150
+ id: string;
150
151
  display_name: string | null;
151
152
  client_metadata: {} | null;
152
153
  client_read_only_metadata: {} | null;
153
154
  server_metadata: {} | null;
154
- id: string;
155
155
  selected_team_id: string | null;
156
156
  is_anonymous: boolean;
157
157
  is_restricted: boolean;
158
158
  requires_totp_mfa: boolean;
159
- country_code: string | null;
160
159
  profile_image_url: string | null;
161
- signed_up_at_millis: number;
162
- last_active_at_millis: number;
163
160
  primary_email_verified: boolean;
164
161
  primary_email_auth_enabled: boolean;
165
162
  selected_team: {
166
163
  client_metadata?: {} | null | undefined;
167
164
  client_read_only_metadata?: {} | null | undefined;
168
165
  server_metadata?: {} | null | undefined;
169
- display_name: string;
170
166
  id: string;
171
- created_at_millis: number;
167
+ display_name: string;
172
168
  profile_image_url: string | null;
169
+ created_at_millis: number;
173
170
  } | null;
171
+ signed_up_at_millis: number;
174
172
  has_password: boolean;
175
173
  otp_auth_enabled: boolean;
176
174
  passkey_auth_enabled: boolean;
175
+ last_active_at_millis: number;
177
176
  restricted_by_admin: boolean;
178
177
  restricted_by_admin_reason: string | null;
179
178
  restricted_by_admin_private_details: string | null;
179
+ country_code: string | null;
180
180
  risk_scores: {
181
181
  sign_up: {
182
182
  bot: number;
@@ -80,10 +80,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
80
80
  client_metadata?: {} | null | undefined;
81
81
  client_read_only_metadata?: {} | null | undefined;
82
82
  server_metadata?: {} | null | undefined;
83
- display_name: string;
84
83
  id: string;
85
- created_at_millis: number;
84
+ display_name: string;
86
85
  profile_image_url: string | null;
86
+ created_at_millis: number;
87
87
  } | null;
88
88
  selected_team_id: string | null;
89
89
  profile_image_url: string | null;
@@ -163,13 +163,12 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
165
  primary_email: string | null | undefined;
166
+ password: string | null | undefined;
166
167
  display_name: string | null | undefined;
167
168
  client_metadata: {} | null | undefined;
168
169
  client_read_only_metadata: {} | null | undefined;
169
170
  server_metadata: {} | null | undefined;
170
171
  is_anonymous: boolean | undefined;
171
- password: string | null | undefined;
172
- country_code: string | null | undefined;
173
172
  profile_image_url: string | null | undefined;
174
173
  primary_email_verified: boolean | undefined;
175
174
  primary_email_auth_enabled: boolean | undefined;
@@ -178,6 +177,7 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
178
177
  restricted_by_admin: boolean | undefined;
179
178
  restricted_by_admin_reason: string | null | undefined;
180
179
  restricted_by_admin_private_details: string | null | undefined;
180
+ country_code: string | null | undefined;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -233,10 +233,10 @@ declare const usersCrud: CrudSchemaFromOptions<{
233
233
  client_metadata?: {} | null | undefined;
234
234
  client_read_only_metadata?: {} | null | undefined;
235
235
  server_metadata?: {} | null | undefined;
236
- display_name: string;
237
236
  id: string;
238
- created_at_millis: number;
237
+ display_name: string;
239
238
  profile_image_url: string | null;
239
+ created_at_millis: number;
240
240
  } | null;
241
241
  selected_team_id: string | null;
242
242
  profile_image_url: string | null;
@@ -369,13 +369,12 @@ declare const usersCrud: CrudSchemaFromOptions<{
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
371
  primary_email: string | null | undefined;
372
+ password: string | null | undefined;
372
373
  display_name: string | null | undefined;
373
374
  client_metadata: {} | null | undefined;
374
375
  client_read_only_metadata: {} | null | undefined;
375
376
  server_metadata: {} | null | undefined;
376
377
  is_anonymous: boolean | undefined;
377
- password: string | null | undefined;
378
- country_code: string | null | undefined;
379
378
  profile_image_url: string | null | undefined;
380
379
  primary_email_verified: boolean | undefined;
381
380
  primary_email_auth_enabled: boolean | undefined;
@@ -384,6 +383,7 @@ declare const usersCrud: CrudSchemaFromOptions<{
384
383
  restricted_by_admin: boolean | undefined;
385
384
  restricted_by_admin_reason: string | null | undefined;
386
385
  restricted_by_admin_private_details: string | null | undefined;
386
+ country_code: string | null | undefined;
387
387
  risk_scores: {
388
388
  sign_up: {
389
389
  bot: number;
@@ -467,10 +467,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
467
467
  client_metadata?: {} | null | undefined;
468
468
  client_read_only_metadata?: {} | null | undefined;
469
469
  server_metadata?: {} | null | undefined;
470
- display_name: string;
471
470
  id: string;
472
- created_at_millis: number;
471
+ display_name: string;
473
472
  profile_image_url: string | null;
473
+ created_at_millis: number;
474
474
  } | null;
475
475
  selected_team_id: string | null;
476
476
  profile_image_url: string | null;
@@ -558,10 +558,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
558
558
  client_metadata?: {} | null | undefined;
559
559
  client_read_only_metadata?: {} | null | undefined;
560
560
  server_metadata?: {} | null | undefined;
561
- display_name: string;
562
561
  id: string;
563
- created_at_millis: number;
562
+ display_name: string;
564
563
  profile_image_url: string | null;
564
+ created_at_millis: number;
565
565
  } | null;
566
566
  selected_team_id: string | null;
567
567
  profile_image_url: string | null;
@@ -20,10 +20,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
20
20
  client_metadata?: {} | null | undefined;
21
21
  client_read_only_metadata?: {} | null | undefined;
22
22
  server_metadata?: {} | null | undefined;
23
- display_name: string;
24
23
  id: string;
25
- created_at_millis: number;
24
+ display_name: string;
26
25
  profile_image_url: string | null;
26
+ created_at_millis: number;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -110,10 +110,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
110
110
  client_metadata?: {} | null | undefined;
111
111
  client_read_only_metadata?: {} | null | undefined;
112
112
  server_metadata?: {} | null | undefined;
113
- display_name: string;
114
113
  id: string;
115
- created_at_millis: number;
114
+ display_name: string;
116
115
  profile_image_url: string | null;
116
+ created_at_millis: number;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",