itd-api 0.8.0 → 0.9.1
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/README.md +66 -21
- package/dist/events/index.cjs +3 -3
- package/dist/events/index.d.cts +2 -2
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.js +3 -3
- package/dist/index.cjs +26 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/dist/node/index.cjs +5 -4
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +4 -3
- package/dist/node/index.js.map +1 -1
- package/dist/rest/index.cjs +16 -4
- package/dist/rest/index.cjs.map +1 -1
- package/dist/rest/index.d.cts +5 -3
- package/dist/rest/index.d.ts +5 -3
- package/dist/rest/index.js +9 -5
- package/dist/rest/index.js.map +1 -1
- package/dist/shared/{events-QyhQZrnC.d.ts → events-BDdJyH2p.d.ts} +2 -2
- package/dist/shared/{events-Br2r7coi.d.cts → events-BQyH5-S0.d.cts} +2 -2
- package/dist/shared/{events-iTteVsd_.cjs → events-BqFkwwTw.cjs} +3 -3
- package/dist/shared/{events-iTteVsd_.cjs.map → events-BqFkwwTw.cjs.map} +1 -1
- package/dist/shared/{events-TfhKh26b.js → events-D6y0Hxyz.js} +3 -3
- package/dist/shared/{events-TfhKh26b.js.map → events-D6y0Hxyz.js.map} +1 -1
- package/dist/shared/{storage-BLmXmzKF.cjs → key-value-store-B5GYVEYZ.cjs} +1 -85
- package/dist/shared/key-value-store-B5GYVEYZ.cjs.map +1 -0
- package/dist/shared/{storage-CCxn0Kkv.js → key-value-store-Bt2PSMxY.js} +2 -68
- package/dist/shared/key-value-store-Bt2PSMxY.js.map +1 -0
- package/dist/shared/key-value-store-COZaNHZS.d.cts +69 -0
- package/dist/shared/key-value-store-COZaNHZS.d.ts +69 -0
- package/dist/shared/{multi-storage-DccjD7Ww.d.ts → multi-storage-BEL7tcKn.d.cts} +3 -2
- package/dist/shared/{multi-storage-CCUgkqvI.cjs → multi-storage-CDKLa956.cjs} +8 -7
- package/dist/shared/{multi-storage-CCUgkqvI.cjs.map → multi-storage-CDKLa956.cjs.map} +1 -1
- package/dist/shared/{multi-storage-CjAPB5Kq.d.cts → multi-storage-LkljOSzA.d.ts} +3 -2
- package/dist/shared/{multi-storage-1AEZTczk.js → multi-storage-SoW05uzO.js} +4 -3
- package/dist/shared/{multi-storage-1AEZTczk.js.map → multi-storage-SoW05uzO.js.map} +1 -1
- package/dist/shared/{options-BUfoHE9G.cjs → options-DOJYtoti.cjs} +2 -2
- package/dist/shared/{options-BUfoHE9G.cjs.map → options-DOJYtoti.cjs.map} +1 -1
- package/dist/shared/{options-BNP633A5.js → options-DhgGg7Ms.js} +2 -2
- package/dist/shared/{options-BNP633A5.js.map → options-DhgGg7Ms.js.map} +1 -1
- package/dist/shared/{redact-DB9EMGJx.cjs → redact-BP00URmQ.cjs} +15 -4
- package/dist/shared/{redact-DB9EMGJx.cjs.map → redact-BP00URmQ.cjs.map} +1 -1
- package/dist/shared/{redact-FNK29Fv-.js → redact-Ba5iSVYZ.js} +15 -4
- package/dist/shared/{redact-FNK29Fv-.js.map → redact-Ba5iSVYZ.js.map} +1 -1
- package/dist/shared/{render-BszcKF7S.d.cts → render-BU1_wex8.d.cts} +378 -12
- package/dist/shared/{render-DVB7T8pm.d.ts → render-CZ_-F2Tl.d.ts} +378 -12
- package/dist/shared/{render-DNTESBSl.cjs → render-DAEeCMk9.cjs} +461 -8
- package/dist/shared/render-DAEeCMk9.cjs.map +1 -0
- package/dist/shared/{render-CiL1VS0b.js → render-sb1VJhUA.js} +415 -10
- package/dist/shared/render-sb1VJhUA.js.map +1 -0
- package/dist/shared/storage-BQrtKon9.d.cts +86 -0
- package/dist/shared/storage-CTRGT5wF.d.ts +86 -0
- package/dist/shared/storage-CfHKzVHf.js +71 -0
- package/dist/shared/storage-CfHKzVHf.js.map +1 -0
- package/dist/shared/storage-QNVxzpDB.cjs +88 -0
- package/dist/shared/storage-QNVxzpDB.cjs.map +1 -0
- package/dist/shared/{url-Be9jlWRv.d.ts → url-CZZcyPI0.d.cts} +92 -5
- package/dist/shared/{url-Be9jlWRv.d.cts → url-CZZcyPI0.d.ts} +92 -5
- package/dist/shared/{url-CFN1sT9S.cjs → url-CzHqE-Fg.cjs} +83 -4
- package/dist/shared/{url-CFN1sT9S.cjs.map → url-CzHqE-Fg.cjs.map} +1 -1
- package/dist/shared/{url-B3ocFlHj.js → url-Dsr4c5r5.js} +78 -5
- package/dist/shared/{url-B3ocFlHj.js.map → url-Dsr4c5r5.js.map} +1 -1
- package/dist/web/index.cjs +4 -3
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.cts +1 -1
- package/dist/web/index.d.ts +1 -1
- package/dist/web/index.js +2 -1
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/shared/render-CiL1VS0b.js.map +0 -1
- package/dist/shared/render-DNTESBSl.cjs.map +0 -1
- package/dist/shared/storage-BLmXmzKF.cjs.map +0 -1
- package/dist/shared/storage-CCxn0Kkv.js.map +0 -1
- package/dist/shared/storage-C_eICCep.d.cts +0 -152
- package/dist/shared/storage-C_eICCep.d.ts +0 -152
|
@@ -312,6 +312,7 @@ declare const ItdErrorCode: Readonly<{
|
|
|
312
312
|
readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
313
313
|
readonly MISSING_FLOW_TOKEN: "MISSING_FLOW_TOKEN";
|
|
314
314
|
readonly PROFILE_USERNAME_TAKEN: "PROFILE_USERNAME_TAKEN";
|
|
315
|
+
readonly PROFILE_USERNAME_RESERVED: "PROFILE_USERNAME_RESERVED";
|
|
315
316
|
readonly PROFILE_RESTRICTION_ACTIVE: "PROFILE_RESTRICTION_ACTIVE";
|
|
316
317
|
readonly PROFILE_MODIFICATION_RESTRICTED: "PROFILE_MODIFICATION_RESTRICTED";
|
|
317
318
|
readonly CONTENT_MODERATION_FAILED: "CONTENT_MODERATION_FAILED";
|
|
@@ -403,6 +404,15 @@ declare const BUCKET_LIMITS: Readonly<{
|
|
|
403
404
|
readonly 'users.updateMe': 3;
|
|
404
405
|
readonly 'reports.create': 3;
|
|
405
406
|
readonly 'verification.submit': 3;
|
|
407
|
+
readonly shop: 150;
|
|
408
|
+
readonly 'shop.delivery.cities': 60;
|
|
409
|
+
readonly 'shop.delivery.calculate': 45;
|
|
410
|
+
readonly 'shop.delivery.points': 30;
|
|
411
|
+
readonly 'shop.consents.record': 15;
|
|
412
|
+
readonly 'shop.orders.pay': 13;
|
|
413
|
+
readonly 'shop.orders.verifyAccessCode': 13;
|
|
414
|
+
readonly 'shop.orders.create': 12;
|
|
415
|
+
readonly 'shop.orders.requestAccessCode': 4;
|
|
406
416
|
}>;
|
|
407
417
|
/** Имя встроенного бакета. */
|
|
408
418
|
type RateLimitBucket = keyof typeof BUCKET_LIMITS;
|
|
@@ -845,6 +855,69 @@ declare const OPERATIONS: Readonly<{
|
|
|
845
855
|
readonly method: "POST";
|
|
846
856
|
readonly retrySafety: "unsafe";
|
|
847
857
|
}>;
|
|
858
|
+
readonly 'shop.products.list': Readonly<{
|
|
859
|
+
readonly method: "GET";
|
|
860
|
+
readonly retrySafety: "safe";
|
|
861
|
+
readonly bucket: "shop";
|
|
862
|
+
}>;
|
|
863
|
+
readonly 'shop.products.get': Readonly<{
|
|
864
|
+
readonly method: "GET";
|
|
865
|
+
readonly retrySafety: "safe";
|
|
866
|
+
readonly bucket: "shop";
|
|
867
|
+
}>;
|
|
868
|
+
readonly 'shop.delivery.countries': Readonly<{
|
|
869
|
+
readonly method: "GET";
|
|
870
|
+
readonly retrySafety: "safe";
|
|
871
|
+
readonly bucket: "shop";
|
|
872
|
+
}>;
|
|
873
|
+
readonly 'shop.delivery.cities': Readonly<{
|
|
874
|
+
readonly method: "GET";
|
|
875
|
+
readonly retrySafety: "safe";
|
|
876
|
+
readonly bucket: "shop.delivery.cities";
|
|
877
|
+
}>;
|
|
878
|
+
readonly 'shop.delivery.points': Readonly<{
|
|
879
|
+
readonly method: "GET";
|
|
880
|
+
readonly retrySafety: "safe";
|
|
881
|
+
readonly bucket: "shop.delivery.points";
|
|
882
|
+
}>;
|
|
883
|
+
readonly 'shop.delivery.calculate': Readonly<{
|
|
884
|
+
readonly method: "POST";
|
|
885
|
+
readonly retrySafety: "safe";
|
|
886
|
+
readonly bucket: "shop.delivery.calculate";
|
|
887
|
+
}>;
|
|
888
|
+
readonly 'shop.orders.create': Readonly<{
|
|
889
|
+
readonly method: "POST";
|
|
890
|
+
readonly retrySafety: "idempotent";
|
|
891
|
+
readonly bucket: "shop.orders.create";
|
|
892
|
+
}>;
|
|
893
|
+
readonly 'shop.orders.list': Readonly<{
|
|
894
|
+
readonly method: "GET";
|
|
895
|
+
readonly retrySafety: "safe";
|
|
896
|
+
}>;
|
|
897
|
+
readonly 'shop.orders.get': Readonly<{
|
|
898
|
+
readonly method: "GET";
|
|
899
|
+
readonly retrySafety: "safe";
|
|
900
|
+
}>;
|
|
901
|
+
readonly 'shop.orders.pay': Readonly<{
|
|
902
|
+
readonly method: "POST";
|
|
903
|
+
readonly retrySafety: "unsafe";
|
|
904
|
+
readonly bucket: "shop.orders.pay";
|
|
905
|
+
}>;
|
|
906
|
+
readonly 'shop.orders.requestAccessCode': Readonly<{
|
|
907
|
+
readonly method: "POST";
|
|
908
|
+
readonly retrySafety: "unsafe";
|
|
909
|
+
readonly bucket: "shop.orders.requestAccessCode";
|
|
910
|
+
}>;
|
|
911
|
+
readonly 'shop.orders.verifyAccessCode': Readonly<{
|
|
912
|
+
readonly method: "POST";
|
|
913
|
+
readonly retrySafety: "unsafe";
|
|
914
|
+
readonly bucket: "shop.orders.verifyAccessCode";
|
|
915
|
+
}>;
|
|
916
|
+
readonly 'shop.consents.record': Readonly<{
|
|
917
|
+
readonly method: "POST";
|
|
918
|
+
readonly retrySafety: "unsafe";
|
|
919
|
+
readonly bucket: "shop.consents.record";
|
|
920
|
+
}>;
|
|
848
921
|
}>;
|
|
849
922
|
/** Стабильный ID встроенной операции. */
|
|
850
923
|
type BuiltInOperationId = keyof typeof OPERATIONS;
|
|
@@ -1289,7 +1362,7 @@ interface OperationDefinition extends OperationMetadata {
|
|
|
1289
1362
|
//#endregion
|
|
1290
1363
|
//#region src/core/version.d.ts
|
|
1291
1364
|
/** Версия библиотеки. Попадает в `User-Agent`. */
|
|
1292
|
-
declare const LIBRARY_VERSION = "0.
|
|
1365
|
+
declare const LIBRARY_VERSION = "0.9.1";
|
|
1293
1366
|
//#endregion
|
|
1294
1367
|
//#region src/core/config.d.ts
|
|
1295
1368
|
/** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
|
|
@@ -1905,13 +1978,25 @@ interface MyProfile extends ProfileBase {
|
|
|
1905
1978
|
* Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
|
|
1906
1979
|
* а `user` — `null`.
|
|
1907
1980
|
*/
|
|
1981
|
+
interface AuthUser {
|
|
1982
|
+
id: UserId;
|
|
1983
|
+
username: string;
|
|
1984
|
+
displayName: string;
|
|
1985
|
+
/** Эмодзи-аватар, см. {@link Author.avatar}. */
|
|
1986
|
+
avatar: string;
|
|
1987
|
+
bio: string;
|
|
1988
|
+
verified: boolean;
|
|
1989
|
+
isPhoneVerified: boolean;
|
|
1990
|
+
/** Роли текущего пользователя, например `user`. */
|
|
1991
|
+
roles: string[];
|
|
1992
|
+
}
|
|
1908
1993
|
interface AuthState {
|
|
1909
1994
|
/** Есть ли действующая сессия. */
|
|
1910
1995
|
authenticated: boolean;
|
|
1911
1996
|
/** Заблокирован ли текущий аккаунт. */
|
|
1912
1997
|
banned: boolean;
|
|
1913
|
-
/**
|
|
1914
|
-
user:
|
|
1998
|
+
/** Компактные данные текущего пользователя либо `null` без действующей сессии. */
|
|
1999
|
+
user: AuthUser | null;
|
|
1915
2000
|
}
|
|
1916
2001
|
/**
|
|
1917
2002
|
* Чужой профиль — ответ `GET /api/users/{id|username}`.
|
|
@@ -1926,6 +2011,8 @@ interface PublicProfile extends ProfileBase {
|
|
|
1926
2011
|
isFollowing: boolean;
|
|
1927
2012
|
/** Подписан ли он на вас. */
|
|
1928
2013
|
isFollowedBy: boolean;
|
|
2014
|
+
/** Может ли текущий пользователь написать этому профилю личное сообщение. */
|
|
2015
|
+
canMessage: boolean;
|
|
1929
2016
|
/** Сейчас ли пользователь в сети. */
|
|
1930
2017
|
online: boolean;
|
|
1931
2018
|
/** Когда был в сети. `null`, если скрыто настройками приватности. */
|
|
@@ -2117,5 +2204,5 @@ declare function isKnownNotificationType(type: string): boolean;
|
|
|
2117
2204
|
*/
|
|
2118
2205
|
declare function resolveNotificationUrl(notification: Notification): string;
|
|
2119
2206
|
//#endregion
|
|
2120
|
-
export {
|
|
2121
|
-
//# sourceMappingURL=url-
|
|
2207
|
+
export { isItdStateError as $, DEFAULT_RATE_LIMIT_BUCKET as $t, ItdErrorKind as A, RequestOptions as At, ItdStateError as B, RuntimeMode as Bt, ItdApiError as C, PaginationOptions as Ct, ItdConfigError as D, RawRequestOptions as Dt, ItdAuthError as E, RateLimitOptions as Et, ItdNetworkError as F, RuntimeOptions as Ft, isItdConflictError as G, ItdOperationDefinition as Gt, ItdValidationError as H, systemClock as Ht, ItdNotFoundError as I, QueryParams as It, isItdForbiddenError as J, isBuiltInOperationId as Jt, isItdError as K, OPERATIONS as Kt, ItdPhoneVerificationError as L, QueryValue as Lt, ItdFileError as M, RetryContext as Mt, ItdFileErrorReason as N, RetryDecisionContext as Nt, ItdConflictError as O, RequestContext as Ot, ItdForbiddenError as P, RetryOptions as Pt, isItdServerError as Q, BUCKET_LIMITS as Qt, ItdRateLimitError as R, ServiceDefinition as Rt, ItdAbortError as S, WallAccess as Sn, OperationRequestOptions as St, ItdApiErrorKind as T, RateLimitBucketOverride as Tt, isItdApiError as U, BuiltInOperationId as Ut, ItdTimeoutError as V, ItdClock as Vt, isItdAuthError as W, CustomOperationId as Wt, isItdPhoneVerificationError as X, operationMethod as Xt, isItdNotFoundError as Y, operationBucket as Yt, isItdRateLimitError as Z, operationRetrySafety as Zt, PrivacySettings as _, ReportTargetType as _n, OperationMethod as _t, NotificationEvent as a, AccessType as an, bearerToken as at, SubscriptionState as b, ViewReason as bn, ErrorContextHook as bt, NotificationSettings as c, EventChannelStatus as cn, Listener as ct, AuthUser as d, InteractionType as dn, STATUS_SERVICE as dt, RateLimitBucket as en, isItdValidationError as et, Author as f, ItdErrorCode as fn, LIBRARY_VERSION as ft, PinsResult as g, ReportReason as gn, OperationMetadata as gt, Pin as h, NotificationType as hn, OperationContract as ht, formatNotificationText as i, UserRef as in, anonymousAuth as it, ItdFieldErrors as j, ResponseContext as jt, ItdError as k, RequestExtensions as kt, Actor as l, FeedTab as ln, Unsubscribe as lt, MyProfile as m, Loose as mn, OperationAnnotations as mt, canonicalNotificationType as n, Span as nn, AuthIdentity as nt, normalizeNotification as o, AttachmentType as on, tokenProvider as ot, FollowResult as p, LikesVisibility as pn, FeatureOperationId as pt, isItdFileError as q, OperationId as qt, isKnownNotificationType as r, UserId as rn, AuthProvider as rt, Notification as s, CommentSort as sn, Emitter as st, resolveNotificationUrl as t, IsoDate as tn, ClientConnection as tt, AuthState as u, IncidentKind as un, DEFAULT_BASE_URL as ut, Profile as v, ServiceState as vn, RetrySafety as vt, ItdApiErrorInit as w, RateLimitBucketContext as wt, UserSummary as x, ViewSource as xn, Logger as xt, PublicProfile as y, SpanType as yn, ClientHooks as yt, ItdServerError as z, RateLimitPacing as zt };
|
|
2208
|
+
//# sourceMappingURL=url-CZZcyPI0.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_errors = require("./errors-BmP3TKoW.cjs");
|
|
2
|
-
const require_redact = require("./redact-
|
|
2
|
+
const require_redact = require("./redact-BP00URmQ.cjs");
|
|
3
3
|
//#region src/core/async-dispose.ts
|
|
4
4
|
/**
|
|
5
5
|
* Подставляет метод `await using` там, где `Symbol.asyncDispose` отсутствует.
|
|
@@ -85,7 +85,7 @@ function requireOptionalBoolean(value, name) {
|
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/core/version.ts
|
|
87
87
|
/** Версия библиотеки. Попадает в `User-Agent`. */
|
|
88
|
-
const LIBRARY_VERSION = "0.
|
|
88
|
+
const LIBRARY_VERSION = "0.9.1";
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/core/config.ts
|
|
91
91
|
/** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
|
|
@@ -2608,7 +2608,16 @@ const BUCKET_LIMITS = Object.freeze({
|
|
|
2608
2608
|
"posts.create": 5,
|
|
2609
2609
|
"users.updateMe": 3,
|
|
2610
2610
|
"reports.create": 3,
|
|
2611
|
-
"verification.submit": 3
|
|
2611
|
+
"verification.submit": 3,
|
|
2612
|
+
shop: 150,
|
|
2613
|
+
"shop.delivery.cities": 60,
|
|
2614
|
+
"shop.delivery.calculate": 45,
|
|
2615
|
+
"shop.delivery.points": 30,
|
|
2616
|
+
"shop.consents.record": 15,
|
|
2617
|
+
"shop.orders.pay": 13,
|
|
2618
|
+
"shop.orders.verifyAccessCode": 13,
|
|
2619
|
+
"shop.orders.create": 12,
|
|
2620
|
+
"shop.orders.requestAccessCode": 4
|
|
2612
2621
|
});
|
|
2613
2622
|
/** Счётчик, из которого списывается путь без собственного правила на сервере. */
|
|
2614
2623
|
const DEFAULT_RATE_LIMIT_BUCKET = "default";
|
|
@@ -3059,6 +3068,69 @@ const OPERATIONS = freezeOperations({
|
|
|
3059
3068
|
"telemetry.interaction": {
|
|
3060
3069
|
method: "POST",
|
|
3061
3070
|
retrySafety: RetrySafety.Unsafe
|
|
3071
|
+
},
|
|
3072
|
+
"shop.products.list": {
|
|
3073
|
+
method: "GET",
|
|
3074
|
+
retrySafety: RetrySafety.Safe,
|
|
3075
|
+
bucket: "shop"
|
|
3076
|
+
},
|
|
3077
|
+
"shop.products.get": {
|
|
3078
|
+
method: "GET",
|
|
3079
|
+
retrySafety: RetrySafety.Safe,
|
|
3080
|
+
bucket: "shop"
|
|
3081
|
+
},
|
|
3082
|
+
"shop.delivery.countries": {
|
|
3083
|
+
method: "GET",
|
|
3084
|
+
retrySafety: RetrySafety.Safe,
|
|
3085
|
+
bucket: "shop"
|
|
3086
|
+
},
|
|
3087
|
+
"shop.delivery.cities": {
|
|
3088
|
+
method: "GET",
|
|
3089
|
+
retrySafety: RetrySafety.Safe,
|
|
3090
|
+
bucket: "shop.delivery.cities"
|
|
3091
|
+
},
|
|
3092
|
+
"shop.delivery.points": {
|
|
3093
|
+
method: "GET",
|
|
3094
|
+
retrySafety: RetrySafety.Safe,
|
|
3095
|
+
bucket: "shop.delivery.points"
|
|
3096
|
+
},
|
|
3097
|
+
"shop.delivery.calculate": {
|
|
3098
|
+
method: "POST",
|
|
3099
|
+
retrySafety: RetrySafety.Safe,
|
|
3100
|
+
bucket: "shop.delivery.calculate"
|
|
3101
|
+
},
|
|
3102
|
+
"shop.orders.create": {
|
|
3103
|
+
method: "POST",
|
|
3104
|
+
retrySafety: RetrySafety.Idempotent,
|
|
3105
|
+
bucket: "shop.orders.create"
|
|
3106
|
+
},
|
|
3107
|
+
"shop.orders.list": {
|
|
3108
|
+
method: "GET",
|
|
3109
|
+
retrySafety: RetrySafety.Safe
|
|
3110
|
+
},
|
|
3111
|
+
"shop.orders.get": {
|
|
3112
|
+
method: "GET",
|
|
3113
|
+
retrySafety: RetrySafety.Safe
|
|
3114
|
+
},
|
|
3115
|
+
"shop.orders.pay": {
|
|
3116
|
+
method: "POST",
|
|
3117
|
+
retrySafety: RetrySafety.Unsafe,
|
|
3118
|
+
bucket: "shop.orders.pay"
|
|
3119
|
+
},
|
|
3120
|
+
"shop.orders.requestAccessCode": {
|
|
3121
|
+
method: "POST",
|
|
3122
|
+
retrySafety: RetrySafety.Unsafe,
|
|
3123
|
+
bucket: "shop.orders.requestAccessCode"
|
|
3124
|
+
},
|
|
3125
|
+
"shop.orders.verifyAccessCode": {
|
|
3126
|
+
method: "POST",
|
|
3127
|
+
retrySafety: RetrySafety.Unsafe,
|
|
3128
|
+
bucket: "shop.orders.verifyAccessCode"
|
|
3129
|
+
},
|
|
3130
|
+
"shop.consents.record": {
|
|
3131
|
+
method: "POST",
|
|
3132
|
+
retrySafety: RetrySafety.Unsafe,
|
|
3133
|
+
bucket: "shop.consents.record"
|
|
3062
3134
|
}
|
|
3063
3135
|
});
|
|
3064
3136
|
/** Создаёт контракт результата встроенной операции с проверяемым ID. */
|
|
@@ -3356,6 +3428,7 @@ const ItdErrorCode = Object.freeze({
|
|
|
3356
3428
|
SESSION_NOT_FOUND: "SESSION_NOT_FOUND",
|
|
3357
3429
|
MISSING_FLOW_TOKEN: "MISSING_FLOW_TOKEN",
|
|
3358
3430
|
PROFILE_USERNAME_TAKEN: "PROFILE_USERNAME_TAKEN",
|
|
3431
|
+
PROFILE_USERNAME_RESERVED: "PROFILE_USERNAME_RESERVED",
|
|
3359
3432
|
PROFILE_RESTRICTION_ACTIVE: "PROFILE_RESTRICTION_ACTIVE",
|
|
3360
3433
|
PROFILE_MODIFICATION_RESTRICTED: "PROFILE_MODIFICATION_RESTRICTED",
|
|
3361
3434
|
CONTENT_MODERATION_FAILED: "CONTENT_MODERATION_FAILED",
|
|
@@ -4112,5 +4185,11 @@ Object.defineProperty(exports, "voidOperation", {
|
|
|
4112
4185
|
return voidOperation;
|
|
4113
4186
|
}
|
|
4114
4187
|
});
|
|
4188
|
+
Object.defineProperty(exports, "voidResult", {
|
|
4189
|
+
enumerable: true,
|
|
4190
|
+
get: function() {
|
|
4191
|
+
return voidResult;
|
|
4192
|
+
}
|
|
4193
|
+
});
|
|
4115
4194
|
|
|
4116
|
-
//# sourceMappingURL=url-
|
|
4195
|
+
//# sourceMappingURL=url-CzHqE-Fg.cjs.map
|