@hexclave/shared 1.0.25 → 1.0.27
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/config/schema.d.ts +69 -69
- package/dist/config-authoring.d.ts +3 -0
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js +3 -0
- package/dist/config-authoring.js.map +1 -1
- package/dist/esm/config/schema.d.ts +69 -69
- package/dist/esm/config-authoring.d.ts +3 -0
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js +3 -0
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/interface/admin-interface.d.ts +3 -1
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +3 -0
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/conversations.d.ts +36 -36
- package/dist/esm/interface/crud/current-user.d.ts +12 -12
- package/dist/esm/interface/crud/email-outbox.d.ts +62 -62
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +12 -12
- 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 +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +18 -18
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +18 -18
- package/dist/esm/interface/plan-usage.d.ts +57 -0
- package/dist/esm/interface/plan-usage.d.ts.map +1 -0
- package/dist/esm/interface/plan-usage.js +35 -0
- package/dist/esm/interface/plan-usage.js.map +1 -0
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/sessions.d.ts +9 -9
- package/dist/{index-fQbeILq7.d.ts → index-nCRuFJTF.d.ts} +1 -1
- package/dist/{index-fQbeILq7.d.ts.map → index-nCRuFJTF.d.ts.map} +1 -1
- package/dist/interface/admin-interface.d.ts +3 -1
- package/dist/interface/admin-interface.d.ts.map +1 -1
- package/dist/interface/admin-interface.js +3 -0
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +15 -15
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +36 -36
- package/dist/interface/crud/current-user.d.ts +12 -12
- package/dist/interface/crud/email-outbox.d.ts +62 -62
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/products.d.ts +12 -12
- 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 +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/interface/crud/transactions.d.ts +18 -18
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +18 -18
- package/dist/interface/plan-usage.d.ts +57 -0
- package/dist/interface/plan-usage.d.ts.map +1 -0
- package/dist/interface/plan-usage.js +39 -0
- package/dist/interface/plan-usage.js.map +1 -0
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/known-errors.d.ts +1 -1
- package/dist/sessions.d.ts +9 -9
- package/dist/utils/passkey.d.ts +1 -1
- package/package.json +1 -1
- package/src/config-authoring.ts +3 -1
- package/src/interface/admin-interface.ts +14 -0
- package/src/interface/plan-usage.ts +34 -0
|
@@ -160,11 +160,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
162
|
id: string;
|
|
163
|
-
html: string | null;
|
|
164
|
-
text: string | null;
|
|
165
163
|
status: "scheduled";
|
|
166
|
-
created_at_millis: number;
|
|
167
164
|
subject: string;
|
|
165
|
+
created_at_millis: number;
|
|
166
|
+
html: string | null;
|
|
167
|
+
text: string | null;
|
|
168
168
|
to: {
|
|
169
169
|
type: "user-primary-email";
|
|
170
170
|
user_id: string;
|
|
@@ -206,11 +206,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
206
206
|
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
208
|
id: string;
|
|
209
|
-
html: string | null;
|
|
210
|
-
text: string | null;
|
|
211
209
|
status: "queued";
|
|
212
|
-
created_at_millis: number;
|
|
213
210
|
subject: string;
|
|
211
|
+
created_at_millis: number;
|
|
212
|
+
html: string | null;
|
|
213
|
+
text: string | null;
|
|
214
214
|
to: {
|
|
215
215
|
type: "user-primary-email";
|
|
216
216
|
user_id: string;
|
|
@@ -252,11 +252,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
252
252
|
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
254
|
id: string;
|
|
255
|
-
html: string | null;
|
|
256
|
-
text: string | null;
|
|
257
255
|
status: "sending";
|
|
258
|
-
created_at_millis: number;
|
|
259
256
|
subject: string;
|
|
257
|
+
created_at_millis: number;
|
|
258
|
+
html: string | null;
|
|
259
|
+
text: string | null;
|
|
260
260
|
to: {
|
|
261
261
|
type: "user-primary-email";
|
|
262
262
|
user_id: string;
|
|
@@ -299,11 +299,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
299
299
|
started_sending_at_millis: number;
|
|
300
300
|
} | {
|
|
301
301
|
id: string;
|
|
302
|
-
html: string | null;
|
|
303
|
-
text: string | null;
|
|
304
302
|
status: "server-error";
|
|
305
|
-
created_at_millis: number;
|
|
306
303
|
subject: string;
|
|
304
|
+
created_at_millis: number;
|
|
305
|
+
html: string | null;
|
|
306
|
+
text: string | null;
|
|
307
307
|
to: {
|
|
308
308
|
type: "user-primary-email";
|
|
309
309
|
user_id: string;
|
|
@@ -347,9 +347,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
347
347
|
error_at_millis: number;
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
|
+
subject?: string | undefined;
|
|
350
351
|
html?: string | null | undefined;
|
|
351
352
|
text?: string | null | undefined;
|
|
352
|
-
subject?: string | undefined;
|
|
353
353
|
started_rendering_at_millis?: number | undefined;
|
|
354
354
|
rendered_at_millis?: number | undefined;
|
|
355
355
|
is_transactional?: boolean | undefined;
|
|
@@ -398,11 +398,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
400
|
id: string;
|
|
401
|
-
html: string | null;
|
|
402
|
-
text: string | null;
|
|
403
401
|
status: "bounced";
|
|
404
|
-
created_at_millis: number;
|
|
405
402
|
subject: string;
|
|
403
|
+
created_at_millis: number;
|
|
404
|
+
html: string | null;
|
|
405
|
+
text: string | null;
|
|
406
406
|
to: {
|
|
407
407
|
type: "user-primary-email";
|
|
408
408
|
user_id: string;
|
|
@@ -446,11 +446,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
446
446
|
bounced_at_millis: number;
|
|
447
447
|
} | {
|
|
448
448
|
id: string;
|
|
449
|
-
html: string | null;
|
|
450
|
-
text: string | null;
|
|
451
449
|
status: "delivery-delayed";
|
|
452
|
-
created_at_millis: number;
|
|
453
450
|
subject: string;
|
|
451
|
+
created_at_millis: number;
|
|
452
|
+
html: string | null;
|
|
453
|
+
text: string | null;
|
|
454
454
|
to: {
|
|
455
455
|
type: "user-primary-email";
|
|
456
456
|
user_id: string;
|
|
@@ -494,11 +494,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
494
494
|
delivery_delayed_at_millis: number;
|
|
495
495
|
} | {
|
|
496
496
|
id: string;
|
|
497
|
-
html: string | null;
|
|
498
|
-
text: string | null;
|
|
499
497
|
status: "sent";
|
|
500
|
-
created_at_millis: number;
|
|
501
498
|
subject: string;
|
|
499
|
+
created_at_millis: number;
|
|
500
|
+
html: string | null;
|
|
501
|
+
text: string | null;
|
|
502
502
|
to: {
|
|
503
503
|
type: "user-primary-email";
|
|
504
504
|
user_id: string;
|
|
@@ -543,11 +543,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
543
543
|
can_have_delivery_info: boolean;
|
|
544
544
|
} | {
|
|
545
545
|
id: string;
|
|
546
|
-
html: string | null;
|
|
547
|
-
text: string | null;
|
|
548
546
|
status: "opened";
|
|
549
|
-
created_at_millis: number;
|
|
550
547
|
subject: string;
|
|
548
|
+
created_at_millis: number;
|
|
549
|
+
html: string | null;
|
|
550
|
+
text: string | null;
|
|
551
551
|
to: {
|
|
552
552
|
type: "user-primary-email";
|
|
553
553
|
user_id: string;
|
|
@@ -593,11 +593,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
593
593
|
opened_at_millis: number;
|
|
594
594
|
} | {
|
|
595
595
|
id: string;
|
|
596
|
-
html: string | null;
|
|
597
|
-
text: string | null;
|
|
598
596
|
status: "clicked";
|
|
599
|
-
created_at_millis: number;
|
|
600
597
|
subject: string;
|
|
598
|
+
created_at_millis: number;
|
|
599
|
+
html: string | null;
|
|
600
|
+
text: string | null;
|
|
601
601
|
to: {
|
|
602
602
|
type: "user-primary-email";
|
|
603
603
|
user_id: string;
|
|
@@ -643,11 +643,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
643
643
|
clicked_at_millis: number;
|
|
644
644
|
} | {
|
|
645
645
|
id: string;
|
|
646
|
-
html: string | null;
|
|
647
|
-
text: string | null;
|
|
648
646
|
status: "marked-as-spam";
|
|
649
|
-
created_at_millis: number;
|
|
650
647
|
subject: string;
|
|
648
|
+
created_at_millis: number;
|
|
649
|
+
html: string | null;
|
|
650
|
+
text: string | null;
|
|
651
651
|
to: {
|
|
652
652
|
type: "user-primary-email";
|
|
653
653
|
user_id: string;
|
|
@@ -880,11 +880,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
882
|
id: string;
|
|
883
|
-
html: string | null;
|
|
884
|
-
text: string | null;
|
|
885
883
|
status: "scheduled";
|
|
886
|
-
created_at_millis: number;
|
|
887
884
|
subject: string;
|
|
885
|
+
created_at_millis: number;
|
|
886
|
+
html: string | null;
|
|
887
|
+
text: string | null;
|
|
888
888
|
to: {
|
|
889
889
|
type: "user-primary-email";
|
|
890
890
|
user_id: string;
|
|
@@ -926,11 +926,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
926
926
|
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
928
|
id: string;
|
|
929
|
-
html: string | null;
|
|
930
|
-
text: string | null;
|
|
931
929
|
status: "queued";
|
|
932
|
-
created_at_millis: number;
|
|
933
930
|
subject: string;
|
|
931
|
+
created_at_millis: number;
|
|
932
|
+
html: string | null;
|
|
933
|
+
text: string | null;
|
|
934
934
|
to: {
|
|
935
935
|
type: "user-primary-email";
|
|
936
936
|
user_id: string;
|
|
@@ -972,11 +972,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
972
972
|
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
974
|
id: string;
|
|
975
|
-
html: string | null;
|
|
976
|
-
text: string | null;
|
|
977
975
|
status: "sending";
|
|
978
|
-
created_at_millis: number;
|
|
979
976
|
subject: string;
|
|
977
|
+
created_at_millis: number;
|
|
978
|
+
html: string | null;
|
|
979
|
+
text: string | null;
|
|
980
980
|
to: {
|
|
981
981
|
type: "user-primary-email";
|
|
982
982
|
user_id: string;
|
|
@@ -1019,11 +1019,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1019
1019
|
started_sending_at_millis: number;
|
|
1020
1020
|
} | {
|
|
1021
1021
|
id: string;
|
|
1022
|
-
html: string | null;
|
|
1023
|
-
text: string | null;
|
|
1024
1022
|
status: "server-error";
|
|
1025
|
-
created_at_millis: number;
|
|
1026
1023
|
subject: string;
|
|
1024
|
+
created_at_millis: number;
|
|
1025
|
+
html: string | null;
|
|
1026
|
+
text: string | null;
|
|
1027
1027
|
to: {
|
|
1028
1028
|
type: "user-primary-email";
|
|
1029
1029
|
user_id: string;
|
|
@@ -1067,9 +1067,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1067
1067
|
error_at_millis: number;
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
|
+
subject?: string | undefined;
|
|
1070
1071
|
html?: string | null | undefined;
|
|
1071
1072
|
text?: string | null | undefined;
|
|
1072
|
-
subject?: string | undefined;
|
|
1073
1073
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1074
|
rendered_at_millis?: number | undefined;
|
|
1075
1075
|
is_transactional?: boolean | undefined;
|
|
@@ -1118,11 +1118,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
1120
|
id: string;
|
|
1121
|
-
html: string | null;
|
|
1122
|
-
text: string | null;
|
|
1123
1121
|
status: "bounced";
|
|
1124
|
-
created_at_millis: number;
|
|
1125
1122
|
subject: string;
|
|
1123
|
+
created_at_millis: number;
|
|
1124
|
+
html: string | null;
|
|
1125
|
+
text: string | null;
|
|
1126
1126
|
to: {
|
|
1127
1127
|
type: "user-primary-email";
|
|
1128
1128
|
user_id: string;
|
|
@@ -1166,11 +1166,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1166
1166
|
bounced_at_millis: number;
|
|
1167
1167
|
} | {
|
|
1168
1168
|
id: string;
|
|
1169
|
-
html: string | null;
|
|
1170
|
-
text: string | null;
|
|
1171
1169
|
status: "delivery-delayed";
|
|
1172
|
-
created_at_millis: number;
|
|
1173
1170
|
subject: string;
|
|
1171
|
+
created_at_millis: number;
|
|
1172
|
+
html: string | null;
|
|
1173
|
+
text: string | null;
|
|
1174
1174
|
to: {
|
|
1175
1175
|
type: "user-primary-email";
|
|
1176
1176
|
user_id: string;
|
|
@@ -1214,11 +1214,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1214
1214
|
delivery_delayed_at_millis: number;
|
|
1215
1215
|
} | {
|
|
1216
1216
|
id: string;
|
|
1217
|
-
html: string | null;
|
|
1218
|
-
text: string | null;
|
|
1219
1217
|
status: "sent";
|
|
1220
|
-
created_at_millis: number;
|
|
1221
1218
|
subject: string;
|
|
1219
|
+
created_at_millis: number;
|
|
1220
|
+
html: string | null;
|
|
1221
|
+
text: string | null;
|
|
1222
1222
|
to: {
|
|
1223
1223
|
type: "user-primary-email";
|
|
1224
1224
|
user_id: string;
|
|
@@ -1263,11 +1263,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1263
1263
|
can_have_delivery_info: boolean;
|
|
1264
1264
|
} | {
|
|
1265
1265
|
id: string;
|
|
1266
|
-
html: string | null;
|
|
1267
|
-
text: string | null;
|
|
1268
1266
|
status: "opened";
|
|
1269
|
-
created_at_millis: number;
|
|
1270
1267
|
subject: string;
|
|
1268
|
+
created_at_millis: number;
|
|
1269
|
+
html: string | null;
|
|
1270
|
+
text: string | null;
|
|
1271
1271
|
to: {
|
|
1272
1272
|
type: "user-primary-email";
|
|
1273
1273
|
user_id: string;
|
|
@@ -1313,11 +1313,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1313
1313
|
opened_at_millis: number;
|
|
1314
1314
|
} | {
|
|
1315
1315
|
id: string;
|
|
1316
|
-
html: string | null;
|
|
1317
|
-
text: string | null;
|
|
1318
1316
|
status: "clicked";
|
|
1319
|
-
created_at_millis: number;
|
|
1320
1317
|
subject: string;
|
|
1318
|
+
created_at_millis: number;
|
|
1319
|
+
html: string | null;
|
|
1320
|
+
text: string | null;
|
|
1321
1321
|
to: {
|
|
1322
1322
|
type: "user-primary-email";
|
|
1323
1323
|
user_id: string;
|
|
@@ -1363,11 +1363,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1363
1363
|
clicked_at_millis: number;
|
|
1364
1364
|
} | {
|
|
1365
1365
|
id: string;
|
|
1366
|
-
html: string | null;
|
|
1367
|
-
text: string | null;
|
|
1368
1366
|
status: "marked-as-spam";
|
|
1369
|
-
created_at_millis: number;
|
|
1370
1367
|
subject: string;
|
|
1368
|
+
created_at_millis: number;
|
|
1369
|
+
html: string | null;
|
|
1370
|
+
text: string | null;
|
|
1371
1371
|
to: {
|
|
1372
1372
|
type: "user-primary-email";
|
|
1373
1373
|
user_id: string;
|
|
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
//#region src/interface/crud/invoices.d.ts
|
|
4
4
|
declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
5
5
|
created_at_millis: number;
|
|
6
|
-
status: "
|
|
6
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
7
7
|
amount_total: number;
|
|
8
8
|
hosted_invoice_url: string | null;
|
|
9
9
|
}, yup$1.AnyObject, {
|
|
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
|
15
15
|
type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
|
|
16
16
|
declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
|
|
17
17
|
items: {
|
|
18
|
-
status: "
|
|
18
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
19
19
|
created_at_millis: number;
|
|
20
20
|
amount_total: number;
|
|
21
21
|
hosted_invoice_url: string | null;
|
|
@@ -10,6 +10,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
10
10
|
client_metadata?: {} | null | undefined;
|
|
11
11
|
client_read_only_metadata?: {} | null | undefined;
|
|
12
12
|
server_metadata?: {} | null | undefined;
|
|
13
|
+
server_only: boolean;
|
|
14
|
+
customer_type: "team" | "user" | "custom";
|
|
13
15
|
stackable: boolean;
|
|
14
16
|
prices: Record<string, {
|
|
15
17
|
USD?: string | undefined;
|
|
@@ -23,8 +25,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
23
25
|
free_trial?: DayInterval | undefined;
|
|
24
26
|
}>;
|
|
25
27
|
display_name: string;
|
|
26
|
-
customer_type: "team" | "user" | "custom";
|
|
27
|
-
server_only: boolean;
|
|
28
28
|
included_items: Record<string, {
|
|
29
29
|
repeat?: "never" | DayInterval | undefined;
|
|
30
30
|
quantity?: number | undefined;
|
|
@@ -39,11 +39,14 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
39
39
|
is_cancelable: boolean;
|
|
40
40
|
} | null | undefined;
|
|
41
41
|
switch_options: {
|
|
42
|
+
product_id: string;
|
|
42
43
|
product: {
|
|
43
44
|
free_trial?: DayInterval | undefined;
|
|
44
45
|
client_metadata?: {} | null | undefined;
|
|
45
46
|
client_read_only_metadata?: {} | null | undefined;
|
|
46
47
|
server_metadata?: {} | null | undefined;
|
|
48
|
+
server_only: boolean;
|
|
49
|
+
customer_type: "team" | "user" | "custom";
|
|
47
50
|
stackable: boolean;
|
|
48
51
|
prices: Record<string, {
|
|
49
52
|
USD?: string | undefined;
|
|
@@ -57,15 +60,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
57
60
|
free_trial?: DayInterval | undefined;
|
|
58
61
|
}>;
|
|
59
62
|
display_name: string;
|
|
60
|
-
customer_type: "team" | "user" | "custom";
|
|
61
|
-
server_only: boolean;
|
|
62
63
|
included_items: Record<string, {
|
|
63
64
|
repeat?: "never" | DayInterval | undefined;
|
|
64
65
|
quantity?: number | undefined;
|
|
65
66
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
66
67
|
}>;
|
|
67
68
|
};
|
|
68
|
-
product_id: string;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
}, yup$1.AnyObject, {
|
|
71
71
|
id: undefined;
|
|
@@ -102,11 +102,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
102
102
|
is_cancelable: boolean;
|
|
103
103
|
} | null | undefined;
|
|
104
104
|
switch_options?: {
|
|
105
|
+
product_id: string;
|
|
105
106
|
product: {
|
|
106
107
|
free_trial?: DayInterval | undefined;
|
|
107
108
|
client_metadata?: {} | null | undefined;
|
|
108
109
|
client_read_only_metadata?: {} | null | undefined;
|
|
109
110
|
server_metadata?: {} | null | undefined;
|
|
111
|
+
server_only: boolean;
|
|
112
|
+
customer_type: "team" | "user" | "custom";
|
|
110
113
|
stackable: boolean;
|
|
111
114
|
prices: Record<string, {
|
|
112
115
|
USD?: string | undefined;
|
|
@@ -120,21 +123,22 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
120
123
|
free_trial?: DayInterval | undefined;
|
|
121
124
|
}>;
|
|
122
125
|
display_name: string;
|
|
123
|
-
customer_type: "team" | "user" | "custom";
|
|
124
|
-
server_only: boolean;
|
|
125
126
|
included_items: Record<string, {
|
|
126
127
|
repeat?: "never" | DayInterval | undefined;
|
|
127
128
|
quantity?: number | undefined;
|
|
128
129
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
129
130
|
}>;
|
|
130
131
|
};
|
|
131
|
-
product_id: string;
|
|
132
132
|
}[] | undefined;
|
|
133
|
+
id: string | null;
|
|
134
|
+
quantity: number;
|
|
133
135
|
product: {
|
|
134
136
|
free_trial?: DayInterval | undefined;
|
|
135
137
|
client_metadata?: {} | null | undefined;
|
|
136
138
|
client_read_only_metadata?: {} | null | undefined;
|
|
137
139
|
server_metadata?: {} | null | undefined;
|
|
140
|
+
server_only: boolean;
|
|
141
|
+
customer_type: "team" | "user" | "custom";
|
|
138
142
|
stackable: boolean;
|
|
139
143
|
prices: Record<string, {
|
|
140
144
|
USD?: string | undefined;
|
|
@@ -148,16 +152,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
148
152
|
free_trial?: DayInterval | undefined;
|
|
149
153
|
}>;
|
|
150
154
|
display_name: string;
|
|
151
|
-
customer_type: "team" | "user" | "custom";
|
|
152
|
-
server_only: boolean;
|
|
153
155
|
included_items: Record<string, {
|
|
154
156
|
repeat?: "never" | DayInterval | undefined;
|
|
155
157
|
quantity?: number | undefined;
|
|
156
158
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
157
159
|
}>;
|
|
158
160
|
};
|
|
159
|
-
quantity: number;
|
|
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,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,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,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
|
|
@@ -78,10 +78,10 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
78
78
|
is_public: undefined;
|
|
79
79
|
user_id: undefined;
|
|
80
80
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
81
|
-
type: "user";
|
|
82
|
-
description: string;
|
|
83
81
|
id: string;
|
|
82
|
+
type: "user";
|
|
84
83
|
user_id: string;
|
|
84
|
+
description: string;
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
expires_at_millis: number | undefined;
|
|
87
87
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -176,10 +176,10 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
176
176
|
is_public: undefined;
|
|
177
177
|
team_id: undefined;
|
|
178
178
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
179
|
-
type: "team";
|
|
180
|
-
description: string;
|
|
181
179
|
id: string;
|
|
180
|
+
type: "team";
|
|
182
181
|
team_id: string;
|
|
182
|
+
description: string;
|
|
183
183
|
created_at_millis: number;
|
|
184
184
|
expires_at_millis: number | undefined;
|
|
185
185
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -62,20 +62,20 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
62
62
|
message: string;
|
|
63
63
|
}[];
|
|
64
64
|
config: {
|
|
65
|
-
domains: {
|
|
66
|
-
domain: string;
|
|
67
|
-
handler_path: string;
|
|
68
|
-
}[];
|
|
69
65
|
oauth_providers: {
|
|
70
66
|
client_id?: string | undefined;
|
|
71
67
|
client_secret?: string | undefined;
|
|
72
68
|
facebook_config_id?: string | undefined;
|
|
73
69
|
microsoft_tenant_id?: string | undefined;
|
|
74
70
|
apple_bundle_ids?: string[] | undefined;
|
|
75
|
-
type: "shared" | "standard";
|
|
76
71
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
72
|
+
type: "shared" | "standard";
|
|
77
73
|
provider_config_id: string;
|
|
78
74
|
}[];
|
|
75
|
+
domains: {
|
|
76
|
+
domain: string;
|
|
77
|
+
handler_path: string;
|
|
78
|
+
}[];
|
|
79
79
|
allow_localhost: boolean;
|
|
80
80
|
sign_up_enabled: boolean;
|
|
81
81
|
credential_enabled: boolean;
|
|
@@ -229,18 +229,18 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
229
229
|
selected_payments_country: "US" | "OTHER";
|
|
230
230
|
} | null | undefined;
|
|
231
231
|
config: {
|
|
232
|
-
domains?: {
|
|
233
|
-
domain: string;
|
|
234
|
-
handler_path: string;
|
|
235
|
-
}[] | undefined;
|
|
236
232
|
oauth_providers?: {
|
|
237
233
|
client_id?: string | undefined;
|
|
238
234
|
client_secret?: string | undefined;
|
|
239
235
|
facebook_config_id?: string | undefined;
|
|
240
236
|
microsoft_tenant_id?: string | undefined;
|
|
241
237
|
apple_bundle_ids?: string[] | undefined;
|
|
242
|
-
type: "shared" | "standard";
|
|
243
238
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
239
|
+
type: "shared" | "standard";
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
domains?: {
|
|
242
|
+
domain: string;
|
|
243
|
+
handler_path: string;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
allow_localhost?: boolean | undefined;
|
|
246
246
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -309,18 +309,18 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
309
309
|
selected_payments_country: "US" | "OTHER";
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
config: {
|
|
312
|
-
domains?: {
|
|
313
|
-
domain: string;
|
|
314
|
-
handler_path: string;
|
|
315
|
-
}[] | undefined;
|
|
316
312
|
oauth_providers?: {
|
|
317
313
|
client_id?: string | undefined;
|
|
318
314
|
client_secret?: string | undefined;
|
|
319
315
|
facebook_config_id?: string | undefined;
|
|
320
316
|
microsoft_tenant_id?: string | undefined;
|
|
321
317
|
apple_bundle_ids?: string[] | undefined;
|
|
322
|
-
type: "shared" | "standard";
|
|
323
318
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
319
|
+
type: "shared" | "standard";
|
|
320
|
+
}[] | undefined;
|
|
321
|
+
domains?: {
|
|
322
|
+
domain: string;
|
|
323
|
+
handler_path: string;
|
|
324
324
|
}[] | undefined;
|
|
325
325
|
allow_localhost?: boolean | undefined;
|
|
326
326
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -465,20 +465,20 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
465
465
|
message: string;
|
|
466
466
|
}[];
|
|
467
467
|
config: {
|
|
468
|
-
domains: {
|
|
469
|
-
domain: string;
|
|
470
|
-
handler_path: string;
|
|
471
|
-
}[];
|
|
472
468
|
oauth_providers: {
|
|
473
469
|
client_id?: string | undefined;
|
|
474
470
|
client_secret?: string | undefined;
|
|
475
471
|
facebook_config_id?: string | undefined;
|
|
476
472
|
microsoft_tenant_id?: string | undefined;
|
|
477
473
|
apple_bundle_ids?: string[] | undefined;
|
|
478
|
-
type: "shared" | "standard";
|
|
479
474
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
475
|
+
type: "shared" | "standard";
|
|
480
476
|
provider_config_id: string;
|
|
481
477
|
}[];
|
|
478
|
+
domains: {
|
|
479
|
+
domain: string;
|
|
480
|
+
handler_path: string;
|
|
481
|
+
}[];
|
|
482
482
|
allow_localhost: boolean;
|
|
483
483
|
sign_up_enabled: boolean;
|
|
484
484
|
credential_enabled: boolean;
|
|
@@ -584,18 +584,18 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
584
584
|
selected_payments_country: "US" | "OTHER";
|
|
585
585
|
} | null | undefined;
|
|
586
586
|
config: {
|
|
587
|
-
domains?: {
|
|
588
|
-
domain: string;
|
|
589
|
-
handler_path: string;
|
|
590
|
-
}[] | undefined;
|
|
591
587
|
oauth_providers?: {
|
|
592
588
|
client_id?: string | undefined;
|
|
593
589
|
client_secret?: string | undefined;
|
|
594
590
|
facebook_config_id?: string | undefined;
|
|
595
591
|
microsoft_tenant_id?: string | undefined;
|
|
596
592
|
apple_bundle_ids?: string[] | undefined;
|
|
597
|
-
type: "shared" | "standard";
|
|
598
593
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
594
|
+
type: "shared" | "standard";
|
|
595
|
+
}[] | undefined;
|
|
596
|
+
domains?: {
|
|
597
|
+
domain: string;
|
|
598
|
+
handler_path: string;
|
|
599
599
|
}[] | undefined;
|
|
600
600
|
allow_localhost?: boolean | undefined;
|
|
601
601
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -698,20 +698,20 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
698
698
|
message: string;
|
|
699
699
|
}[];
|
|
700
700
|
config: {
|
|
701
|
-
domains: {
|
|
702
|
-
domain: string;
|
|
703
|
-
handler_path: string;
|
|
704
|
-
}[];
|
|
705
701
|
oauth_providers: {
|
|
706
702
|
client_id?: string | undefined;
|
|
707
703
|
client_secret?: string | undefined;
|
|
708
704
|
facebook_config_id?: string | undefined;
|
|
709
705
|
microsoft_tenant_id?: string | undefined;
|
|
710
706
|
apple_bundle_ids?: string[] | undefined;
|
|
711
|
-
type: "shared" | "standard";
|
|
712
707
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
708
|
+
type: "shared" | "standard";
|
|
713
709
|
provider_config_id: string;
|
|
714
710
|
}[];
|
|
711
|
+
domains: {
|
|
712
|
+
domain: string;
|
|
713
|
+
handler_path: string;
|
|
714
|
+
}[];
|
|
715
715
|
allow_localhost: boolean;
|
|
716
716
|
sign_up_enabled: boolean;
|
|
717
717
|
credential_enabled: boolean;
|
|
@@ -817,18 +817,18 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
817
817
|
selected_payments_country: "US" | "OTHER";
|
|
818
818
|
} | null | undefined;
|
|
819
819
|
config: {
|
|
820
|
-
domains?: {
|
|
821
|
-
domain: string;
|
|
822
|
-
handler_path: string;
|
|
823
|
-
}[] | undefined;
|
|
824
820
|
oauth_providers?: {
|
|
825
821
|
client_id?: string | undefined;
|
|
826
822
|
client_secret?: string | undefined;
|
|
827
823
|
facebook_config_id?: string | undefined;
|
|
828
824
|
microsoft_tenant_id?: string | undefined;
|
|
829
825
|
apple_bundle_ids?: string[] | undefined;
|
|
830
|
-
type: "shared" | "standard";
|
|
831
826
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
827
|
+
type: "shared" | "standard";
|
|
828
|
+
}[] | undefined;
|
|
829
|
+
domains?: {
|
|
830
|
+
domain: string;
|
|
831
|
+
handler_path: string;
|
|
832
832
|
}[] | undefined;
|
|
833
833
|
allow_localhost?: boolean | undefined;
|
|
834
834
|
sign_up_enabled?: boolean | undefined;
|