@hexclave/shared 1.0.15 → 1.0.16

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.
Files changed (35) hide show
  1. package/dist/config/schema.d.ts +55 -55
  2. package/dist/esm/config/schema.d.ts +55 -55
  3. package/dist/esm/interface/admin-metrics.d.ts +22 -22
  4. package/dist/esm/interface/conversations.d.ts +10 -10
  5. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  6. package/dist/esm/interface/crud/email-outbox.d.ts +160 -160
  7. package/dist/esm/interface/crud/products.d.ts +13 -13
  8. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  10. package/dist/esm/interface/crud/projects.d.ts +36 -36
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  12. package/dist/esm/interface/crud/transactions.d.ts +13 -13
  13. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  14. package/dist/esm/interface/crud/users.d.ts +14 -14
  15. package/dist/esm/interface/webhooks.d.ts +2 -2
  16. package/dist/esm/known-errors.d.ts +5 -5
  17. package/dist/esm/schema-fields.d.ts +5 -5
  18. package/dist/esm/sessions.d.ts +7 -7
  19. package/dist/interface/admin-metrics.d.ts +22 -22
  20. package/dist/interface/conversations.d.ts +10 -10
  21. package/dist/interface/crud/current-user.d.ts +14 -14
  22. package/dist/interface/crud/email-outbox.d.ts +160 -160
  23. package/dist/interface/crud/products.d.ts +13 -13
  24. package/dist/interface/crud/products.d.ts.map +1 -1
  25. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  26. package/dist/interface/crud/projects.d.ts +36 -36
  27. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  28. package/dist/interface/crud/transactions.d.ts +13 -13
  29. package/dist/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/interface/crud/users.d.ts +14 -14
  31. package/dist/interface/webhooks.d.ts +2 -2
  32. package/dist/known-errors.d.ts +5 -5
  33. package/dist/schema-fields.d.ts +5 -5
  34. package/dist/sessions.d.ts +7 -7
  35. package/package.json +1 -1
@@ -6,12 +6,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
6
6
  id: string | null;
7
7
  quantity: number;
8
8
  product: {
9
- free_trial?: ______utils_dates0.DayInterval | undefined;
10
9
  client_metadata?: {} | null | undefined;
11
10
  client_read_only_metadata?: {} | null | undefined;
12
11
  server_metadata?: {} | null | undefined;
12
+ free_trial?: ______utils_dates0.DayInterval | undefined;
13
+ display_name: string;
13
14
  server_only: boolean;
14
- customer_type: "team" | "user" | "custom";
15
+ customer_type: "user" | "team" | "custom";
15
16
  stackable: boolean;
16
17
  prices: Record<string, {
17
18
  USD?: string | undefined;
@@ -24,7 +25,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
24
25
  interval?: ______utils_dates0.DayInterval | undefined;
25
26
  free_trial?: ______utils_dates0.DayInterval | undefined;
26
27
  }>;
27
- display_name: string;
28
28
  included_items: Record<string, {
29
29
  quantity?: number | undefined;
30
30
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -41,12 +41,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
41
41
  switch_options: {
42
42
  product_id: string;
43
43
  product: {
44
- free_trial?: ______utils_dates0.DayInterval | undefined;
45
44
  client_metadata?: {} | null | undefined;
46
45
  client_read_only_metadata?: {} | null | undefined;
47
46
  server_metadata?: {} | null | undefined;
47
+ free_trial?: ______utils_dates0.DayInterval | undefined;
48
+ display_name: string;
48
49
  server_only: boolean;
49
- customer_type: "team" | "user" | "custom";
50
+ customer_type: "user" | "team" | "custom";
50
51
  stackable: boolean;
51
52
  prices: Record<string, {
52
53
  USD?: string | undefined;
@@ -59,7 +60,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
59
60
  interval?: ______utils_dates0.DayInterval | undefined;
60
61
  free_trial?: ______utils_dates0.DayInterval | undefined;
61
62
  }>;
62
- display_name: string;
63
63
  included_items: Record<string, {
64
64
  quantity?: number | undefined;
65
65
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -104,12 +104,13 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
104
104
  switch_options?: {
105
105
  product_id: string;
106
106
  product: {
107
- free_trial?: ______utils_dates0.DayInterval | undefined;
108
107
  client_metadata?: {} | null | undefined;
109
108
  client_read_only_metadata?: {} | null | undefined;
110
109
  server_metadata?: {} | null | undefined;
110
+ free_trial?: ______utils_dates0.DayInterval | undefined;
111
+ display_name: string;
111
112
  server_only: boolean;
112
- customer_type: "team" | "user" | "custom";
113
+ customer_type: "user" | "team" | "custom";
113
114
  stackable: boolean;
114
115
  prices: Record<string, {
115
116
  USD?: string | undefined;
@@ -122,7 +123,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
122
123
  interval?: ______utils_dates0.DayInterval | undefined;
123
124
  free_trial?: ______utils_dates0.DayInterval | undefined;
124
125
  }>;
125
- display_name: string;
126
126
  included_items: Record<string, {
127
127
  quantity?: number | undefined;
128
128
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -130,14 +130,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
+ id: string | null;
133
134
  quantity: number;
134
135
  product: {
135
- free_trial?: ______utils_dates0.DayInterval | undefined;
136
136
  client_metadata?: {} | null | undefined;
137
137
  client_read_only_metadata?: {} | null | undefined;
138
138
  server_metadata?: {} | null | undefined;
139
+ free_trial?: ______utils_dates0.DayInterval | undefined;
140
+ display_name: string;
139
141
  server_only: boolean;
140
- customer_type: "team" | "user" | "custom";
142
+ customer_type: "user" | "team" | "custom";
141
143
  stackable: boolean;
142
144
  prices: Record<string, {
143
145
  USD?: string | undefined;
@@ -150,14 +152,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
150
152
  interval?: ______utils_dates0.DayInterval | undefined;
151
153
  free_trial?: ______utils_dates0.DayInterval | undefined;
152
154
  }>;
153
- display_name: string;
154
155
  included_items: Record<string, {
155
156
  quantity?: number | undefined;
156
157
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
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: {
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -79,12 +79,12 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- user_id: string;
83
82
  type: "user";
84
- description: string;
85
83
  id: string;
86
84
  created_at_millis: number;
87
85
  expires_at_millis: number | undefined;
86
+ user_id: string;
87
+ description: string;
88
88
  manually_revoked_at_millis: number | undefined;
89
89
  is_public: boolean;
90
90
  } & {
@@ -178,11 +178,11 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
180
  type: "team";
181
- team_id: string;
182
- description: string;
183
181
  id: string;
184
182
  created_at_millis: number;
185
183
  expires_at_millis: number | undefined;
184
+ team_id: string;
185
+ description: string;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -67,10 +67,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
67
67
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
68
68
  provider_config_id: string;
69
69
  }[];
70
- domains: {
71
- domain: string;
72
- handler_path: string;
73
- }[];
74
70
  allow_localhost: boolean;
75
71
  sign_up_enabled: boolean;
76
72
  credential_enabled: boolean;
@@ -83,6 +79,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
83
79
  enabled_oauth_providers: {
84
80
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
85
81
  }[];
82
+ domains: {
83
+ domain: string;
84
+ handler_path: string;
85
+ }[];
86
86
  email_config: {
87
87
  password?: string | undefined;
88
88
  host?: string | undefined;
@@ -159,10 +159,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
159
159
  id: string;
160
160
  display_name: string;
161
161
  config: {
162
- domains: {
163
- domain: string;
164
- handler_path: string;
165
- }[];
166
162
  allow_localhost: boolean;
167
163
  sign_up_enabled: boolean;
168
164
  credential_enabled: boolean;
@@ -175,6 +171,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
175
171
  enabled_oauth_providers: {
176
172
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
177
173
  }[];
174
+ domains: {
175
+ domain: string;
176
+ handler_path: string;
177
+ }[];
178
178
  };
179
179
  }, yup$1.AnyObject, {
180
180
  id: undefined;
@@ -219,10 +219,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
219
219
  type: "shared" | "standard";
220
220
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
221
221
  }[] | undefined;
222
- domains?: {
223
- domain: string;
224
- handler_path: string;
225
- }[] | undefined;
226
222
  allow_localhost?: boolean | undefined;
227
223
  sign_up_enabled?: boolean | undefined;
228
224
  credential_enabled?: boolean | undefined;
@@ -232,6 +228,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
232
228
  client_user_deletion_enabled?: boolean | undefined;
233
229
  allow_user_api_keys?: boolean | undefined;
234
230
  allow_team_api_keys?: boolean | undefined;
231
+ domains?: {
232
+ domain: string;
233
+ handler_path: string;
234
+ }[] | undefined;
235
235
  email_config?: {
236
236
  password?: string | undefined;
237
237
  host?: string | undefined;
@@ -299,10 +299,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
299
299
  type: "shared" | "standard";
300
300
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
301
301
  }[] | undefined;
302
- domains?: {
303
- domain: string;
304
- handler_path: string;
305
- }[] | undefined;
306
302
  allow_localhost?: boolean | undefined;
307
303
  sign_up_enabled?: boolean | undefined;
308
304
  credential_enabled?: boolean | undefined;
@@ -312,6 +308,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
312
308
  client_user_deletion_enabled?: boolean | undefined;
313
309
  allow_user_api_keys?: boolean | undefined;
314
310
  allow_team_api_keys?: boolean | undefined;
311
+ domains?: {
312
+ domain: string;
313
+ handler_path: string;
314
+ }[] | undefined;
315
315
  email_config?: {
316
316
  password?: string | undefined;
317
317
  host?: string | undefined;
@@ -365,10 +365,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
365
365
  id: string;
366
366
  display_name: string;
367
367
  config: {
368
- domains: {
369
- domain: string;
370
- handler_path: string;
371
- }[];
372
368
  allow_localhost: boolean;
373
369
  sign_up_enabled: boolean;
374
370
  credential_enabled: boolean;
@@ -381,6 +377,10 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
381
377
  enabled_oauth_providers: {
382
378
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
383
379
  }[];
380
+ domains: {
381
+ domain: string;
382
+ handler_path: string;
383
+ }[];
384
384
  };
385
385
  }, yup$1.AnyObject, {
386
386
  id: undefined;
@@ -440,10 +440,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
440
440
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
441
441
  provider_config_id: string;
442
442
  }[];
443
- domains: {
444
- domain: string;
445
- handler_path: string;
446
- }[];
447
443
  allow_localhost: boolean;
448
444
  sign_up_enabled: boolean;
449
445
  credential_enabled: boolean;
@@ -456,6 +452,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
456
452
  enabled_oauth_providers: {
457
453
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
458
454
  }[];
455
+ domains: {
456
+ domain: string;
457
+ handler_path: string;
458
+ }[];
459
459
  email_config: {
460
460
  password?: string | undefined;
461
461
  host?: string | undefined;
@@ -554,10 +554,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
554
554
  type: "shared" | "standard";
555
555
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
556
556
  }[] | undefined;
557
- domains?: {
558
- domain: string;
559
- handler_path: string;
560
- }[] | undefined;
561
557
  allow_localhost?: boolean | undefined;
562
558
  sign_up_enabled?: boolean | undefined;
563
559
  credential_enabled?: boolean | undefined;
@@ -567,6 +563,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
567
563
  client_user_deletion_enabled?: boolean | undefined;
568
564
  allow_user_api_keys?: boolean | undefined;
569
565
  allow_team_api_keys?: boolean | undefined;
566
+ domains?: {
567
+ domain: string;
568
+ handler_path: string;
569
+ }[] | undefined;
570
570
  email_config?: {
571
571
  password?: string | undefined;
572
572
  host?: string | undefined;
@@ -663,10 +663,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
663
663
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
664
664
  provider_config_id: string;
665
665
  }[];
666
- domains: {
667
- domain: string;
668
- handler_path: string;
669
- }[];
670
666
  allow_localhost: boolean;
671
667
  sign_up_enabled: boolean;
672
668
  credential_enabled: boolean;
@@ -679,6 +675,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
679
675
  enabled_oauth_providers: {
680
676
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
681
677
  }[];
678
+ domains: {
679
+ domain: string;
680
+ handler_path: string;
681
+ }[];
682
682
  email_config: {
683
683
  password?: string | undefined;
684
684
  host?: string | undefined;
@@ -777,10 +777,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
777
777
  type: "shared" | "standard";
778
778
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
779
779
  }[] | undefined;
780
- domains?: {
781
- domain: string;
782
- handler_path: string;
783
- }[] | undefined;
784
780
  allow_localhost?: boolean | undefined;
785
781
  sign_up_enabled?: boolean | undefined;
786
782
  credential_enabled?: boolean | undefined;
@@ -790,6 +786,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
790
786
  client_user_deletion_enabled?: boolean | undefined;
791
787
  allow_user_api_keys?: boolean | undefined;
792
788
  allow_team_api_keys?: boolean | undefined;
789
+ domains?: {
790
+ domain: string;
791
+ handler_path: string;
792
+ }[] | undefined;
793
793
  email_config?: {
794
794
  password?: string | undefined;
795
795
  host?: string | undefined;
@@ -21,32 +21,32 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
+ id: string;
25
+ country_code: string | null;
26
+ display_name: string | null;
27
+ primary_email: string | null;
28
+ profile_image_url: string | null;
29
+ signed_up_at_millis: number;
30
+ last_active_at_millis: number;
31
+ selected_team_id: string | null;
32
+ is_anonymous: boolean;
33
+ is_restricted: boolean;
24
34
  restricted_reason: {
25
35
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
36
  } | null;
27
- primary_email: string | null;
28
- display_name: string | null;
37
+ requires_totp_mfa: boolean;
29
38
  client_metadata: {} | null;
30
39
  client_read_only_metadata: {} | null;
31
40
  server_metadata: {} | null;
32
- id: string;
33
- selected_team_id: string | null;
34
- is_anonymous: boolean;
35
- is_restricted: boolean;
36
- requires_totp_mfa: boolean;
37
- country_code: string | null;
38
- profile_image_url: string | null;
39
- signed_up_at_millis: number;
40
- last_active_at_millis: number;
41
41
  primary_email_verified: boolean;
42
42
  primary_email_auth_enabled: boolean;
43
43
  selected_team: {
44
44
  client_metadata?: {} | null | undefined;
45
45
  client_read_only_metadata?: {} | null | undefined;
46
46
  server_metadata?: {} | null | undefined;
47
- display_name: string;
48
47
  id: string;
49
48
  created_at_millis: number;
49
+ display_name: string;
50
50
  profile_image_url: string | null;
51
51
  } | null;
52
52
  has_password: boolean;
@@ -144,32 +144,32 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
+ id: string;
148
+ country_code: string | null;
149
+ display_name: string | null;
150
+ primary_email: string | null;
151
+ profile_image_url: string | null;
152
+ signed_up_at_millis: number;
153
+ last_active_at_millis: number;
154
+ selected_team_id: string | null;
155
+ is_anonymous: boolean;
156
+ is_restricted: boolean;
147
157
  restricted_reason: {
148
158
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
159
  } | null;
150
- primary_email: string | null;
151
- display_name: string | null;
160
+ requires_totp_mfa: boolean;
152
161
  client_metadata: {} | null;
153
162
  client_read_only_metadata: {} | null;
154
163
  server_metadata: {} | null;
155
- id: string;
156
- selected_team_id: string | null;
157
- is_anonymous: boolean;
158
- is_restricted: boolean;
159
- requires_totp_mfa: boolean;
160
- country_code: string | null;
161
- profile_image_url: string | null;
162
- signed_up_at_millis: number;
163
- last_active_at_millis: number;
164
164
  primary_email_verified: boolean;
165
165
  primary_email_auth_enabled: boolean;
166
166
  selected_team: {
167
167
  client_metadata?: {} | null | undefined;
168
168
  client_read_only_metadata?: {} | null | undefined;
169
169
  server_metadata?: {} | null | undefined;
170
- display_name: string;
171
170
  id: string;
172
171
  created_at_millis: number;
172
+ display_name: string;
173
173
  profile_image_url: string | null;
174
174
  } | null;
175
175
  has_password: boolean;
@@ -6,7 +6,7 @@ import * as ______utils_dates0 from "../../utils/dates";
6
6
  declare const transactionEntrySchema: yup$1.MixedSchema<{
7
7
  type: "money_transfer";
8
8
  customer_id: string;
9
- customer_type: "team" | "user" | "custom";
9
+ customer_type: "user" | "team" | "custom";
10
10
  charged_amount: {
11
11
  USD?: string | undefined;
12
12
  EUR?: string | undefined;
@@ -26,7 +26,7 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
26
26
  item_id: string;
27
27
  customer_id: string;
28
28
  quantity: number;
29
- customer_type: "team" | "user" | "custom";
29
+ customer_type: "user" | "team" | "custom";
30
30
  adjusted_transaction_id: string | null;
31
31
  adjusted_entry_index: number | null;
32
32
  } | {
@@ -36,14 +36,15 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
36
36
  customer_id: string;
37
37
  product_id: string | null;
38
38
  quantity: number;
39
- customer_type: "team" | "user" | "custom";
39
+ customer_type: "user" | "team" | "custom";
40
40
  product: {
41
- free_trial?: ______utils_dates0.DayInterval | undefined;
42
41
  client_metadata?: {} | null | undefined;
43
42
  client_read_only_metadata?: {} | null | undefined;
44
43
  server_metadata?: {} | null | undefined;
44
+ free_trial?: ______utils_dates0.DayInterval | undefined;
45
+ display_name: string;
45
46
  server_only: boolean;
46
- customer_type: "team" | "user" | "custom";
47
+ customer_type: "user" | "team" | "custom";
47
48
  stackable: boolean;
48
49
  prices: Record<string, {
49
50
  USD?: string | undefined;
@@ -56,7 +57,6 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
56
57
  interval?: ______utils_dates0.DayInterval | undefined;
57
58
  free_trial?: ______utils_dates0.DayInterval | undefined;
58
59
  }>;
59
- display_name: string;
60
60
  included_items: Record<string, {
61
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -85,12 +85,12 @@ declare const transactionSchema: yup$1.ObjectSchema<{
85
85
  created_at_millis: number;
86
86
  effective_at_millis: number;
87
87
  type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null;
88
- customer_type: "team" | "user" | "custom";
88
+ customer_type: "user" | "team" | "custom";
89
89
  customer_id: string;
90
90
  entries: ({
91
91
  type: "money_transfer";
92
92
  customer_id: string;
93
- customer_type: "team" | "user" | "custom";
93
+ customer_type: "user" | "team" | "custom";
94
94
  charged_amount: {
95
95
  USD?: string | undefined;
96
96
  EUR?: string | undefined;
@@ -110,7 +110,7 @@ declare const transactionSchema: yup$1.ObjectSchema<{
110
110
  item_id: string;
111
111
  customer_id: string;
112
112
  quantity: number;
113
- customer_type: "team" | "user" | "custom";
113
+ customer_type: "user" | "team" | "custom";
114
114
  adjusted_transaction_id: string | null;
115
115
  adjusted_entry_index: number | null;
116
116
  } | {
@@ -120,14 +120,15 @@ declare const transactionSchema: yup$1.ObjectSchema<{
120
120
  customer_id: string;
121
121
  product_id: string | null;
122
122
  quantity: number;
123
- customer_type: "team" | "user" | "custom";
123
+ customer_type: "user" | "team" | "custom";
124
124
  product: {
125
- free_trial?: ______utils_dates0.DayInterval | undefined;
126
125
  client_metadata?: {} | null | undefined;
127
126
  client_read_only_metadata?: {} | null | undefined;
128
127
  server_metadata?: {} | null | undefined;
128
+ free_trial?: ______utils_dates0.DayInterval | undefined;
129
+ display_name: string;
129
130
  server_only: boolean;
130
- customer_type: "team" | "user" | "custom";
131
+ customer_type: "user" | "team" | "custom";
131
132
  stackable: boolean;
132
133
  prices: Record<string, {
133
134
  USD?: string | undefined;
@@ -140,7 +141,6 @@ declare const transactionSchema: yup$1.ObjectSchema<{
140
141
  interval?: ______utils_dates0.DayInterval | undefined;
141
142
  free_trial?: ______utils_dates0.DayInterval | undefined;
142
143
  }>;
143
- display_name: string;
144
144
  included_items: Record<string, {
145
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -81,9 +81,9 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
81
81
  client_metadata?: {} | null | undefined;
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
- display_name: string;
85
84
  id: string;
86
85
  created_at_millis: number;
86
+ display_name: string;
87
87
  profile_image_url: string | null;
88
88
  } | null;
89
89
  selected_team_id: string | null;
@@ -163,15 +163,14 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
- primary_email: string | null | undefined;
167
- password: string | null | undefined;
166
+ country_code: string | null | undefined;
168
167
  display_name: string | null | undefined;
168
+ primary_email: string | null | undefined;
169
+ profile_image_url: string | null | undefined;
170
+ is_anonymous: boolean | undefined;
169
171
  client_metadata: {} | null | undefined;
170
172
  client_read_only_metadata: {} | null | undefined;
171
173
  server_metadata: {} | null | undefined;
172
- is_anonymous: boolean | undefined;
173
- country_code: string | null | undefined;
174
- profile_image_url: string | null | undefined;
175
174
  primary_email_verified: boolean | undefined;
176
175
  primary_email_auth_enabled: boolean | undefined;
177
176
  otp_auth_enabled: boolean | undefined;
@@ -185,6 +184,7 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
185
184
  free_trial_abuse: number;
186
185
  };
187
186
  } | undefined;
187
+ password: string | null | undefined;
188
188
  password_hash: string | undefined;
189
189
  totp_secret_base64: string | null | undefined;
190
190
  } & {
@@ -234,9 +234,9 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
234
234
  client_metadata?: {} | null | undefined;
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
- display_name: string;
238
237
  id: string;
239
238
  created_at_millis: number;
239
+ display_name: string;
240
240
  profile_image_url: string | null;
241
241
  } | null;
242
242
  selected_team_id: string | null;
@@ -369,15 +369,14 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
- primary_email: string | null | undefined;
373
- password: string | null | undefined;
372
+ country_code: string | null | undefined;
374
373
  display_name: string | null | undefined;
374
+ primary_email: string | null | undefined;
375
+ profile_image_url: string | null | undefined;
376
+ is_anonymous: boolean | undefined;
375
377
  client_metadata: {} | null | undefined;
376
378
  client_read_only_metadata: {} | null | undefined;
377
379
  server_metadata: {} | null | undefined;
378
- is_anonymous: boolean | undefined;
379
- country_code: string | null | undefined;
380
- profile_image_url: string | null | undefined;
381
380
  primary_email_verified: boolean | undefined;
382
381
  primary_email_auth_enabled: boolean | undefined;
383
382
  otp_auth_enabled: boolean | undefined;
@@ -391,6 +390,7 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
391
390
  free_trial_abuse: number;
392
391
  };
393
392
  } | undefined;
393
+ password: string | null | undefined;
394
394
  password_hash: string | undefined;
395
395
  totp_secret_base64: string | null | undefined;
396
396
  } & {
@@ -468,9 +468,9 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
468
468
  client_metadata?: {} | null | undefined;
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
- display_name: string;
472
471
  id: string;
473
472
  created_at_millis: number;
473
+ display_name: string;
474
474
  profile_image_url: string | null;
475
475
  } | null;
476
476
  selected_team_id: string | null;
@@ -559,9 +559,9 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
559
559
  client_metadata?: {} | null | undefined;
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
- display_name: string;
563
562
  id: string;
564
563
  created_at_millis: number;
564
+ display_name: string;
565
565
  profile_image_url: string | null;
566
566
  } | null;
567
567
  selected_team_id: string | null;
@@ -20,9 +20,9 @@ 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
24
  created_at_millis: number;
25
+ display_name: string;
26
26
  profile_image_url: string | null;
27
27
  } | null;
28
28
  selected_team_id: string | null;
@@ -110,9 +110,9 @@ 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
114
  created_at_millis: number;
115
+ display_name: string;
116
116
  profile_image_url: string | null;
117
117
  } | null;
118
118
  selected_team_id: string | null;