@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
|
@@ -161,11 +161,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
163
|
id: string;
|
|
164
|
-
html: string | null;
|
|
165
|
-
text: string | null;
|
|
166
164
|
status: "scheduled";
|
|
167
|
-
created_at_millis: number;
|
|
168
165
|
subject: string;
|
|
166
|
+
created_at_millis: number;
|
|
167
|
+
html: string | null;
|
|
168
|
+
text: string | null;
|
|
169
169
|
to: {
|
|
170
170
|
type: "user-primary-email";
|
|
171
171
|
user_id: string;
|
|
@@ -207,11 +207,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
207
207
|
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
209
|
id: string;
|
|
210
|
-
html: string | null;
|
|
211
|
-
text: string | null;
|
|
212
210
|
status: "queued";
|
|
213
|
-
created_at_millis: number;
|
|
214
211
|
subject: string;
|
|
212
|
+
created_at_millis: number;
|
|
213
|
+
html: string | null;
|
|
214
|
+
text: string | null;
|
|
215
215
|
to: {
|
|
216
216
|
type: "user-primary-email";
|
|
217
217
|
user_id: string;
|
|
@@ -253,11 +253,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
253
253
|
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
255
|
id: string;
|
|
256
|
-
html: string | null;
|
|
257
|
-
text: string | null;
|
|
258
256
|
status: "sending";
|
|
259
|
-
created_at_millis: number;
|
|
260
257
|
subject: string;
|
|
258
|
+
created_at_millis: number;
|
|
259
|
+
html: string | null;
|
|
260
|
+
text: string | null;
|
|
261
261
|
to: {
|
|
262
262
|
type: "user-primary-email";
|
|
263
263
|
user_id: string;
|
|
@@ -300,11 +300,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
302
|
id: string;
|
|
303
|
-
html: string | null;
|
|
304
|
-
text: string | null;
|
|
305
303
|
status: "server-error";
|
|
306
|
-
created_at_millis: number;
|
|
307
304
|
subject: string;
|
|
305
|
+
created_at_millis: number;
|
|
306
|
+
html: string | null;
|
|
307
|
+
text: string | null;
|
|
308
308
|
to: {
|
|
309
309
|
type: "user-primary-email";
|
|
310
310
|
user_id: string;
|
|
@@ -348,9 +348,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
348
348
|
error_at_millis: number;
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
|
+
subject?: string | undefined;
|
|
351
352
|
html?: string | null | undefined;
|
|
352
353
|
text?: string | null | undefined;
|
|
353
|
-
subject?: string | undefined;
|
|
354
354
|
started_rendering_at_millis?: number | undefined;
|
|
355
355
|
rendered_at_millis?: number | undefined;
|
|
356
356
|
is_transactional?: boolean | undefined;
|
|
@@ -399,11 +399,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
401
|
id: string;
|
|
402
|
-
html: string | null;
|
|
403
|
-
text: string | null;
|
|
404
402
|
status: "bounced";
|
|
405
|
-
created_at_millis: number;
|
|
406
403
|
subject: string;
|
|
404
|
+
created_at_millis: number;
|
|
405
|
+
html: string | null;
|
|
406
|
+
text: string | null;
|
|
407
407
|
to: {
|
|
408
408
|
type: "user-primary-email";
|
|
409
409
|
user_id: string;
|
|
@@ -447,11 +447,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
449
|
id: string;
|
|
450
|
-
html: string | null;
|
|
451
|
-
text: string | null;
|
|
452
450
|
status: "delivery-delayed";
|
|
453
|
-
created_at_millis: number;
|
|
454
451
|
subject: string;
|
|
452
|
+
created_at_millis: number;
|
|
453
|
+
html: string | null;
|
|
454
|
+
text: string | null;
|
|
455
455
|
to: {
|
|
456
456
|
type: "user-primary-email";
|
|
457
457
|
user_id: string;
|
|
@@ -495,11 +495,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
497
|
id: string;
|
|
498
|
-
html: string | null;
|
|
499
|
-
text: string | null;
|
|
500
498
|
status: "sent";
|
|
501
|
-
created_at_millis: number;
|
|
502
499
|
subject: string;
|
|
500
|
+
created_at_millis: number;
|
|
501
|
+
html: string | null;
|
|
502
|
+
text: string | null;
|
|
503
503
|
to: {
|
|
504
504
|
type: "user-primary-email";
|
|
505
505
|
user_id: string;
|
|
@@ -544,11 +544,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
546
|
id: string;
|
|
547
|
-
html: string | null;
|
|
548
|
-
text: string | null;
|
|
549
547
|
status: "opened";
|
|
550
|
-
created_at_millis: number;
|
|
551
548
|
subject: string;
|
|
549
|
+
created_at_millis: number;
|
|
550
|
+
html: string | null;
|
|
551
|
+
text: string | null;
|
|
552
552
|
to: {
|
|
553
553
|
type: "user-primary-email";
|
|
554
554
|
user_id: string;
|
|
@@ -594,11 +594,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
596
|
id: string;
|
|
597
|
-
html: string | null;
|
|
598
|
-
text: string | null;
|
|
599
597
|
status: "clicked";
|
|
600
|
-
created_at_millis: number;
|
|
601
598
|
subject: string;
|
|
599
|
+
created_at_millis: number;
|
|
600
|
+
html: string | null;
|
|
601
|
+
text: string | null;
|
|
602
602
|
to: {
|
|
603
603
|
type: "user-primary-email";
|
|
604
604
|
user_id: string;
|
|
@@ -644,11 +644,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
646
|
id: string;
|
|
647
|
-
html: string | null;
|
|
648
|
-
text: string | null;
|
|
649
647
|
status: "marked-as-spam";
|
|
650
|
-
created_at_millis: number;
|
|
651
648
|
subject: string;
|
|
649
|
+
created_at_millis: number;
|
|
650
|
+
html: string | null;
|
|
651
|
+
text: string | null;
|
|
652
652
|
to: {
|
|
653
653
|
type: "user-primary-email";
|
|
654
654
|
user_id: string;
|
|
@@ -881,11 +881,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
883
|
id: string;
|
|
884
|
-
html: string | null;
|
|
885
|
-
text: string | null;
|
|
886
884
|
status: "scheduled";
|
|
887
|
-
created_at_millis: number;
|
|
888
885
|
subject: string;
|
|
886
|
+
created_at_millis: number;
|
|
887
|
+
html: string | null;
|
|
888
|
+
text: string | null;
|
|
889
889
|
to: {
|
|
890
890
|
type: "user-primary-email";
|
|
891
891
|
user_id: string;
|
|
@@ -927,11 +927,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
927
927
|
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
929
|
id: string;
|
|
930
|
-
html: string | null;
|
|
931
|
-
text: string | null;
|
|
932
930
|
status: "queued";
|
|
933
|
-
created_at_millis: number;
|
|
934
931
|
subject: string;
|
|
932
|
+
created_at_millis: number;
|
|
933
|
+
html: string | null;
|
|
934
|
+
text: string | null;
|
|
935
935
|
to: {
|
|
936
936
|
type: "user-primary-email";
|
|
937
937
|
user_id: string;
|
|
@@ -973,11 +973,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
973
973
|
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
975
|
id: string;
|
|
976
|
-
html: string | null;
|
|
977
|
-
text: string | null;
|
|
978
976
|
status: "sending";
|
|
979
|
-
created_at_millis: number;
|
|
980
977
|
subject: string;
|
|
978
|
+
created_at_millis: number;
|
|
979
|
+
html: string | null;
|
|
980
|
+
text: string | null;
|
|
981
981
|
to: {
|
|
982
982
|
type: "user-primary-email";
|
|
983
983
|
user_id: string;
|
|
@@ -1020,11 +1020,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
1022
|
id: string;
|
|
1023
|
-
html: string | null;
|
|
1024
|
-
text: string | null;
|
|
1025
1023
|
status: "server-error";
|
|
1026
|
-
created_at_millis: number;
|
|
1027
1024
|
subject: string;
|
|
1025
|
+
created_at_millis: number;
|
|
1026
|
+
html: string | null;
|
|
1027
|
+
text: string | null;
|
|
1028
1028
|
to: {
|
|
1029
1029
|
type: "user-primary-email";
|
|
1030
1030
|
user_id: string;
|
|
@@ -1068,9 +1068,9 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1068
1068
|
error_at_millis: number;
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
|
+
subject?: string | undefined;
|
|
1071
1072
|
html?: string | null | undefined;
|
|
1072
1073
|
text?: string | null | undefined;
|
|
1073
|
-
subject?: string | undefined;
|
|
1074
1074
|
started_rendering_at_millis?: number | undefined;
|
|
1075
1075
|
rendered_at_millis?: number | undefined;
|
|
1076
1076
|
is_transactional?: boolean | undefined;
|
|
@@ -1119,11 +1119,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
1121
|
id: string;
|
|
1122
|
-
html: string | null;
|
|
1123
|
-
text: string | null;
|
|
1124
1122
|
status: "bounced";
|
|
1125
|
-
created_at_millis: number;
|
|
1126
1123
|
subject: string;
|
|
1124
|
+
created_at_millis: number;
|
|
1125
|
+
html: string | null;
|
|
1126
|
+
text: string | null;
|
|
1127
1127
|
to: {
|
|
1128
1128
|
type: "user-primary-email";
|
|
1129
1129
|
user_id: string;
|
|
@@ -1167,11 +1167,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
1169
|
id: string;
|
|
1170
|
-
html: string | null;
|
|
1171
|
-
text: string | null;
|
|
1172
1170
|
status: "delivery-delayed";
|
|
1173
|
-
created_at_millis: number;
|
|
1174
1171
|
subject: string;
|
|
1172
|
+
created_at_millis: number;
|
|
1173
|
+
html: string | null;
|
|
1174
|
+
text: string | null;
|
|
1175
1175
|
to: {
|
|
1176
1176
|
type: "user-primary-email";
|
|
1177
1177
|
user_id: string;
|
|
@@ -1215,11 +1215,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
1217
|
id: string;
|
|
1218
|
-
html: string | null;
|
|
1219
|
-
text: string | null;
|
|
1220
1218
|
status: "sent";
|
|
1221
|
-
created_at_millis: number;
|
|
1222
1219
|
subject: string;
|
|
1220
|
+
created_at_millis: number;
|
|
1221
|
+
html: string | null;
|
|
1222
|
+
text: string | null;
|
|
1223
1223
|
to: {
|
|
1224
1224
|
type: "user-primary-email";
|
|
1225
1225
|
user_id: string;
|
|
@@ -1264,11 +1264,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
1266
|
id: string;
|
|
1267
|
-
html: string | null;
|
|
1268
|
-
text: string | null;
|
|
1269
1267
|
status: "opened";
|
|
1270
|
-
created_at_millis: number;
|
|
1271
1268
|
subject: string;
|
|
1269
|
+
created_at_millis: number;
|
|
1270
|
+
html: string | null;
|
|
1271
|
+
text: string | null;
|
|
1272
1272
|
to: {
|
|
1273
1273
|
type: "user-primary-email";
|
|
1274
1274
|
user_id: string;
|
|
@@ -1314,11 +1314,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
1316
|
id: string;
|
|
1317
|
-
html: string | null;
|
|
1318
|
-
text: string | null;
|
|
1319
1317
|
status: "clicked";
|
|
1320
|
-
created_at_millis: number;
|
|
1321
1318
|
subject: string;
|
|
1319
|
+
created_at_millis: number;
|
|
1320
|
+
html: string | null;
|
|
1321
|
+
text: string | null;
|
|
1322
1322
|
to: {
|
|
1323
1323
|
type: "user-primary-email";
|
|
1324
1324
|
user_id: string;
|
|
@@ -1364,11 +1364,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
1366
|
id: string;
|
|
1367
|
-
html: string | null;
|
|
1368
|
-
text: string | null;
|
|
1369
1367
|
status: "marked-as-spam";
|
|
1370
|
-
created_at_millis: number;
|
|
1371
1368
|
subject: string;
|
|
1369
|
+
created_at_millis: number;
|
|
1370
|
+
html: string | null;
|
|
1371
|
+
text: string | null;
|
|
1372
1372
|
to: {
|
|
1373
1373
|
type: "user-primary-email";
|
|
1374
1374
|
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?: ______utils_dates0.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" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.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,kBAAA,CAAA,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,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,10 +79,10 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
79
79
|
is_public: undefined;
|
|
80
80
|
user_id: undefined;
|
|
81
81
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
82
|
-
type: "user";
|
|
83
|
-
description: string;
|
|
84
82
|
id: string;
|
|
83
|
+
type: "user";
|
|
85
84
|
user_id: string;
|
|
85
|
+
description: string;
|
|
86
86
|
created_at_millis: number;
|
|
87
87
|
expires_at_millis: number | undefined;
|
|
88
88
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -177,10 +177,10 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
177
177
|
is_public: undefined;
|
|
178
178
|
team_id: undefined;
|
|
179
179
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
180
|
-
type: "team";
|
|
181
|
-
description: string;
|
|
182
180
|
id: string;
|
|
181
|
+
type: "team";
|
|
183
182
|
team_id: string;
|
|
183
|
+
description: string;
|
|
184
184
|
created_at_millis: number;
|
|
185
185
|
expires_at_millis: number | undefined;
|
|
186
186
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -63,20 +63,20 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
63
63
|
message: string;
|
|
64
64
|
}[];
|
|
65
65
|
config: {
|
|
66
|
-
domains: {
|
|
67
|
-
domain: string;
|
|
68
|
-
handler_path: string;
|
|
69
|
-
}[];
|
|
70
66
|
oauth_providers: {
|
|
71
67
|
client_id?: string | undefined;
|
|
72
68
|
client_secret?: string | undefined;
|
|
73
69
|
facebook_config_id?: string | undefined;
|
|
74
70
|
microsoft_tenant_id?: string | undefined;
|
|
75
71
|
apple_bundle_ids?: string[] | undefined;
|
|
76
|
-
type: "shared" | "standard";
|
|
77
72
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
73
|
+
type: "shared" | "standard";
|
|
78
74
|
provider_config_id: string;
|
|
79
75
|
}[];
|
|
76
|
+
domains: {
|
|
77
|
+
domain: string;
|
|
78
|
+
handler_path: string;
|
|
79
|
+
}[];
|
|
80
80
|
allow_localhost: boolean;
|
|
81
81
|
sign_up_enabled: boolean;
|
|
82
82
|
credential_enabled: boolean;
|
|
@@ -230,18 +230,18 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
230
230
|
selected_payments_country: "US" | "OTHER";
|
|
231
231
|
} | null | undefined;
|
|
232
232
|
config: {
|
|
233
|
-
domains?: {
|
|
234
|
-
domain: string;
|
|
235
|
-
handler_path: string;
|
|
236
|
-
}[] | undefined;
|
|
237
233
|
oauth_providers?: {
|
|
238
234
|
client_id?: string | undefined;
|
|
239
235
|
client_secret?: string | undefined;
|
|
240
236
|
facebook_config_id?: string | undefined;
|
|
241
237
|
microsoft_tenant_id?: string | undefined;
|
|
242
238
|
apple_bundle_ids?: string[] | undefined;
|
|
243
|
-
type: "shared" | "standard";
|
|
244
239
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
240
|
+
type: "shared" | "standard";
|
|
241
|
+
}[] | undefined;
|
|
242
|
+
domains?: {
|
|
243
|
+
domain: string;
|
|
244
|
+
handler_path: string;
|
|
245
245
|
}[] | undefined;
|
|
246
246
|
allow_localhost?: boolean | undefined;
|
|
247
247
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -310,18 +310,18 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
310
310
|
selected_payments_country: "US" | "OTHER";
|
|
311
311
|
} | null | undefined;
|
|
312
312
|
config: {
|
|
313
|
-
domains?: {
|
|
314
|
-
domain: string;
|
|
315
|
-
handler_path: string;
|
|
316
|
-
}[] | undefined;
|
|
317
313
|
oauth_providers?: {
|
|
318
314
|
client_id?: string | undefined;
|
|
319
315
|
client_secret?: string | undefined;
|
|
320
316
|
facebook_config_id?: string | undefined;
|
|
321
317
|
microsoft_tenant_id?: string | undefined;
|
|
322
318
|
apple_bundle_ids?: string[] | undefined;
|
|
323
|
-
type: "shared" | "standard";
|
|
324
319
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
320
|
+
type: "shared" | "standard";
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
domains?: {
|
|
323
|
+
domain: string;
|
|
324
|
+
handler_path: string;
|
|
325
325
|
}[] | undefined;
|
|
326
326
|
allow_localhost?: boolean | undefined;
|
|
327
327
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -466,20 +466,20 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
466
466
|
message: string;
|
|
467
467
|
}[];
|
|
468
468
|
config: {
|
|
469
|
-
domains: {
|
|
470
|
-
domain: string;
|
|
471
|
-
handler_path: string;
|
|
472
|
-
}[];
|
|
473
469
|
oauth_providers: {
|
|
474
470
|
client_id?: string | undefined;
|
|
475
471
|
client_secret?: string | undefined;
|
|
476
472
|
facebook_config_id?: string | undefined;
|
|
477
473
|
microsoft_tenant_id?: string | undefined;
|
|
478
474
|
apple_bundle_ids?: string[] | undefined;
|
|
479
|
-
type: "shared" | "standard";
|
|
480
475
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
476
|
+
type: "shared" | "standard";
|
|
481
477
|
provider_config_id: string;
|
|
482
478
|
}[];
|
|
479
|
+
domains: {
|
|
480
|
+
domain: string;
|
|
481
|
+
handler_path: string;
|
|
482
|
+
}[];
|
|
483
483
|
allow_localhost: boolean;
|
|
484
484
|
sign_up_enabled: boolean;
|
|
485
485
|
credential_enabled: boolean;
|
|
@@ -585,18 +585,18 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
585
585
|
selected_payments_country: "US" | "OTHER";
|
|
586
586
|
} | null | undefined;
|
|
587
587
|
config: {
|
|
588
|
-
domains?: {
|
|
589
|
-
domain: string;
|
|
590
|
-
handler_path: string;
|
|
591
|
-
}[] | undefined;
|
|
592
588
|
oauth_providers?: {
|
|
593
589
|
client_id?: string | undefined;
|
|
594
590
|
client_secret?: string | undefined;
|
|
595
591
|
facebook_config_id?: string | undefined;
|
|
596
592
|
microsoft_tenant_id?: string | undefined;
|
|
597
593
|
apple_bundle_ids?: string[] | undefined;
|
|
598
|
-
type: "shared" | "standard";
|
|
599
594
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
595
|
+
type: "shared" | "standard";
|
|
596
|
+
}[] | undefined;
|
|
597
|
+
domains?: {
|
|
598
|
+
domain: string;
|
|
599
|
+
handler_path: string;
|
|
600
600
|
}[] | undefined;
|
|
601
601
|
allow_localhost?: boolean | undefined;
|
|
602
602
|
sign_up_enabled?: boolean | undefined;
|
|
@@ -699,20 +699,20 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
699
699
|
message: string;
|
|
700
700
|
}[];
|
|
701
701
|
config: {
|
|
702
|
-
domains: {
|
|
703
|
-
domain: string;
|
|
704
|
-
handler_path: string;
|
|
705
|
-
}[];
|
|
706
702
|
oauth_providers: {
|
|
707
703
|
client_id?: string | undefined;
|
|
708
704
|
client_secret?: string | undefined;
|
|
709
705
|
facebook_config_id?: string | undefined;
|
|
710
706
|
microsoft_tenant_id?: string | undefined;
|
|
711
707
|
apple_bundle_ids?: string[] | undefined;
|
|
712
|
-
type: "shared" | "standard";
|
|
713
708
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
709
|
+
type: "shared" | "standard";
|
|
714
710
|
provider_config_id: string;
|
|
715
711
|
}[];
|
|
712
|
+
domains: {
|
|
713
|
+
domain: string;
|
|
714
|
+
handler_path: string;
|
|
715
|
+
}[];
|
|
716
716
|
allow_localhost: boolean;
|
|
717
717
|
sign_up_enabled: boolean;
|
|
718
718
|
credential_enabled: boolean;
|
|
@@ -818,18 +818,18 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
818
818
|
selected_payments_country: "US" | "OTHER";
|
|
819
819
|
} | null | undefined;
|
|
820
820
|
config: {
|
|
821
|
-
domains?: {
|
|
822
|
-
domain: string;
|
|
823
|
-
handler_path: string;
|
|
824
|
-
}[] | undefined;
|
|
825
821
|
oauth_providers?: {
|
|
826
822
|
client_id?: string | undefined;
|
|
827
823
|
client_secret?: string | undefined;
|
|
828
824
|
facebook_config_id?: string | undefined;
|
|
829
825
|
microsoft_tenant_id?: string | undefined;
|
|
830
826
|
apple_bundle_ids?: string[] | undefined;
|
|
831
|
-
type: "shared" | "standard";
|
|
832
827
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
828
|
+
type: "shared" | "standard";
|
|
829
|
+
}[] | undefined;
|
|
830
|
+
domains?: {
|
|
831
|
+
domain: string;
|
|
832
|
+
handler_path: string;
|
|
833
833
|
}[] | undefined;
|
|
834
834
|
allow_localhost?: boolean | undefined;
|
|
835
835
|
sign_up_enabled?: boolean | undefined;
|