@middlewr/contracts 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -351,7 +351,33 @@ export declare const linksContract: {
351
351
  password: z.ZodOptional<z.ZodString>;
352
352
  starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
353
353
  expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
354
+ fallback_url: z.ZodOptional<z.ZodString>;
354
355
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
356
+ qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
357
+ fg_color: z.ZodString;
358
+ bg_color: z.ZodString;
359
+ dot_style: z.ZodEnum<{
360
+ square: "square";
361
+ dots: "dots";
362
+ rounded: "rounded";
363
+ classy: "classy";
364
+ "classy-rounded": "classy-rounded";
365
+ "extra-rounded": "extra-rounded";
366
+ }>;
367
+ eye_outer_style: z.ZodEnum<{
368
+ square: "square";
369
+ "extra-rounded": "extra-rounded";
370
+ dot: "dot";
371
+ }>;
372
+ eye_inner_style: z.ZodEnum<{
373
+ square: "square";
374
+ dot: "dot";
375
+ }>;
376
+ frame_enabled: z.ZodBoolean;
377
+ frame_text: z.ZodString;
378
+ frame_color: z.ZodString;
379
+ frame_text_color: z.ZodString;
380
+ }, z.core.$strip>>>;
355
381
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
382
  }, z.core.$strip>, z.ZodObject<{
357
383
  id: z.ZodString;
@@ -370,12 +396,38 @@ export declare const linksContract: {
370
396
  password: z.ZodNullable<z.ZodString>;
371
397
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
372
398
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
399
+ fallback_url: z.ZodNullable<z.ZodString>;
373
400
  is_active: z.ZodBoolean;
374
401
  redirect_type: z.ZodNumber;
375
402
  click_count: z.ZodCoercedNumber<unknown>;
376
403
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
377
404
  created_at: z.ZodCoercedDate<unknown>;
378
405
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
406
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
407
+ fg_color: z.ZodString;
408
+ bg_color: z.ZodString;
409
+ dot_style: z.ZodEnum<{
410
+ square: "square";
411
+ dots: "dots";
412
+ rounded: "rounded";
413
+ classy: "classy";
414
+ "classy-rounded": "classy-rounded";
415
+ "extra-rounded": "extra-rounded";
416
+ }>;
417
+ eye_outer_style: z.ZodEnum<{
418
+ square: "square";
419
+ "extra-rounded": "extra-rounded";
420
+ dot: "dot";
421
+ }>;
422
+ eye_inner_style: z.ZodEnum<{
423
+ square: "square";
424
+ dot: "dot";
425
+ }>;
426
+ frame_enabled: z.ZodBoolean;
427
+ frame_text: z.ZodString;
428
+ frame_color: z.ZodString;
429
+ frame_text_color: z.ZodString;
430
+ }, z.core.$strip>>;
379
431
  tags: z.ZodArray<z.ZodObject<{
380
432
  id: z.ZodString;
381
433
  workspace_id: z.ZodString;
@@ -435,12 +487,38 @@ export declare const linksContract: {
435
487
  password: z.ZodNullable<z.ZodString>;
436
488
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
437
489
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
490
+ fallback_url: z.ZodNullable<z.ZodString>;
438
491
  is_active: z.ZodBoolean;
439
492
  redirect_type: z.ZodNumber;
440
493
  click_count: z.ZodCoercedNumber<unknown>;
441
494
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
442
495
  created_at: z.ZodCoercedDate<unknown>;
443
496
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
497
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
498
+ fg_color: z.ZodString;
499
+ bg_color: z.ZodString;
500
+ dot_style: z.ZodEnum<{
501
+ square: "square";
502
+ dots: "dots";
503
+ rounded: "rounded";
504
+ classy: "classy";
505
+ "classy-rounded": "classy-rounded";
506
+ "extra-rounded": "extra-rounded";
507
+ }>;
508
+ eye_outer_style: z.ZodEnum<{
509
+ square: "square";
510
+ "extra-rounded": "extra-rounded";
511
+ dot: "dot";
512
+ }>;
513
+ eye_inner_style: z.ZodEnum<{
514
+ square: "square";
515
+ dot: "dot";
516
+ }>;
517
+ frame_enabled: z.ZodBoolean;
518
+ frame_text: z.ZodString;
519
+ frame_color: z.ZodString;
520
+ frame_text_color: z.ZodString;
521
+ }, z.core.$strip>>;
444
522
  tags: z.ZodArray<z.ZodObject<{
445
523
  id: z.ZodString;
446
524
  workspace_id: z.ZodString;
@@ -475,12 +553,38 @@ export declare const linksContract: {
475
553
  password: z.ZodNullable<z.ZodString>;
476
554
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
477
555
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
556
+ fallback_url: z.ZodNullable<z.ZodString>;
478
557
  is_active: z.ZodBoolean;
479
558
  redirect_type: z.ZodNumber;
480
559
  click_count: z.ZodCoercedNumber<unknown>;
481
560
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
482
561
  created_at: z.ZodCoercedDate<unknown>;
483
562
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
563
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
564
+ fg_color: z.ZodString;
565
+ bg_color: z.ZodString;
566
+ dot_style: z.ZodEnum<{
567
+ square: "square";
568
+ dots: "dots";
569
+ rounded: "rounded";
570
+ classy: "classy";
571
+ "classy-rounded": "classy-rounded";
572
+ "extra-rounded": "extra-rounded";
573
+ }>;
574
+ eye_outer_style: z.ZodEnum<{
575
+ square: "square";
576
+ "extra-rounded": "extra-rounded";
577
+ dot: "dot";
578
+ }>;
579
+ eye_inner_style: z.ZodEnum<{
580
+ square: "square";
581
+ dot: "dot";
582
+ }>;
583
+ frame_enabled: z.ZodBoolean;
584
+ frame_text: z.ZodString;
585
+ frame_color: z.ZodString;
586
+ frame_text_color: z.ZodString;
587
+ }, z.core.$strip>>;
484
588
  tags: z.ZodArray<z.ZodObject<{
485
589
  id: z.ZodString;
486
590
  workspace_id: z.ZodString;
@@ -506,8 +610,34 @@ export declare const linksContract: {
506
610
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
611
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
508
612
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
613
+ fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
614
  is_active: z.ZodOptional<z.ZodBoolean>;
510
615
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
616
+ qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
617
+ fg_color: z.ZodString;
618
+ bg_color: z.ZodString;
619
+ dot_style: z.ZodEnum<{
620
+ square: "square";
621
+ dots: "dots";
622
+ rounded: "rounded";
623
+ classy: "classy";
624
+ "classy-rounded": "classy-rounded";
625
+ "extra-rounded": "extra-rounded";
626
+ }>;
627
+ eye_outer_style: z.ZodEnum<{
628
+ square: "square";
629
+ "extra-rounded": "extra-rounded";
630
+ dot: "dot";
631
+ }>;
632
+ eye_inner_style: z.ZodEnum<{
633
+ square: "square";
634
+ dot: "dot";
635
+ }>;
636
+ frame_enabled: z.ZodBoolean;
637
+ frame_text: z.ZodString;
638
+ frame_color: z.ZodString;
639
+ frame_text_color: z.ZodString;
640
+ }, z.core.$strip>>>;
511
641
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
512
642
  }, z.core.$strip>, z.ZodObject<{
513
643
  id: z.ZodString;
@@ -526,12 +656,38 @@ export declare const linksContract: {
526
656
  password: z.ZodNullable<z.ZodString>;
527
657
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
528
658
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
659
+ fallback_url: z.ZodNullable<z.ZodString>;
529
660
  is_active: z.ZodBoolean;
530
661
  redirect_type: z.ZodNumber;
531
662
  click_count: z.ZodCoercedNumber<unknown>;
532
663
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
533
664
  created_at: z.ZodCoercedDate<unknown>;
534
665
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
666
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
667
+ fg_color: z.ZodString;
668
+ bg_color: z.ZodString;
669
+ dot_style: z.ZodEnum<{
670
+ square: "square";
671
+ dots: "dots";
672
+ rounded: "rounded";
673
+ classy: "classy";
674
+ "classy-rounded": "classy-rounded";
675
+ "extra-rounded": "extra-rounded";
676
+ }>;
677
+ eye_outer_style: z.ZodEnum<{
678
+ square: "square";
679
+ "extra-rounded": "extra-rounded";
680
+ dot: "dot";
681
+ }>;
682
+ eye_inner_style: z.ZodEnum<{
683
+ square: "square";
684
+ dot: "dot";
685
+ }>;
686
+ frame_enabled: z.ZodBoolean;
687
+ frame_text: z.ZodString;
688
+ frame_color: z.ZodString;
689
+ frame_text_color: z.ZodString;
690
+ }, z.core.$strip>>;
535
691
  tags: z.ZodArray<z.ZodObject<{
536
692
  id: z.ZodString;
537
693
  workspace_id: z.ZodString;
@@ -1076,7 +1232,33 @@ export declare const contract: {
1076
1232
  password: z.ZodOptional<z.ZodString>;
1077
1233
  starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1078
1234
  expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1235
+ fallback_url: z.ZodOptional<z.ZodString>;
1079
1236
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1237
+ qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1238
+ fg_color: z.ZodString;
1239
+ bg_color: z.ZodString;
1240
+ dot_style: z.ZodEnum<{
1241
+ square: "square";
1242
+ dots: "dots";
1243
+ rounded: "rounded";
1244
+ classy: "classy";
1245
+ "classy-rounded": "classy-rounded";
1246
+ "extra-rounded": "extra-rounded";
1247
+ }>;
1248
+ eye_outer_style: z.ZodEnum<{
1249
+ square: "square";
1250
+ "extra-rounded": "extra-rounded";
1251
+ dot: "dot";
1252
+ }>;
1253
+ eye_inner_style: z.ZodEnum<{
1254
+ square: "square";
1255
+ dot: "dot";
1256
+ }>;
1257
+ frame_enabled: z.ZodBoolean;
1258
+ frame_text: z.ZodString;
1259
+ frame_color: z.ZodString;
1260
+ frame_text_color: z.ZodString;
1261
+ }, z.core.$strip>>>;
1080
1262
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1081
1263
  }, z.core.$strip>, z.ZodObject<{
1082
1264
  id: z.ZodString;
@@ -1095,12 +1277,38 @@ export declare const contract: {
1095
1277
  password: z.ZodNullable<z.ZodString>;
1096
1278
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1097
1279
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1280
+ fallback_url: z.ZodNullable<z.ZodString>;
1098
1281
  is_active: z.ZodBoolean;
1099
1282
  redirect_type: z.ZodNumber;
1100
1283
  click_count: z.ZodCoercedNumber<unknown>;
1101
1284
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1102
1285
  created_at: z.ZodCoercedDate<unknown>;
1103
1286
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1287
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
1288
+ fg_color: z.ZodString;
1289
+ bg_color: z.ZodString;
1290
+ dot_style: z.ZodEnum<{
1291
+ square: "square";
1292
+ dots: "dots";
1293
+ rounded: "rounded";
1294
+ classy: "classy";
1295
+ "classy-rounded": "classy-rounded";
1296
+ "extra-rounded": "extra-rounded";
1297
+ }>;
1298
+ eye_outer_style: z.ZodEnum<{
1299
+ square: "square";
1300
+ "extra-rounded": "extra-rounded";
1301
+ dot: "dot";
1302
+ }>;
1303
+ eye_inner_style: z.ZodEnum<{
1304
+ square: "square";
1305
+ dot: "dot";
1306
+ }>;
1307
+ frame_enabled: z.ZodBoolean;
1308
+ frame_text: z.ZodString;
1309
+ frame_color: z.ZodString;
1310
+ frame_text_color: z.ZodString;
1311
+ }, z.core.$strip>>;
1104
1312
  tags: z.ZodArray<z.ZodObject<{
1105
1313
  id: z.ZodString;
1106
1314
  workspace_id: z.ZodString;
@@ -1160,12 +1368,38 @@ export declare const contract: {
1160
1368
  password: z.ZodNullable<z.ZodString>;
1161
1369
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1162
1370
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1371
+ fallback_url: z.ZodNullable<z.ZodString>;
1163
1372
  is_active: z.ZodBoolean;
1164
1373
  redirect_type: z.ZodNumber;
1165
1374
  click_count: z.ZodCoercedNumber<unknown>;
1166
1375
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1167
1376
  created_at: z.ZodCoercedDate<unknown>;
1168
1377
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1378
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
1379
+ fg_color: z.ZodString;
1380
+ bg_color: z.ZodString;
1381
+ dot_style: z.ZodEnum<{
1382
+ square: "square";
1383
+ dots: "dots";
1384
+ rounded: "rounded";
1385
+ classy: "classy";
1386
+ "classy-rounded": "classy-rounded";
1387
+ "extra-rounded": "extra-rounded";
1388
+ }>;
1389
+ eye_outer_style: z.ZodEnum<{
1390
+ square: "square";
1391
+ "extra-rounded": "extra-rounded";
1392
+ dot: "dot";
1393
+ }>;
1394
+ eye_inner_style: z.ZodEnum<{
1395
+ square: "square";
1396
+ dot: "dot";
1397
+ }>;
1398
+ frame_enabled: z.ZodBoolean;
1399
+ frame_text: z.ZodString;
1400
+ frame_color: z.ZodString;
1401
+ frame_text_color: z.ZodString;
1402
+ }, z.core.$strip>>;
1169
1403
  tags: z.ZodArray<z.ZodObject<{
1170
1404
  id: z.ZodString;
1171
1405
  workspace_id: z.ZodString;
@@ -1200,12 +1434,38 @@ export declare const contract: {
1200
1434
  password: z.ZodNullable<z.ZodString>;
1201
1435
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1202
1436
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1437
+ fallback_url: z.ZodNullable<z.ZodString>;
1203
1438
  is_active: z.ZodBoolean;
1204
1439
  redirect_type: z.ZodNumber;
1205
1440
  click_count: z.ZodCoercedNumber<unknown>;
1206
1441
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1207
1442
  created_at: z.ZodCoercedDate<unknown>;
1208
1443
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1444
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
1445
+ fg_color: z.ZodString;
1446
+ bg_color: z.ZodString;
1447
+ dot_style: z.ZodEnum<{
1448
+ square: "square";
1449
+ dots: "dots";
1450
+ rounded: "rounded";
1451
+ classy: "classy";
1452
+ "classy-rounded": "classy-rounded";
1453
+ "extra-rounded": "extra-rounded";
1454
+ }>;
1455
+ eye_outer_style: z.ZodEnum<{
1456
+ square: "square";
1457
+ "extra-rounded": "extra-rounded";
1458
+ dot: "dot";
1459
+ }>;
1460
+ eye_inner_style: z.ZodEnum<{
1461
+ square: "square";
1462
+ dot: "dot";
1463
+ }>;
1464
+ frame_enabled: z.ZodBoolean;
1465
+ frame_text: z.ZodString;
1466
+ frame_color: z.ZodString;
1467
+ frame_text_color: z.ZodString;
1468
+ }, z.core.$strip>>;
1209
1469
  tags: z.ZodArray<z.ZodObject<{
1210
1470
  id: z.ZodString;
1211
1471
  workspace_id: z.ZodString;
@@ -1231,8 +1491,34 @@ export declare const contract: {
1231
1491
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
1492
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
1233
1493
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
1494
+ fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1234
1495
  is_active: z.ZodOptional<z.ZodBoolean>;
1235
1496
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1497
+ qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1498
+ fg_color: z.ZodString;
1499
+ bg_color: z.ZodString;
1500
+ dot_style: z.ZodEnum<{
1501
+ square: "square";
1502
+ dots: "dots";
1503
+ rounded: "rounded";
1504
+ classy: "classy";
1505
+ "classy-rounded": "classy-rounded";
1506
+ "extra-rounded": "extra-rounded";
1507
+ }>;
1508
+ eye_outer_style: z.ZodEnum<{
1509
+ square: "square";
1510
+ "extra-rounded": "extra-rounded";
1511
+ dot: "dot";
1512
+ }>;
1513
+ eye_inner_style: z.ZodEnum<{
1514
+ square: "square";
1515
+ dot: "dot";
1516
+ }>;
1517
+ frame_enabled: z.ZodBoolean;
1518
+ frame_text: z.ZodString;
1519
+ frame_color: z.ZodString;
1520
+ frame_text_color: z.ZodString;
1521
+ }, z.core.$strip>>>;
1236
1522
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1237
1523
  }, z.core.$strip>, z.ZodObject<{
1238
1524
  id: z.ZodString;
@@ -1251,12 +1537,38 @@ export declare const contract: {
1251
1537
  password: z.ZodNullable<z.ZodString>;
1252
1538
  starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1253
1539
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1540
+ fallback_url: z.ZodNullable<z.ZodString>;
1254
1541
  is_active: z.ZodBoolean;
1255
1542
  redirect_type: z.ZodNumber;
1256
1543
  click_count: z.ZodCoercedNumber<unknown>;
1257
1544
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1258
1545
  created_at: z.ZodCoercedDate<unknown>;
1259
1546
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1547
+ qr_code_settings: z.ZodNullable<z.ZodObject<{
1548
+ fg_color: z.ZodString;
1549
+ bg_color: z.ZodString;
1550
+ dot_style: z.ZodEnum<{
1551
+ square: "square";
1552
+ dots: "dots";
1553
+ rounded: "rounded";
1554
+ classy: "classy";
1555
+ "classy-rounded": "classy-rounded";
1556
+ "extra-rounded": "extra-rounded";
1557
+ }>;
1558
+ eye_outer_style: z.ZodEnum<{
1559
+ square: "square";
1560
+ "extra-rounded": "extra-rounded";
1561
+ dot: "dot";
1562
+ }>;
1563
+ eye_inner_style: z.ZodEnum<{
1564
+ square: "square";
1565
+ dot: "dot";
1566
+ }>;
1567
+ frame_enabled: z.ZodBoolean;
1568
+ frame_text: z.ZodString;
1569
+ frame_color: z.ZodString;
1570
+ frame_text_color: z.ZodString;
1571
+ }, z.core.$strip>>;
1260
1572
  tags: z.ZodArray<z.ZodObject<{
1261
1573
  id: z.ZodString;
1262
1574
  workspace_id: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgCxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,kBAAkB;;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/index.js CHANGED
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  LinkSchema: () => LinkSchema,
47
47
  MemberIdParamSchema: () => MemberIdParamSchema,
48
48
  PaginatedLinksSchema: () => PaginatedLinksSchema,
49
+ QrCodeSettingsSchema: () => QrCodeSettingsSchema,
49
50
  SignInInputSchema: () => SignInInputSchema,
50
51
  TagIdParamSchema: () => TagIdParamSchema,
51
52
  TagSchema: () => TagSchema,
@@ -244,6 +245,20 @@ var UpdateTagInputSchema = import_zod6.z.object({
244
245
  });
245
246
 
246
247
  // src/links.schema.ts
248
+ var DotStyleSchema = import_zod7.z.enum(["square", "dots", "rounded", "classy", "classy-rounded", "extra-rounded"]);
249
+ var EyeOuterStyleSchema = import_zod7.z.enum(["square", "dot", "extra-rounded"]);
250
+ var EyeInnerStyleSchema = import_zod7.z.enum(["square", "dot"]);
251
+ var QrCodeSettingsSchema = import_zod7.z.object({
252
+ fg_color: import_zod7.z.string().max(20),
253
+ bg_color: import_zod7.z.string().max(20),
254
+ dot_style: DotStyleSchema,
255
+ eye_outer_style: EyeOuterStyleSchema,
256
+ eye_inner_style: EyeInnerStyleSchema,
257
+ frame_enabled: import_zod7.z.boolean(),
258
+ frame_text: import_zod7.z.string().max(255),
259
+ frame_color: import_zod7.z.string().max(20),
260
+ frame_text_color: import_zod7.z.string().max(20)
261
+ });
247
262
  var LinkSchema = import_zod7.z.object({
248
263
  id: import_zod7.z.string().uuid(),
249
264
  workspace_id: import_zod7.z.string().uuid(),
@@ -261,12 +276,14 @@ var LinkSchema = import_zod7.z.object({
261
276
  password: import_zod7.z.string().nullable(),
262
277
  starts_at: import_zod7.z.coerce.date().nullable(),
263
278
  expires_at: import_zod7.z.coerce.date().nullable(),
279
+ fallback_url: import_zod7.z.string().nullable(),
264
280
  is_active: import_zod7.z.boolean(),
265
281
  redirect_type: import_zod7.z.number().int(),
266
282
  click_count: import_zod7.z.coerce.number().int(),
267
283
  click_count_updated_at: import_zod7.z.coerce.date().nullable(),
268
284
  created_at: import_zod7.z.coerce.date(),
269
285
  updated_at: import_zod7.z.coerce.date().nullable(),
286
+ qr_code_settings: QrCodeSettingsSchema.nullable(),
270
287
  tags: import_zod7.z.array(TagSchema)
271
288
  });
272
289
  var CreateLinkInputSchema = import_zod7.z.object({
@@ -283,7 +300,9 @@ var CreateLinkInputSchema = import_zod7.z.object({
283
300
  password: import_zod7.z.string().min(4).max(100).optional(),
284
301
  starts_at: import_zod7.z.coerce.date().optional(),
285
302
  expires_at: import_zod7.z.coerce.date().optional(),
303
+ fallback_url: import_zod7.z.string().url().max(2048).optional(),
286
304
  redirect_type: import_zod7.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
305
+ qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
287
306
  tag_ids: import_zod7.z.array(import_zod7.z.string().uuid()).optional()
288
307
  });
289
308
  var UpdateLinkInputSchema = import_zod7.z.object({
@@ -300,8 +319,10 @@ var UpdateLinkInputSchema = import_zod7.z.object({
300
319
  password: import_zod7.z.string().min(4).max(100).nullable().optional(),
301
320
  starts_at: import_zod7.z.coerce.date().nullable().optional(),
302
321
  expires_at: import_zod7.z.coerce.date().nullable().optional(),
322
+ fallback_url: import_zod7.z.string().url().max(2048).nullable().optional(),
303
323
  is_active: import_zod7.z.boolean().optional(),
304
324
  redirect_type: import_zod7.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
325
+ qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
305
326
  tag_ids: import_zod7.z.array(import_zod7.z.string().uuid()).optional()
306
327
  });
307
328
  var stringToBoolean = import_zod7.z.union([import_zod7.z.boolean(), import_zod7.z.enum(["true", "false"])]).transform((val) => typeof val === "string" ? val === "true" : val);
@@ -518,6 +539,7 @@ var contract = {
518
539
  LinkSchema,
519
540
  MemberIdParamSchema,
520
541
  PaginatedLinksSchema,
542
+ QrCodeSettingsSchema,
521
543
  SignInInputSchema,
522
544
  TagIdParamSchema,
523
545
  TagSchema,