@torrow/sdk-client 0.11.0 → 0.12.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/index.d.ts +442 -337
- package/dist/index.js +7254 -53
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -133,6 +133,191 @@ type TorrowOptions = {
|
|
|
133
133
|
signal?: AbortSignal;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
+
/** Причина отказа SDK; сама по себе не определяет результат записи. */
|
|
137
|
+
declare enum TorrowSdkErrorCategory {
|
|
138
|
+
/** Неверные параметры операции. */ InvalidInput = "InvalidInput",
|
|
139
|
+
/** Операция недопустима в текущем состоянии. */ InvalidState = "InvalidState",
|
|
140
|
+
/** Подтверждённый отказ доступа. */ AccessDenied = "AccessDenied",
|
|
141
|
+
/** Недостаточно данных для безопасного выполнения. */ InsufficientData = "InsufficientData",
|
|
142
|
+
/** Ответ не соответствует ожидаемой структуре. */ InvalidResponse = "InvalidResponse",
|
|
143
|
+
/** Доказанное несовпадение версии. */ VersionConflict = "VersionConflict",
|
|
144
|
+
/** Требуется аутентификация. */ AuthenticationRequired = "AuthenticationRequired",
|
|
145
|
+
/** Способ выполнения не поддерживается. */ UnsupportedOperation = "UnsupportedOperation",
|
|
146
|
+
/** Сервер ограничил частоту запросов. */ RateLimited = "RateLimited",
|
|
147
|
+
/** Прочий HTTP-отказ. */ HttpFailure = "HttpFailure",
|
|
148
|
+
/** Распознанный сбой транспорта. */ TransportFailure = "TransportFailure",
|
|
149
|
+
/** Сбой сохранения или загрузки состояния. */ StorageFailure = "StorageFailure",
|
|
150
|
+
/** Запрос отменён. */ Cancelled = "Cancelled",
|
|
151
|
+
/** Причина зависимости не распознана. */ Unknown = "Unknown"
|
|
152
|
+
}
|
|
153
|
+
/** Начало вызова fetch конкретного запроса, без гарантии доставки. */
|
|
154
|
+
declare enum TorrowSdkRequestState {
|
|
155
|
+
/** fetch ещё не вызван. */ NotStarted = "NotStarted",
|
|
156
|
+
/** Начат вызов fetch. */ Started = "Started"
|
|
157
|
+
}
|
|
158
|
+
/** Область описанного предметного изменения. */
|
|
159
|
+
declare enum TorrowSdkEffectArea {
|
|
160
|
+
/** Изменение на сервере. */ Remote = "Remote",
|
|
161
|
+
/** Изменение памяти текущей сессии. */ SessionMemory = "SessionMemory",
|
|
162
|
+
/** Изменение постоянного хранилища. */ Storage = "Storage"
|
|
163
|
+
}
|
|
164
|
+
/** Доказанность отдельного изменения. */
|
|
165
|
+
declare enum TorrowSdkEffectState {
|
|
166
|
+
/** Доказано отсутствие изменения. */ NotApplied = "NotApplied",
|
|
167
|
+
/** Выполнение изменения подтверждено. */ Applied = "Applied",
|
|
168
|
+
/** Результат изменения неизвестен. */ Unknown = "Unknown"
|
|
169
|
+
}
|
|
170
|
+
/** Домен предметного уточнения ошибки. */
|
|
171
|
+
declare enum TorrowSdkErrorDomain {
|
|
172
|
+
/** Чтение метаданных необязательных файлов. */ FileMetadata = "FileMetadata",
|
|
173
|
+
/** Частичное обновление item через GET и CAS PUT. */ ItemPatch = "ItemPatch",
|
|
174
|
+
/** Настройки поведения услуг и ресурсов. */ BehaviorSettings = "BehaviorSettings",
|
|
175
|
+
/** Пошаговый OTP. */ Otp = "Otp",
|
|
176
|
+
/** Сессия токенов и составной вход. */ AuthSession = "AuthSession"
|
|
177
|
+
}
|
|
178
|
+
/** Причины недостаточных данных для чтения метаданных файла. */
|
|
179
|
+
declare enum FileMetadataErrorReason {
|
|
180
|
+
/** Полнота карточки не подтверждена. */ ContentTypeUnavailable = "ContentTypeUnavailable",
|
|
181
|
+
/** Подписка не позволяет получить полную карточку. */ SubscriptionIsNotValid = "SubscriptionIsNotValid",
|
|
182
|
+
/** Ссылка на файл не содержит ID. */ FileIdUnavailable = "FileIdUnavailable",
|
|
183
|
+
/** Подписка в полной коллекции не содержит ID. */ SubscriptionIdUnavailable = "SubscriptionIdUnavailable"
|
|
184
|
+
}
|
|
185
|
+
/** Имена составных операций чтения метаданных. */
|
|
186
|
+
declare enum FileMetadataOperation {
|
|
187
|
+
/** Изображение начальной подписки программы лояльности. */ GetInitialSubscriptionImageInfo = "getInitialSubscriptionImageInfo",
|
|
188
|
+
/** Аватар элемента. */ GetImageInfo = "getImageInfo",
|
|
189
|
+
/** Вложение заметки. */ GetFileInfo = "getFileInfo",
|
|
190
|
+
/** Фотография контакта. */ GetPhotoInfo = "getPhotoInfo",
|
|
191
|
+
/** Изображение выбранной подписки карты. */ GetSubscriptionImageInfo = "getSubscriptionImageInfo"
|
|
192
|
+
}
|
|
193
|
+
/** Локальные стадии чтения метаданных. */
|
|
194
|
+
declare enum FileMetadataFailureAt {
|
|
195
|
+
/** Проверка аргументов. */ ValidateInput = "ValidateInput",
|
|
196
|
+
/** Чтение карточки. */ ReadItem = "ReadItem",
|
|
197
|
+
/** Проверка полной карточки и связи. */ ValidateItem = "ValidateItem",
|
|
198
|
+
/** Чтение метаданных. */ ReadMetadata = "ReadMetadata",
|
|
199
|
+
/** Проверка ответа метаданных. */ ValidateMetadata = "ValidateMetadata"
|
|
200
|
+
}
|
|
201
|
+
/** Безопасное предметное уточнение чтения файла. */
|
|
202
|
+
interface FileMetadataErrorDetail {
|
|
203
|
+
/** Домен чтения метаданных. */ readonly domain: TorrowSdkErrorDomain.FileMetadata;
|
|
204
|
+
/** Дополнительная причина недостаточности данных. */ readonly reason?: FileMetadataErrorReason;
|
|
205
|
+
}
|
|
206
|
+
/** Причина отказа OTP. */
|
|
207
|
+
declare enum OtpErrorReason {
|
|
208
|
+
/** Неверное продолжение. */ InvalidChallenge = "InvalidChallenge",
|
|
209
|
+
/** Метод не поддержан приложением. */ UnsupportedMethod = "UnsupportedMethod",
|
|
210
|
+
/** Отсутствует заголовок авторизации. */ AuthHeaderMissing = "AuthHeaderMissing",
|
|
211
|
+
/** Исчерпан лимит отправки. */ CodeRequestLimitExceeded = "CodeRequestLimitExceeded"
|
|
212
|
+
}
|
|
213
|
+
/** Причина отказа сессии. */
|
|
214
|
+
declare enum AuthSessionErrorReason {
|
|
215
|
+
/** Сессия ещё не готова к выдаче токенов. */ SessionNotReady = "SessionNotReady",
|
|
216
|
+
/** Ошибка пользовательского callback. */ CallbackFailed = "CallbackFailed"
|
|
217
|
+
}
|
|
218
|
+
/** Шаги изменения настроек. */
|
|
219
|
+
declare enum BehaviorSettingsEffectStep {
|
|
220
|
+
/** Целевая запись настроек. */ Write = "Write"
|
|
221
|
+
}
|
|
222
|
+
/** Шаг частичного изменения основного документа; не транзакция внутренних действий сервера. */
|
|
223
|
+
declare enum ItemPatchEffectStep {
|
|
224
|
+
/** Запись основного документа элемента. */ Write = "Write"
|
|
225
|
+
}
|
|
226
|
+
/** Шаги изменения сессии. */
|
|
227
|
+
declare enum AuthSessionEffectStep {
|
|
228
|
+
/** Создание серверного продолжения входа по ссылке. */ CreateAuthSession = "CreateAuthSession",
|
|
229
|
+
/** Закрытие локальной сессии. */ CloseSession = "CloseSession",
|
|
230
|
+
/** Выдача токенов. */ IssueTokens = "IssueTokens",
|
|
231
|
+
/** Обновление токенов. */ RefreshTokens = "RefreshTokens",
|
|
232
|
+
/** Отзыв токенов. */ RevokeTokens = "RevokeTokens",
|
|
233
|
+
/** Отправка кода или ссылки. */ SendCode = "SendCode",
|
|
234
|
+
/** Замена токенов в памяти. */ SetTokens = "SetTokens",
|
|
235
|
+
/** Очистка токенов в памяти. */ ClearTokens = "ClearTokens",
|
|
236
|
+
/** Сохранение токенов. */ SaveTokens = "SaveTokens",
|
|
237
|
+
/** Очистка хранилища. */ ClearStorage = "ClearStorage"
|
|
238
|
+
}
|
|
239
|
+
/** Безопасное описание отдельного изменения; не журнал всех вызовов. */
|
|
240
|
+
interface TorrowSdkEffect {
|
|
241
|
+
/** Область изменения. */ readonly area: TorrowSdkEffectArea;
|
|
242
|
+
/** Предметный шаг выбранного метода. */ readonly step: BehaviorSettingsEffectStep | AuthSessionEffectStep | ItemPatchEffectStep;
|
|
243
|
+
/** Доказанность результата шага. */ readonly state: TorrowSdkEffectState;
|
|
244
|
+
}
|
|
245
|
+
/** Предметное уточнение настроек. */
|
|
246
|
+
interface BehaviorSettingsErrorDetail {
|
|
247
|
+
/** Область ошибки настроек. */ readonly domain: TorrowSdkErrorDomain.BehaviorSettings;
|
|
248
|
+
/** У настроек нет дополнительной причины; доступ к общему optional reason остаётся типизированным. */ readonly reason?: never;
|
|
249
|
+
}
|
|
250
|
+
/** Безопасное уточнение частичного изменения элемента. */
|
|
251
|
+
interface ItemPatchErrorDetail {
|
|
252
|
+
/** Область ошибки составной операции patch. */ readonly domain: TorrowSdkErrorDomain.ItemPatch;
|
|
253
|
+
/** Достаточно общей категории; дополнительная причина не вводится. */ readonly reason?: never;
|
|
254
|
+
}
|
|
255
|
+
/** Предметное уточнение OTP; секреты здесь не размещаются. */
|
|
256
|
+
interface OtpErrorDetail {
|
|
257
|
+
/** Область ошибки OTP. */ readonly domain: TorrowSdkErrorDomain.Otp;
|
|
258
|
+
/** Дополнительное уточнение; отсутствие означает, что достаточно category. */ readonly reason?: OtpErrorReason;
|
|
259
|
+
/** Проверенное время следующей отправки, Unix milliseconds; отсутствует без подсказки. */ readonly nextSendAtMs?: number;
|
|
260
|
+
/** Проверенная длительность ожидания в секундах. */ readonly retryAfterSeconds?: number;
|
|
261
|
+
}
|
|
262
|
+
/** Предметное уточнение сессии. */
|
|
263
|
+
interface AuthSessionErrorDetail {
|
|
264
|
+
/** Область ошибки сессии. */ readonly domain: TorrowSdkErrorDomain.AuthSession;
|
|
265
|
+
/** Дополнительное уточнение; отсутствие означает, что достаточно category. */ readonly reason?: AuthSessionErrorReason;
|
|
266
|
+
}
|
|
267
|
+
/** Поддержанные предметные детали ошибки. */
|
|
268
|
+
type TorrowSdkErrorDetail = BehaviorSettingsErrorDetail | ItemPatchErrorDetail | OtpErrorDetail | AuthSessionErrorDetail | FileMetadataErrorDetail;
|
|
269
|
+
/** Безопасные HTTP-метаданные без тела и URL. */
|
|
270
|
+
interface TorrowSdkHttpDetails {
|
|
271
|
+
/** Статус полученного ответа. */ readonly status: number;
|
|
272
|
+
/** Код API; числовой wire-код приводится к строке. */ readonly apiCode?: string;
|
|
273
|
+
/** Известное SDK кодовое имя; произвольные серверные строки исключены. */ readonly apiErrorName?: string;
|
|
274
|
+
/** Идентификатор запроса для поддержки. */ readonly requestId?: string;
|
|
275
|
+
/** Идентификатор трассировки сервера. */ readonly traceIdentifier?: string;
|
|
276
|
+
}
|
|
277
|
+
/** Чувствительная диагностика; доступна только по явному запросу. */
|
|
278
|
+
interface TorrowSdkSensitiveDetails {
|
|
279
|
+
/** Исходное исключение зависимости, включая его исходный стек. */ readonly cause?: unknown;
|
|
280
|
+
/** Исходное тело ответа. */ readonly body?: unknown;
|
|
281
|
+
/** Полный URL запроса, который может содержать токены. */ readonly url?: string;
|
|
282
|
+
/** Данные явного отзыва OTP-токенов. */ readonly cleanup?: {
|
|
283
|
+
/** Секрет отзыва; не логировать. */ readonly refreshToken: string;
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
/** Безопасный снимок ошибки. Отсутствие effects не доказывает отсутствие изменений. */
|
|
287
|
+
interface TorrowSdkErrorInfo {
|
|
288
|
+
/** Общая причина отказа. */ readonly category: TorrowSdkErrorCategory;
|
|
289
|
+
/** Необязательное пояснение для человека, не для ветвления. Передающий текст отвечает за его безопасность. */ readonly publicMessage?: string;
|
|
290
|
+
/** Метаданные HTTP, если они известны. */ readonly http?: TorrowSdkHttpDetails;
|
|
291
|
+
/** Предметное уточнение выбранного домена. */ readonly detail?: TorrowSdkErrorDetail;
|
|
292
|
+
/** Начало fetch соответствующего запроса. */ readonly request?: TorrowSdkRequestState;
|
|
293
|
+
/** Стабильное имя выбранной составной операции, без аргументов. */ readonly operation?: string;
|
|
294
|
+
/** Локальная стадия сбоя, без пользовательских данных. */ readonly failureAt?: string;
|
|
295
|
+
/** Только описанные изменения данной операции; отсутствие означает отсутствие сведений. */ readonly effects?: readonly TorrowSdkEffect[];
|
|
296
|
+
}
|
|
297
|
+
/** Параметры создания ошибки; безопасные поля унаследованы из TorrowSdkErrorInfo. */
|
|
298
|
+
interface TorrowSdkErrorInit extends TorrowSdkErrorInfo {
|
|
299
|
+
/** Исходные данные, исключённые из стандартной диагностики. */ readonly sensitive?: TorrowSdkSensitiveDetails;
|
|
300
|
+
}
|
|
301
|
+
/** Единая ошибка сетевых и выбранных предметных операций SDK. */
|
|
302
|
+
declare class TorrowSdkError extends Error implements TorrowSdkErrorInfo {
|
|
303
|
+
#private;
|
|
304
|
+
/** Общая причина отказа. */ readonly category: TorrowSdkErrorCategory;
|
|
305
|
+
/** Пояснение без изменения исходной строки: до 512 UTF-16 единиц, не пустое после trim; иначе undefined. */ readonly publicMessage?: string;
|
|
306
|
+
/** Безопасные метаданные ответа. */ readonly http?: TorrowSdkHttpDetails;
|
|
307
|
+
/** Неизменяемое предметное уточнение. */ readonly detail?: TorrowSdkErrorDetail;
|
|
308
|
+
/** Начало fetch; не доставка. */ readonly request?: TorrowSdkRequestState;
|
|
309
|
+
/** Имя составной операции без пользовательских значений. */ readonly operation?: string;
|
|
310
|
+
/** Стадия отказа без аргументов. */ readonly failureAt?: string;
|
|
311
|
+
/** Неизменяемые сведения об описанных изменениях. */ readonly effects?: readonly TorrowSdkEffect[];
|
|
312
|
+
constructor(init: TorrowSdkErrorInit);
|
|
313
|
+
/** Безопасный снимок для обычной сериализации и диагностики. */
|
|
314
|
+
toJSON(): TorrowSdkErrorInfo;
|
|
315
|
+
/** Явный доступ к секретной диагностике; вызывающий код отвечает за её защиту. */
|
|
316
|
+
getSensitiveDetails(): TorrowSdkSensitiveDetails;
|
|
317
|
+
/** Новый снимок для составной операции; исходная ошибка не изменяется. */
|
|
318
|
+
withContext(context: Partial<TorrowSdkErrorInfo>): TorrowSdkError;
|
|
319
|
+
}
|
|
320
|
+
|
|
136
321
|
/**
|
|
137
322
|
* This file was auto-generated by openapi-typescript.
|
|
138
323
|
* Do not make direct changes to the file.
|
|
@@ -37336,60 +37521,6 @@ interface components {
|
|
|
37336
37521
|
pathItems: never;
|
|
37337
37522
|
}
|
|
37338
37523
|
|
|
37339
|
-
/**
|
|
37340
|
-
* Единый алиас на `components["schemas"]`.
|
|
37341
|
-
* Локальные `type Schemas = …` в разных модулях при склейке `index.d.ts` (tsup) дают коллизии имён и суффиксы `$1`, `$2`, …
|
|
37342
|
-
*/
|
|
37343
|
-
type OpenApiSchemas = components["schemas"];
|
|
37344
|
-
|
|
37345
|
-
/**
|
|
37346
|
-
* `GET .../participants` для **Contact** и **Case** в Swagger: **`lmfrom`** / **`lmto`** (нижний регистр).
|
|
37347
|
-
*/
|
|
37348
|
-
type ContactCaseParticipantsListQuery = {
|
|
37349
|
-
participantStateList?: OpenApiSchemas["ParticipantState"][] | null;
|
|
37350
|
-
participantTypeList?: OpenApiSchemas["ParticipantType"][] | null;
|
|
37351
|
-
take?: number | null;
|
|
37352
|
-
skip?: number | null;
|
|
37353
|
-
lmfrom?: Date | null;
|
|
37354
|
-
lmto?: Date | null;
|
|
37355
|
-
includeDeleted?: boolean | null;
|
|
37356
|
-
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37357
|
-
};
|
|
37358
|
-
/** `GET .../caseparticipants` — query как в Swagger (**caseParticipant***, **lmfrom** / **lmto**). */
|
|
37359
|
-
type CaseParticipantsListQuery = {
|
|
37360
|
-
caseParticipantStateList?: OpenApiSchemas["CaseParticipantState"][] | null;
|
|
37361
|
-
caseParticipantTypeList?: OpenApiSchemas["CaseParticipantType"][] | null;
|
|
37362
|
-
agentType?: OpenApiSchemas["AgentType"] | null;
|
|
37363
|
-
take?: number | null;
|
|
37364
|
-
skip?: number | null;
|
|
37365
|
-
lmfrom?: Date | null;
|
|
37366
|
-
lmto?: Date | null;
|
|
37367
|
-
includeDeleted?: boolean | null;
|
|
37368
|
-
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37369
|
-
securityToken?: string | null;
|
|
37370
|
-
};
|
|
37371
|
-
/** `GET .../caseparticipants/count` и `.../nonanonymous`. */
|
|
37372
|
-
type CaseParticipantsCountQuery = {
|
|
37373
|
-
caseParticipantStateList?: OpenApiSchemas["CaseParticipantState"][] | null;
|
|
37374
|
-
caseParticipantTypeList?: OpenApiSchemas["CaseParticipantType"][] | null;
|
|
37375
|
-
agentType?: OpenApiSchemas["AgentType"] | null;
|
|
37376
|
-
securityToken?: string | null;
|
|
37377
|
-
};
|
|
37378
|
-
/** `GET .../{id}/tags` (Contact / Case) — фильтры списка тегов. */
|
|
37379
|
-
type ItemTagsListQuery = {
|
|
37380
|
-
itemType?: OpenApiSchemas["TorrowObjectType"] | null;
|
|
37381
|
-
text?: string | null;
|
|
37382
|
-
minParticipantType?: OpenApiSchemas["ParticipantType"] | null;
|
|
37383
|
-
operationType?: OpenApiSchemas["OperationType"] | null;
|
|
37384
|
-
recursionDepth?: number | null;
|
|
37385
|
-
take?: number | null;
|
|
37386
|
-
skip?: number | null;
|
|
37387
|
-
lmfrom?: Date | null;
|
|
37388
|
-
lmto?: Date | null;
|
|
37389
|
-
includeDeleted?: boolean | null;
|
|
37390
|
-
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37391
|
-
};
|
|
37392
|
-
|
|
37393
37524
|
/**
|
|
37394
37525
|
* Единые алиасы OpenAPI schema → `*Dto` / shared имена.
|
|
37395
37526
|
* Собрано скриптом `scripts/build-openapi-dto-aliases.mjs` — не дублировать `export type … = components[…]` в доменных `dto.ts`,
|
|
@@ -37576,6 +37707,12 @@ type VerifyCommunicationCodeRespDto = components["schemas"]["VerifyCommunication
|
|
|
37576
37707
|
type ViewInfoDto = components["schemas"]["ViewInfo"];
|
|
37577
37708
|
type WorkloadPeriodDto = components["schemas"]["WorkloadPeriod"];
|
|
37578
37709
|
|
|
37710
|
+
/**
|
|
37711
|
+
* Единый алиас на `components["schemas"]`.
|
|
37712
|
+
* Локальные `type Schemas = …` в разных модулях при склейке `index.d.ts` (tsup) дают коллизии имён и суффиксы `$1`, `$2`, …
|
|
37713
|
+
*/
|
|
37714
|
+
type OpenApiSchemas = components["schemas"];
|
|
37715
|
+
|
|
37579
37716
|
type SolutionData = OpenApiSchemas["SolutionData"];
|
|
37580
37717
|
type PersonalSolutionData = OpenApiSchemas["PersonalSolutionData"];
|
|
37581
37718
|
type Metrics = OpenApiSchemas["Metrics"];
|
|
@@ -37611,6 +37748,49 @@ type LayoutTypeValue = (typeof LayoutTypeValues)[keyof typeof LayoutTypeValues];
|
|
|
37611
37748
|
*/
|
|
37612
37749
|
type ManagedSolutionData = Pick<SolutionData, "layoutType" | "viewBlockSettings" | "homeItemIds" | "quickFilterTags" | "metrics">;
|
|
37613
37750
|
|
|
37751
|
+
/**
|
|
37752
|
+
* Поддерживаемая публичность SDK. Private временно исключён из-за серверного дефекта;
|
|
37753
|
+
* Undefined исключён по решению контракта. Ответы с обоими значениями читаются как Personal.
|
|
37754
|
+
* Возврат Private требует подтверждённого исправления сервера, Undefined — отдельного решения.
|
|
37755
|
+
*/
|
|
37756
|
+
type PublicityType = Exclude<PublicityTypeDto, "Private" | "Undefined">;
|
|
37757
|
+
/**
|
|
37758
|
+
* Публичная проекция серверной модели: сужает объявленное publicityType, включая вложенные DTO.
|
|
37759
|
+
* Сохраняет optional/null, даты, массивы и непрозрачные пользовательские данные unknown.
|
|
37760
|
+
*/
|
|
37761
|
+
type NormalizedPublicity<T> = T extends Date ? T : T extends object ? {
|
|
37762
|
+
[K in keyof T]: K extends "publicityType" ? Exclude<T[K], "Private" | "Undefined"> : NormalizedPublicity<T[K]>;
|
|
37763
|
+
} : T;
|
|
37764
|
+
|
|
37765
|
+
/**
|
|
37766
|
+
* Корень иерархии объектов Torrow: схема OpenAPI `TorrowObject`.
|
|
37767
|
+
* `format: date-time` → `Date` в **`generated.ts`** (см. **`scripts/openapi-codegen.mjs`**).
|
|
37768
|
+
*/
|
|
37769
|
+
type TorrowObject = TorrowObjectDto;
|
|
37770
|
+
/**
|
|
37771
|
+
* Общие поля item: схема `TorrowItem` + явное пересечение с `TorrowObject`, чтобы тип оставался подтипом `TorrowObject`.
|
|
37772
|
+
*/
|
|
37773
|
+
type TorrowItem = NormalizedPublicity<TorrowItemDto> & TorrowObject;
|
|
37774
|
+
/**
|
|
37775
|
+
* Публичный item-тип из доменного OpenAPI-DTO: пересечение с **`TorrowItem`**, чтобы в типах явно
|
|
37776
|
+
* участвовали общие поля item и связь с **`TorrowObject`** (после codegen даты уже **`Date`** в DTO).
|
|
37777
|
+
*/
|
|
37778
|
+
type TorrowItemFromDto<D extends object> = NormalizedPublicity<D> & TorrowItem;
|
|
37779
|
+
/**
|
|
37780
|
+
* Ключи, которые не должны попадать в тело create/update: профиль и дискриминатор,
|
|
37781
|
+
* поля социального слоя с отдельными эндпоинтами (`TorrowItemCoreFacade` / `TorrowItemFacade`),
|
|
37782
|
+
* служебный `meta`, серверные агрегаты, `contactProperties` контактов
|
|
37783
|
+
* (`id` и `image` в теле допустимы — в т.ч. клиентский `id` и `FileInfo` после presigned upload).
|
|
37784
|
+
* (`ContactsFacade.updateContactProperties`), **`searchMode`** и **`anyoneAccess`**
|
|
37785
|
+
* (read-only для всех item: вычисляются на сервере от **`publicityType`**), а также **`activityStatus`** и **`registerInfo`**
|
|
37786
|
+
* (read-only на `ContactItem` в продукте / OpenAPI; у прочих item-типов ключей нет — `Omit` без эффекта),
|
|
37787
|
+
* а также **`profileType`**, **`profileProperties`**, **`hasTimetable`** контакта
|
|
37788
|
+
* (сценарий Профиля — `POST /api/v1/user/profiles`, тип **`UserProfileItemForAdd`**).
|
|
37789
|
+
*/
|
|
37790
|
+
type TorrowItemKeysExcludedFromItemWriteBody = "personalInfo" | "discriminator" | "publicityType" | "masterInfo" | "integrationIds" | "tags" | "groupInfo" | "solutionData" | "childItemStats" | "feedbackOptions" | "uniqueName" | "blockInfo" | "meta" | "contactProperties" | "activityStatus" | "registerInfo" | "searchMode" | "anyoneAccess" | "profileType" | "profileProperties" | "hasTimetable";
|
|
37791
|
+
/** Поля item в телах create/update: без ключей, исключённых в `TorrowItemKeysExcludedFromItemWriteBody`. */
|
|
37792
|
+
type TorrowItemForCreateOrUpdate<T extends TorrowItem> = Omit<T, TorrowItemKeysExcludedFromItemWriteBody>;
|
|
37793
|
+
|
|
37614
37794
|
/** Общие параметры частичного изменения одного элемента; CAS всегда включён. */
|
|
37615
37795
|
interface TorrowItemPatchOptions {
|
|
37616
37796
|
/** Ожидаемая версия всего элемента (1..2147483647); отсутствие использует версию внутреннего GET. */
|
|
@@ -37640,43 +37820,14 @@ interface TorrowItemPatchResult<TItem> {
|
|
|
37640
37820
|
changed: boolean;
|
|
37641
37821
|
}
|
|
37642
37822
|
|
|
37643
|
-
/**
|
|
37644
|
-
* Корень иерархии объектов Torrow: схема OpenAPI `TorrowObject`.
|
|
37645
|
-
* `format: date-time` → `Date` в **`generated.ts`** (см. **`scripts/openapi-codegen.mjs`**).
|
|
37646
|
-
*/
|
|
37647
|
-
type TorrowObject = TorrowObjectDto;
|
|
37648
|
-
/**
|
|
37649
|
-
* Общие поля item: схема `TorrowItem` + явное пересечение с `TorrowObject`, чтобы тип оставался подтипом `TorrowObject`.
|
|
37650
|
-
*/
|
|
37651
|
-
type TorrowItem = TorrowItemDto & TorrowObject;
|
|
37652
|
-
/**
|
|
37653
|
-
* Публичный item-тип из доменного OpenAPI-DTO: пересечение с **`TorrowItem`**, чтобы в типах явно
|
|
37654
|
-
* участвовали общие поля item и связь с **`TorrowObject`** (после codegen даты уже **`Date`** в DTO).
|
|
37655
|
-
*/
|
|
37656
|
-
type TorrowItemFromDto<D extends object> = D & TorrowItem;
|
|
37657
|
-
/**
|
|
37658
|
-
* Ключи, которые не должны попадать в тело create/update: профиль и дискриминатор,
|
|
37659
|
-
* поля социального слоя с отдельными эндпоинтами (`TorrowItemCoreFacade` / `TorrowItemFacade`),
|
|
37660
|
-
* служебный `meta`, серверные агрегаты, `contactProperties` контактов
|
|
37661
|
-
* (`id` и `image` в теле допустимы — в т.ч. клиентский `id` и `FileInfo` после presigned upload).
|
|
37662
|
-
* (`ContactsFacade.updateContactProperties`), **`searchMode`** и **`anyoneAccess`**
|
|
37663
|
-
* (read-only для всех item: вычисляются на сервере от **`publicityType`**), а также **`activityStatus`** и **`registerInfo`**
|
|
37664
|
-
* (read-only на `ContactItem` в продукте / OpenAPI; у прочих item-типов ключей нет — `Omit` без эффекта),
|
|
37665
|
-
* а также **`profileType`**, **`profileProperties`**, **`hasTimetable`** контакта
|
|
37666
|
-
* (сценарий Профиля — `POST /api/v1/user/profiles`, тип **`UserProfileItemForAdd`**).
|
|
37667
|
-
*/
|
|
37668
|
-
type TorrowItemKeysExcludedFromItemWriteBody = "personalInfo" | "discriminator" | "publicityType" | "masterInfo" | "integrationIds" | "tags" | "groupInfo" | "solutionData" | "childItemStats" | "feedbackOptions" | "uniqueName" | "blockInfo" | "meta" | "contactProperties" | "activityStatus" | "registerInfo" | "searchMode" | "anyoneAccess" | "profileType" | "profileProperties" | "hasTimetable";
|
|
37669
|
-
/** Поля item в телах create/update: без ключей, исключённых в `TorrowItemKeysExcludedFromItemWriteBody`. */
|
|
37670
|
-
type TorrowItemForCreateOrUpdate<T extends TorrowItem> = Omit<T, TorrowItemKeysExcludedFromItemWriteBody>;
|
|
37671
|
-
|
|
37672
37823
|
/**
|
|
37673
37824
|
* Общие публичные алиасы вида `export type X = XDto`, раньше повторявшиеся в нескольких доменах.
|
|
37674
37825
|
* Сгенерировано: `node scripts/build-sdk-shared-public-types.mjs`
|
|
37675
37826
|
*/
|
|
37676
37827
|
|
|
37677
|
-
type AccountingTransaction = AccountingTransactionDto
|
|
37828
|
+
type AccountingTransaction = NormalizedPublicity<AccountingTransactionDto>;
|
|
37678
37829
|
type AccountingTransactionState = AccountingTransactionStateDto;
|
|
37679
|
-
type AddProfileResp = AddProfileRespDto
|
|
37830
|
+
type AddProfileResp = NormalizedPublicity<AddProfileRespDto>;
|
|
37680
37831
|
type BalanceValue = BalanceValueDto;
|
|
37681
37832
|
type DeleteResponse = DeleteResponseDto;
|
|
37682
37833
|
type DictionarySortCondition = DictionarySortConditionDto;
|
|
@@ -37693,23 +37844,123 @@ type ObjectInfo = ObjectInfoDto;
|
|
|
37693
37844
|
type ObjectSortCondition = ObjectSortConditionDto;
|
|
37694
37845
|
type ParticipantState = ParticipantStateDto;
|
|
37695
37846
|
type ParticipantType = ParticipantTypeDto;
|
|
37696
|
-
type ParticipantView = ParticipantViewDto
|
|
37847
|
+
type ParticipantView = NormalizedPublicity<ParticipantViewDto>;
|
|
37697
37848
|
type Participation = ParticipationDto;
|
|
37698
37849
|
type ParticipationResp = ParticipationRespDto;
|
|
37699
37850
|
type PutUrlResp = PutUrlRespDto;
|
|
37700
|
-
type ResourceView = ResourceViewDto
|
|
37851
|
+
type ResourceView = NormalizedPublicity<ResourceViewDto>;
|
|
37701
37852
|
type SaveItemToMindMapReq = SaveItemToMindMapReqDto;
|
|
37702
37853
|
type SendLinkOfItemReq = SendLinkOfItemReqDto;
|
|
37703
37854
|
type SendLinkOfItemResp = SendLinkOfItemRespDto;
|
|
37704
37855
|
type SetGroupItemReq = SetGroupItemReqDto;
|
|
37705
37856
|
type ShareItemReq = ShareItemReqDto;
|
|
37706
|
-
type TimetableCase = TimetableCaseDto
|
|
37857
|
+
type TimetableCase = NormalizedPublicity<TimetableCaseDto>;
|
|
37707
37858
|
type TimetableDetailsVisibility = TimetableDetailsVisibilityDto;
|
|
37708
37859
|
type TimetableFilter = TimetableFilterDto;
|
|
37709
37860
|
type TorrowObjectType = TorrowObjectTypeDto;
|
|
37710
37861
|
type UnsetGroupItemReq = UnsetGroupItemReqDto;
|
|
37711
37862
|
type UpdateFileIdResp = UpdateFileIdRespDto;
|
|
37712
37863
|
|
|
37864
|
+
type NoteItem = TorrowItemFromDto<NoteItemDto>;
|
|
37865
|
+
/** Supported authoring scenarios: Html and Markdown. Other server values remain for compatibility. */
|
|
37866
|
+
type NoteType = NoteTypeDto;
|
|
37867
|
+
type ImagePreviewSize = NonNullable<NoteItem["imagePreviewSize"]>;
|
|
37868
|
+
declare const NoteTypeValues: {
|
|
37869
|
+
readonly Unknown: "Unknown";
|
|
37870
|
+
readonly Text: "Text";
|
|
37871
|
+
readonly Html: "Html";
|
|
37872
|
+
readonly Markdown: "Markdown";
|
|
37873
|
+
readonly Hlink: "Hlink";
|
|
37874
|
+
readonly File: "File";
|
|
37875
|
+
readonly Photo: "Photo";
|
|
37876
|
+
readonly Voice: "Voice";
|
|
37877
|
+
readonly Geolocation: "Geolocation";
|
|
37878
|
+
readonly Qr: "Qr";
|
|
37879
|
+
readonly ServiceSpecification: "ServiceSpecification";
|
|
37880
|
+
};
|
|
37881
|
+
declare const ImagePreviewSizeValues: {
|
|
37882
|
+
readonly Undefined: "Undefined";
|
|
37883
|
+
readonly Hidden: "Hidden";
|
|
37884
|
+
readonly Small: "Small";
|
|
37885
|
+
readonly Medium: "Medium";
|
|
37886
|
+
readonly Large: "Large";
|
|
37887
|
+
readonly SmallSlider: "SmallSlider";
|
|
37888
|
+
readonly MediumSlider: "MediumSlider";
|
|
37889
|
+
readonly LargeSlider: "LargeSlider";
|
|
37890
|
+
};
|
|
37891
|
+
/** Публичность create/update: Personal, PublicWithRequest, PublicAvailable или Link; без значения при create — Personal. Поле meta.version сохраняет optimistic concurrency при update. Серверные Private/Undefined читаются как Personal. */
|
|
37892
|
+
type NoteItemForCreateOrUpdate = TorrowItemForCreateOrUpdate<NoteItem> & Pick<NoteItem, "publicityType" | "meta">;
|
|
37893
|
+
/** Частичное изменение заметки; общие name/image описаны в TorrowItemPatchFields. */
|
|
37894
|
+
interface NoteItemPatch extends TorrowItemPatchFields {
|
|
37895
|
+
/** Новый серверный формат; Unknown и ServiceSpecification не поддерживаются root update. */
|
|
37896
|
+
noteType?: Exclude<NoteType, "Unknown" | "ServiceSpecification">;
|
|
37897
|
+
/** Исходный текст без trim/parse; null очищает. Пустое/whitespace содержимое нормализуется сервером. */
|
|
37898
|
+
data?: string | null;
|
|
37899
|
+
/** Полная замена ссылок на загруженные файлы; [] снимает вложения, пропуск сохраняет их. */
|
|
37900
|
+
files?: TorrowItemPatchImage[];
|
|
37901
|
+
/** Размер превью; Undefined снимает настройку. Не подставляет create default Small. */
|
|
37902
|
+
imagePreviewSize?: ImagePreviewSize;
|
|
37903
|
+
}
|
|
37904
|
+
|
|
37905
|
+
/** Минимальная типизированная карточка; runtime форма проверяется отдельно. */
|
|
37906
|
+
interface FileMetadataItem {
|
|
37907
|
+
/** ID исходного элемента. */ id?: string | null;
|
|
37908
|
+
/** Ссылка на аватар. */ image?: FileInfo | null;
|
|
37909
|
+
/** Признак полноты доступной карточки. */ personalInfo?: {
|
|
37910
|
+
/** Уровень раскрытия карточки. */ itemContentType?: string | null;
|
|
37911
|
+
} | null;
|
|
37912
|
+
/** Фотографии контакта; не аватар. */ photos?: FileInfo[] | null;
|
|
37913
|
+
/** Вложения заметки; не аватар. */ files?: FileInfo[] | null;
|
|
37914
|
+
}
|
|
37915
|
+
|
|
37916
|
+
/**
|
|
37917
|
+
* `GET .../participants` для **Contact** и **Case** в Swagger: **`lmfrom`** / **`lmto`** (нижний регистр).
|
|
37918
|
+
*/
|
|
37919
|
+
type ContactCaseParticipantsListQuery = {
|
|
37920
|
+
participantStateList?: OpenApiSchemas["ParticipantState"][] | null;
|
|
37921
|
+
participantTypeList?: OpenApiSchemas["ParticipantType"][] | null;
|
|
37922
|
+
take?: number | null;
|
|
37923
|
+
skip?: number | null;
|
|
37924
|
+
lmfrom?: Date | null;
|
|
37925
|
+
lmto?: Date | null;
|
|
37926
|
+
includeDeleted?: boolean | null;
|
|
37927
|
+
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37928
|
+
};
|
|
37929
|
+
/** `GET .../caseparticipants` — query как в Swagger (**caseParticipant***, **lmfrom** / **lmto**). */
|
|
37930
|
+
type CaseParticipantsListQuery = {
|
|
37931
|
+
caseParticipantStateList?: OpenApiSchemas["CaseParticipantState"][] | null;
|
|
37932
|
+
caseParticipantTypeList?: OpenApiSchemas["CaseParticipantType"][] | null;
|
|
37933
|
+
agentType?: OpenApiSchemas["AgentType"] | null;
|
|
37934
|
+
take?: number | null;
|
|
37935
|
+
skip?: number | null;
|
|
37936
|
+
lmfrom?: Date | null;
|
|
37937
|
+
lmto?: Date | null;
|
|
37938
|
+
includeDeleted?: boolean | null;
|
|
37939
|
+
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37940
|
+
securityToken?: string | null;
|
|
37941
|
+
};
|
|
37942
|
+
/** `GET .../caseparticipants/count` и `.../nonanonymous`. */
|
|
37943
|
+
type CaseParticipantsCountQuery = {
|
|
37944
|
+
caseParticipantStateList?: OpenApiSchemas["CaseParticipantState"][] | null;
|
|
37945
|
+
caseParticipantTypeList?: OpenApiSchemas["CaseParticipantType"][] | null;
|
|
37946
|
+
agentType?: OpenApiSchemas["AgentType"] | null;
|
|
37947
|
+
securityToken?: string | null;
|
|
37948
|
+
};
|
|
37949
|
+
/** `GET .../{id}/tags` (Contact / Case) — фильтры списка тегов. */
|
|
37950
|
+
type ItemTagsListQuery = {
|
|
37951
|
+
itemType?: OpenApiSchemas["TorrowObjectType"] | null;
|
|
37952
|
+
text?: string | null;
|
|
37953
|
+
minParticipantType?: OpenApiSchemas["ParticipantType"] | null;
|
|
37954
|
+
operationType?: OpenApiSchemas["OperationType"] | null;
|
|
37955
|
+
recursionDepth?: number | null;
|
|
37956
|
+
take?: number | null;
|
|
37957
|
+
skip?: number | null;
|
|
37958
|
+
lmfrom?: Date | null;
|
|
37959
|
+
lmto?: Date | null;
|
|
37960
|
+
includeDeleted?: boolean | null;
|
|
37961
|
+
sort?: OpenApiSchemas["ItemViewSortCondition"] | null;
|
|
37962
|
+
};
|
|
37963
|
+
|
|
37713
37964
|
type ContactItem = TorrowItemFromDto<ContactItemDto>;
|
|
37714
37965
|
/** Канал связи для частичной записи: пользовательские поля {@link Communication}, без серверных checkDate/valueForSearch; rid сохраняет идентичность, checkState по умолчанию Unchecked. */
|
|
37715
37966
|
type ContactCommunicationPatch = Omit<Communication, "checkDate" | "valueForSearch">;
|
|
@@ -37807,8 +38058,8 @@ type UpdateContactPropertiesResp = UpdateContactPropertiesRespDto;
|
|
|
37807
38058
|
type UpdateMasterInfoReq = UpdateMasterInfoReqDto;
|
|
37808
38059
|
type FeedbackOptions = FeedbackOptionsDto;
|
|
37809
38060
|
type PersonalReminder = PersonalReminderDto;
|
|
37810
|
-
|
|
37811
|
-
type GroupStatus = GroupStatusDto
|
|
38061
|
+
|
|
38062
|
+
type GroupStatus = NormalizedPublicity<GroupStatusDto>;
|
|
37812
38063
|
type UpdateItemAccountsReq = UpdateItemAccountsReqDto;
|
|
37813
38064
|
type UpdateItemGroupsReq = UpdateItemGroupsReqDto;
|
|
37814
38065
|
type UpdatePersonalListOrderReq = UpdatePersonalListOrderReqDto;
|
|
@@ -37936,47 +38187,6 @@ type LoyaltySystemInitialSubscriptionPatch = Omit<NonNullable<LoyaltySystemItem[
|
|
|
37936
38187
|
/** Полное обновление программы: numeratorInfo доступно только при создании и чтении. */
|
|
37937
38188
|
type LoyaltySystemItemForUpdate = Omit<LoyaltySystemItemForCreateOrUpdate, "numeratorInfo">;
|
|
37938
38189
|
|
|
37939
|
-
type NoteItem = TorrowItemFromDto<NoteItemDto>;
|
|
37940
|
-
/** Supported authoring scenarios: Html and Markdown. Other server values remain for compatibility. */
|
|
37941
|
-
type NoteType = NoteTypeDto;
|
|
37942
|
-
type ImagePreviewSize = NonNullable<NoteItem["imagePreviewSize"]>;
|
|
37943
|
-
declare const NoteTypeValues: {
|
|
37944
|
-
readonly Unknown: "Unknown";
|
|
37945
|
-
readonly Text: "Text";
|
|
37946
|
-
readonly Html: "Html";
|
|
37947
|
-
readonly Markdown: "Markdown";
|
|
37948
|
-
readonly Hlink: "Hlink";
|
|
37949
|
-
readonly File: "File";
|
|
37950
|
-
readonly Photo: "Photo";
|
|
37951
|
-
readonly Voice: "Voice";
|
|
37952
|
-
readonly Geolocation: "Geolocation";
|
|
37953
|
-
readonly Qr: "Qr";
|
|
37954
|
-
readonly ServiceSpecification: "ServiceSpecification";
|
|
37955
|
-
};
|
|
37956
|
-
declare const ImagePreviewSizeValues: {
|
|
37957
|
-
readonly Undefined: "Undefined";
|
|
37958
|
-
readonly Hidden: "Hidden";
|
|
37959
|
-
readonly Small: "Small";
|
|
37960
|
-
readonly Medium: "Medium";
|
|
37961
|
-
readonly Large: "Large";
|
|
37962
|
-
readonly SmallSlider: "SmallSlider";
|
|
37963
|
-
readonly MediumSlider: "MediumSlider";
|
|
37964
|
-
readonly LargeSlider: "LargeSlider";
|
|
37965
|
-
};
|
|
37966
|
-
/** Explicit publicity on create; meta.version on update preserves optimistic concurrency. */
|
|
37967
|
-
type NoteItemForCreateOrUpdate = TorrowItemForCreateOrUpdate<NoteItem> & Pick<NoteItem, "publicityType" | "meta">;
|
|
37968
|
-
/** Частичное изменение заметки; общие name/image описаны в TorrowItemPatchFields. */
|
|
37969
|
-
interface NoteItemPatch extends TorrowItemPatchFields {
|
|
37970
|
-
/** Новый серверный формат; Unknown и ServiceSpecification не поддерживаются root update. */
|
|
37971
|
-
noteType?: Exclude<NoteType, "Unknown" | "ServiceSpecification">;
|
|
37972
|
-
/** Исходный текст без trim/parse; null очищает. Пустое/whitespace содержимое нормализуется сервером. */
|
|
37973
|
-
data?: string | null;
|
|
37974
|
-
/** Полная замена ссылок на загруженные файлы; [] снимает вложения, пропуск сохраняет их. */
|
|
37975
|
-
files?: TorrowItemPatchImage[];
|
|
37976
|
-
/** Размер превью; Undefined снимает настройку. Не подставляет create default Small. */
|
|
37977
|
-
imagePreviewSize?: ImagePreviewSize;
|
|
37978
|
-
}
|
|
37979
|
-
|
|
37980
38190
|
type IncludeToParentReq = IncludeToParentReqDto;
|
|
37981
38191
|
type IncludeForUserReq = IncludeForUserReqDto;
|
|
37982
38192
|
type ItemProperties = OpenApiSchemas["ItemProperties"];
|
|
@@ -38065,6 +38275,8 @@ declare abstract class TorrowItemCoreFacade<TItem, TParticipantsQuery = ContactC
|
|
|
38065
38275
|
protected readonly socialOpts: TorrowItemFacadeOptions;
|
|
38066
38276
|
/** Числовой тип item этого фасада (`TorrowObjectTypeCode.Note`, …). */
|
|
38067
38277
|
protected abstract readonly itemObjectTypeCode: TorrowObjectTypeCodeValue;
|
|
38278
|
+
/** Читает одну карточку своим доменным getById без связанных данных. */
|
|
38279
|
+
protected abstract readFileMetadataItem(id: string, signal?: AbortSignal): Promise<FileMetadataItem>;
|
|
38068
38280
|
protected constructor(http: HttpClient, basePath: string, socialOpts?: TorrowItemFacadeOptions);
|
|
38069
38281
|
/**
|
|
38070
38282
|
* Id вложения (presigned image/file) — тип **File**.
|
|
@@ -38073,7 +38285,7 @@ declare abstract class TorrowItemCoreFacade<TItem, TParticipantsQuery = ContactC
|
|
|
38073
38285
|
generateFileId(ownerTorrowId: string): string;
|
|
38074
38286
|
/** Id item этого домена до `create` / upload (клиентская генерация, без запроса к API). */
|
|
38075
38287
|
protected generateItemId(ownerTorrowId: string): string;
|
|
38076
|
-
/** `PUT /api/v1/{domain}/{torrowId}/publicity
|
|
38288
|
+
/** `PUT /api/v1/{domain}/{torrowId}/publicity`: только Personal, PublicWithRequest, PublicAvailable или Link. */
|
|
38077
38289
|
updatePublicity(torrowId: string, body: PublicityType, options?: TorrowOptions): Promise<TorrowObject>;
|
|
38078
38290
|
/** `PUT /api/v1/{domain}/{torrowId}/image/id` — тело: JSON-string **`fileId`**. */
|
|
38079
38291
|
updateImageId(torrowId: string, fileId: string, options?: TorrowOptions): Promise<UpdateFileIdResp>;
|
|
@@ -38255,10 +38467,10 @@ declare abstract class TorrowItemCoreFacade<TItem, TParticipantsQuery = ContactC
|
|
|
38255
38467
|
getByUniqueName(uniqueName: string, options?: {
|
|
38256
38468
|
signal?: AbortSignal;
|
|
38257
38469
|
}): Promise<TItem>;
|
|
38258
|
-
/**
|
|
38470
|
+
/** Полная карточка без аватара → null (1 GET); иначе FileInfo из image/info (2 GET). Требуется доступ к Full. */
|
|
38259
38471
|
getImageInfo(torrowId: string, options?: {
|
|
38260
38472
|
signal?: AbortSignal;
|
|
38261
|
-
}): Promise<FileInfo>;
|
|
38473
|
+
}): Promise<FileInfo | null>;
|
|
38262
38474
|
/** `GET /api/v1/{domain}/{torrowId}/image/puturl` */
|
|
38263
38475
|
getImagePutUrl(torrowId: string, fileId: string, fileName?: string | null, fileSize?: number | null, options?: {
|
|
38264
38476
|
securityToken?: string | null;
|
|
@@ -38281,11 +38493,11 @@ declare abstract class TorrowItemCoreFacade<TItem, TParticipantsQuery = ContactC
|
|
|
38281
38493
|
updateSolutionData(torrowId: string, body: SolutionData, options?: TorrowOptions): Promise<TorrowObject>;
|
|
38282
38494
|
/** `PUT /api/v1/{domain}/{itemId}/personalsolutiondata` */
|
|
38283
38495
|
updatePersonalSolutionData(itemId: string, body: PersonalSolutionData, options?: TorrowOptions): Promise<ObjectInfo>;
|
|
38284
|
-
/**
|
|
38285
|
-
getPhotoInfo(torrowId: string, options
|
|
38286
|
-
photoId
|
|
38287
|
-
signal?: AbortSignal;
|
|
38288
|
-
}): Promise<FileInfo>;
|
|
38496
|
+
/** Читает выбранную фотографию Contact: Full-карточка и, при наличии связи, metadata GET. Отсутствие связи — null. */
|
|
38497
|
+
getPhotoInfo(torrowId: string, options: {
|
|
38498
|
+
/** Явный ID фотографии из photos, независимо от аватара. */ photoId: string;
|
|
38499
|
+
/** Общая отмена обоих запросов. */ signal?: AbortSignal;
|
|
38500
|
+
}): Promise<FileInfo | null>;
|
|
38289
38501
|
/** `GET /api/v1/{domain}/{torrowId}/photo/puturl` — только при {@link TorrowItemFacadeOptions.withPhotoEndpoints}. */
|
|
38290
38502
|
getPhotoPutUrl(torrowId: string, fileId: string, fileName?: string | null, fileSize?: number | null, options?: {
|
|
38291
38503
|
securityToken?: string | null;
|
|
@@ -38513,17 +38725,17 @@ interface ServiceBehaviorSettingsUpdateOptions {
|
|
|
38513
38725
|
signal?: AbortSignal;
|
|
38514
38726
|
}
|
|
38515
38727
|
|
|
38516
|
-
type ServiceItemApi = ServiceItemApiDto
|
|
38728
|
+
type ServiceItemApi = NormalizedPublicity<ServiceItemApiDto>;
|
|
38517
38729
|
type ResourceGroup = NonNullable<ServiceItemApi["resourceGroupList"]>[number];
|
|
38518
38730
|
type BookingProperties = NonNullable<ResourceGroup["bookingProperties"]>;
|
|
38519
38731
|
type CreateOrderReq = CreateOrderReqDto;
|
|
38520
|
-
type OrderResp = OrderRespDto
|
|
38732
|
+
type OrderResp = NormalizedPublicity<OrderRespDto>;
|
|
38521
38733
|
type SearchServiceResourcesReq = SearchServiceResourcesReqDto;
|
|
38522
|
-
type SearchServiceResourcesResp = SearchServiceResourcesRespDto
|
|
38734
|
+
type SearchServiceResourcesResp = NormalizedPublicity<SearchServiceResourcesRespDto>;
|
|
38523
38735
|
type StepDescription = StepDescriptionDto;
|
|
38524
38736
|
type SessionDurationProperties = SessionDurationPropertiesDto;
|
|
38525
38737
|
type GetServiceWorkloadInfoRequest = GetServiceWorkloadInfoRequestDto;
|
|
38526
|
-
type GetServiceWorkloadInfoResp = GetServiceWorkloadInfoRespDto
|
|
38738
|
+
type GetServiceWorkloadInfoResp = NormalizedPublicity<GetServiceWorkloadInfoRespDto>;
|
|
38527
38739
|
type GetTimetableStatisticsRequest = GetTimetableStatisticsRequestDto;
|
|
38528
38740
|
type TimetableStatisticsResp = TimetableStatisticsRespDto;
|
|
38529
38741
|
type GetCheckInScheduleReq = GetCheckInScheduleReqDto;
|
|
@@ -38714,6 +38926,8 @@ interface CalendarItemPatch extends TorrowItemPatchFields {
|
|
|
38714
38926
|
/** CRUD + personal list + социальный слой для календарей (`CalendarItem`). `getById` использует `includeChildItems`. */
|
|
38715
38927
|
declare class CalendarsFacade extends TorrowItemFacade<CalendarItem> {
|
|
38716
38928
|
protected readonly itemObjectTypeCode: 1010;
|
|
38929
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
38930
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<CalendarItem>;
|
|
38717
38931
|
constructor(http: HttpClient);
|
|
38718
38932
|
/** Id календаря до `create` / presigned upload. */
|
|
38719
38933
|
generateCalendarId(ownerTorrowId: string): string;
|
|
@@ -38835,7 +39049,7 @@ type CaseItemPatch = TorrowItemPatchFields & ItemPricePatchFields & {
|
|
|
38835
39049
|
/** Правила начислений лояльности целиком; []/null очищают список. */
|
|
38836
39050
|
loyaltyTransactionPropertiesList?: CaseItem["loyaltyTransactionPropertiesList"];
|
|
38837
39051
|
};
|
|
38838
|
-
type CreateCaseReq = CreateCaseReqDto
|
|
39052
|
+
type CreateCaseReq = NormalizedPublicity<CreateCaseReqDto>;
|
|
38839
39053
|
type AvailabilityTime = AvailabilityTimeDto;
|
|
38840
39054
|
type CaseParticipantType = CaseParticipantTypeDto;
|
|
38841
39055
|
/**
|
|
@@ -38846,7 +39060,7 @@ type CaseParticipantType = CaseParticipantTypeDto;
|
|
|
38846
39060
|
* Проверка против живого API — отдельно (integration / ручные тесты).
|
|
38847
39061
|
*/
|
|
38848
39062
|
type CaseParticipant = CaseParticipantDto;
|
|
38849
|
-
type CaseParticipantView = CaseParticipantViewDto
|
|
39063
|
+
type CaseParticipantView = NormalizedPublicity<CaseParticipantViewDto>;
|
|
38850
39064
|
type CaseParticipantFields = CaseParticipantFieldsDto;
|
|
38851
39065
|
type GetCaseParticipationCountResp = GetCaseParticipationCountRespDto;
|
|
38852
39066
|
type CheckInReq = CheckInReqDto;
|
|
@@ -38916,6 +39130,8 @@ declare function cancelCaseParticipation(http: HttpClient, torrowId: string, bod
|
|
|
38916
39130
|
*/
|
|
38917
39131
|
declare class CasesFacade extends TorrowItemFacade<CaseItem> {
|
|
38918
39132
|
protected readonly itemObjectTypeCode: 1004;
|
|
39133
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39134
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<CaseItem>;
|
|
38919
39135
|
constructor(http: HttpClient);
|
|
38920
39136
|
/** Id события до `createWithOptions` / `createCaseItem` / presigned upload. */
|
|
38921
39137
|
generateCaseId(ownerTorrowId: string): string;
|
|
@@ -39109,6 +39325,8 @@ declare class CasesFacade extends TorrowItemFacade<CaseItem> {
|
|
|
39109
39325
|
*/
|
|
39110
39326
|
declare class ContactsFacade extends TorrowItemFacade<ContactItem> {
|
|
39111
39327
|
protected readonly itemObjectTypeCode: 1002;
|
|
39328
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39329
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<ContactItem>;
|
|
39112
39330
|
constructor(http: HttpClient);
|
|
39113
39331
|
/** Id контакта до `create` / presigned upload. */
|
|
39114
39332
|
generateContactId(ownerTorrowId: string): string;
|
|
@@ -39193,6 +39411,8 @@ type ContextItemPatch = TorrowItemPatchFields & {
|
|
|
39193
39411
|
/** CRUD + personal list + социальный слой для контекстов (`ContextItem`). `POST` принимает только опциональный `profileId`. */
|
|
39194
39412
|
declare class ContextsFacade extends TorrowItemFacade<ContextItem> {
|
|
39195
39413
|
protected readonly itemObjectTypeCode: 1001;
|
|
39414
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39415
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<ContextItem>;
|
|
39196
39416
|
constructor(http: HttpClient);
|
|
39197
39417
|
/** Id контекста до `create` / presigned upload. */
|
|
39198
39418
|
generateContextId(ownerTorrowId: string): string;
|
|
@@ -39231,6 +39451,8 @@ declare class ContextsFacade extends TorrowItemFacade<ContextItem> {
|
|
|
39231
39451
|
/** CRUD, personal list, файлы, изображения и социальный слой для заметок (`NoteItem`). */
|
|
39232
39452
|
declare class NotesFacade extends TorrowItemFacade<NoteItem> {
|
|
39233
39453
|
protected readonly itemObjectTypeCode: 1003;
|
|
39454
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39455
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<NoteItem>;
|
|
39234
39456
|
constructor(http: HttpClient);
|
|
39235
39457
|
/** Id заметки до `create` / presigned upload (`ownerTorrowId` — profileId и т.п.). */
|
|
39236
39458
|
generateNoteId(ownerTorrowId: string): string;
|
|
@@ -39269,10 +39491,16 @@ declare class NotesFacade extends TorrowItemFacade<NoteItem> {
|
|
|
39269
39491
|
listPersonal(options?: PersonalListQuery & {
|
|
39270
39492
|
signal?: AbortSignal;
|
|
39271
39493
|
}): Promise<NoteItem[]>;
|
|
39272
|
-
/**
|
|
39494
|
+
/**
|
|
39495
|
+
* Читает полную заметку и метаданные выбранного вложения: один GET при отсутствии связи, два при наличии.
|
|
39496
|
+
* @param torrowId ID заметки без преобразований; доступная карточка Full обязательна.
|
|
39497
|
+
* @param fileId Обязательный ID вложения из files; аватар и фотографии не участвуют в выборе.
|
|
39498
|
+
* @param options.signal Общая отмена чтения карточки и метаданных.
|
|
39499
|
+
* @returns Метаданные либо null, если выбранное вложение отсутствует в полной карточке.
|
|
39500
|
+
*/
|
|
39273
39501
|
getFileInfo(torrowId: string, fileId: string, options?: {
|
|
39274
39502
|
signal?: AbortSignal;
|
|
39275
|
-
}): Promise<FileInfo>;
|
|
39503
|
+
}): Promise<FileInfo | null>;
|
|
39276
39504
|
/** `GET /api/v1/notes/{torrowId}/file/puturl` — URL для загрузки файла (presigned). */
|
|
39277
39505
|
getFilePutUrl(torrowId: string, fileId: string, fileName?: string | null, fileSize?: number | null, options?: {
|
|
39278
39506
|
signal?: AbortSignal;
|
|
@@ -39479,16 +39707,16 @@ type ResourcePaymentPatchProperties = PaymentPatchConfiguration<PaymentProviderT
|
|
|
39479
39707
|
/** Предметные параметры всех ветвей payment patch; paymentProviderType выбирает класс, text/beforePayMessage/afterPayMessage — общие сообщения, остальные атрибуты относятся к выбранному провайдеру в ResourcePaymentPatchProperties. */
|
|
39480
39708
|
type ResourcePaymentPatchParameters = NonNullable<ResourcePaymentPatchProperties["parameters"]>;
|
|
39481
39709
|
|
|
39482
|
-
type ResourceItemApi = ResourceItemApiDto
|
|
39710
|
+
type ResourceItemApi = NormalizedPublicity<ResourceItemApiDto>;
|
|
39483
39711
|
type ServiceDescription = NonNullable<ResourceItemApi["serviceDescriptions"]>[number];
|
|
39484
39712
|
type UsageCondition = NonNullable<ResourceItemApi["usageCondition"]>;
|
|
39485
39713
|
/** Дополнительные и исключающие условия; отсутствие условия и неизвестный sentinel сюда не входят. */
|
|
39486
39714
|
type ResourceUsageConditionType = Exclude<UsageConditionType, `${UsageConditionTypeWireValues.Unknown | UsageConditionTypeWireValues.None}`>;
|
|
39487
39715
|
type WorkloadPeriod = WorkloadPeriodDto;
|
|
39488
39716
|
type PickOrderReq = PickOrderReqDto;
|
|
39489
|
-
type PickOrderResp = PickOrderRespDto
|
|
39717
|
+
type PickOrderResp = NormalizedPublicity<PickOrderRespDto>;
|
|
39490
39718
|
type ReturnOrderReq = ReturnOrderReqDto;
|
|
39491
|
-
type ReturnOrderResp = ReturnOrderRespDto
|
|
39719
|
+
type ReturnOrderResp = NormalizedPublicity<ReturnOrderRespDto>;
|
|
39492
39720
|
type ResourceItem = TorrowItemFromDto<ResourceItemApi> & {
|
|
39493
39721
|
behaviorSettings?: ResourceBehaviorSettings;
|
|
39494
39722
|
};
|
|
@@ -39549,6 +39777,8 @@ interface ResourceBuildResult {
|
|
|
39549
39777
|
*/
|
|
39550
39778
|
declare class ResourcesFacade extends TorrowItemFacade<ResourceItem> {
|
|
39551
39779
|
protected readonly itemObjectTypeCode: 1009;
|
|
39780
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39781
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<ResourceItem>;
|
|
39552
39782
|
constructor(http: HttpClient);
|
|
39553
39783
|
/** Id ресурса до `create` / presigned upload. */
|
|
39554
39784
|
generateResourceId(ownerTorrowId: string): string;
|
|
@@ -39680,6 +39910,8 @@ declare function createOrder(http: HttpClient, serviceId: string, body: CreateOr
|
|
|
39680
39910
|
/** CRUD, personal list, booking, session/order, и социальный слой для `ServiceItem`. */
|
|
39681
39911
|
declare class ServicesFacade extends TorrowItemFacade<ServiceItem> {
|
|
39682
39912
|
protected readonly itemObjectTypeCode: 1005;
|
|
39913
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
39914
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<ServiceItem>;
|
|
39683
39915
|
constructor(http: HttpClient);
|
|
39684
39916
|
/** Id услуги до `create` / presigned upload. */
|
|
39685
39917
|
generateServiceId(ownerTorrowId: string): string;
|
|
@@ -39977,9 +40209,9 @@ declare class AuthFacade {
|
|
|
39977
40209
|
}
|
|
39978
40210
|
|
|
39979
40211
|
/** @see components.schemas.ProfileListResp */
|
|
39980
|
-
type ProfileListResp = ProfileListRespDto
|
|
40212
|
+
type ProfileListResp = NormalizedPublicity<ProfileListRespDto>;
|
|
39981
40213
|
/** @see components.schemas.RemoveProfileResp */
|
|
39982
|
-
type RemoveProfileResp = RemoveProfileRespDto
|
|
40214
|
+
type RemoveProfileResp = NormalizedPublicity<RemoveProfileRespDto>;
|
|
39983
40215
|
/** @see components.schemas.UpdateProfilePropertiesResp */
|
|
39984
40216
|
type UpdateProfilePropertiesResp = UpdateProfilePropertiesRespDto;
|
|
39985
40217
|
/** @see components.schemas.ProfileProperties */
|
|
@@ -40094,15 +40326,15 @@ declare function isTorrowItemType(value: string): value is TorrowItemType;
|
|
|
40094
40326
|
|
|
40095
40327
|
/** Представление узла в mind map / персональном списке под родителем — тип зависит от `TorrowItemType`. */
|
|
40096
40328
|
type TorrowItemViewByTypeMap = {
|
|
40097
|
-
Contact: OpenApiSchemas["ContactView"]
|
|
40098
|
-
Note: OpenApiSchemas["NoteView"]
|
|
40099
|
-
Context: OpenApiSchemas["ContextView"]
|
|
40100
|
-
Resource: OpenApiSchemas["ResourceView"]
|
|
40101
|
-
Service: OpenApiSchemas["ServiceView"]
|
|
40102
|
-
Case: OpenApiSchemas["CaseView"]
|
|
40103
|
-
Calendar: OpenApiSchemas["CalendarView"]
|
|
40104
|
-
LoyaltyCard: OpenApiSchemas["LoyaltyCardView"]
|
|
40105
|
-
LoyaltySystem: OpenApiSchemas["LoyaltySystemView"]
|
|
40329
|
+
Contact: NormalizedPublicity<OpenApiSchemas["ContactView"]>;
|
|
40330
|
+
Note: NormalizedPublicity<OpenApiSchemas["NoteView"]>;
|
|
40331
|
+
Context: NormalizedPublicity<OpenApiSchemas["ContextView"]>;
|
|
40332
|
+
Resource: NormalizedPublicity<OpenApiSchemas["ResourceView"]>;
|
|
40333
|
+
Service: NormalizedPublicity<OpenApiSchemas["ServiceView"]>;
|
|
40334
|
+
Case: NormalizedPublicity<OpenApiSchemas["CaseView"]>;
|
|
40335
|
+
Calendar: NormalizedPublicity<OpenApiSchemas["CalendarView"]>;
|
|
40336
|
+
LoyaltyCard: NormalizedPublicity<OpenApiSchemas["LoyaltyCardView"]>;
|
|
40337
|
+
LoyaltySystem: NormalizedPublicity<OpenApiSchemas["LoyaltySystemView"]>;
|
|
40106
40338
|
};
|
|
40107
40339
|
type TorrowItemView = TorrowItemViewByTypeMap[TorrowItemType];
|
|
40108
40340
|
type ViewListQuery = {
|
|
@@ -40129,16 +40361,16 @@ type ViewOrderInput = {
|
|
|
40129
40361
|
order: number;
|
|
40130
40362
|
};
|
|
40131
40363
|
type ViewInfo = ViewInfoDto;
|
|
40132
|
-
type ContactView = ContactViewDto
|
|
40133
|
-
type NoteView = NoteViewDto
|
|
40134
|
-
type ContextView = ContextViewDto
|
|
40364
|
+
type ContactView = NormalizedPublicity<ContactViewDto>;
|
|
40365
|
+
type NoteView = NormalizedPublicity<NoteViewDto>;
|
|
40366
|
+
type ContextView = NormalizedPublicity<ContextViewDto>;
|
|
40135
40367
|
/** Представление ресурса в mind map (та же схема `ResourceView`, что в поиске ресурсов услуги). */
|
|
40136
|
-
type ResourceMindMapView = ResourceMindMapViewDto
|
|
40137
|
-
type ServiceView = ServiceViewDto
|
|
40138
|
-
type CaseView = CaseViewDto
|
|
40139
|
-
type CalendarView = CalendarViewDto
|
|
40140
|
-
type LoyaltyCardView = LoyaltyCardViewDto
|
|
40141
|
-
type LoyaltySystemView = LoyaltySystemViewDto
|
|
40368
|
+
type ResourceMindMapView = NormalizedPublicity<ResourceMindMapViewDto>;
|
|
40369
|
+
type ServiceView = NormalizedPublicity<ServiceViewDto>;
|
|
40370
|
+
type CaseView = NormalizedPublicity<CaseViewDto>;
|
|
40371
|
+
type CalendarView = NormalizedPublicity<CalendarViewDto>;
|
|
40372
|
+
type LoyaltyCardView = NormalizedPublicity<LoyaltyCardViewDto>;
|
|
40373
|
+
type LoyaltySystemView = NormalizedPublicity<LoyaltySystemViewDto>;
|
|
40142
40374
|
|
|
40143
40375
|
/** Закреплённые представления (`views/pinned`). */
|
|
40144
40376
|
declare class PinnedViewsFacade {
|
|
@@ -40323,7 +40555,7 @@ declare class SearchFacade {
|
|
|
40323
40555
|
/** `GET /api/v1/search/adviseditems` — `NearLocation` (гео) / `Recommendation`. */
|
|
40324
40556
|
advisedItems(query?: AdvisedItemsSearchQuery, options?: {
|
|
40325
40557
|
signal?: AbortSignal;
|
|
40326
|
-
}): Promise<
|
|
40558
|
+
}): Promise<TorrowItem[]>;
|
|
40327
40559
|
/**
|
|
40328
40560
|
* `PUT /api/v1/search/{torrowId}/orders` — заказы (события-заказы) под элементом с фильтром.
|
|
40329
40561
|
* Тело **`OrderFilter`**; см. также **`examples/node/raw/search-orders-raw.ts`** (сырой `raw.put`).
|
|
@@ -40395,7 +40627,7 @@ declare class SearchFacade {
|
|
|
40395
40627
|
}): Promise<ServiceView[]>;
|
|
40396
40628
|
}
|
|
40397
40629
|
|
|
40398
|
-
type ActionHistoryInfo = ActionHistoryInfoDto
|
|
40630
|
+
type ActionHistoryInfo = NormalizedPublicity<ActionHistoryInfoDto>;
|
|
40399
40631
|
type ActionHistoryType = ActionHistoryTypeDto;
|
|
40400
40632
|
type ActionHistoryState = ActionHistoryStateDto;
|
|
40401
40633
|
/**
|
|
@@ -40493,7 +40725,7 @@ declare class AccountingTransactionsFacade {
|
|
|
40493
40725
|
}): Promise<AccountingTransaction[]>;
|
|
40494
40726
|
}
|
|
40495
40727
|
|
|
40496
|
-
type AnnouncementInfo = AnnouncementInfoDto
|
|
40728
|
+
type AnnouncementInfo = NormalizedPublicity<AnnouncementInfoDto>;
|
|
40497
40729
|
type AnnouncementState = AnnouncementStateDto;
|
|
40498
40730
|
type UpdateAnnouncementStateReq = UpdateAnnouncementStateReqDto;
|
|
40499
40731
|
/**
|
|
@@ -40534,8 +40766,8 @@ declare class AnnouncementsFacade {
|
|
|
40534
40766
|
}
|
|
40535
40767
|
|
|
40536
40768
|
type ExportRequest = ExportRequestDto;
|
|
40537
|
-
type ExportGraph = ExportGraphDto
|
|
40538
|
-
type ImportByFileRequest = ImportByFileRequestDto
|
|
40769
|
+
type ExportGraph = NormalizedPublicity<ExportGraphDto>;
|
|
40770
|
+
type ImportByFileRequest = NormalizedPublicity<ImportByFileRequestDto>;
|
|
40539
40771
|
type ImportByUniqueNameRequest = ImportByUniqueNameRequestDto;
|
|
40540
40772
|
|
|
40541
40773
|
/**
|
|
@@ -40775,7 +41007,16 @@ type LoyaltyTransactionsQuery = {
|
|
|
40775
41007
|
*/
|
|
40776
41008
|
declare class LoyaltySystemsFacade extends TorrowItemCoreFacade<LoyaltySystemItem, LoyaltyParticipantsQuery> {
|
|
40777
41009
|
protected readonly itemObjectTypeCode: 1019;
|
|
41010
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
41011
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<LoyaltySystemItem>;
|
|
40778
41012
|
constructor(http: HttpClient);
|
|
41013
|
+
/**
|
|
41014
|
+
* Изображение начальной подписки из одного GET Full-программы; null означает отсутствие.
|
|
41015
|
+
* Основной аватар не участвует в выборе; url/refreshUrl не вызываются и не исправляются.
|
|
41016
|
+
*/
|
|
41017
|
+
getInitialSubscriptionImageInfo(torrowId: string, options?: {
|
|
41018
|
+
/** Отмена чтения программы; фиксируется до начала HTTP. */ signal?: AbortSignal;
|
|
41019
|
+
}): Promise<FileInfo | null>;
|
|
40779
41020
|
/** Изменяет выбранные настройки через полный GET и один CAS PUT; пропуск сохраняет поля. */
|
|
40780
41021
|
patch(itemId: string, fields: LoyaltySystemItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<LoyaltySystemItem>>;
|
|
40781
41022
|
/** Id программы лояльности до `create` / presigned upload. */
|
|
@@ -40850,7 +41091,27 @@ declare class LoyaltySystemsFacade extends TorrowItemCoreFacade<LoyaltySystemIte
|
|
|
40850
41091
|
*/
|
|
40851
41092
|
declare class LoyaltyCardsFacade extends TorrowItemCoreFacade<LoyaltyCardItem, LoyaltyParticipantsQuery> {
|
|
40852
41093
|
protected readonly itemObjectTypeCode: 1020;
|
|
41094
|
+
/** Чтение полной карточки для метаданных без дочерних данных. */
|
|
41095
|
+
protected readFileMetadataItem(id: string, signal?: AbortSignal): Promise<LoyaltyCardItem>;
|
|
40853
41096
|
constructor(http: HttpClient);
|
|
41097
|
+
/**
|
|
41098
|
+
* Отображаемый аватар из свежей Full-карточки за один GET; отсутствие → null.
|
|
41099
|
+
* Сервер уже применил наследование изображения программы. image/info читает собственный файл карты,
|
|
41100
|
+
* поэтому не используется. Для обновления URL повторить getter; refreshUrl не вызывается.
|
|
41101
|
+
*/
|
|
41102
|
+
getImageInfo(torrowId: string, options?: {
|
|
41103
|
+
signal?: AbortSignal;
|
|
41104
|
+
}): Promise<FileInfo | null>;
|
|
41105
|
+
/**
|
|
41106
|
+
* Изображение выбранной подписки из одного GET Full-карты; отсутствие → null.
|
|
41107
|
+
* @param torrowId ID карты без преобразований.
|
|
41108
|
+
* @param subscriptionId Обязательный ID подписки, не ID файла и не аватара карты.
|
|
41109
|
+
* @param options Отмена чтения; URL и refreshUrl не запрашиваются автоматически.
|
|
41110
|
+
* @returns FileInfo из свежего снимка либо null; доступность байтов отдельно не проверяется.
|
|
41111
|
+
*/
|
|
41112
|
+
getSubscriptionImageInfo(torrowId: string, subscriptionId: string, options?: {
|
|
41113
|
+
signal?: AbortSignal;
|
|
41114
|
+
}): Promise<FileInfo | null>;
|
|
40854
41115
|
/** Id карты лояльности до `create` / presigned upload. */
|
|
40855
41116
|
generateLoyaltyCardId(ownerTorrowId: string): string;
|
|
40856
41117
|
/** `POST /api/v1/loyaltycards/{loyaltyCardId}/subscription` */
|
|
@@ -41019,7 +41280,7 @@ type DeviceSettingsInfo = {
|
|
|
41019
41280
|
};
|
|
41020
41281
|
type UserDeliveryWay = UserDeliveryWayDto;
|
|
41021
41282
|
type DeliveryChannel = DeliveryChannelDto;
|
|
41022
|
-
type RegistrationUserInfo = RegistrationUserInfoDto
|
|
41283
|
+
type RegistrationUserInfo = NormalizedPublicity<RegistrationUserInfoDto>;
|
|
41023
41284
|
type RegisterUserForAccountResp = RegisterUserForAccountRespDto;
|
|
41024
41285
|
type UserCalendar = UserCalendarDto;
|
|
41025
41286
|
type InitDeletingUserResp = InitDeletingUserRespDto;
|
|
@@ -41052,7 +41313,7 @@ declare class UserFacade {
|
|
|
41052
41313
|
/** `GET /api/v1/user/loyaltycard` */
|
|
41053
41314
|
getLoyaltyCard(options?: {
|
|
41054
41315
|
signal?: AbortSignal;
|
|
41055
|
-
}): Promise<
|
|
41316
|
+
}): Promise<LoyaltyCardItem>;
|
|
41056
41317
|
/** `GET /api/v1/user/accounts` */
|
|
41057
41318
|
listAccounts(query?: UserAccountsQuery, options?: {
|
|
41058
41319
|
signal?: AbortSignal;
|
|
@@ -41277,9 +41538,9 @@ declare class IntegrationsFacade {
|
|
|
41277
41538
|
delete(integrationId: string, options?: TorrowOptions): Promise<number>;
|
|
41278
41539
|
}
|
|
41279
41540
|
|
|
41280
|
-
type Feedback = FeedbackDto
|
|
41281
|
-
type ItemFeedback = ItemFeedbackDto
|
|
41282
|
-
type UserFeedback = UserFeedbackDto
|
|
41541
|
+
type Feedback = NormalizedPublicity<FeedbackDto>;
|
|
41542
|
+
type ItemFeedback = NormalizedPublicity<ItemFeedbackDto>;
|
|
41543
|
+
type UserFeedback = NormalizedPublicity<UserFeedbackDto>;
|
|
41283
41544
|
|
|
41284
41545
|
/**
|
|
41285
41546
|
* Кросс-доменные операции **Item** (отзывы, шаринг-сессия, uniquename).
|
|
@@ -41514,162 +41775,6 @@ declare class TorrowClient {
|
|
|
41514
41775
|
constructor(config: TorrowClientConfig);
|
|
41515
41776
|
}
|
|
41516
41777
|
|
|
41517
|
-
/** Причина отказа SDK; сама по себе не определяет результат записи. */
|
|
41518
|
-
declare enum TorrowSdkErrorCategory {
|
|
41519
|
-
/** Неверные параметры операции. */ InvalidInput = "InvalidInput",
|
|
41520
|
-
/** Операция недопустима в текущем состоянии. */ InvalidState = "InvalidState",
|
|
41521
|
-
/** Подтверждённый отказ доступа. */ AccessDenied = "AccessDenied",
|
|
41522
|
-
/** Недостаточно данных для безопасного выполнения. */ InsufficientData = "InsufficientData",
|
|
41523
|
-
/** Ответ не соответствует ожидаемой структуре. */ InvalidResponse = "InvalidResponse",
|
|
41524
|
-
/** Доказанное несовпадение версии. */ VersionConflict = "VersionConflict",
|
|
41525
|
-
/** Требуется аутентификация. */ AuthenticationRequired = "AuthenticationRequired",
|
|
41526
|
-
/** Способ выполнения не поддерживается. */ UnsupportedOperation = "UnsupportedOperation",
|
|
41527
|
-
/** Сервер ограничил частоту запросов. */ RateLimited = "RateLimited",
|
|
41528
|
-
/** Прочий HTTP-отказ. */ HttpFailure = "HttpFailure",
|
|
41529
|
-
/** Распознанный сбой транспорта. */ TransportFailure = "TransportFailure",
|
|
41530
|
-
/** Сбой сохранения или загрузки состояния. */ StorageFailure = "StorageFailure",
|
|
41531
|
-
/** Запрос отменён. */ Cancelled = "Cancelled",
|
|
41532
|
-
/** Причина зависимости не распознана. */ Unknown = "Unknown"
|
|
41533
|
-
}
|
|
41534
|
-
/** Начало вызова fetch конкретного запроса, без гарантии доставки. */
|
|
41535
|
-
declare enum TorrowSdkRequestState {
|
|
41536
|
-
/** fetch ещё не вызван. */ NotStarted = "NotStarted",
|
|
41537
|
-
/** Начат вызов fetch. */ Started = "Started"
|
|
41538
|
-
}
|
|
41539
|
-
/** Область описанного предметного изменения. */
|
|
41540
|
-
declare enum TorrowSdkEffectArea {
|
|
41541
|
-
/** Изменение на сервере. */ Remote = "Remote",
|
|
41542
|
-
/** Изменение памяти текущей сессии. */ SessionMemory = "SessionMemory",
|
|
41543
|
-
/** Изменение постоянного хранилища. */ Storage = "Storage"
|
|
41544
|
-
}
|
|
41545
|
-
/** Доказанность отдельного изменения. */
|
|
41546
|
-
declare enum TorrowSdkEffectState {
|
|
41547
|
-
/** Доказано отсутствие изменения. */ NotApplied = "NotApplied",
|
|
41548
|
-
/** Выполнение изменения подтверждено. */ Applied = "Applied",
|
|
41549
|
-
/** Результат изменения неизвестен. */ Unknown = "Unknown"
|
|
41550
|
-
}
|
|
41551
|
-
/** Домен предметного уточнения ошибки. */
|
|
41552
|
-
declare enum TorrowSdkErrorDomain {
|
|
41553
|
-
/** Частичное обновление item через GET и CAS PUT. */ ItemPatch = "ItemPatch",
|
|
41554
|
-
/** Настройки поведения услуг и ресурсов. */ BehaviorSettings = "BehaviorSettings",
|
|
41555
|
-
/** Пошаговый OTP. */ Otp = "Otp",
|
|
41556
|
-
/** Сессия токенов и составной вход. */ AuthSession = "AuthSession"
|
|
41557
|
-
}
|
|
41558
|
-
/** Причина отказа OTP. */
|
|
41559
|
-
declare enum OtpErrorReason {
|
|
41560
|
-
/** Неверное продолжение. */ InvalidChallenge = "InvalidChallenge",
|
|
41561
|
-
/** Метод не поддержан приложением. */ UnsupportedMethod = "UnsupportedMethod",
|
|
41562
|
-
/** Отсутствует заголовок авторизации. */ AuthHeaderMissing = "AuthHeaderMissing",
|
|
41563
|
-
/** Исчерпан лимит отправки. */ CodeRequestLimitExceeded = "CodeRequestLimitExceeded"
|
|
41564
|
-
}
|
|
41565
|
-
/** Причина отказа сессии. */
|
|
41566
|
-
declare enum AuthSessionErrorReason {
|
|
41567
|
-
/** Сессия ещё не готова к выдаче токенов. */ SessionNotReady = "SessionNotReady",
|
|
41568
|
-
/** Ошибка пользовательского callback. */ CallbackFailed = "CallbackFailed"
|
|
41569
|
-
}
|
|
41570
|
-
/** Шаги изменения настроек. */
|
|
41571
|
-
declare enum BehaviorSettingsEffectStep {
|
|
41572
|
-
/** Целевая запись настроек. */ Write = "Write"
|
|
41573
|
-
}
|
|
41574
|
-
/** Шаг частичного изменения основного документа; не транзакция внутренних действий сервера. */
|
|
41575
|
-
declare enum ItemPatchEffectStep {
|
|
41576
|
-
/** Запись основного документа элемента. */ Write = "Write"
|
|
41577
|
-
}
|
|
41578
|
-
/** Шаги изменения сессии. */
|
|
41579
|
-
declare enum AuthSessionEffectStep {
|
|
41580
|
-
/** Создание серверного продолжения входа по ссылке. */ CreateAuthSession = "CreateAuthSession",
|
|
41581
|
-
/** Закрытие локальной сессии. */ CloseSession = "CloseSession",
|
|
41582
|
-
/** Выдача токенов. */ IssueTokens = "IssueTokens",
|
|
41583
|
-
/** Обновление токенов. */ RefreshTokens = "RefreshTokens",
|
|
41584
|
-
/** Отзыв токенов. */ RevokeTokens = "RevokeTokens",
|
|
41585
|
-
/** Отправка кода или ссылки. */ SendCode = "SendCode",
|
|
41586
|
-
/** Замена токенов в памяти. */ SetTokens = "SetTokens",
|
|
41587
|
-
/** Очистка токенов в памяти. */ ClearTokens = "ClearTokens",
|
|
41588
|
-
/** Сохранение токенов. */ SaveTokens = "SaveTokens",
|
|
41589
|
-
/** Очистка хранилища. */ ClearStorage = "ClearStorage"
|
|
41590
|
-
}
|
|
41591
|
-
/** Безопасное описание отдельного изменения; не журнал всех вызовов. */
|
|
41592
|
-
interface TorrowSdkEffect {
|
|
41593
|
-
/** Область изменения. */ readonly area: TorrowSdkEffectArea;
|
|
41594
|
-
/** Предметный шаг выбранного метода. */ readonly step: BehaviorSettingsEffectStep | AuthSessionEffectStep | ItemPatchEffectStep;
|
|
41595
|
-
/** Доказанность результата шага. */ readonly state: TorrowSdkEffectState;
|
|
41596
|
-
}
|
|
41597
|
-
/** Предметное уточнение настроек. */
|
|
41598
|
-
interface BehaviorSettingsErrorDetail {
|
|
41599
|
-
/** Область ошибки настроек. */ readonly domain: TorrowSdkErrorDomain.BehaviorSettings;
|
|
41600
|
-
/** У настроек нет дополнительной причины; доступ к общему optional reason остаётся типизированным. */ readonly reason?: never;
|
|
41601
|
-
}
|
|
41602
|
-
/** Безопасное уточнение частичного изменения элемента. */
|
|
41603
|
-
interface ItemPatchErrorDetail {
|
|
41604
|
-
/** Область ошибки составной операции patch. */ readonly domain: TorrowSdkErrorDomain.ItemPatch;
|
|
41605
|
-
/** Достаточно общей категории; дополнительная причина не вводится. */ readonly reason?: never;
|
|
41606
|
-
}
|
|
41607
|
-
/** Предметное уточнение OTP; секреты здесь не размещаются. */
|
|
41608
|
-
interface OtpErrorDetail {
|
|
41609
|
-
/** Область ошибки OTP. */ readonly domain: TorrowSdkErrorDomain.Otp;
|
|
41610
|
-
/** Дополнительное уточнение; отсутствие означает, что достаточно category. */ readonly reason?: OtpErrorReason;
|
|
41611
|
-
/** Проверенное время следующей отправки, Unix milliseconds; отсутствует без подсказки. */ readonly nextSendAtMs?: number;
|
|
41612
|
-
/** Проверенная длительность ожидания в секундах. */ readonly retryAfterSeconds?: number;
|
|
41613
|
-
}
|
|
41614
|
-
/** Предметное уточнение сессии. */
|
|
41615
|
-
interface AuthSessionErrorDetail {
|
|
41616
|
-
/** Область ошибки сессии. */ readonly domain: TorrowSdkErrorDomain.AuthSession;
|
|
41617
|
-
/** Дополнительное уточнение; отсутствие означает, что достаточно category. */ readonly reason?: AuthSessionErrorReason;
|
|
41618
|
-
}
|
|
41619
|
-
/** Поддержанные предметные детали ошибки. */
|
|
41620
|
-
type TorrowSdkErrorDetail = BehaviorSettingsErrorDetail | ItemPatchErrorDetail | OtpErrorDetail | AuthSessionErrorDetail;
|
|
41621
|
-
/** Безопасные HTTP-метаданные без тела и URL. */
|
|
41622
|
-
interface TorrowSdkHttpDetails {
|
|
41623
|
-
/** Статус полученного ответа. */ readonly status: number;
|
|
41624
|
-
/** Код API; числовой wire-код приводится к строке. */ readonly apiCode?: string;
|
|
41625
|
-
/** Известное SDK кодовое имя; произвольные серверные строки исключены. */ readonly apiErrorName?: string;
|
|
41626
|
-
/** Идентификатор запроса для поддержки. */ readonly requestId?: string;
|
|
41627
|
-
/** Идентификатор трассировки сервера. */ readonly traceIdentifier?: string;
|
|
41628
|
-
}
|
|
41629
|
-
/** Чувствительная диагностика; доступна только по явному запросу. */
|
|
41630
|
-
interface TorrowSdkSensitiveDetails {
|
|
41631
|
-
/** Исходное исключение зависимости, включая его исходный стек. */ readonly cause?: unknown;
|
|
41632
|
-
/** Исходное тело ответа. */ readonly body?: unknown;
|
|
41633
|
-
/** Полный URL запроса, который может содержать токены. */ readonly url?: string;
|
|
41634
|
-
/** Данные явного отзыва OTP-токенов. */ readonly cleanup?: {
|
|
41635
|
-
/** Секрет отзыва; не логировать. */ readonly refreshToken: string;
|
|
41636
|
-
};
|
|
41637
|
-
}
|
|
41638
|
-
/** Безопасный снимок ошибки. Отсутствие effects не доказывает отсутствие изменений. */
|
|
41639
|
-
interface TorrowSdkErrorInfo {
|
|
41640
|
-
/** Общая причина отказа. */ readonly category: TorrowSdkErrorCategory;
|
|
41641
|
-
/** Необязательное пояснение для человека, не для ветвления. Передающий текст отвечает за его безопасность. */ readonly publicMessage?: string;
|
|
41642
|
-
/** Метаданные HTTP, если они известны. */ readonly http?: TorrowSdkHttpDetails;
|
|
41643
|
-
/** Предметное уточнение выбранного домена. */ readonly detail?: TorrowSdkErrorDetail;
|
|
41644
|
-
/** Начало fetch соответствующего запроса. */ readonly request?: TorrowSdkRequestState;
|
|
41645
|
-
/** Стабильное имя выбранной составной операции, без аргументов. */ readonly operation?: string;
|
|
41646
|
-
/** Локальная стадия сбоя, без пользовательских данных. */ readonly failureAt?: string;
|
|
41647
|
-
/** Только описанные изменения данной операции; отсутствие означает отсутствие сведений. */ readonly effects?: readonly TorrowSdkEffect[];
|
|
41648
|
-
}
|
|
41649
|
-
/** Параметры создания ошибки; безопасные поля унаследованы из TorrowSdkErrorInfo. */
|
|
41650
|
-
interface TorrowSdkErrorInit extends TorrowSdkErrorInfo {
|
|
41651
|
-
/** Исходные данные, исключённые из стандартной диагностики. */ readonly sensitive?: TorrowSdkSensitiveDetails;
|
|
41652
|
-
}
|
|
41653
|
-
/** Единая ошибка сетевых и выбранных предметных операций SDK. */
|
|
41654
|
-
declare class TorrowSdkError extends Error implements TorrowSdkErrorInfo {
|
|
41655
|
-
#private;
|
|
41656
|
-
/** Общая причина отказа. */ readonly category: TorrowSdkErrorCategory;
|
|
41657
|
-
/** Пояснение без изменения исходной строки: до 512 UTF-16 единиц, не пустое после trim; иначе undefined. */ readonly publicMessage?: string;
|
|
41658
|
-
/** Безопасные метаданные ответа. */ readonly http?: TorrowSdkHttpDetails;
|
|
41659
|
-
/** Неизменяемое предметное уточнение. */ readonly detail?: TorrowSdkErrorDetail;
|
|
41660
|
-
/** Начало fetch; не доставка. */ readonly request?: TorrowSdkRequestState;
|
|
41661
|
-
/** Имя составной операции без пользовательских значений. */ readonly operation?: string;
|
|
41662
|
-
/** Стадия отказа без аргументов. */ readonly failureAt?: string;
|
|
41663
|
-
/** Неизменяемые сведения об описанных изменениях. */ readonly effects?: readonly TorrowSdkEffect[];
|
|
41664
|
-
constructor(init: TorrowSdkErrorInit);
|
|
41665
|
-
/** Безопасный снимок для обычной сериализации и диагностики. */
|
|
41666
|
-
toJSON(): TorrowSdkErrorInfo;
|
|
41667
|
-
/** Явный доступ к секретной диагностике; вызывающий код отвечает за её защиту. */
|
|
41668
|
-
getSensitiveDetails(): TorrowSdkSensitiveDetails;
|
|
41669
|
-
/** Новый снимок для составной операции; исходная ошибка не изменяется. */
|
|
41670
|
-
withContext(context: Partial<TorrowSdkErrorInfo>): TorrowSdkError;
|
|
41671
|
-
}
|
|
41672
|
-
|
|
41673
41778
|
/**
|
|
41674
41779
|
* Известные серверные кодовые имена ошибок, общие для потребителей SDK.
|
|
41675
41780
|
* Наличие имени здесь не гарантирует предметную классификацию и не разрешает повтор операции:
|
|
@@ -42045,4 +42150,4 @@ declare class ResourceBuilder {
|
|
|
42045
42150
|
build(): ResourceBuildResult;
|
|
42046
42151
|
}
|
|
42047
42152
|
|
|
42048
|
-
export { type Account, type AccountType, AccountTypeValueList, AccountTypeValues, type AccountingTransaction, type AccountingTransactionState, AccountingTransactionsFacade, type AccountingTransactionsListQuery, ActionHistoryFacade, type ActionHistoryInfo, type ActionHistoryListQuery, type ActionHistoryState, type ActionHistoryType, type ActivityStatus, type AddExternalAuthReq, type AddExternalAuthResp, type AddProfileResp, type AddServicePaymentGroupInput, type AddServiceResourceGroupInput, type AddServiceResourceStepInput, type Address, type AdvisedItemsSearchQuery, type AnnouncementInfo, type AnnouncementState, AnnouncementsFacade, type AnnouncementsListQuery, type AnyoneAccess, AnyoneAccessValues, ApiErrorNameValues, type ApiKeyInfo, ApiKeysFacade, type ApproveCaseParticipationReq, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, AuthSessionEffectStep, type AuthSessionErrorDetail, AuthSessionErrorReason, type AvailabilityTime, type AvailableResources, AvailableResourcesValues, type BalanceValue, type BaseItemProperties, BehaviorSettingsEffectStep, type BehaviorSettingsErrorDetail, type BlockReason, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForOthersReq, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemForCreateOrUpdate, type CalendarItemPatch, type CalendarItemPatchScheduleRangeExceptions, type CalendarItemPatchTimeRange, type CalendarView, CalendarsFacade, type CancelCaseParticipationReq, type CaseItem, type CaseItemForCreateOrUpdate, type CaseItemPatch, type CaseParticipant, type CaseParticipantFields, type CaseParticipantType, type CaseParticipantView, type CaseParticipantsCountQuery, type CaseParticipantsListQuery, type CaseReportProperties, type CaseState, CaseStateValues, type CaseType, CaseTypeValues, type CaseView, CasesFacade, type CellValueType, CellValueTypeValues, type ChangeMoneyReceiveReq, type ChangeOrderServiceReq, type CheckInProps, type CheckInReq, type ColumnType, ColumnTypeValues, type Communication, type CommunicationBrandId, type CommunicationForCreateOrUpdate, type CommunicationType, CommunicationTypeValues, type CompleteAddingAccountReq, type CompleteDeletingUserReq, type CompleteDeletingUserResp, type ContactCaseParticipantsListQuery, type ContactCommunicationPatch, type ContactItem, type ContactItemForCreateOrUpdate, type ContactItemPatch, type ContactPersonalInfo, type ContactProperties, type ContactSearchQuery, type ContactView, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemForCreateOrUpdate, type ContextItemPatch, type ContextView, ContextsFacade, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateAuthSessionReq, type CreateAuthSessionResp, type CreateCaseReq, type CreateLoyaltyCardReq, type CreateLoyaltyCardSubscriptionReq, type CreateOrderReq, DEFAULT_TORROW_API_BASE_URL, DefaultAuthScopes, type DeleteResponse, type DeleteUserAccountReq, type DeleteUserAccountResp, type DeviceInfo, type DeviceSettingsInfo, type DeviceType, DeviceTypeValueList, DeviceTypeValues, type DictionarySortCondition, Discriminator, type DiscriminatorType, type ExcludeFromGroupsReq, type ExcludeResp, type ExportGraph, ExportImportFacade, type ExportRequest, type ExternalAuth, ExternalAuthsFacade, type Feedback, type FeedbackOptions, type FileInfo, type FreeCheckInSlot, type Gender, GenderValues, type GenerateReportReq, type GenerateReportResp, type GenerateSecurityTokenReq, type GenerateSecurityTokenResp, type GetCaseOptions, type GetCaseParticipationCountResp, type GetCheckInScheduleReq, type GetCheckInScheduleResp, type GetLoyaltySystemsStatisticsReq, type GetLoyaltySystemsStatisticsResp, type GetReCheckInScheduleReq, type GetServiceOptions, type GetServiceWorkloadInfoRequest, type GetServiceWorkloadInfoResp, type GetShareItemSessionReq, type GetTimetableStatisticsRequest, type GetTorrowIdResp, type GroupStatus, type Hobby, HttpClient, type HttpMethod, type HttpRequestInit, IdGeneratorFacade, type ImagePreviewSize, ImagePreviewSizeValues, type ImportByFileRequest, type ImportByUniqueNameRequest, type IncludeExcludeResp, type IncludeForUserReq, type IncludeToGroupsReq, type IncludeToParentReq, type InitAddingAccountReq, type InitAddingAccountResp, type InitDeletingUserResp, type Integration, IntegrationsFacade, ItemFacade, type ItemFeedback, ItemPatchEffectStep, type ItemPatchErrorDetail, type ItemPricePatchFields, type ItemPricePatchInfo, type ItemPricePatchProperties, type ItemPricePatchSetting, type ItemProperties, type ItemTagsListQuery, type ItemTextSearchQuery, type ItemViewSortConditionDto as ItemViewSortCondition, ItemViewSortConditionValueList, ItemViewSortConditionValues, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type KnownServiceType, type LayoutTypeValue, LayoutTypeValues, type LoyaltyCardFilterCondition, type LoyaltyCardIssueType, LoyaltyCardIssueTypeValues, type LoyaltyCardItem, type LoyaltyCardItemForCreateOrUpdate, type LoyaltyParticipantsQuery as LoyaltyCardParticipantsQuery, type Participation as LoyaltyCardParticipation, type ParticipationResp as LoyaltyCardParticipationResp, type SendLinkOfItemReq as LoyaltyCardSendLinkReq, type SendLinkOfItemResp as LoyaltyCardSendLinkResp, type ShareItemReq as LoyaltyCardShareReq, type LoyaltyCardSortCondition, LoyaltyCardSortConditionValues, type LoyaltyCardSubscription, type LoyaltyCardUpdateKeyInformation, LoyaltyCardUpdateKeyInformationValues, type LoyaltyCardUpdateNonKeyInformation, LoyaltyCardUpdateNonKeyInformationValues, type LoyaltyCardView, LoyaltyCardsFacade, type LoyaltyGroupListQuery, type LoyaltyPersonalListQuery, type LoyaltySystemInitialSubscriptionPatch, type LoyaltySystemItem, type LoyaltySystemItemForCreateOrUpdate, type LoyaltySystemItemForUpdate, type LoyaltySystemItemPatch, type LoyaltyParticipantsQuery as LoyaltySystemParticipantsQuery, type Participation as LoyaltySystemParticipation, type ParticipationResp as LoyaltySystemParticipationResp, type LoyaltySystemPersonalListQuery, type SendLinkOfItemReq as LoyaltySystemSendLinkReq, type SendLinkOfItemResp as LoyaltySystemSendLinkResp, type ShareItemReq as LoyaltySystemShareReq, type LoyaltySystemView, LoyaltySystemsFacade, type LoyaltySystemsStatisticsResp, type LoyaltyTransactionsQuery, type ManagedSolutionData, type MemorableDate, type Metrics, type NoteItem, type NoteItemForCreateOrUpdate, type NoteItemPatch, type NoteType, NoteTypeValues, type NoteView, NotesFacade, type NotificationWay, type OrderFilter, type OrderResp, type OrderSearchQuery, type OtpErrorDetail, OtpErrorReason, type ParticipantStateDto as ParticipantState, type ParticipantTypeDto as ParticipantType, type ParticipantView, type Participation, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type PatchCaseReq, type PaymentProviderType, PaymentProviderTypeValues, type PersonalListQuery, type PersonalReminder, type PersonalSolutionData, type PickOrderReq, type PickOrderResp, PinnedViewsFacade, type Place, type ProfileListResp, type ProfileProperties, type ProfileType, ProfileTypeValues, ProfilesFacade, type PublicityType, type PutUrlResp, type Rating, RawClient, type RawRequestOptions, type RefreshReq, type RegisterInfo, type RegisterUserForAccountResp, type RegistrationUserInfo, RelationsFacade, type RemoveProfileResp, type ReportOptions, type ReportProperties, type ReportPropertiesBase, ReportsFacade, type ResolvedTorrowClientConfig, type ResourceBuildResult, ResourceBuilder, type ResourceGroup, type ResourceItem, type ResourceBehaviorSettings as ResourceItemBehaviorSettings, type ResourceItemForCreateOrUpdate, type ResourceItemPatch, type ResourceItemPatchFields, type ResourceMindMapView, type ResourcePaymentPatchParameters, type ResourcePaymentPatchProperties, type ResourceReportProperties, type ResourceServiceBindingOptions, type ResourceUsageConditionType, type ResourceView, ResourcesFacade, type ResourcesFilterOptions, type ResourcesRentReportProperties, type ReturnOrderReq, type ReturnOrderResp, type RevokeReq, type SaveItemToMindMapReq, SearchFacade, type SearchLoyaltyCardsReq, type SearchServiceResourcesReq, type SearchServiceResourcesResp, type SendCodeAccountType, SendCodeAccountTypeValueList, SendCodeAccountTypeValues, type SendCodeReq, type SendCodeReqForOtp, type SendCodeResp, type SendCommunicationCodeReq, type SendCommunicationCodeResp, type ServiceBehaviorSettings, type ServiceBehaviorSettingsIssue, ServiceBehaviorSettingsIssueReason, type ServiceBehaviorSettingsState, type ServiceBehaviorSettingsUpdateOptions, type ServiceBehaviorSettingsUpdateResult, type ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemForCreateOrUpdate, type ServiceItemForUpdate, type ServiceItemPatch, ServiceOrderConflictErrorNameValues, type ServiceOrderConflictReason, type ServiceReportProperties, type ServiceResourceStepUsageType, type ServiceSessionDurationOptions, ServiceType, type ServiceTypePreset, ServiceTypePresetValues, type ServiceView, ServicesFacade, type ServicesResourcesReportProperties, type SessionDurationProperties, type SessionDurationType, SessionDurationTypeValues, type SessionPrecisionType, SessionPrecisionTypeValues, type ShareItemReq, ShortUrlFacade, type SolutionData, type Filter as SolutionDataFilter, type StateManagementType, StateManagementTypeValues, type StepDescription, type DictionarySortCondition as ThesaurusDictionarySortCondition, ThesaurusFacade, type TimePeriod, type TimeSelectionType, TimeSelectionTypeValues, type TimeSplitType, TimeSplitTypeValues, type TimeStepUiMode, TimeStepUiModeValues, type TimetableCase, type TimetableDetailsVisibility, type TimetableFilter, type TimetableQueryOptions, type TimetableStatisticsResp, type TimetableViewTypeValue, TimetableViewTypeValues, type TokenReq, type TokenResp, type TokenStatus, TokenStatusValueList, TokenStatusValues, TorrowClient, type TorrowClientConfig, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemPatchFields, type TorrowItemPatchImage, type TorrowItemPatchOptions, type TorrowItemPatchResult, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowOptions, type TorrowSdkEffect, TorrowSdkEffectArea, TorrowSdkEffectState, TorrowSdkError, TorrowSdkErrorCategory, type TorrowSdkErrorDetail, TorrowSdkErrorDomain, type TorrowSdkErrorInfo, type TorrowSdkErrorInit, type TorrowSdkHttpDetails, TorrowSdkRequestState, type TorrowSdkSensitiveDetails, type UnpackedTorrowId, type UpdateAnnouncementStateReq, type UpdateContactPropertiesResp, type UpdateFileIdResp, type UpdateMasterInfoReq, type UpdateOrderInfoReq, type UpdateOrderReq, type UpdatePersonalListOrderReq, type UpdatePersonalListOrderResp, type UpdateProfilePropertiesResp, type UsageCondition, type UsageConditionType, UsageConditionTypeValues, type UsageType, UsageTypeValues, type UserAccessLevel, UserAccessLevelValues, type UserAccountsQuery, type UserCalendar, type UserDeliveryWay, UserFacade, type UserFeedback, type UserProfileItemForAdd, UserSettingsFacade, type UserSettingsInfo, type UserTimetableQuery, UserViewsFacade, type VerificationMethod, VerificationMethodValueList, VerificationMethodValues, type VerifyCommunicationCodeReq, type VerifyCommunicationCodeResp, type ViewBlockSettings, type ViewInfo, type ViewListQuery, type ViewListRootQuery, type ViewOrderInput, ViewsFacade, type WorkloadPeriod, buildContextIconSvg, buildContextIconSvgBytes, cancelCaseParticipation, communicationHref, type components, createOrder, createServiceSessionDurationProperties, expandBookingWizardSteps, generateServiceResourceGroupId, generateTorrowId, generateTorrowIdForOwner, getCase, getCheckInSchedule, getContextIconPresetFileName, getFreeCheckInSlots, getResourceGroupIdFromStep, getService, getServiceOrderConflictReason, getServiceResources, getServiceType, getServiceTypeFromSessionDurationProperties, getShardFromTorrowId, getStepParameter, getTicketPaymentUrl, getTicketPaymentUrlRaw, getTimeStepUiMode, getTorrowItemTypeFromTorrowId, getTorrowItemTypeFromTorrowIds, getTorrowObjectTypeFromTorrowId, isAccountType, isAuthCaptchaType, isAuthScope, isContextIconPreset, isDeviceType, isFreeCheckInSlot, isItemViewSortCondition, isSendCodeAccountType, isServiceOrderConflictError, isStepFlag, isTokenRespReadyStatus, isTokenStatus, isTorrowItemType, isVerificationMethod, normalizePaymentUrl, packTorrowId, parseAccountType, parseAuthCaptchaType, parseAuthScope, parseContextIconPresetFromImage, parseDeviceType, parseSendCodeAccountType, parseTokenStatus, parseVerificationMethod, type paths, resolveCommunicationBrand, shouldSkipResourceStep, sortStepDescriptionsByOrder, torrowObjectTypeToCode, unpackTorrowId };
|
|
42153
|
+
export { type Account, type AccountType, AccountTypeValueList, AccountTypeValues, type AccountingTransaction, type AccountingTransactionState, AccountingTransactionsFacade, type AccountingTransactionsListQuery, ActionHistoryFacade, type ActionHistoryInfo, type ActionHistoryListQuery, type ActionHistoryState, type ActionHistoryType, type ActivityStatus, type AddExternalAuthReq, type AddExternalAuthResp, type AddProfileResp, type AddServicePaymentGroupInput, type AddServiceResourceGroupInput, type AddServiceResourceStepInput, type Address, type AdvisedItemsSearchQuery, type AnnouncementInfo, type AnnouncementState, AnnouncementsFacade, type AnnouncementsListQuery, type AnyoneAccess, AnyoneAccessValues, ApiErrorNameValues, type ApiKeyInfo, ApiKeysFacade, type ApproveCaseParticipationReq, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, AuthSessionEffectStep, type AuthSessionErrorDetail, AuthSessionErrorReason, type AvailabilityTime, type AvailableResources, AvailableResourcesValues, type BalanceValue, type BaseItemProperties, BehaviorSettingsEffectStep, type BehaviorSettingsErrorDetail, type BlockReason, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForOthersReq, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemForCreateOrUpdate, type CalendarItemPatch, type CalendarItemPatchScheduleRangeExceptions, type CalendarItemPatchTimeRange, type CalendarView, CalendarsFacade, type CancelCaseParticipationReq, type CaseItem, type CaseItemForCreateOrUpdate, type CaseItemPatch, type CaseParticipant, type CaseParticipantFields, type CaseParticipantType, type CaseParticipantView, type CaseParticipantsCountQuery, type CaseParticipantsListQuery, type CaseReportProperties, type CaseState, CaseStateValues, type CaseType, CaseTypeValues, type CaseView, CasesFacade, type CellValueType, CellValueTypeValues, type ChangeMoneyReceiveReq, type ChangeOrderServiceReq, type CheckInProps, type CheckInReq, type ColumnType, ColumnTypeValues, type Communication, type CommunicationBrandId, type CommunicationForCreateOrUpdate, type CommunicationType, CommunicationTypeValues, type CompleteAddingAccountReq, type CompleteDeletingUserReq, type CompleteDeletingUserResp, type ContactCaseParticipantsListQuery, type ContactCommunicationPatch, type ContactItem, type ContactItemForCreateOrUpdate, type ContactItemPatch, type ContactPersonalInfo, type ContactProperties, type ContactSearchQuery, type ContactView, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemForCreateOrUpdate, type ContextItemPatch, type ContextView, ContextsFacade, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateAuthSessionReq, type CreateAuthSessionResp, type CreateCaseReq, type CreateLoyaltyCardReq, type CreateLoyaltyCardSubscriptionReq, type CreateOrderReq, DEFAULT_TORROW_API_BASE_URL, DefaultAuthScopes, type DeleteResponse, type DeleteUserAccountReq, type DeleteUserAccountResp, type DeviceInfo, type DeviceSettingsInfo, type DeviceType, DeviceTypeValueList, DeviceTypeValues, type DictionarySortCondition, Discriminator, type DiscriminatorType, type ExcludeFromGroupsReq, type ExcludeResp, type ExportGraph, ExportImportFacade, type ExportRequest, type ExternalAuth, ExternalAuthsFacade, type Feedback, type FeedbackOptions, type FileInfo, type FileMetadataErrorDetail, FileMetadataErrorReason, FileMetadataFailureAt, FileMetadataOperation, type FreeCheckInSlot, type Gender, GenderValues, type GenerateReportReq, type GenerateReportResp, type GenerateSecurityTokenReq, type GenerateSecurityTokenResp, type GetCaseOptions, type GetCaseParticipationCountResp, type GetCheckInScheduleReq, type GetCheckInScheduleResp, type GetLoyaltySystemsStatisticsReq, type GetLoyaltySystemsStatisticsResp, type GetReCheckInScheduleReq, type GetServiceOptions, type GetServiceWorkloadInfoRequest, type GetServiceWorkloadInfoResp, type GetShareItemSessionReq, type GetTimetableStatisticsRequest, type GetTorrowIdResp, type GroupStatus, type Hobby, HttpClient, type HttpMethod, type HttpRequestInit, IdGeneratorFacade, type ImagePreviewSize, ImagePreviewSizeValues, type ImportByFileRequest, type ImportByUniqueNameRequest, type IncludeExcludeResp, type IncludeForUserReq, type IncludeToGroupsReq, type IncludeToParentReq, type InitAddingAccountReq, type InitAddingAccountResp, type InitDeletingUserResp, type Integration, IntegrationsFacade, ItemFacade, type ItemFeedback, ItemPatchEffectStep, type ItemPatchErrorDetail, type ItemPricePatchFields, type ItemPricePatchInfo, type ItemPricePatchProperties, type ItemPricePatchSetting, type ItemProperties, type ItemTagsListQuery, type ItemTextSearchQuery, type ItemViewSortConditionDto as ItemViewSortCondition, ItemViewSortConditionValueList, ItemViewSortConditionValues, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type KnownServiceType, type LayoutTypeValue, LayoutTypeValues, type LoyaltyCardFilterCondition, type LoyaltyCardIssueType, LoyaltyCardIssueTypeValues, type LoyaltyCardItem, type LoyaltyCardItemForCreateOrUpdate, type LoyaltyParticipantsQuery as LoyaltyCardParticipantsQuery, type Participation as LoyaltyCardParticipation, type ParticipationResp as LoyaltyCardParticipationResp, type SendLinkOfItemReq as LoyaltyCardSendLinkReq, type SendLinkOfItemResp as LoyaltyCardSendLinkResp, type ShareItemReq as LoyaltyCardShareReq, type LoyaltyCardSortCondition, LoyaltyCardSortConditionValues, type LoyaltyCardSubscription, type LoyaltyCardUpdateKeyInformation, LoyaltyCardUpdateKeyInformationValues, type LoyaltyCardUpdateNonKeyInformation, LoyaltyCardUpdateNonKeyInformationValues, type LoyaltyCardView, LoyaltyCardsFacade, type LoyaltyGroupListQuery, type LoyaltyPersonalListQuery, type LoyaltySystemInitialSubscriptionPatch, type LoyaltySystemItem, type LoyaltySystemItemForCreateOrUpdate, type LoyaltySystemItemForUpdate, type LoyaltySystemItemPatch, type LoyaltyParticipantsQuery as LoyaltySystemParticipantsQuery, type Participation as LoyaltySystemParticipation, type ParticipationResp as LoyaltySystemParticipationResp, type LoyaltySystemPersonalListQuery, type SendLinkOfItemReq as LoyaltySystemSendLinkReq, type SendLinkOfItemResp as LoyaltySystemSendLinkResp, type ShareItemReq as LoyaltySystemShareReq, type LoyaltySystemView, LoyaltySystemsFacade, type LoyaltySystemsStatisticsResp, type LoyaltyTransactionsQuery, type ManagedSolutionData, type MemorableDate, type Metrics, type NoteItem, type NoteItemForCreateOrUpdate, type NoteItemPatch, type NoteType, NoteTypeValues, type NoteView, NotesFacade, type NotificationWay, type OrderFilter, type OrderResp, type OrderSearchQuery, type OtpErrorDetail, OtpErrorReason, type ParticipantStateDto as ParticipantState, type ParticipantTypeDto as ParticipantType, type ParticipantView, type Participation, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type PatchCaseReq, type PaymentProviderType, PaymentProviderTypeValues, type PersonalListQuery, type PersonalReminder, type PersonalSolutionData, type PickOrderReq, type PickOrderResp, PinnedViewsFacade, type Place, type ProfileListResp, type ProfileProperties, type ProfileType, ProfileTypeValues, ProfilesFacade, type PublicityType, type PutUrlResp, type Rating, RawClient, type RawRequestOptions, type RefreshReq, type RegisterInfo, type RegisterUserForAccountResp, type RegistrationUserInfo, RelationsFacade, type RemoveProfileResp, type ReportOptions, type ReportProperties, type ReportPropertiesBase, ReportsFacade, type ResolvedTorrowClientConfig, type ResourceBuildResult, ResourceBuilder, type ResourceGroup, type ResourceItem, type ResourceBehaviorSettings as ResourceItemBehaviorSettings, type ResourceItemForCreateOrUpdate, type ResourceItemPatch, type ResourceItemPatchFields, type ResourceMindMapView, type ResourcePaymentPatchParameters, type ResourcePaymentPatchProperties, type ResourceReportProperties, type ResourceServiceBindingOptions, type ResourceUsageConditionType, type ResourceView, ResourcesFacade, type ResourcesFilterOptions, type ResourcesRentReportProperties, type ReturnOrderReq, type ReturnOrderResp, type RevokeReq, type SaveItemToMindMapReq, SearchFacade, type SearchLoyaltyCardsReq, type SearchServiceResourcesReq, type SearchServiceResourcesResp, type SendCodeAccountType, SendCodeAccountTypeValueList, SendCodeAccountTypeValues, type SendCodeReq, type SendCodeReqForOtp, type SendCodeResp, type SendCommunicationCodeReq, type SendCommunicationCodeResp, type ServiceBehaviorSettings, type ServiceBehaviorSettingsIssue, ServiceBehaviorSettingsIssueReason, type ServiceBehaviorSettingsState, type ServiceBehaviorSettingsUpdateOptions, type ServiceBehaviorSettingsUpdateResult, type ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemForCreateOrUpdate, type ServiceItemForUpdate, type ServiceItemPatch, ServiceOrderConflictErrorNameValues, type ServiceOrderConflictReason, type ServiceReportProperties, type ServiceResourceStepUsageType, type ServiceSessionDurationOptions, ServiceType, type ServiceTypePreset, ServiceTypePresetValues, type ServiceView, ServicesFacade, type ServicesResourcesReportProperties, type SessionDurationProperties, type SessionDurationType, SessionDurationTypeValues, type SessionPrecisionType, SessionPrecisionTypeValues, type ShareItemReq, ShortUrlFacade, type SolutionData, type Filter as SolutionDataFilter, type StateManagementType, StateManagementTypeValues, type StepDescription, type DictionarySortCondition as ThesaurusDictionarySortCondition, ThesaurusFacade, type TimePeriod, type TimeSelectionType, TimeSelectionTypeValues, type TimeSplitType, TimeSplitTypeValues, type TimeStepUiMode, TimeStepUiModeValues, type TimetableCase, type TimetableDetailsVisibility, type TimetableFilter, type TimetableQueryOptions, type TimetableStatisticsResp, type TimetableViewTypeValue, TimetableViewTypeValues, type TokenReq, type TokenResp, type TokenStatus, TokenStatusValueList, TokenStatusValues, TorrowClient, type TorrowClientConfig, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemPatchFields, type TorrowItemPatchImage, type TorrowItemPatchOptions, type TorrowItemPatchResult, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowOptions, type TorrowSdkEffect, TorrowSdkEffectArea, TorrowSdkEffectState, TorrowSdkError, TorrowSdkErrorCategory, type TorrowSdkErrorDetail, TorrowSdkErrorDomain, type TorrowSdkErrorInfo, type TorrowSdkErrorInit, type TorrowSdkHttpDetails, TorrowSdkRequestState, type TorrowSdkSensitiveDetails, type UnpackedTorrowId, type UpdateAnnouncementStateReq, type UpdateContactPropertiesResp, type UpdateFileIdResp, type UpdateMasterInfoReq, type UpdateOrderInfoReq, type UpdateOrderReq, type UpdatePersonalListOrderReq, type UpdatePersonalListOrderResp, type UpdateProfilePropertiesResp, type UsageCondition, type UsageConditionType, UsageConditionTypeValues, type UsageType, UsageTypeValues, type UserAccessLevel, UserAccessLevelValues, type UserAccountsQuery, type UserCalendar, type UserDeliveryWay, UserFacade, type UserFeedback, type UserProfileItemForAdd, UserSettingsFacade, type UserSettingsInfo, type UserTimetableQuery, UserViewsFacade, type VerificationMethod, VerificationMethodValueList, VerificationMethodValues, type VerifyCommunicationCodeReq, type VerifyCommunicationCodeResp, type ViewBlockSettings, type ViewInfo, type ViewListQuery, type ViewListRootQuery, type ViewOrderInput, ViewsFacade, type WorkloadPeriod, buildContextIconSvg, buildContextIconSvgBytes, cancelCaseParticipation, communicationHref, type components, createOrder, createServiceSessionDurationProperties, expandBookingWizardSteps, generateServiceResourceGroupId, generateTorrowId, generateTorrowIdForOwner, getCase, getCheckInSchedule, getContextIconPresetFileName, getFreeCheckInSlots, getResourceGroupIdFromStep, getService, getServiceOrderConflictReason, getServiceResources, getServiceType, getServiceTypeFromSessionDurationProperties, getShardFromTorrowId, getStepParameter, getTicketPaymentUrl, getTicketPaymentUrlRaw, getTimeStepUiMode, getTorrowItemTypeFromTorrowId, getTorrowItemTypeFromTorrowIds, getTorrowObjectTypeFromTorrowId, isAccountType, isAuthCaptchaType, isAuthScope, isContextIconPreset, isDeviceType, isFreeCheckInSlot, isItemViewSortCondition, isSendCodeAccountType, isServiceOrderConflictError, isStepFlag, isTokenRespReadyStatus, isTokenStatus, isTorrowItemType, isVerificationMethod, normalizePaymentUrl, packTorrowId, parseAccountType, parseAuthCaptchaType, parseAuthScope, parseContextIconPresetFromImage, parseDeviceType, parseSendCodeAccountType, parseTokenStatus, parseVerificationMethod, type paths, resolveCommunicationBrand, shouldSkipResourceStep, sortStepDescriptionsByOrder, torrowObjectTypeToCode, unpackTorrowId };
|