itd-api 0.12.0 → 0.13.0
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/events/index.cjs +4 -4
- package/dist/events/index.d.cts +7 -2
- package/dist/events/index.d.ts +7 -2
- package/dist/events/index.js +4 -4
- package/dist/index.cjs +672 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +497 -46
- package/dist/index.d.ts +497 -46
- package/dist/index.js +664 -91
- package/dist/index.js.map +1 -1
- package/dist/node/index.cjs +6 -7
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +24 -7
- package/dist/node/index.d.ts +24 -7
- package/dist/node/index.js +6 -7
- package/dist/node/index.js.map +1 -1
- package/dist/rest/index.cjs +19 -7
- package/dist/rest/index.cjs.map +1 -1
- package/dist/rest/index.d.cts +28 -7
- package/dist/rest/index.d.ts +28 -7
- package/dist/rest/index.js +17 -8
- package/dist/rest/index.js.map +1 -1
- package/dist/shared/{contracts-BoT7msmq.d.ts → contracts-DEbkC0cB.d.cts} +1 -4
- package/dist/shared/{contracts-BoT7msmq.d.cts → contracts-pxnDIsQP.d.ts} +1 -4
- package/dist/shared/{events-9L0Fonak.d.cts → events-B6uqXOSs.d.cts} +42 -63
- package/dist/shared/{events-D1BfefBT.js → events-C_MgYlXR.js} +30 -40
- package/dist/shared/events-C_MgYlXR.js.map +1 -0
- package/dist/shared/{events-C2DJZyI0.cjs → events-DV1i1t6J.cjs} +30 -40
- package/dist/shared/events-DV1i1t6J.cjs.map +1 -0
- package/dist/shared/{events-BpLAIiMj.d.ts → events-D_aMNrPd.d.ts} +2 -23
- package/dist/shared/{key-value-store-DYSPsqwq.cjs → key-value-store-6DHm_iNW.cjs} +3 -4
- package/dist/shared/{key-value-store-DYSPsqwq.cjs.map → key-value-store-6DHm_iNW.cjs.map} +1 -1
- package/dist/shared/{key-value-store-COZaNHZS.d.ts → key-value-store-BGoSgLze.d.cts} +1 -4
- package/dist/shared/{key-value-store-w1Dn5Pjb.js → key-value-store-PnZE_DFC.js} +3 -4
- package/dist/shared/{key-value-store-w1Dn5Pjb.js.map → key-value-store-PnZE_DFC.js.map} +1 -1
- package/dist/shared/{key-value-store-COZaNHZS.d.cts → key-value-store-WUQBeTAr.d.ts} +1 -4
- package/dist/shared/{multi-storage-DiBSx64p.js → multi-storage-DM0skcSO.js} +6 -7
- package/dist/shared/{multi-storage-DiBSx64p.js.map → multi-storage-DM0skcSO.js.map} +1 -1
- package/dist/shared/{multi-storage-LkljOSzA.d.ts → multi-storage-DQiERirK.d.ts} +3 -6
- package/dist/shared/{multi-storage-7Y3KCseI.cjs → multi-storage-DnonVBfO.cjs} +6 -7
- package/dist/shared/multi-storage-DnonVBfO.cjs.map +1 -0
- package/dist/shared/{multi-storage-BEL7tcKn.d.cts → multi-storage-OGWNMK3x.d.cts} +3 -6
- package/dist/shared/{options-D5ttspWk.cjs → options-SvAWOaqT.cjs} +8 -12
- package/dist/shared/{options-D5ttspWk.cjs.map → options-SvAWOaqT.cjs.map} +1 -1
- package/dist/shared/{options-DLlaETn_.js → options-bS27r_gR.js} +8 -12
- package/dist/shared/{options-DLlaETn_.js.map → options-bS27r_gR.js.map} +1 -1
- package/dist/shared/{redact-DSfdmeY7.js → redact-C4b2NzdB.js} +16 -16
- package/dist/shared/redact-C4b2NzdB.js.map +1 -0
- package/dist/shared/{redact-BbhtA9o-.cjs → redact-DDGkv8KF.cjs} +16 -16
- package/dist/shared/redact-DDGkv8KF.cjs.map +1 -0
- package/dist/shared/{render-CrGXcj6L.cjs → render-0-JJPOwb.cjs} +222 -111
- package/dist/shared/render-0-JJPOwb.cjs.map +1 -0
- package/dist/shared/{render-D3vSEbLL.js → render-CF49aBO8.js} +199 -112
- package/dist/shared/render-CF49aBO8.js.map +1 -0
- package/dist/shared/{render-Dzw3KeN5.d.cts → render-CYVOc_IW.d.cts} +191 -308
- package/dist/shared/{render-UsQ1hb2U.d.ts → render-eOxYgdoA.d.ts} +191 -159
- package/dist/shared/{storage-86wiHeXD.js → storage-B6OkSi38.js} +4 -5
- package/dist/shared/{storage-86wiHeXD.js.map → storage-B6OkSi38.js.map} +1 -1
- package/dist/shared/{storage-CTRGT5wF.d.ts → storage-C_ZujAZt.d.ts} +2 -5
- package/dist/shared/{storage-CIjejZDt.cjs → storage-CezF2Mvz.cjs} +4 -5
- package/dist/shared/{storage-CIjejZDt.cjs.map → storage-CezF2Mvz.cjs.map} +1 -1
- package/dist/shared/{storage-BQrtKon9.d.cts → storage-FtS4NIC7.d.cts} +2 -5
- package/dist/shared/{url-Dg1u29cu.js → url-CPKhcxf1.js} +250 -91
- package/dist/shared/url-CPKhcxf1.js.map +1 -0
- package/dist/shared/{url-C9YADYNg.d.cts → url-DCqxoxGX.d.cts} +1909 -1634
- package/dist/shared/{url-C9YADYNg.d.ts → url-DL5Mip4L.d.ts} +230 -104
- package/dist/shared/{url-B21Bdmw_.cjs → url-DOfjru6L.cjs} +250 -91
- package/dist/shared/url-DOfjru6L.cjs.map +1 -0
- package/dist/shared/{validate-D7_kq3g5.js → validate-B5l_vLKD.js} +5 -7
- package/dist/shared/validate-B5l_vLKD.js.map +1 -0
- package/dist/shared/{validate-CFx2dISs.cjs → validate-CfxCK1BC.cjs} +5 -7
- package/dist/shared/validate-CfxCK1BC.cjs.map +1 -0
- package/dist/web/index.cjs +4 -5
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.cts +22 -5
- package/dist/web/index.d.ts +22 -5
- package/dist/web/index.js +4 -5
- package/dist/web/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/shared/events-C2DJZyI0.cjs.map +0 -1
- package/dist/shared/events-D1BfefBT.js.map +0 -1
- package/dist/shared/multi-storage-7Y3KCseI.cjs.map +0 -1
- package/dist/shared/redact-BbhtA9o-.cjs.map +0 -1
- package/dist/shared/redact-DSfdmeY7.js.map +0 -1
- package/dist/shared/render-CrGXcj6L.cjs.map +0 -1
- package/dist/shared/render-D3vSEbLL.js.map +0 -1
- package/dist/shared/url-B21Bdmw_.cjs.map +0 -1
- package/dist/shared/url-Dg1u29cu.js.map +0 -1
- package/dist/shared/validate-CFx2dISs.cjs.map +0 -1
- package/dist/shared/validate-D7_kq3g5.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/enums.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Enum API итд.com.
|
|
4
3
|
*
|
|
@@ -380,6 +379,7 @@ declare const ItdErrorCode: Readonly<{
|
|
|
380
379
|
readonly INVALID_FLOW_TOKEN: "INVALID_FLOW_TOKEN";
|
|
381
380
|
readonly ACCOUNT_DEACTIVATED: "ACCOUNT_DEACTIVATED";
|
|
382
381
|
readonly ACCOUNT_EMAIL_DOMAIN_NOT_ALLOWED: "ACCOUNT_EMAIL_DOMAIN_NOT_ALLOWED";
|
|
382
|
+
readonly EMAIL_SIGNUP_DISABLED: "EMAIL_SIGNUP_DISABLED";
|
|
383
383
|
readonly ACCOUNT_INVALID_CREDENTIALS: "ACCOUNT_INVALID_CREDENTIALS";
|
|
384
384
|
readonly ACCOUNT_TEMPORARILY_LOCKED: "ACCOUNT_TEMPORARILY_LOCKED";
|
|
385
385
|
readonly ACCOUNT_CURRENT_PASSWORD_INCORRECT: "ACCOUNT_CURRENT_PASSWORD_INCORRECT";
|
|
@@ -412,8 +412,6 @@ declare const ItdErrorCode: Readonly<{
|
|
|
412
412
|
readonly WRITE_ACCESS_RESTRICTED: "WRITE_ACCESS_RESTRICTED";
|
|
413
413
|
}>;
|
|
414
414
|
type ItdErrorCode = Loose<(typeof ItdErrorCode)[keyof typeof ItdErrorCode]>;
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region src/models/common.d.ts
|
|
417
415
|
/**
|
|
418
416
|
* Дата и время в формате ISO-8601, например `2026-07-21T14:30:00.000Z`.
|
|
419
417
|
*
|
|
@@ -458,8 +456,6 @@ interface Span {
|
|
|
458
456
|
/** Идентификатор пользователя у некоторых ответов API с `mention`. */
|
|
459
457
|
id?: string;
|
|
460
458
|
}
|
|
461
|
-
//#endregion
|
|
462
|
-
//#region src/domain/buckets.d.ts
|
|
463
459
|
/**
|
|
464
460
|
* Ёмкость серверных счётчиков частоты, запросов в минуту.
|
|
465
461
|
*
|
|
@@ -494,9 +490,6 @@ declare const BUCKET_LIMITS: Readonly<{
|
|
|
494
490
|
readonly 'reports.create': 3;
|
|
495
491
|
readonly 'verification.submit': 3;
|
|
496
492
|
readonly shop: 150;
|
|
497
|
-
readonly 'shop.delivery.cities': 60;
|
|
498
|
-
readonly 'shop.delivery.calculate': 45;
|
|
499
|
-
readonly 'shop.delivery.points': 30;
|
|
500
493
|
readonly 'shop.consents.record': 15;
|
|
501
494
|
readonly 'shop.orders.pay': 13;
|
|
502
495
|
readonly 'shop.orders.verifyAccessCode': 13;
|
|
@@ -507,8 +500,6 @@ declare const BUCKET_LIMITS: Readonly<{
|
|
|
507
500
|
type RateLimitBucket = keyof typeof BUCKET_LIMITS;
|
|
508
501
|
/** Счётчик, из которого списывается путь без собственного правила на сервере. */
|
|
509
502
|
declare const DEFAULT_RATE_LIMIT_BUCKET: RateLimitBucket;
|
|
510
|
-
//#endregion
|
|
511
|
-
//#region src/domain/operations.d.ts
|
|
512
503
|
/** Описание встроенной операции: та же форма, что знает ядро, но с именем известного бакета. */
|
|
513
504
|
interface ItdOperationDefinition extends OperationDefinition {
|
|
514
505
|
readonly bucket?: RateLimitBucket;
|
|
@@ -534,6 +525,179 @@ declare const OPERATIONS: Readonly<{
|
|
|
534
525
|
readonly retrySafety: "safe";
|
|
535
526
|
readonly bucket: "auth";
|
|
536
527
|
}>;
|
|
528
|
+
readonly 'account.getInfo': Readonly<{
|
|
529
|
+
readonly method: "GET";
|
|
530
|
+
readonly retrySafety: "safe";
|
|
531
|
+
readonly bucket: "auth";
|
|
532
|
+
}>;
|
|
533
|
+
readonly 'account.password.set': Readonly<{
|
|
534
|
+
readonly method: "POST";
|
|
535
|
+
readonly retrySafety: "unsafe";
|
|
536
|
+
readonly bucket: "auth";
|
|
537
|
+
}>;
|
|
538
|
+
readonly 'account.email.attach': Readonly<{
|
|
539
|
+
readonly method: "POST";
|
|
540
|
+
readonly retrySafety: "unsafe";
|
|
541
|
+
readonly bucket: "auth";
|
|
542
|
+
}>;
|
|
543
|
+
readonly 'account.phone.attach': Readonly<{
|
|
544
|
+
readonly method: "POST";
|
|
545
|
+
readonly retrySafety: "unsafe";
|
|
546
|
+
readonly bucket: "auth";
|
|
547
|
+
}>;
|
|
548
|
+
readonly 'account.email.startChange': Readonly<{
|
|
549
|
+
readonly method: "POST";
|
|
550
|
+
readonly retrySafety: "unsafe";
|
|
551
|
+
readonly bucket: "auth";
|
|
552
|
+
}>;
|
|
553
|
+
readonly 'account.phone.startChange': Readonly<{
|
|
554
|
+
readonly method: "POST";
|
|
555
|
+
readonly retrySafety: "unsafe";
|
|
556
|
+
readonly bucket: "auth";
|
|
557
|
+
}>;
|
|
558
|
+
readonly 'account.verifyAttach': Readonly<{
|
|
559
|
+
readonly method: "POST";
|
|
560
|
+
readonly retrySafety: "unsafe";
|
|
561
|
+
readonly bucket: "auth";
|
|
562
|
+
}>;
|
|
563
|
+
readonly 'account.verifyChange': Readonly<{
|
|
564
|
+
readonly method: "POST";
|
|
565
|
+
readonly retrySafety: "unsafe";
|
|
566
|
+
readonly bucket: "auth";
|
|
567
|
+
}>;
|
|
568
|
+
readonly 'account.email.resendOtp': Readonly<{
|
|
569
|
+
readonly method: "POST";
|
|
570
|
+
readonly retrySafety: "unsafe";
|
|
571
|
+
readonly bucket: "auth";
|
|
572
|
+
}>;
|
|
573
|
+
readonly 'account.phone.resendOtp': Readonly<{
|
|
574
|
+
readonly method: "POST";
|
|
575
|
+
readonly retrySafety: "unsafe";
|
|
576
|
+
readonly bucket: "auth";
|
|
577
|
+
}>;
|
|
578
|
+
readonly 'account.phone.sync': Readonly<{
|
|
579
|
+
readonly method: "POST";
|
|
580
|
+
readonly retrySafety: "unsafe";
|
|
581
|
+
readonly bucket: "auth";
|
|
582
|
+
}>;
|
|
583
|
+
readonly 'account.phone.reverseOptions': Readonly<{
|
|
584
|
+
readonly method: "POST";
|
|
585
|
+
readonly retrySafety: "safe";
|
|
586
|
+
readonly bucket: "auth";
|
|
587
|
+
}>;
|
|
588
|
+
readonly 'account.phone.reverseStart': Readonly<{
|
|
589
|
+
readonly method: "POST";
|
|
590
|
+
readonly retrySafety: "unsafe";
|
|
591
|
+
readonly bucket: "auth";
|
|
592
|
+
}>;
|
|
593
|
+
readonly 'account.phone.reverseStatus': Readonly<{
|
|
594
|
+
readonly method: "POST";
|
|
595
|
+
readonly retrySafety: "safe";
|
|
596
|
+
readonly bucket: "auth";
|
|
597
|
+
}>;
|
|
598
|
+
readonly 'account.phone.reverseAttachComplete': Readonly<{
|
|
599
|
+
readonly method: "POST";
|
|
600
|
+
readonly retrySafety: "unsafe";
|
|
601
|
+
readonly bucket: "auth";
|
|
602
|
+
}>;
|
|
603
|
+
readonly 'account.phone.reverseChangeComplete': Readonly<{
|
|
604
|
+
readonly method: "POST";
|
|
605
|
+
readonly retrySafety: "unsafe";
|
|
606
|
+
readonly bucket: "auth";
|
|
607
|
+
}>;
|
|
608
|
+
readonly 'account.changes.requestProof': Readonly<{
|
|
609
|
+
readonly method: "POST";
|
|
610
|
+
readonly retrySafety: "unsafe";
|
|
611
|
+
readonly bucket: "auth";
|
|
612
|
+
}>;
|
|
613
|
+
readonly 'account.changes.confirm': Readonly<{
|
|
614
|
+
readonly method: "POST";
|
|
615
|
+
readonly retrySafety: "unsafe";
|
|
616
|
+
readonly bucket: "auth";
|
|
617
|
+
}>;
|
|
618
|
+
readonly 'account.changes.wait': Readonly<{
|
|
619
|
+
readonly method: "POST";
|
|
620
|
+
readonly retrySafety: "unsafe";
|
|
621
|
+
readonly bucket: "auth";
|
|
622
|
+
}>;
|
|
623
|
+
readonly 'account.changes.pending': Readonly<{
|
|
624
|
+
readonly method: "GET";
|
|
625
|
+
readonly retrySafety: "safe";
|
|
626
|
+
readonly bucket: "auth";
|
|
627
|
+
}>;
|
|
628
|
+
readonly 'account.changes.cancelPending': Readonly<{
|
|
629
|
+
readonly method: "DELETE";
|
|
630
|
+
readonly retrySafety: "unsafe";
|
|
631
|
+
readonly bucket: "auth";
|
|
632
|
+
}>;
|
|
633
|
+
readonly 'account.password.change': Readonly<{
|
|
634
|
+
readonly method: "POST";
|
|
635
|
+
readonly retrySafety: "unsafe";
|
|
636
|
+
readonly bucket: "auth";
|
|
637
|
+
}>;
|
|
638
|
+
readonly 'account.deactivate': Readonly<{
|
|
639
|
+
readonly method: "DELETE";
|
|
640
|
+
readonly retrySafety: "unsafe";
|
|
641
|
+
}>;
|
|
642
|
+
readonly 'account.restore': Readonly<{
|
|
643
|
+
readonly method: "POST";
|
|
644
|
+
readonly retrySafety: "unsafe";
|
|
645
|
+
}>;
|
|
646
|
+
readonly 'auth.phone.config': Readonly<{
|
|
647
|
+
readonly method: "GET";
|
|
648
|
+
readonly retrySafety: "safe";
|
|
649
|
+
readonly bucket: "auth";
|
|
650
|
+
}>;
|
|
651
|
+
readonly 'auth.phone.consent': Readonly<{
|
|
652
|
+
readonly method: "GET";
|
|
653
|
+
readonly retrySafety: "safe";
|
|
654
|
+
readonly bucket: "auth";
|
|
655
|
+
}>;
|
|
656
|
+
readonly 'auth.phone.start': Readonly<{
|
|
657
|
+
readonly method: "POST";
|
|
658
|
+
readonly retrySafety: "unsafe";
|
|
659
|
+
readonly bucket: "auth";
|
|
660
|
+
}>;
|
|
661
|
+
readonly 'auth.phone.verify': Readonly<{
|
|
662
|
+
readonly method: "POST";
|
|
663
|
+
readonly retrySafety: "unsafe";
|
|
664
|
+
readonly bucket: "auth";
|
|
665
|
+
}>;
|
|
666
|
+
readonly 'auth.phone.password': Readonly<{
|
|
667
|
+
readonly method: "POST";
|
|
668
|
+
readonly retrySafety: "unsafe";
|
|
669
|
+
readonly bucket: "auth";
|
|
670
|
+
}>;
|
|
671
|
+
readonly 'auth.phone.resetPassword': Readonly<{
|
|
672
|
+
readonly method: "POST";
|
|
673
|
+
readonly retrySafety: "unsafe";
|
|
674
|
+
readonly bucket: "auth";
|
|
675
|
+
}>;
|
|
676
|
+
readonly 'auth.phone.resend': Readonly<{
|
|
677
|
+
readonly method: "POST";
|
|
678
|
+
readonly retrySafety: "unsafe";
|
|
679
|
+
readonly bucket: "auth";
|
|
680
|
+
}>;
|
|
681
|
+
readonly 'auth.phone.reverseOptions': Readonly<{
|
|
682
|
+
readonly method: "POST";
|
|
683
|
+
readonly retrySafety: "safe";
|
|
684
|
+
readonly bucket: "auth";
|
|
685
|
+
}>;
|
|
686
|
+
readonly 'auth.phone.reverseStart': Readonly<{
|
|
687
|
+
readonly method: "POST";
|
|
688
|
+
readonly retrySafety: "unsafe";
|
|
689
|
+
readonly bucket: "auth";
|
|
690
|
+
}>;
|
|
691
|
+
readonly 'auth.phone.reverseStatus': Readonly<{
|
|
692
|
+
readonly method: "POST";
|
|
693
|
+
readonly retrySafety: "safe";
|
|
694
|
+
readonly bucket: "auth";
|
|
695
|
+
}>;
|
|
696
|
+
readonly 'auth.phone.reverseComplete': Readonly<{
|
|
697
|
+
readonly method: "POST";
|
|
698
|
+
readonly retrySafety: "unsafe";
|
|
699
|
+
readonly bucket: "auth";
|
|
700
|
+
}>;
|
|
537
701
|
readonly 'auth.signUp': Readonly<{
|
|
538
702
|
readonly method: "POST";
|
|
539
703
|
readonly retrySafety: "unsafe";
|
|
@@ -574,11 +738,6 @@ declare const OPERATIONS: Readonly<{
|
|
|
574
738
|
readonly retrySafety: "unsafe";
|
|
575
739
|
readonly bucket: "auth";
|
|
576
740
|
}>;
|
|
577
|
-
readonly 'auth.changePassword': Readonly<{
|
|
578
|
-
readonly method: "POST";
|
|
579
|
-
readonly retrySafety: "unsafe";
|
|
580
|
-
readonly bucket: "auth";
|
|
581
|
-
}>;
|
|
582
741
|
readonly 'auth.sessions': Readonly<{
|
|
583
742
|
readonly method: "GET";
|
|
584
743
|
readonly retrySafety: "safe";
|
|
@@ -629,14 +788,6 @@ declare const OPERATIONS: Readonly<{
|
|
|
629
788
|
readonly retrySafety: "idempotent";
|
|
630
789
|
readonly bucket: "users.updateMe";
|
|
631
790
|
}>;
|
|
632
|
-
readonly 'users.deactivate': Readonly<{
|
|
633
|
-
readonly method: "DELETE";
|
|
634
|
-
readonly retrySafety: "unsafe";
|
|
635
|
-
}>;
|
|
636
|
-
readonly 'users.restore': Readonly<{
|
|
637
|
-
readonly method: "POST";
|
|
638
|
-
readonly retrySafety: "unsafe";
|
|
639
|
-
}>;
|
|
640
791
|
readonly 'users.createProfile': Readonly<{
|
|
641
792
|
readonly method: "POST";
|
|
642
793
|
readonly retrySafety: "unsafe";
|
|
@@ -836,6 +987,11 @@ declare const OPERATIONS: Readonly<{
|
|
|
836
987
|
readonly retrySafety: "unsafe";
|
|
837
988
|
readonly bucket: "files.upload";
|
|
838
989
|
}>;
|
|
990
|
+
readonly 'files.uploadBannerDrawing': Readonly<{
|
|
991
|
+
readonly method: "POST";
|
|
992
|
+
readonly retrySafety: "unsafe";
|
|
993
|
+
readonly bucket: "files.upload";
|
|
994
|
+
}>;
|
|
839
995
|
readonly 'files.remove': Readonly<{
|
|
840
996
|
readonly method: "DELETE";
|
|
841
997
|
readonly retrySafety: "unsafe";
|
|
@@ -944,6 +1100,22 @@ declare const OPERATIONS: Readonly<{
|
|
|
944
1100
|
readonly method: "GET";
|
|
945
1101
|
readonly retrySafety: "safe";
|
|
946
1102
|
}>;
|
|
1103
|
+
readonly 'legal.list': Readonly<{
|
|
1104
|
+
readonly method: "GET";
|
|
1105
|
+
readonly retrySafety: "safe";
|
|
1106
|
+
}>;
|
|
1107
|
+
readonly 'legal.current': Readonly<{
|
|
1108
|
+
readonly method: "GET";
|
|
1109
|
+
readonly retrySafety: "safe";
|
|
1110
|
+
}>;
|
|
1111
|
+
readonly 'legal.versions': Readonly<{
|
|
1112
|
+
readonly method: "GET";
|
|
1113
|
+
readonly retrySafety: "safe";
|
|
1114
|
+
}>;
|
|
1115
|
+
readonly 'legal.version': Readonly<{
|
|
1116
|
+
readonly method: "GET";
|
|
1117
|
+
readonly retrySafety: "safe";
|
|
1118
|
+
}>;
|
|
947
1119
|
readonly 'platform.changelog': Readonly<{
|
|
948
1120
|
readonly method: "GET";
|
|
949
1121
|
readonly retrySafety: "safe";
|
|
@@ -982,17 +1154,17 @@ declare const OPERATIONS: Readonly<{
|
|
|
982
1154
|
readonly 'shop.delivery.cities': Readonly<{
|
|
983
1155
|
readonly method: "GET";
|
|
984
1156
|
readonly retrySafety: "safe";
|
|
985
|
-
readonly bucket: "shop
|
|
1157
|
+
readonly bucket: "shop";
|
|
986
1158
|
}>;
|
|
987
1159
|
readonly 'shop.delivery.points': Readonly<{
|
|
988
1160
|
readonly method: "GET";
|
|
989
1161
|
readonly retrySafety: "safe";
|
|
990
|
-
readonly bucket: "shop
|
|
1162
|
+
readonly bucket: "shop";
|
|
991
1163
|
}>;
|
|
992
1164
|
readonly 'shop.delivery.calculate': Readonly<{
|
|
993
1165
|
readonly method: "POST";
|
|
994
1166
|
readonly retrySafety: "safe";
|
|
995
|
-
readonly bucket: "shop
|
|
1167
|
+
readonly bucket: "shop";
|
|
996
1168
|
}>;
|
|
997
1169
|
readonly 'shop.orders.create': Readonly<{
|
|
998
1170
|
readonly method: "POST";
|
|
@@ -1047,8 +1219,6 @@ declare function operationRetrySafety(id: BuiltInOperationId): RetrySafety;
|
|
|
1047
1219
|
* `rateLimitBucket` у запроса.
|
|
1048
1220
|
*/
|
|
1049
1221
|
declare function operationBucket(id: OperationId): RateLimitBucket;
|
|
1050
|
-
//#endregion
|
|
1051
|
-
//#region src/core/clock.d.ts
|
|
1052
1222
|
/**
|
|
1053
1223
|
* Часы, которыми клиент измеряет время и планирует отложенную работу.
|
|
1054
1224
|
*
|
|
@@ -1063,8 +1233,6 @@ interface ItdClock {
|
|
|
1063
1233
|
}
|
|
1064
1234
|
/** Системные часы, используемые клиентом по умолчанию. */
|
|
1065
1235
|
declare const systemClock: ItdClock;
|
|
1066
|
-
//#endregion
|
|
1067
|
-
//#region src/core/logger.d.ts
|
|
1068
1236
|
/**
|
|
1069
1237
|
* Логгер библиотеки. Совместим с `console`: к сообщению прилагается не больше одного
|
|
1070
1238
|
* аргумента — объект с деталями либо ошибка.
|
|
@@ -1085,8 +1253,6 @@ declare const LogLevel: Readonly<{
|
|
|
1085
1253
|
readonly Error: "error";
|
|
1086
1254
|
}>;
|
|
1087
1255
|
type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
1088
|
-
//#endregion
|
|
1089
|
-
//#region src/core/runtime.d.ts
|
|
1090
1256
|
/**
|
|
1091
1257
|
* Как библиотека обращается с cookie.
|
|
1092
1258
|
*
|
|
@@ -1103,8 +1269,6 @@ declare const RuntimeMode: Readonly<{
|
|
|
1103
1269
|
readonly Server: "server";
|
|
1104
1270
|
}>;
|
|
1105
1271
|
type RuntimeMode = (typeof RuntimeMode)[keyof typeof RuntimeMode];
|
|
1106
|
-
//#endregion
|
|
1107
|
-
//#region src/core/scheduling/pacing.d.ts
|
|
1108
1272
|
/** Реакция на остаток лимита из заголовков ответа. */
|
|
1109
1273
|
declare const RateLimitPacing: Readonly<{
|
|
1110
1274
|
/** Задержек нет, пока в бакете есть остаток; исчерпанный бакет ждёт `60000 / limit`. */
|
|
@@ -1115,8 +1279,6 @@ declare const RateLimitPacing: Readonly<{
|
|
|
1115
1279
|
readonly Off: "off";
|
|
1116
1280
|
}>;
|
|
1117
1281
|
type RateLimitPacing = (typeof RateLimitPacing)[keyof typeof RateLimitPacing];
|
|
1118
|
-
//#endregion
|
|
1119
|
-
//#region src/core/services.d.ts
|
|
1120
1282
|
/** Сервис платформы на отдельном домене. */
|
|
1121
1283
|
interface ServiceDefinition {
|
|
1122
1284
|
/** Имя, по которому запрос выбирает сервис: `{ service: 'status' }`. */
|
|
@@ -1133,14 +1295,10 @@ interface ServiceDefinition {
|
|
|
1133
1295
|
*/
|
|
1134
1296
|
auth?: boolean | undefined;
|
|
1135
1297
|
}
|
|
1136
|
-
//#endregion
|
|
1137
|
-
//#region src/core/url.d.ts
|
|
1138
1298
|
/** Значение параметра запроса. `undefined` и `null` в строку не попадают. */
|
|
1139
1299
|
type QueryValue = string | number | boolean | null | undefined | readonly (string | number | boolean)[];
|
|
1140
1300
|
/** Параметры строки запроса. */
|
|
1141
1301
|
type QueryParams = Record<string, QueryValue>;
|
|
1142
|
-
//#endregion
|
|
1143
|
-
//#region src/core/options.d.ts
|
|
1144
1302
|
/** Настройки повторных попыток. */
|
|
1145
1303
|
interface RetryOptions {
|
|
1146
1304
|
/** Сколько всего попыток, включая первую. По умолчанию 3. */
|
|
@@ -1456,8 +1614,6 @@ interface RawRequestOptions extends RequestOptions {
|
|
|
1456
1614
|
interface OperationRequestOptions extends RawRequestOptions {
|
|
1457
1615
|
operationId: OperationId;
|
|
1458
1616
|
}
|
|
1459
|
-
//#endregion
|
|
1460
|
-
//#region src/core/operation.d.ts
|
|
1461
1617
|
/** HTTP-метод операции. */
|
|
1462
1618
|
declare const OperationMethod: Readonly<{
|
|
1463
1619
|
readonly Get: "GET";
|
|
@@ -1513,18 +1669,12 @@ interface OperationDefinition extends OperationMetadata {
|
|
|
1513
1669
|
*/
|
|
1514
1670
|
readonly bucket?: string;
|
|
1515
1671
|
}
|
|
1516
|
-
//#endregion
|
|
1517
|
-
//#region src/core/version.d.ts
|
|
1518
1672
|
/** Версия библиотеки. Попадает в `User-Agent`. */
|
|
1519
|
-
declare const LIBRARY_VERSION = "0.
|
|
1520
|
-
//#endregion
|
|
1521
|
-
//#region src/core/config.d.ts
|
|
1673
|
+
declare const LIBRARY_VERSION = "0.13.0";
|
|
1522
1674
|
/** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
|
|
1523
1675
|
declare const DEFAULT_BASE_URL = "https://xn--d1ah4a.com";
|
|
1524
1676
|
/** Имя встроенного сервиса статуса. */
|
|
1525
1677
|
declare const STATUS_SERVICE = "status";
|
|
1526
|
-
//#endregion
|
|
1527
|
-
//#region src/core/auth-provider.d.ts
|
|
1528
1678
|
/** Области аккаунта и конкретной сессии для локального состояния плагинов. */
|
|
1529
1679
|
interface AuthIdentity {
|
|
1530
1680
|
/** Идентификатор пользователя; отсутствует у непрозрачного или повреждённого токена. */
|
|
@@ -1611,8 +1761,6 @@ declare function bearerToken(accessToken: string): AuthProvider;
|
|
|
1611
1761
|
* ```
|
|
1612
1762
|
*/
|
|
1613
1763
|
declare function tokenProvider(getToken: () => string | null | Promise<string | null>): AuthProvider;
|
|
1614
|
-
//#endregion
|
|
1615
|
-
//#region src/core/connection.d.ts
|
|
1616
1764
|
/**
|
|
1617
1765
|
* Разрешённое окружение одного долговременного соединения клиента.
|
|
1618
1766
|
*
|
|
@@ -1637,8 +1785,6 @@ interface ClientConnection {
|
|
|
1637
1785
|
/** Пытается восстановить авторизацию после отказа транспорта. */
|
|
1638
1786
|
refreshAuth(): Promise<boolean>;
|
|
1639
1787
|
}
|
|
1640
|
-
//#endregion
|
|
1641
|
-
//#region src/core/emitter.d.ts
|
|
1642
1788
|
/** Обработчик события. */
|
|
1643
1789
|
type Listener<T> = (payload: T) => void;
|
|
1644
1790
|
/** Функция отписки, которую возвращает подписка на событие. */
|
|
@@ -1680,8 +1826,6 @@ declare class Emitter<Events> {
|
|
|
1680
1826
|
/** Снимает все подписки. */
|
|
1681
1827
|
removeAllListeners(): void;
|
|
1682
1828
|
}
|
|
1683
|
-
//#endregion
|
|
1684
|
-
//#region src/core/errors.d.ts
|
|
1685
1829
|
/** Бренд, по которому ошибки библиотеки распознаются надёжнее, чем через `instanceof`. */
|
|
1686
1830
|
declare const ITD_ERROR: unique symbol;
|
|
1687
1831
|
/**
|
|
@@ -1777,7 +1921,7 @@ interface ItdApiErrorInit {
|
|
|
1777
1921
|
raw: unknown;
|
|
1778
1922
|
/** Сам объект ответа. Тело уже прочитано. */
|
|
1779
1923
|
response?: Response | undefined;
|
|
1780
|
-
/**
|
|
1924
|
+
/** Пауза из Retry-After или тела ошибки, в миллисекундах. */
|
|
1781
1925
|
retryAfter?: number | undefined;
|
|
1782
1926
|
/** Сколько запросов разрешено в окне (`x-ratelimit-limit`). */
|
|
1783
1927
|
rateLimit?: number | undefined;
|
|
@@ -1829,7 +1973,7 @@ declare class ItdApiError extends ItdError {
|
|
|
1829
1973
|
readonly raw: unknown;
|
|
1830
1974
|
/** Объект ответа. Тело уже прочитано и повторно прочитано быть не может. */
|
|
1831
1975
|
readonly response: Response | undefined;
|
|
1832
|
-
/** Пауза из
|
|
1976
|
+
/** Пауза из Retry-After либо retryIn/retryAfter тела ошибки, в миллисекундах. */
|
|
1833
1977
|
readonly retryAfter: number | undefined;
|
|
1834
1978
|
/**
|
|
1835
1979
|
* Сколько запросов разрешено в окне — заголовок `x-ratelimit-limit`.
|
|
@@ -1883,7 +2027,7 @@ declare class ItdConflictError extends ItdApiError {
|
|
|
1883
2027
|
/**
|
|
1884
2028
|
* `429` — превышен лимит запросов.
|
|
1885
2029
|
*
|
|
1886
|
-
*
|
|
2030
|
+
* Пауза из `Retry-After` или тела ошибки доступна в {@link ItdApiError.retryAfter}
|
|
1887
2031
|
* (в миллисекундах). При включённых ретраях библиотека выдерживает её автоматически.
|
|
1888
2032
|
*/
|
|
1889
2033
|
declare class ItdRateLimitError extends ItdApiError {
|
|
@@ -2036,8 +2180,6 @@ declare function isItdRateLimitError(value: unknown): value is ItdRateLimitError
|
|
|
2036
2180
|
declare function isItdPhoneVerificationError(value: unknown): value is ItdPhoneVerificationError;
|
|
2037
2181
|
/** Ошибка на стороне сервера (`5xx`). */
|
|
2038
2182
|
declare function isItdServerError(value: unknown): value is ItdServerError;
|
|
2039
|
-
//#endregion
|
|
2040
|
-
//#region src/models/users.d.ts
|
|
2041
2183
|
/** Значок-«пин» в профиле — награда или отметка платформы. */
|
|
2042
2184
|
interface Pin {
|
|
2043
2185
|
/** Постоянный идентификатор, например `epepuy_202605_59`. */
|
|
@@ -2052,14 +2194,20 @@ interface Pin {
|
|
|
2052
2194
|
grantedAt?: IsoDate;
|
|
2053
2195
|
}
|
|
2054
2196
|
/**
|
|
2055
|
-
*
|
|
2056
|
-
*
|
|
2057
|
-
* Встречается внутри `post.author` и `comment.author`.
|
|
2197
|
+
* Общая часть всех моделей пользователя: автора, участника уведомления, пользователя
|
|
2198
|
+
* из списка, профиля.
|
|
2058
2199
|
*/
|
|
2059
|
-
interface
|
|
2200
|
+
interface UserBase {
|
|
2060
2201
|
id: UserId;
|
|
2061
2202
|
username: string;
|
|
2062
2203
|
displayName: string;
|
|
2204
|
+
}
|
|
2205
|
+
/**
|
|
2206
|
+
* Автор поста или комментария.
|
|
2207
|
+
*
|
|
2208
|
+
* Встречается внутри `post.author` и `comment.author`.
|
|
2209
|
+
*/
|
|
2210
|
+
interface Author extends UserBase {
|
|
2063
2211
|
/**
|
|
2064
2212
|
* Аватар: обычно эмодзи — символ клана (`🩵`, `🦎`), который отрисовывают как текст.
|
|
2065
2213
|
*
|
|
@@ -2079,10 +2227,7 @@ interface Author {
|
|
|
2079
2227
|
*
|
|
2080
2228
|
* Отличается от {@link Author} набором полей: вместо значков приходит связь с вами.
|
|
2081
2229
|
*/
|
|
2082
|
-
interface Actor {
|
|
2083
|
-
id: UserId;
|
|
2084
|
-
username: string;
|
|
2085
|
-
displayName: string;
|
|
2230
|
+
interface Actor extends UserBase {
|
|
2086
2231
|
/** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
|
|
2087
2232
|
avatar: string;
|
|
2088
2233
|
/** Подписаны ли вы на этого пользователя. */
|
|
@@ -2097,10 +2242,7 @@ interface Actor {
|
|
|
2097
2242
|
* поиск и рекомендации — `followersCount` и `hasNuksta`. Необязательные поля отражают
|
|
2098
2243
|
* это различие.
|
|
2099
2244
|
*/
|
|
2100
|
-
interface UserSummary {
|
|
2101
|
-
id: UserId;
|
|
2102
|
-
username: string;
|
|
2103
|
-
displayName: string;
|
|
2245
|
+
interface UserSummary extends UserBase {
|
|
2104
2246
|
/** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
|
|
2105
2247
|
avatar: string;
|
|
2106
2248
|
verified: boolean;
|
|
@@ -2112,10 +2254,7 @@ interface UserSummary {
|
|
|
2112
2254
|
followersCount?: number;
|
|
2113
2255
|
}
|
|
2114
2256
|
/** Поля профиля, общие для своего и чужого. */
|
|
2115
|
-
interface ProfileBase {
|
|
2116
|
-
id: UserId;
|
|
2117
|
-
username: string;
|
|
2118
|
-
displayName: string;
|
|
2257
|
+
interface ProfileBase extends UserBase {
|
|
2119
2258
|
/** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
|
|
2120
2259
|
avatar: string;
|
|
2121
2260
|
/**
|
|
@@ -2147,37 +2286,36 @@ interface SubscriptionState {
|
|
|
2147
2286
|
/**
|
|
2148
2287
|
* Свой профиль — ответ `GET /api/users/me`.
|
|
2149
2288
|
*
|
|
2150
|
-
*
|
|
2151
|
-
*
|
|
2289
|
+
* Содержит сведения о своей подписке. Поля связи с другим пользователем,
|
|
2290
|
+
* такие как `isFollowing`, в этот профиль не входят.
|
|
2152
2291
|
*/
|
|
2153
2292
|
interface MyProfile extends ProfileBase {
|
|
2154
2293
|
/** Закрыт ли профиль. */
|
|
2155
2294
|
isPrivate: boolean;
|
|
2156
|
-
/** Подтверждён ли
|
|
2157
|
-
isPhoneVerified
|
|
2295
|
+
/** Подтверждён ли номер телефона. */
|
|
2296
|
+
isPhoneVerified?: boolean;
|
|
2158
2297
|
/** Своя премиум-подписка. */
|
|
2159
2298
|
subscription: SubscriptionState;
|
|
2160
2299
|
}
|
|
2161
|
-
/**
|
|
2162
|
-
|
|
2163
|
-
*
|
|
2164
|
-
* Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
|
|
2165
|
-
* а `user` — `null`.
|
|
2166
|
-
*/
|
|
2167
|
-
interface AuthUser {
|
|
2168
|
-
id: UserId;
|
|
2169
|
-
username: string;
|
|
2170
|
-
displayName: string;
|
|
2300
|
+
/** Компактные данные текущего пользователя из {@link AuthState}. */
|
|
2301
|
+
interface AuthUser extends UserBase {
|
|
2171
2302
|
/** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
|
|
2172
2303
|
avatar: string;
|
|
2173
2304
|
/** Эмодзи клана. Совпадает с `avatar`, пока аватар — эмодзи. */
|
|
2174
2305
|
clanAvatar?: string;
|
|
2175
2306
|
bio: string;
|
|
2176
2307
|
verified: boolean;
|
|
2177
|
-
|
|
2308
|
+
/** Подтверждён ли номер телефона. */
|
|
2309
|
+
isPhoneVerified?: boolean;
|
|
2178
2310
|
/** Роли текущего пользователя, например `user`. */
|
|
2179
2311
|
roles: string[];
|
|
2180
2312
|
}
|
|
2313
|
+
/**
|
|
2314
|
+
* Состояние авторизации — ответ `GET /api/profile`.
|
|
2315
|
+
*
|
|
2316
|
+
* Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
|
|
2317
|
+
* а `user` — `null`.
|
|
2318
|
+
*/
|
|
2181
2319
|
interface AuthState {
|
|
2182
2320
|
/** Есть ли действующая сессия. */
|
|
2183
2321
|
authenticated: boolean;
|
|
@@ -2262,8 +2400,6 @@ interface PinsResult {
|
|
|
2262
2400
|
/** Идентификатор активного значка — строка, а не объект. */
|
|
2263
2401
|
activePin: string | null;
|
|
2264
2402
|
}
|
|
2265
|
-
//#endregion
|
|
2266
|
-
//#region src/models/notifications.d.ts
|
|
2267
2403
|
/**
|
|
2268
2404
|
* Уведомление в единой форме.
|
|
2269
2405
|
*
|
|
@@ -2325,8 +2461,6 @@ interface NotificationSettings {
|
|
|
2325
2461
|
/** Упоминания. */
|
|
2326
2462
|
mentions: boolean;
|
|
2327
2463
|
}
|
|
2328
|
-
//#endregion
|
|
2329
|
-
//#region src/notifications/normalize.d.ts
|
|
2330
2464
|
/** Событие потока уведомлений после разбора. */
|
|
2331
2465
|
interface NotificationEvent {
|
|
2332
2466
|
/** Само уведомление в единой форме. */
|
|
@@ -2362,8 +2496,6 @@ interface NotificationEvent {
|
|
|
2362
2496
|
* ```
|
|
2363
2497
|
*/
|
|
2364
2498
|
declare function normalizeNotification(input: unknown): Notification;
|
|
2365
|
-
//#endregion
|
|
2366
|
-
//#region src/notifications/text.d.ts
|
|
2367
2499
|
/**
|
|
2368
2500
|
* Собирает текст уведомления на русском.
|
|
2369
2501
|
*
|
|
@@ -2377,8 +2509,6 @@ declare function normalizeNotification(input: unknown): Notification;
|
|
|
2377
2509
|
* ```
|
|
2378
2510
|
*/
|
|
2379
2511
|
declare function formatNotificationText(notification: Notification): string;
|
|
2380
|
-
//#endregion
|
|
2381
|
-
//#region src/notifications/type-map.d.ts
|
|
2382
2512
|
/**
|
|
2383
2513
|
* Приводит имя типа к каноническому.
|
|
2384
2514
|
*
|
|
@@ -2399,8 +2529,6 @@ declare function canonicalNotificationType(rawType: string): NotificationType;
|
|
|
2399
2529
|
* Полезно, чтобы решить, показывать ли уведомление, для которого нет своего оформления.
|
|
2400
2530
|
*/
|
|
2401
2531
|
declare function isKnownNotificationType(type: string): boolean;
|
|
2402
|
-
//#endregion
|
|
2403
|
-
//#region src/notifications/url.d.ts
|
|
2404
2532
|
/**
|
|
2405
2533
|
* Вычисляет адрес, на который ведёт уведомление.
|
|
2406
2534
|
*
|
|
@@ -2415,6 +2543,4 @@ declare function isKnownNotificationType(type: string): boolean;
|
|
|
2415
2543
|
* ```
|
|
2416
2544
|
*/
|
|
2417
2545
|
declare function resolveNotificationUrl(notification: Notification): string;
|
|
2418
|
-
|
|
2419
|
-
export { isItdPhoneVerificationError as $, operationBucket as $t, ItdConflictError as A, UsernameUnavailableReason as An, RequestContext as At, ItdRateLimitError as B, ServiceDefinition as Bt, UsernameAvailability as C, MessageAccess as Cn, ErrorContextHook as Ct, ItdApiErrorKind as D, ReportTargetType as Dn, RateLimitBucketOverride as Dt, ItdApiErrorInit as E, ReportReason as En, RateLimitBucketContext as Et, ItdFileErrorReason as F, RetryDecisionContext as Ft, TimeoutBudget as G, ItdClock as Gt, ItdStateError as H, RuntimeMode as Ht, ItdForbiddenError as I, RetryOptions as It, isItdConflictError as J, CustomOperationId as Jt, isItdApiError as K, systemClock as Kt, ItdNetworkError as L, RuntimeOptions as Lt, ItdErrorKind as M, ViewSource as Mn, RequestOptions as Mt, ItdFieldErrors as N, WallAccess as Nn, ResponseContext as Nt, ItdAuthError as O, ServiceState as On, RateLimitOptions as Ot, ItdFileError as P, RetryContext as Pt, isItdNotFoundError as Q, isBuiltInOperationId as Qt, ItdNotFoundError as R, QueryParams as Rt, UserSummary as S, Loose as Sn, ClientHooks as St, ItdApiError as T, QrLocationPrecision as Tn, PaginationOptions as Tt, ItdTimeoutError as U, LogLevel as Ut, ItdServerError as V, RateLimitPacing as Vt, ItdValidationError as W, Logger as Wt, isItdFileError as X, OPERATIONS as Xt, isItdError as Y, ItdOperationDefinition as Yt, isItdForbiddenError as Z, OperationId as Zt, PinsResult as _, IncidentKind as _n, OperationAnnotations as _t, NotificationEvent as a, IsoDate as an, Listener as at, PublicProfile as b, LastSeenUnit as bn, OperationMethod as bt, NotificationSettings as c, UserRef as cn, AuthIdentity as ct, AuthUser as d, CaptchaChoice as dn, bearerToken as dt, operationMethod as en, isItdRateLimitError as et, Author as f, CaptchaField as fn, tokenProvider as ft, Pin as g, FeedTab as gn, FeatureOperationId as gt, MyProfile as h, EventChannelStatus as hn, LIBRARY_VERSION as ht, formatNotificationText as i, RateLimitBucket as in, Emitter as it, ItdError as j, ViewReason as jn, RequestExtensions as jt, ItdConfigError as k, SpanType as kn, RawRequestOptions as kt, Actor as l, AccessType as ln, AuthProvider as lt, LastSeen as m, CommentSort as mn, STATUS_SERVICE as mt, canonicalNotificationType as n, BUCKET_LIMITS as nn, isItdStateError as nt, normalizeNotification as o, Span as on, Unsubscribe as ot, FollowResult as p, CaptchaType as pn, DEFAULT_BASE_URL as pt, isItdAuthError as q, BuiltInOperationId as qt, isKnownNotificationType as r, DEFAULT_RATE_LIMIT_BUCKET as rn, isItdValidationError as rt, Notification as s, UserId as sn, ClientConnection as st, resolveNotificationUrl as t, operationRetrySafety as tn, isItdServerError as tt, AuthState as u, AttachmentType as un, anonymousAuth as ut, PrivacySettings as v, InteractionType as vn, OperationContract as vt, ItdAbortError as w, NotificationType as wn, OperationRequestOptions as wt, SubscriptionState as x, LikesVisibility as xn, RetrySafety as xt, Profile as y, ItdErrorCode as yn, OperationMetadata as yt, ItdPhoneVerificationError as z, QueryValue as zt };
|
|
2420
|
-
//# sourceMappingURL=url-C9YADYNg.d.ts.map
|
|
2546
|
+
export { isItdNotFoundError as $, isBuiltInOperationId as $t, ItdConfigError as A, SpanType as An, RawRequestOptions as At, ItdPhoneVerificationError as B, QueryValue as Bt, UserSummary as C, Loose as Cn, ClientHooks as Ct, ItdApiErrorInit as D, ReportReason as Dn, RateLimitBucketContext as Dt, ItdApiError as E, QrLocationPrecision as En, PaginationOptions as Et, ItdFileError as F, RetryContext as Ft, ItdValidationError as G, Logger as Gt, ItdServerError as H, RateLimitPacing as Ht, ItdFileErrorReason as I, RetryDecisionContext as It, isItdAuthError as J, BuiltInOperationId as Jt, TimeoutBudget as K, ItdClock as Kt, ItdForbiddenError as L, RetryOptions as Lt, ItdError as M, ViewReason as Mn, RequestExtensions as Mt, ItdErrorKind as N, ViewSource as Nn, RequestOptions as Nt, ItdApiErrorKind as O, ReportTargetType as On, RateLimitBucketOverride as Ot, ItdFieldErrors as P, WallAccess as Pn, ResponseContext as Pt, isItdForbiddenError as Q, OperationId as Qt, ItdNetworkError as R, RuntimeOptions as Rt, UserBase as S, LikesVisibility as Sn, RetrySafety as St, ItdAbortError as T, NotificationType as Tn, OperationRequestOptions as Tt, ItdStateError as U, RuntimeMode as Ut, ItdRateLimitError as V, ServiceDefinition as Vt, ItdTimeoutError as W, LogLevel as Wt, isItdError as X, ItdOperationDefinition as Xt, isItdConflictError as Y, CustomOperationId as Yt, isItdFileError as Z, OPERATIONS as Zt, PinsResult as _, FeedTab as _n, FeatureOperationId as _t, NotificationEvent as a, RateLimitBucket as an, Emitter as at, PublicProfile as b, ItdErrorCode as bn, OperationMetadata as bt, NotificationSettings as c, UserId as cn, ClientConnection as ct, AuthUser as d, AttachmentType as dn, anonymousAuth as dt, operationBucket as en, isItdPhoneVerificationError as et, Author as f, CaptchaChoice as fn, bearerToken as ft, Pin as g, EventChannelStatus as gn, LIBRARY_VERSION as gt, MyProfile as h, CommentSort as hn, STATUS_SERVICE as ht, formatNotificationText as i, DEFAULT_RATE_LIMIT_BUCKET as in, isItdValidationError as it, ItdConflictError as j, UsernameUnavailableReason as jn, RequestContext as jt, ItdAuthError as k, ServiceState as kn, RateLimitOptions as kt, Actor as l, UserRef as ln, AuthIdentity as lt, LastSeen as m, CaptchaType as mn, DEFAULT_BASE_URL as mt, canonicalNotificationType as n, operationRetrySafety as nn, isItdServerError as nt, normalizeNotification as o, IsoDate as on, Listener as ot, FollowResult as p, CaptchaField as pn, tokenProvider as pt, isItdApiError as q, systemClock as qt, isKnownNotificationType as r, BUCKET_LIMITS as rn, isItdStateError as rt, Notification as s, Span as sn, Unsubscribe as st, resolveNotificationUrl as t, operationMethod as tn, isItdRateLimitError as tt, AuthState as u, AccessType as un, AuthProvider as ut, PrivacySettings as v, IncidentKind as vn, OperationAnnotations as vt, UsernameAvailability as w, MessageAccess as wn, ErrorContextHook as wt, SubscriptionState as x, LastSeenUnit as xn, OperationMethod as xt, Profile as y, InteractionType as yn, OperationContract as yt, ItdNotFoundError as z, QueryParams as zt };
|