@hexclave/shared 1.0.16 → 1.0.17
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.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +105 -105
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +105 -105
- package/dist/esm/interface/admin-metrics.d.ts +23 -23
- package/dist/esm/interface/conversations.d.ts +19 -19
- package/dist/esm/interface/crud/current-user.d.ts +14 -14
- package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
- package/dist/esm/interface/crud/products.d.ts +13 -13
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +43 -43
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +13 -13
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +14 -14
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +23 -23
- package/dist/interface/conversations.d.ts +19 -19
- package/dist/interface/crud/current-user.d.ts +14 -14
- package/dist/interface/crud/email-outbox.d.ts +184 -184
- package/dist/interface/crud/products.d.ts +13 -13
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/projects.d.ts +43 -43
- package/dist/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/interface/crud/transactions.d.ts +13 -13
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +14 -14
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
|
@@ -6,13 +6,12 @@ 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;
|
|
9
10
|
client_metadata?: {} | null | undefined;
|
|
10
11
|
client_read_only_metadata?: {} | null | undefined;
|
|
11
12
|
server_metadata?: {} | null | undefined;
|
|
12
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
13
|
-
display_name: string;
|
|
14
13
|
server_only: boolean;
|
|
15
|
-
customer_type: "
|
|
14
|
+
customer_type: "team" | "user" | "custom";
|
|
16
15
|
stackable: boolean;
|
|
17
16
|
prices: Record<string, {
|
|
18
17
|
USD?: string | undefined;
|
|
@@ -25,6 +24,7 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
25
24
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
26
25
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
27
26
|
}>;
|
|
27
|
+
display_name: string;
|
|
28
28
|
included_items: Record<string, {
|
|
29
29
|
quantity?: number | undefined;
|
|
30
30
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -41,13 +41,12 @@ 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;
|
|
44
45
|
client_metadata?: {} | null | undefined;
|
|
45
46
|
client_read_only_metadata?: {} | null | undefined;
|
|
46
47
|
server_metadata?: {} | null | undefined;
|
|
47
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
48
|
-
display_name: string;
|
|
49
48
|
server_only: boolean;
|
|
50
|
-
customer_type: "
|
|
49
|
+
customer_type: "team" | "user" | "custom";
|
|
51
50
|
stackable: boolean;
|
|
52
51
|
prices: Record<string, {
|
|
53
52
|
USD?: string | undefined;
|
|
@@ -60,6 +59,7 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
60
59
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
61
60
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
62
61
|
}>;
|
|
62
|
+
display_name: string;
|
|
63
63
|
included_items: Record<string, {
|
|
64
64
|
quantity?: number | undefined;
|
|
65
65
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -104,13 +104,12 @@ 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;
|
|
107
108
|
client_metadata?: {} | null | undefined;
|
|
108
109
|
client_read_only_metadata?: {} | null | undefined;
|
|
109
110
|
server_metadata?: {} | null | undefined;
|
|
110
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
111
|
-
display_name: string;
|
|
112
111
|
server_only: boolean;
|
|
113
|
-
customer_type: "
|
|
112
|
+
customer_type: "team" | "user" | "custom";
|
|
114
113
|
stackable: boolean;
|
|
115
114
|
prices: Record<string, {
|
|
116
115
|
USD?: string | undefined;
|
|
@@ -123,6 +122,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
123
122
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
124
123
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
125
124
|
}>;
|
|
125
|
+
display_name: string;
|
|
126
126
|
included_items: Record<string, {
|
|
127
127
|
quantity?: number | undefined;
|
|
128
128
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -130,16 +130,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
130
130
|
}>;
|
|
131
131
|
};
|
|
132
132
|
}[] | undefined;
|
|
133
|
-
id: string | null;
|
|
134
133
|
quantity: number;
|
|
135
134
|
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;
|
|
141
139
|
server_only: boolean;
|
|
142
|
-
customer_type: "
|
|
140
|
+
customer_type: "team" | "user" | "custom";
|
|
143
141
|
stackable: boolean;
|
|
144
142
|
prices: Record<string, {
|
|
145
143
|
USD?: string | undefined;
|
|
@@ -152,12 +150,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
152
150
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
153
151
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
154
152
|
}>;
|
|
153
|
+
display_name: string;
|
|
155
154
|
included_items: Record<string, {
|
|
156
155
|
quantity?: number | undefined;
|
|
157
156
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
158
157
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
159
158
|
}>;
|
|
160
159
|
};
|
|
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
|
|
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;
|
|
82
83
|
type: "user";
|
|
84
|
+
description: string;
|
|
83
85
|
id: string;
|
|
84
86
|
created_at_millis: number;
|
|
85
87
|
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;
|
|
181
183
|
id: string;
|
|
182
184
|
created_at_millis: number;
|
|
183
185
|
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
|
} & {
|
|
@@ -52,11 +52,15 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
52
52
|
onboarding_state: {
|
|
53
53
|
selected_config_choice: "create-new" | "link-existing";
|
|
54
54
|
selected_apps: string[];
|
|
55
|
-
selected_sign_in_methods: ("
|
|
55
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
56
56
|
selected_email_theme_id: string | null;
|
|
57
57
|
selected_payments_country: "US" | "OTHER";
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
config: {
|
|
60
|
+
domains: {
|
|
61
|
+
domain: string;
|
|
62
|
+
handler_path: string;
|
|
63
|
+
}[];
|
|
60
64
|
oauth_providers: {
|
|
61
65
|
client_id?: string | undefined;
|
|
62
66
|
client_secret?: string | undefined;
|
|
@@ -79,10 +83,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
79
83
|
enabled_oauth_providers: {
|
|
80
84
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
81
85
|
}[];
|
|
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,6 +159,10 @@ 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
|
+
}[];
|
|
162
166
|
allow_localhost: boolean;
|
|
163
167
|
sign_up_enabled: boolean;
|
|
164
168
|
credential_enabled: boolean;
|
|
@@ -171,10 +175,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
|
|
|
171
175
|
enabled_oauth_providers: {
|
|
172
176
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
173
177
|
}[];
|
|
174
|
-
domains: {
|
|
175
|
-
domain: string;
|
|
176
|
-
handler_path: string;
|
|
177
|
-
}[];
|
|
178
178
|
};
|
|
179
179
|
}, yup$1.AnyObject, {
|
|
180
180
|
id: undefined;
|
|
@@ -205,11 +205,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
205
205
|
onboarding_state: {
|
|
206
206
|
selected_config_choice: "create-new" | "link-existing";
|
|
207
207
|
selected_apps: string[];
|
|
208
|
-
selected_sign_in_methods: ("
|
|
208
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
209
209
|
selected_email_theme_id: string | null;
|
|
210
210
|
selected_payments_country: "US" | "OTHER";
|
|
211
211
|
} | null | undefined;
|
|
212
212
|
config: {
|
|
213
|
+
domains?: {
|
|
214
|
+
domain: string;
|
|
215
|
+
handler_path: string;
|
|
216
|
+
}[] | undefined;
|
|
213
217
|
oauth_providers?: {
|
|
214
218
|
client_id?: string | undefined;
|
|
215
219
|
client_secret?: string | undefined;
|
|
@@ -228,10 +232,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
228
232
|
client_user_deletion_enabled?: boolean | undefined;
|
|
229
233
|
allow_user_api_keys?: boolean | undefined;
|
|
230
234
|
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;
|
|
@@ -285,11 +285,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
285
285
|
onboarding_state: {
|
|
286
286
|
selected_config_choice: "create-new" | "link-existing";
|
|
287
287
|
selected_apps: string[];
|
|
288
|
-
selected_sign_in_methods: ("
|
|
288
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
289
289
|
selected_email_theme_id: string | null;
|
|
290
290
|
selected_payments_country: "US" | "OTHER";
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
config: {
|
|
293
|
+
domains?: {
|
|
294
|
+
domain: string;
|
|
295
|
+
handler_path: string;
|
|
296
|
+
}[] | undefined;
|
|
293
297
|
oauth_providers?: {
|
|
294
298
|
client_id?: string | undefined;
|
|
295
299
|
client_secret?: string | undefined;
|
|
@@ -308,10 +312,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
308
312
|
client_user_deletion_enabled?: boolean | undefined;
|
|
309
313
|
allow_user_api_keys?: boolean | undefined;
|
|
310
314
|
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,6 +365,10 @@ 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
|
+
}[];
|
|
368
372
|
allow_localhost: boolean;
|
|
369
373
|
sign_up_enabled: boolean;
|
|
370
374
|
credential_enabled: boolean;
|
|
@@ -377,10 +381,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
377
381
|
enabled_oauth_providers: {
|
|
378
382
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
379
383
|
}[];
|
|
380
|
-
domains: {
|
|
381
|
-
domain: string;
|
|
382
|
-
handler_path: string;
|
|
383
|
-
}[];
|
|
384
384
|
};
|
|
385
385
|
}, yup$1.AnyObject, {
|
|
386
386
|
id: undefined;
|
|
@@ -425,11 +425,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
425
425
|
onboarding_state: {
|
|
426
426
|
selected_config_choice: "create-new" | "link-existing";
|
|
427
427
|
selected_apps: string[];
|
|
428
|
-
selected_sign_in_methods: ("
|
|
428
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
429
429
|
selected_email_theme_id: string | null;
|
|
430
430
|
selected_payments_country: "US" | "OTHER";
|
|
431
431
|
} | null | undefined;
|
|
432
432
|
config: {
|
|
433
|
+
domains: {
|
|
434
|
+
domain: string;
|
|
435
|
+
handler_path: string;
|
|
436
|
+
}[];
|
|
433
437
|
oauth_providers: {
|
|
434
438
|
client_id?: string | undefined;
|
|
435
439
|
client_secret?: string | undefined;
|
|
@@ -452,10 +456,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
452
456
|
enabled_oauth_providers: {
|
|
453
457
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
454
458
|
}[];
|
|
455
|
-
domains: {
|
|
456
|
-
domain: string;
|
|
457
|
-
handler_path: string;
|
|
458
|
-
}[];
|
|
459
459
|
email_config: {
|
|
460
460
|
password?: string | undefined;
|
|
461
461
|
host?: string | undefined;
|
|
@@ -540,11 +540,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
540
540
|
onboarding_state: {
|
|
541
541
|
selected_config_choice: "create-new" | "link-existing";
|
|
542
542
|
selected_apps: string[];
|
|
543
|
-
selected_sign_in_methods: ("
|
|
543
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
544
544
|
selected_email_theme_id: string | null;
|
|
545
545
|
selected_payments_country: "US" | "OTHER";
|
|
546
546
|
} | null | undefined;
|
|
547
547
|
config: {
|
|
548
|
+
domains?: {
|
|
549
|
+
domain: string;
|
|
550
|
+
handler_path: string;
|
|
551
|
+
}[] | undefined;
|
|
548
552
|
oauth_providers?: {
|
|
549
553
|
client_id?: string | undefined;
|
|
550
554
|
client_secret?: string | undefined;
|
|
@@ -563,10 +567,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
563
567
|
client_user_deletion_enabled?: boolean | undefined;
|
|
564
568
|
allow_user_api_keys?: boolean | undefined;
|
|
565
569
|
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;
|
|
@@ -648,11 +648,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
648
648
|
onboarding_state: {
|
|
649
649
|
selected_config_choice: "create-new" | "link-existing";
|
|
650
650
|
selected_apps: string[];
|
|
651
|
-
selected_sign_in_methods: ("
|
|
651
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
652
652
|
selected_email_theme_id: string | null;
|
|
653
653
|
selected_payments_country: "US" | "OTHER";
|
|
654
654
|
} | null | undefined;
|
|
655
655
|
config: {
|
|
656
|
+
domains: {
|
|
657
|
+
domain: string;
|
|
658
|
+
handler_path: string;
|
|
659
|
+
}[];
|
|
656
660
|
oauth_providers: {
|
|
657
661
|
client_id?: string | undefined;
|
|
658
662
|
client_secret?: string | undefined;
|
|
@@ -675,10 +679,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
675
679
|
enabled_oauth_providers: {
|
|
676
680
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
677
681
|
}[];
|
|
678
|
-
domains: {
|
|
679
|
-
domain: string;
|
|
680
|
-
handler_path: string;
|
|
681
|
-
}[];
|
|
682
682
|
email_config: {
|
|
683
683
|
password?: string | undefined;
|
|
684
684
|
host?: string | undefined;
|
|
@@ -763,11 +763,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
763
763
|
onboarding_state: {
|
|
764
764
|
selected_config_choice: "create-new" | "link-existing";
|
|
765
765
|
selected_apps: string[];
|
|
766
|
-
selected_sign_in_methods: ("
|
|
766
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
767
767
|
selected_email_theme_id: string | null;
|
|
768
768
|
selected_payments_country: "US" | "OTHER";
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
config: {
|
|
771
|
+
domains?: {
|
|
772
|
+
domain: string;
|
|
773
|
+
handler_path: string;
|
|
774
|
+
}[] | undefined;
|
|
771
775
|
oauth_providers?: {
|
|
772
776
|
client_id?: string | undefined;
|
|
773
777
|
client_secret?: string | undefined;
|
|
@@ -786,10 +790,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
786
790
|
client_user_deletion_enabled?: boolean | undefined;
|
|
787
791
|
allow_user_api_keys?: boolean | undefined;
|
|
788
792
|
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;
|
|
34
24
|
restricted_reason: {
|
|
35
25
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
36
26
|
} | null;
|
|
37
|
-
|
|
27
|
+
primary_email: string | null;
|
|
28
|
+
display_name: string | null;
|
|
38
29
|
client_metadata: {} | null;
|
|
39
30
|
client_read_only_metadata: {} | null;
|
|
40
31
|
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;
|
|
47
48
|
id: string;
|
|
48
49
|
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;
|
|
157
147
|
restricted_reason: {
|
|
158
148
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
159
149
|
} | null;
|
|
160
|
-
|
|
150
|
+
primary_email: string | null;
|
|
151
|
+
display_name: string | null;
|
|
161
152
|
client_metadata: {} | null;
|
|
162
153
|
client_read_only_metadata: {} | null;
|
|
163
154
|
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;
|
|
170
171
|
id: string;
|
|
171
172
|
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: "
|
|
9
|
+
customer_type: "team" | "user" | "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: "
|
|
29
|
+
customer_type: "team" | "user" | "custom";
|
|
30
30
|
adjusted_transaction_id: string | null;
|
|
31
31
|
adjusted_entry_index: number | null;
|
|
32
32
|
} | {
|
|
@@ -36,15 +36,14 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
|
36
36
|
customer_id: string;
|
|
37
37
|
product_id: string | null;
|
|
38
38
|
quantity: number;
|
|
39
|
-
customer_type: "
|
|
39
|
+
customer_type: "team" | "user" | "custom";
|
|
40
40
|
product: {
|
|
41
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
41
42
|
client_metadata?: {} | null | undefined;
|
|
42
43
|
client_read_only_metadata?: {} | null | undefined;
|
|
43
44
|
server_metadata?: {} | null | undefined;
|
|
44
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
45
|
-
display_name: string;
|
|
46
45
|
server_only: boolean;
|
|
47
|
-
customer_type: "
|
|
46
|
+
customer_type: "team" | "user" | "custom";
|
|
48
47
|
stackable: boolean;
|
|
49
48
|
prices: Record<string, {
|
|
50
49
|
USD?: string | undefined;
|
|
@@ -57,6 +56,7 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
|
57
56
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
58
57
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
59
58
|
}>;
|
|
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: "
|
|
88
|
+
customer_type: "team" | "user" | "custom";
|
|
89
89
|
customer_id: string;
|
|
90
90
|
entries: ({
|
|
91
91
|
type: "money_transfer";
|
|
92
92
|
customer_id: string;
|
|
93
|
-
customer_type: "
|
|
93
|
+
customer_type: "team" | "user" | "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: "
|
|
113
|
+
customer_type: "team" | "user" | "custom";
|
|
114
114
|
adjusted_transaction_id: string | null;
|
|
115
115
|
adjusted_entry_index: number | null;
|
|
116
116
|
} | {
|
|
@@ -120,15 +120,14 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
120
120
|
customer_id: string;
|
|
121
121
|
product_id: string | null;
|
|
122
122
|
quantity: number;
|
|
123
|
-
customer_type: "
|
|
123
|
+
customer_type: "team" | "user" | "custom";
|
|
124
124
|
product: {
|
|
125
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
125
126
|
client_metadata?: {} | null | undefined;
|
|
126
127
|
client_read_only_metadata?: {} | null | undefined;
|
|
127
128
|
server_metadata?: {} | null | undefined;
|
|
128
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
129
|
-
display_name: string;
|
|
130
129
|
server_only: boolean;
|
|
131
|
-
customer_type: "
|
|
130
|
+
customer_type: "team" | "user" | "custom";
|
|
132
131
|
stackable: boolean;
|
|
133
132
|
prices: Record<string, {
|
|
134
133
|
USD?: string | undefined;
|
|
@@ -141,6 +140,7 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
141
140
|
interval?: ______utils_dates0.DayInterval | undefined;
|
|
142
141
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
143
142
|
}>;
|
|
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
|
|
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;
|
|
84
85
|
id: string;
|
|
85
86
|
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,14 +163,15 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
163
163
|
requires_totp_mfa: undefined;
|
|
164
164
|
}, "">;
|
|
165
165
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
166
|
-
country_code: string | null | undefined;
|
|
167
|
-
display_name: string | null | undefined;
|
|
168
166
|
primary_email: string | null | undefined;
|
|
169
|
-
|
|
170
|
-
is_anonymous: boolean | undefined;
|
|
167
|
+
display_name: string | null | undefined;
|
|
171
168
|
client_metadata: {} | null | undefined;
|
|
172
169
|
client_read_only_metadata: {} | null | undefined;
|
|
173
170
|
server_metadata: {} | null | undefined;
|
|
171
|
+
is_anonymous: boolean | undefined;
|
|
172
|
+
password: string | null | undefined;
|
|
173
|
+
country_code: string | null | undefined;
|
|
174
|
+
profile_image_url: string | null | undefined;
|
|
174
175
|
primary_email_verified: boolean | undefined;
|
|
175
176
|
primary_email_auth_enabled: boolean | undefined;
|
|
176
177
|
otp_auth_enabled: boolean | undefined;
|
|
@@ -184,7 +185,6 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
184
185
|
free_trial_abuse: number;
|
|
185
186
|
};
|
|
186
187
|
} | 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;
|
|
237
238
|
id: string;
|
|
238
239
|
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,14 +369,15 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
369
369
|
};
|
|
370
370
|
}, "">;
|
|
371
371
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
372
|
-
country_code: string | null | undefined;
|
|
373
|
-
display_name: string | null | undefined;
|
|
374
372
|
primary_email: string | null | undefined;
|
|
375
|
-
|
|
376
|
-
is_anonymous: boolean | undefined;
|
|
373
|
+
display_name: string | null | undefined;
|
|
377
374
|
client_metadata: {} | null | undefined;
|
|
378
375
|
client_read_only_metadata: {} | null | undefined;
|
|
379
376
|
server_metadata: {} | null | undefined;
|
|
377
|
+
is_anonymous: boolean | undefined;
|
|
378
|
+
password: string | null | undefined;
|
|
379
|
+
country_code: string | null | undefined;
|
|
380
|
+
profile_image_url: string | null | undefined;
|
|
380
381
|
primary_email_verified: boolean | undefined;
|
|
381
382
|
primary_email_auth_enabled: boolean | undefined;
|
|
382
383
|
otp_auth_enabled: boolean | undefined;
|
|
@@ -390,7 +391,6 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
390
391
|
free_trial_abuse: number;
|
|
391
392
|
};
|
|
392
393
|
} | 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;
|
|
471
472
|
id: string;
|
|
472
473
|
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;
|
|
562
563
|
id: string;
|
|
563
564
|
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;
|