@torrow/sdk-client 0.7.0 → 0.8.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/README.md CHANGED
@@ -32,6 +32,16 @@ const brand = resolveCommunicationBrand(comm);
32
32
 
33
33
  Notes accept `publicityType: "Link"` on creation (default: `Personal`) and `meta: { version }` on update for optimistic concurrency. The MCP note CRUD, note mutations, parent note views, note search, context creation and context personal-list responses convert only OpenAPI date-time fields to `Date`, preserving user text and arbitrary JSON. Other operations retain legacy ISO-string parsing. See the repository's `docs/response-date-parsing.md` for exact coverage and package verification.
34
34
 
35
+ ## Item access errors
36
+
37
+ A successful note GET can return a card without full content. Display received content when `personalInfo.itemContentType === "Full"`; `NoRights` and `SubscriptionIsNotValid` describe different restrictions, while a missing/unknown marker does not confirm full content. Do not require an additional `ReadItem` check for displaying `Full`: content type and operations are obtained separately, and cropping preserves the operations list. `NoRights` does not guarantee that `ReadItem` is absent. Use `personalInfo.operationList` for individual actions (`UpdateItem`, `RequestAccessToItem`, etc.). If it contains `RequestAccessToItem`, offer a separate user action calling `client.notes.requestAccess(itemId, selectedProfileId, { userMessage })`. Select the profile from `client.profiles.list()`. Inspect the returned participation state: `Requested` awaits the owner; some existing states (such as `Offered`) can transition to `Accepted`. After `Accepted`, read the note again and check content type.
38
+
39
+ Catch `TorrowHttpError` and check `apiErrorName === "USER_HAVE_NO_RIGHTS_TO_ELEMENTS"` before a generic `status === 403` branch. This API name denotes denied access to elements or a denied operation; do not bind it to a single HTTP status or numeric code. Keep other errors in their own handlers, including authentication failures (401) and missing/unavailable items (404). A successful read does not guarantee permission to write.
40
+
41
+ Show an access-denied screen for reads; preserve unsaved input for denied writes. Do not refresh tokens, start OTP, log out, or retry solely because permissions were denied. Inspect `status`, `apiErrorName`, `code`, `requestId`, and `traceIdentifier` for support; avoid logging raw bodies, tokens, or URLs that may contain guest credentials.
42
+
43
+ See [the guide and runnable examples](https://github.com/torrowtechnologies/torrow-sdk-ts/blob/main/docs/item-access-errors.md).
44
+
35
45
  ## Field docs package
36
46
 
37
47
  MCP and LLM field catalogs live in `@torrow/sdk-docs`.
package/dist/index.d.ts CHANGED
@@ -99,7 +99,7 @@ interface HttpRequestInit {
99
99
  declare class HttpClient {
100
100
  private readonly config;
101
101
  constructor(config: TorrowClientConfig);
102
- requestJson<T = unknown>(init: HttpRequestInit): Promise<T>;
102
+ requestJson<T = unknown>(init: HttpRequestInit, /** @internal Маркер начала отправки, без logging/telemetry. */ onDispatch?: () => void): Promise<T>;
103
103
  private buildUrl;
104
104
  }
105
105
 
@@ -37994,7 +37994,8 @@ declare abstract class TorrowItemCoreFacade<TItem, TParticipantsQuery = ContactC
37994
37994
  updateParticipationType(torrowId: string, participantProfileId: string, participantType: ParticipantType, options?: TorrowOptions): Promise<ObjectInfo>;
37995
37995
  /**
37996
37996
  * `PUT /api/v1/{domain}/{torrowId}/participation/requestaccess` — запрос доступа (не-владелец).
37997
- * Body: **`profileId`**. State → **`Requested`**; владельцу announcement **`RequestAccessToItem`**.
37997
+ * Body: **`profileId`**. Новый участник → **`Requested`**; некоторые существующие состояния → **`Accepted`**.
37998
+ * Проверять возвращённый participantState; после Accepted заново прочитать элемент и проверить полноту содержимого.
37998
37999
  * Владелец своего item вызвать не может. Дальше: {@link grantAccess} / {@link declineAccess} / {@link revokeAccessRequest}.
37999
38000
  */
38000
38001
  requestAccess(torrowId: string, profileId: string, options?: {
@@ -38291,22 +38292,39 @@ type PersonalListQuery = {
38291
38292
  participantTypeList?: ParticipantTypeDto[] | null;
38292
38293
  };
38293
38294
 
38295
+ /** Предметные значения; версия услуги передаётся отдельно. */
38294
38296
  type ServiceImplicitTagParams = {
38297
+ /** Пользовательское название заказа для отображения в приложении; не меняет серверное имя создаваемого заказа. */
38295
38298
  orderName?: string;
38299
+ /** Часовой пояс отображения услуги, например Europe/Moscow. */
38296
38300
  timeZone?: string;
38301
+ /** За сколько минут до начала запрещена отмена участия. */
38297
38302
  disableCancelMyParticipationBeforeMinutes?: number;
38303
+ /** За сколько минут до начала запрещён перенос заказа. */
38298
38304
  disableUpdateOrderTimeBeforeMinutes?: number;
38305
+ /** Сообщение пользователю при недоступной записи. */
38299
38306
  unavailableBookingMessage?: string;
38307
+ /** Название поля со скидкой в процентах. */
38300
38308
  discountPercentageFieldName?: string;
38309
+ /** Интервал между событиями в секундах. */
38301
38310
  marginTimeSec?: number;
38311
+ /** Задержка автоматического подключения уведомлений в секундах. */
38302
38312
  autoStartNotificationDelaySeconds?: number;
38313
+ /**
38314
+ * Скрывает UI подключения уведомлений Telegram и Max через точный тег `HideMessengerNotifications`.
38315
+ * BehaviorSettings API также читает точный legacy alias; в его состоянии флаг всегда boolean.
38316
+ */
38303
38317
  hideMessengerConnectUi?: boolean;
38304
- hideTelegramNotificationBot?: boolean;
38318
+ /** Полный набор соглашений; пустой массив очищает набор. */
38305
38319
  agreementItems?: {
38320
+ /** Положительный уникальный номер соглашения. */
38306
38321
  index: number;
38322
+ /** Текст соглашения; хотя бы text или link должны быть заданы. */
38307
38323
  text?: string;
38324
+ /** Ссылка соглашения; кодирование хранения выполняет SDK. */
38308
38325
  link?: string;
38309
38326
  }[];
38327
+ /** Таймаут перехода после оплаты в секундах. */
38310
38328
  paymentRedirectTimeoutSec?: number;
38311
38329
  };
38312
38330
  /** Минимальная структура поведения ресурса (сейчас: только margin between events). */
@@ -38318,6 +38336,79 @@ type ResourceBehaviorSettings = {
38318
38336
  lockId?: number;
38319
38337
  };
38320
38338
 
38339
+ /** Предметная причина отказа операции настроек. */
38340
+ declare enum ServiceBehaviorSettingsErrorCategory {
38341
+ /** Параметры отвергнуты до HTTP. */
38342
+ InvalidInput = "InvalidInput",
38343
+ /** Нет доступа к содержимому либо известного разрешения изменения. */
38344
+ AccessDenied = "AccessDenied",
38345
+ /** Неизвестна полнота, версия или разрешение. */
38346
+ InsufficientData = "InsufficientData",
38347
+ /** Ответ чтения имеет неверный ID или структуру. */
38348
+ InvalidResponse = "InvalidResponse",
38349
+ /** Версия разошлась до PUT либо сервер доказанно отклонил CAS. */
38350
+ VersionConflict = "VersionConflict",
38351
+ /** PUT отправлен, но исход не подтверждён валидным ответом. */
38352
+ WriteOutcomeUnknown = "WriteOutcomeUnknown",
38353
+ /** PUT не дошёл до fetch; причина сохранена в cause. */
38354
+ RequestNotSent = "RequestNotSent"
38355
+ }
38356
+ /** Причина неполного предметного чтения конкретной настройки. */
38357
+ declare enum ServiceBehaviorSettingsIssueReason {
38358
+ /** Есть некорректное значение; поле исключено из предметного снимка. */
38359
+ InvalidValue = "InvalidValue",
38360
+ /** Есть противоречивые значения; порядок не определяет результат. */
38361
+ AmbiguousValue = "AmbiguousValue"
38362
+ }
38363
+ /** Ошибка SDK; cause сохраняется для безопасной диагностики приложения. */
38364
+ declare class ServiceBehaviorSettingsError extends Error {
38365
+ /** Предметная категория; не зависит от кодов MCP. */
38366
+ readonly category: ServiceBehaviorSettingsErrorCategory;
38367
+ /** Исходная ошибка транспорта или сервера, если она существует. */
38368
+ readonly cause?: unknown;
38369
+ constructor(category: ServiceBehaviorSettingsErrorCategory, cause?: unknown);
38370
+ }
38371
+ /** Диагностика настройки без раскрытия внутреннего представления. */
38372
+ interface ServiceBehaviorSettingsIssue {
38373
+ /** Поле, значение которого не может быть достоверно прочитано. */
38374
+ field: keyof ServiceBehaviorSettings;
38375
+ /** Некорректное значение либо несколько противоречивых значений. */
38376
+ reason: ServiceBehaviorSettingsIssueReason;
38377
+ }
38378
+ /** Проверенное предметное состояние услуги. */
38379
+ interface ServiceBehaviorSettingsState {
38380
+ /** ID услуги, для которой выполнено чтение. */
38381
+ serviceId: string;
38382
+ /** Положительная int32 meta.version всей услуги, не отдельный счётчик настроек. */
38383
+ version: number;
38384
+ /** Прочитанные значения; поля с issues не являются полным снимком. */
38385
+ settings: ServiceBehaviorSettings;
38386
+ /** Проблемы предметного чтения; пустой массив означает полный снимок настроек. */
38387
+ issues: ServiceBehaviorSettingsIssue[];
38388
+ }
38389
+ /** Результат изменения; поля состояния имеют смысл из ServiceBehaviorSettingsState. */
38390
+ interface ServiceBehaviorSettingsUpdateResult extends ServiceBehaviorSettingsState {
38391
+ /** Был ли PUT; settings описывают ожидаемый результат, без автоматического readback. */
38392
+ changed: boolean;
38393
+ }
38394
+ /** Управление записью BehaviorSettings; проверку версии выбирает потребитель. */
38395
+ interface ServiceBehaviorSettingsUpdateOptions {
38396
+ /** Ожидаемая meta.version: 1..2147483647. При наличии включает проверку указанной версии. */
38397
+ versionToCheck?: number;
38398
+ /** true включает CAS по версии внутреннего GET, если versionToCheck не задан. По умолчанию CAS выключен. */
38399
+ checkVersion?: true;
38400
+ /** true (по умолчанию) сохраняет пропущенные поля; false полностью заменяет настройки. */
38401
+ mergeParameters?: boolean;
38402
+ /** Выбранный профиль только для внутреннего GET; не предоставляет право записи. */
38403
+ profileId?: string | null;
38404
+ /** Гостевой контекст только для GET; не Bearer и не право записи. */
38405
+ securityToken?: string | null;
38406
+ /** Создание объявления при PUT; отсутствие/null означает false. */
38407
+ isNeedAnnouncement?: boolean | null;
38408
+ /** Отмена чтения и записи; после отмены автоматических запросов нет. */
38409
+ signal?: AbortSignal;
38410
+ }
38411
+
38321
38412
  type ServiceItemApi = ServiceItemApiDto;
38322
38413
  type ResourceGroup = NonNullable<ServiceItemApi["resourceGroupList"]>[number];
38323
38414
  type BookingProperties = NonNullable<ResourceGroup["bookingProperties"]>;
@@ -38340,8 +38431,10 @@ type ChangeOrderServiceReq = ChangeOrderServiceReqDto;
38340
38431
  /**
38341
38432
  * Публичная доменная структура для настройки поведения услуги.
38342
38433
  * Внутри SDK маппится в `service.tags`.
38434
+ * orderName задаёт название для отображения в приложении, не серверное имя создаваемого заказа.
38343
38435
  */
38344
38436
  type ServiceBehaviorSettings = ServiceImplicitTagParams;
38437
+
38345
38438
  /**
38346
38439
  * SDK-тип услуги: OpenAPI `ServiceItem` + удобный доменный слой.
38347
38440
  * `behaviorSettings` сериализуется/десериализуется через `tags` внутри SDK.
@@ -39175,36 +39268,18 @@ declare class ServicesFacade extends TorrowItemFacade<ServiceItem> {
39175
39268
  } & TorrowOptions): Promise<number>;
39176
39269
  /** `GET /api/v1/services/{torrowId}` */
39177
39270
  getById(torrowId: string, options?: GetServiceOptions): Promise<ServiceItem>;
39178
- /** Внутренний helper: получить типизированные настройки поведения услуги из `service.tags`. */
39179
- private getBehaviorSettingsFromService;
39180
- /** `GET + parse`: получить сервис и извлечь `ServiceBehaviorSettings`. */
39181
- getBehaviorSettings(serviceId: string, options?: {
39182
- profileId?: string | null;
39183
- versionToCheck?: number | null;
39184
- includeDeleted?: boolean | null;
39185
- includeChildTypes?: boolean;
39186
- securityToken?: string | null;
39187
- signal?: AbortSignal;
39188
- }): Promise<ServiceBehaviorSettings>;
39271
+ /** Читает сырой OpenAPI DTO до проекции, чтобы malformed tags не маскировались парсером. */
39272
+ private readBehaviorState;
39273
+ /** Один GET: версия всей услуги, предметные настройки и диагностика неполного снимка. */
39274
+ getBehaviorSettings(serviceId: string, options?: GetServiceOptions): Promise<ServiceBehaviorSettingsState>;
39189
39275
  /**
39190
- * Обновляет настройки поведения услуги через типизированную структуру.
39191
- * `mergeParameters=true` по умолчанию: patch поверх текущих settings.
39192
- *
39193
- * Персист только через **`PUT .../services/{id}/tags`**: поле `tags` в теле `PUT /services/{id}`
39194
- * сервер игнорирует (`tags` в `TorrowItemKeysExcludedFromItemWriteBody`).
39276
+ * GET → локальный patch → PUT /tags с необязательной проверкой версии; автоматического readback нет.
39277
+ * mergeParameters=true сохраняет пропущенные поля, false заменяет все настройки.
39278
+ * Порядок и одинаковые дубли сервер не сохраняет; no-op определяется множеством строк.
39195
39279
  */
39196
- updateBehaviorSettings(serviceId: string, settingsPatch: Partial<ServiceBehaviorSettings>, options?: {
39197
- mergeParameters?: boolean;
39198
- profileId?: string | null;
39199
- checkVersion?: boolean | null;
39200
- isNeedAnnouncement?: boolean | null;
39201
- includeDeleted?: boolean | null;
39202
- includeChildTypes?: boolean;
39203
- securityToken?: string | null;
39204
- signal?: AbortSignal;
39205
- }): Promise<ServiceItem>;
39206
- /** Полная установка `ServiceBehaviorSettings` (без merge c текущими параметрами). */
39207
- setBehaviorSettings(serviceId: string, settings: ServiceBehaviorSettings, options?: Omit<Parameters<ServicesFacade["updateBehaviorSettings"]>[2], "mergeParameters">): Promise<ServiceItem>;
39280
+ updateBehaviorSettings(serviceId: string, settingsPatch: Partial<ServiceBehaviorSettings>, options?: ServiceBehaviorSettingsUpdateOptions): Promise<ServiceBehaviorSettingsUpdateResult>;
39281
+ /** Полная замена: пропущенные поля очищаются, посторонние данные сохраняются. */
39282
+ setBehaviorSettings(serviceId: string, settings: ServiceBehaviorSettings, options?: Omit<ServiceBehaviorSettingsUpdateOptions, "mergeParameters">): Promise<ServiceBehaviorSettingsUpdateResult>;
39208
39283
  /**
39209
39284
  * Запись на услугу — `POST /api/v1/services/{serviceId}/order`.
39210
39285
  * Минимум в теле: непустой смысл в `checkInProperties` (слот, участник, контакты — по правилам услуги и OpenAPI).
@@ -41347,4 +41422,4 @@ declare class ResourceBuilder {
41347
41422
  build(): ResourceBuildResult;
41348
41423
  }
41349
41424
 
41350
- 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, type ApiKeyInfo, ApiKeysFacade, type ApproveCaseParticipationReq, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, type AvailabilityTime, type BalanceValue, type BaseItemProperties, type BlockReason, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForOthersReq, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemForCreateOrUpdate, type CalendarView, CalendarsFacade, type CancelCaseParticipationReq, type CaseItem, type CaseItemForCreateOrUpdate, 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 ContactItem, type ContactItemForCreateOrUpdate, type ContactPersonalInfo, type ContactProperties, type ContactSearchQuery, type ContactView, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemForCreateOrUpdate, 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, 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 LoyaltySystemItem, type LoyaltySystemItemForCreateOrUpdate, 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 NoteType, NoteTypeValues, type NoteView, NotesFacade, type NotificationWay, type OrderFilter, type OrderResp, type OrderSearchQuery, type ParticipantStateDto as ParticipantState, type ParticipantTypeDto as ParticipantType, type ParticipantView, type Participation, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type PatchCaseReq, 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 ResourceMindMapView, 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 ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemForCreateOrUpdate, 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, TorrowHttpError, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowOptions, 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 };
41425
+ 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, type ApiKeyInfo, ApiKeysFacade, type ApproveCaseParticipationReq, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, type AvailabilityTime, type BalanceValue, type BaseItemProperties, type BlockReason, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForOthersReq, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemForCreateOrUpdate, type CalendarView, CalendarsFacade, type CancelCaseParticipationReq, type CaseItem, type CaseItemForCreateOrUpdate, 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 ContactItem, type ContactItemForCreateOrUpdate, type ContactPersonalInfo, type ContactProperties, type ContactSearchQuery, type ContactView, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemForCreateOrUpdate, 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, 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 LoyaltySystemItem, type LoyaltySystemItemForCreateOrUpdate, 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 NoteType, NoteTypeValues, type NoteView, NotesFacade, type NotificationWay, type OrderFilter, type OrderResp, type OrderSearchQuery, type ParticipantStateDto as ParticipantState, type ParticipantTypeDto as ParticipantType, type ParticipantView, type Participation, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type PatchCaseReq, 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 ResourceMindMapView, 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, ServiceBehaviorSettingsError, ServiceBehaviorSettingsErrorCategory, type ServiceBehaviorSettingsIssue, ServiceBehaviorSettingsIssueReason, type ServiceBehaviorSettingsState, type ServiceBehaviorSettingsUpdateOptions, type ServiceBehaviorSettingsUpdateResult, type ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemForCreateOrUpdate, 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, TorrowHttpError, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowOptions, 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 };