@torrow/sdk-client 0.15.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -126,13 +126,6 @@ declare class RawClient {
126
126
  delete<T = unknown>(path: string, options?: RawRequestOptions): Promise<T>;
127
127
  }
128
128
 
129
- /** Common optional controls for mutating API requests. */
130
- type TorrowOptions = {
131
- versionToCheck?: number | null;
132
- isNeedAnnouncement?: boolean | null;
133
- signal?: AbortSignal;
134
- };
135
-
136
129
  /**
137
130
  * This file was auto-generated by openapi-typescript.
138
131
  * Do not make direct changes to the file.
@@ -37811,6 +37804,57 @@ interface TorrowItemPatchResult<TItem> {
37811
37804
  changed: boolean;
37812
37805
  }
37813
37806
 
37807
+ /** Common optional controls for mutating API requests. */
37808
+ type TorrowOptions = {
37809
+ versionToCheck?: number | null;
37810
+ isNeedAnnouncement?: boolean | null;
37811
+ signal?: AbortSignal;
37812
+ };
37813
+
37814
+ /** Общие параметры создания корневого item. */
37815
+ interface TorrowItemCreateOptions {
37816
+ /** Публичность нового item; при пропуске SDK отправляет `Personal`. */
37817
+ publicityType?: PublicityType;
37818
+ /** Профиль, от имени которого создаётся item; `null` сохраняет wire-семантику query. */
37819
+ profileId?: string | null;
37820
+ /** Сигнал отмены единственного create request. */
37821
+ signal?: AbortSignal;
37822
+ }
37823
+ /** Общие параметры создания дочернего item. */
37824
+ interface TorrowChildItemCreateOptions extends TorrowItemCreateOptions {
37825
+ /** Родитель нового item; `null` сохраняет wire-семантику query. */
37826
+ parentId?: string | null;
37827
+ }
37828
+ /** Общие параметры получения item по идентификатору. */
37829
+ interface TorrowItemGetOptions {
37830
+ /** Версия item, которую клиент уже прочитал; `null` сохраняет wire-семантику query. */
37831
+ versionToCheck?: number | null;
37832
+ /** Включать логически удалённый item; `null` сохраняет wire-семантику query. */
37833
+ includeDeleted?: boolean | null;
37834
+ /** Включать статистику по типам дочерних элементов в ответ. */
37835
+ includeChildItemStats?: boolean;
37836
+ /** Токен гостевого доступа к item; `null` сохраняет wire-семантику query. */
37837
+ securityToken?: string | null;
37838
+ /** Сигнал отмены единственного запроса чтения. */
37839
+ signal?: AbortSignal;
37840
+ }
37841
+ /** Общие параметры полного обновления item. */
37842
+ interface TorrowItemUpdateOptions {
37843
+ /** Проверять версию item перед обновлением; `null` сохраняет wire-семантику query. */
37844
+ checkVersion?: boolean | null;
37845
+ /** Создать объявление об обновлении item; `null` сохраняет wire-семантику query. */
37846
+ isNeedAnnouncement?: boolean | null;
37847
+ /** Сигнал отмены единственного запроса обновления. */
37848
+ signal?: AbortSignal;
37849
+ }
37850
+ /** Параметры удаления item. */
37851
+ interface TorrowItemDeleteOptions extends TorrowOptions {
37852
+ /** Удалить вложенные дочерние элементы вместе с item. */
37853
+ cascade: boolean;
37854
+ /** Удалить закреплённые дочерние элементы вместе с item. */
37855
+ withPinnedItems: boolean;
37856
+ }
37857
+
37814
37858
  /**
37815
37859
  * Общие публичные алиасы вида `export type X = XDto`, раньше повторявшиеся в нескольких доменах.
37816
37860
  * Сгенерировано: `node scripts/build-sdk-shared-public-types.mjs`
@@ -37852,6 +37896,13 @@ type TorrowObjectType = TorrowObjectTypeDto;
37852
37896
  type UnsetGroupItemReq = UnsetGroupItemReqDto;
37853
37897
  type UpdateFileIdResp = UpdateFileIdRespDto;
37854
37898
 
37899
+ /** Параметры получения контакта по идентификатору. */
37900
+ type GetContactOptions = TorrowItemGetOptions;
37901
+ /** Параметры полного обновления контакта. */
37902
+ interface UpdateContactItemOptions extends TorrowItemUpdateOptions {
37903
+ /** Токен гостевого доступа к контакту; `null` сохраняет wire-семантику query. */
37904
+ securityToken?: string | null;
37905
+ }
37855
37906
  type ContactItem = TorrowItemFromDto<Omit<ContactItemDto, "loyaltyCard">> & {
37856
37907
  /** Карта лояльности с подготовленными общими read-полями; отсутствие карточки сохраняется. */
37857
37908
  loyaltyCard?: TorrowItem;
@@ -37968,6 +38019,8 @@ type ContactItemForCreateOrUpdate = Omit<TorrowItemForCreateOrUpdate<TorrowItemF
37968
38019
 
37969
38020
  type ContextItem = TorrowItemFromDto<ContextItemDto>;
37970
38021
  type ContextItemForCreateOrUpdate = TorrowItemForCreateOrUpdate<ContextItem>;
38022
+ /** Параметры получения контекста по идентификатору. */
38023
+ type GetContextOptions = TorrowItemGetOptions;
37971
38024
  /** Частичное изменение: name/image — общие поля; color/description заменяются целиком. Остальные аспекты имеют отдельные методы. */
37972
38025
  type ContextItemPatch = TorrowItemPatchFields & {
37973
38026
  /** Цвет #RRGGBB; пропуск сохраняет текущий; null/empty не поддерживаются сервером. */
@@ -37978,6 +38031,13 @@ type ContextItemPatch = TorrowItemPatchFields & {
37978
38031
 
37979
38032
  type CalendarItem = TorrowItemFromDto<CalendarItemDto>;
37980
38033
  type CalendarItemForCreateOrUpdate = TorrowItemForCreateOrUpdate<CalendarItem>;
38034
+ /** Параметры получения календаря по идентификатору. */
38035
+ type GetCalendarOptions = TorrowItemGetOptions;
38036
+ /** Параметры полного обновления календаря. */
38037
+ interface UpdateCalendarItemOptions extends TorrowItemUpdateOptions {
38038
+ /** Токен гостевого доступа к календарю; `null` сохраняет wire-семантику query. */
38039
+ securityToken?: string | null;
38040
+ }
37981
38041
  /** Полный интервал исключения календаря; существующие интервалы сохраняют свой rid. */
37982
38042
  interface CalendarItemPatchTimeRange {
37983
38043
  /** Идентификатор вложенного интервала (24 hex); для нового интервала используйте generateRid(). */
@@ -38095,9 +38155,41 @@ type CaseItemPatch = TorrowItemPatchFields & ItemPricePatchFields & {
38095
38155
  /** Правила начислений лояльности целиком; []/null очищают список. */
38096
38156
  loyaltyTransactionPropertiesList?: CaseItem["loyaltyTransactionPropertiesList"];
38097
38157
  };
38098
- type CreateCaseReq = NormalizedPublicity<CreateCaseReqDto>;
38158
+ /** Нормализованная публичная проекция серверной оболочки создания события. */
38159
+ type CreateCaseReqBase = NormalizedPublicity<CreateCaseReqDto>;
38160
+ /**
38161
+ * Оболочка основного сценария создания события, производная от серверного
38162
+ * {@link CreateCaseReqDto}. Сохраняет опциональные напоминания, календарь,
38163
+ * параметры check-in и дороги, а также тип участника из source DTO. Вложенный
38164
+ * `caseItem` остаётся опциональным предметным телом, но его начальная публичность
38165
+ * задаётся только через create-options.
38166
+ */
38167
+ type CreateCaseReq = Omit<CreateCaseReqBase, "caseItem"> & {
38168
+ /** Предметное тело события из source DTO без `publicityType`; отсутствие не синтезирует item в wrapper. */
38169
+ caseItem?: Omit<NonNullable<CreateCaseReqBase["caseItem"]>, "publicityType">;
38170
+ };
38099
38171
  type AvailabilityTime = AvailabilityTimeDto;
38100
38172
  type CaseParticipantType = CaseParticipantTypeDto;
38173
+ /** Параметры создания события через {@link CasesFacade.createCaseItem}. */
38174
+ interface CreateCaseItemOptions extends TorrowChildItemCreateOptions {
38175
+ /** Отметить создаваемое событие как требующее check-in текущего пользователя. */
38176
+ isNeedToCheckInMySelf?: boolean;
38177
+ /** Доступность времени участника для создаваемого события. */
38178
+ availabilityTime?: AvailabilityTime | null;
38179
+ /** Время на дорогу в секундах. */
38180
+ roadTime?: number | null;
38181
+ /** Календарь, в который добавляется событие. */
38182
+ calendarId?: string | null;
38183
+ /** Роль текущего участника создаваемого события. */
38184
+ caseParticipantType?: CaseParticipantType | null;
38185
+ }
38186
+ /** Параметры полного обновления события через {@link CasesFacade.update}. */
38187
+ interface UpdateCaseItemOptions extends TorrowItemUpdateOptions {
38188
+ /** Профиль, от имени которого обновляется событие. */
38189
+ profileId?: string | null;
38190
+ /** Токен гостевого доступа к событию. */
38191
+ securityToken?: string | null;
38192
+ }
38101
38193
  /**
38102
38194
  * Участник кейса. В сгенерированных типах только **`loyaltyCardId`**.
38103
38195
  * Legacy `loyalityCardId` остаётся в `docs/torrow-swagger.json` (wire для старых клиентов),
@@ -38159,6 +38251,11 @@ type LoyaltyParticipantsQuery = {
38159
38251
  sort?: ObjectSortCondition | null;
38160
38252
  };
38161
38253
 
38254
+ /** Параметры получения карты лояльности по идентификатору. */
38255
+ interface GetLoyaltyCardOptions extends TorrowItemGetOptions {
38256
+ /** Включать рассчитанный баланс карты лояльности в ответ. */
38257
+ includeBalance?: boolean | null;
38258
+ }
38162
38259
  type LoyaltyCardItem = TorrowItemFromDto<LoyaltyCardItemDto>;
38163
38260
  type CreateLoyaltyCardSubscriptionReq = CreateLoyaltyCardSubscriptionReqDto;
38164
38261
  type LoyaltyCardSubscription = LoyaltyCardSubscriptionDto;
@@ -38178,6 +38275,8 @@ type LoyaltyTransactionsQuery = {
38178
38275
  sort?: ObjectSortCondition | null;
38179
38276
  };
38180
38277
 
38278
+ /** Параметры получения программы лояльности по идентификатору. */
38279
+ type GetLoyaltySystemOptions = TorrowItemGetOptions;
38181
38280
  /** Поля программы из DTO; только три array-only patch-контейнера исключают null, сохраняя optional-модификаторы. */
38182
38281
  type LoyaltySystemItemReadFields = {
38183
38282
  [K in keyof LoyaltySystemItemDto]: K extends "referralProgramIds" | "beginTransactionValues" | "accountingProductNames" ? Exclude<LoyaltySystemItemDto[K], null> : LoyaltySystemItemDto[K];
@@ -38381,6 +38480,15 @@ interface ServiceBehaviorSettingsUpdateOptions {
38381
38480
  signal?: AbortSignal;
38382
38481
  }
38383
38482
 
38483
+ /**
38484
+ * Параметры полного обновления услуги. Унаследованный `isNeedAnnouncement: false`
38485
+ * не отключает серверное обновление персональных связей.
38486
+ */
38487
+ interface UpdateServiceItemOptions extends TorrowItemUpdateOptions {
38488
+ /** Профиль, от имени которого обновляется услуга; `null` сохраняет wire-семантику query. */
38489
+ profileId?: string | null;
38490
+ }
38491
+
38384
38492
  type ServiceItemApi = NormalizedPublicity<ServiceItemApiDto>;
38385
38493
  type ResourceGroup = NonNullable<ServiceItemApi["resourceGroupList"]>[number];
38386
38494
  type BookingProperties = NonNullable<ResourceGroup["bookingProperties"]>;
@@ -38683,6 +38791,18 @@ type ResourcePaymentPatchProperties = PaymentPatchConfiguration<PaymentProviderT
38683
38791
  /** Предметные параметры всех ветвей payment patch; paymentProviderType выбирает класс, text/beforePayMessage/afterPayMessage — общие сообщения, остальные атрибуты относятся к выбранному провайдеру в ResourcePaymentPatchProperties. */
38684
38792
  type ResourcePaymentPatchParameters = NonNullable<ResourcePaymentPatchProperties["parameters"]>;
38685
38793
 
38794
+ /** Параметры получения ресурса по идентификатору. */
38795
+ interface GetResourceOptions extends TorrowItemGetOptions {
38796
+ /** Включать основную карточку item в ответ ресурса. */
38797
+ isNeedItem?: boolean | null;
38798
+ /** Включать родительский ресурс в ответ. */
38799
+ isNeedParentResource?: boolean | null;
38800
+ }
38801
+ /** Параметры полного обновления ресурса. */
38802
+ interface UpdateResourceItemOptions extends TorrowItemUpdateOptions {
38803
+ /** Профиль, от имени которого обновляется ресурс; `null` сохраняет wire-семантику query. */
38804
+ profileId?: string | null;
38805
+ }
38686
38806
  type ResourceItemApi = NormalizedPublicity<ResourceItemApiDto>;
38687
38807
  type ServiceDescription = NonNullable<ResourceItemApi["serviceDescriptions"]>[number];
38688
38808
  type UsageCondition = NonNullable<ResourceItemApi["usageCondition"]>;
@@ -39072,6 +39192,8 @@ type TorrowItemKeysExcludedFromItemWriteBody = "personalInfo" | "discriminator"
39072
39192
  /** Поля item в телах create/update: без ключей, исключённых в `TorrowItemKeysExcludedFromItemWriteBody`. */
39073
39193
  type TorrowItemForCreateOrUpdate<T extends TorrowItem> = Omit<T, TorrowItemKeysExcludedFromItemWriteBody>;
39074
39194
 
39195
+ /** Параметры получения заметки по идентификатору. */
39196
+ type GetNoteOptions = TorrowItemGetOptions;
39075
39197
  type NoteItem = Omit<TorrowItemFromDto<NoteItemDto>, "files" | "data"> & {
39076
39198
  /** Исходный текст; серверные null и отсутствие поля читаются как "" независимо от полноты карточки. */
39077
39199
  data: string;
@@ -39100,8 +39222,8 @@ declare const ImagePreviewSizeValues: {
39100
39222
  readonly MediumSlider: "MediumSlider";
39101
39223
  readonly LargeSlider: "LargeSlider";
39102
39224
  };
39103
- /** Публичность create/update: Personal, PublicWithRequest, PublicAvailable или Link; без значения при create — Personal. Поле meta.version сохраняет optimistic concurrency при update. Серверные Private/Undefined читаются как Personal. */
39104
- type NoteItemForCreateOrUpdate = Omit<TorrowItemForCreateOrUpdate<NoteItem>, "files" | "data"> & Pick<NoteItem, "publicityType" | "meta"> & {
39225
+ /** Предметное тело создания/полного обновления заметки; публичность создания задаётся в options. Поле meta.version сохраняет optimistic concurrency при update. */
39226
+ type NoteItemForCreateOrUpdate = Omit<TorrowItemForCreateOrUpdate<NoteItem>, "files" | "data"> & Pick<NoteItem, "meta"> & {
39105
39227
  /** Обязательная точная строка для create/update, включая ""; null/undefined и пропуск запрещены. */
39106
39228
  data: string;
39107
39229
  /** Полная запись сохраняет wire-контракт вложений: null допустим наряду с массивом. */
@@ -39633,7 +39755,7 @@ type TimetableQueryOptions = {
39633
39755
  createDateTo?: Date | null;
39634
39756
  };
39635
39757
 
39636
- /** CRUD + personal list + социальный слой для календарей (`CalendarItem`). `getById` использует `includeChildItems`. */
39758
+ /** CRUD + personal list + социальный слой для календарей (`CalendarItem`). */
39637
39759
  declare class CalendarsFacade extends TorrowItemFacade<CalendarItem> {
39638
39760
  protected readonly itemObjectTypeCode: 1010;
39639
39761
  /** Чтение полной карточки для метаданных без дочерних данных. */
@@ -39644,31 +39766,13 @@ declare class CalendarsFacade extends TorrowItemFacade<CalendarItem> {
39644
39766
  /** Частично изменяет календарь: полный GET и максимум один CAS PUT, без deep merge/readback/retry. */
39645
39767
  patch(itemId: string, fields: CalendarItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<CalendarItem>>;
39646
39768
  /** `POST /api/v1/calendars` */
39647
- create(body: CalendarItemForCreateOrUpdate, options?: {
39648
- parentId?: string | null;
39649
- profileId?: string | null;
39650
- signal?: AbortSignal;
39651
- }): Promise<CalendarItem>;
39769
+ create(body: CalendarItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<CalendarItem>;
39652
39770
  /** `PUT /api/v1/calendars/{body.id}` */
39653
- update(body: CalendarItemForCreateOrUpdate, options?: {
39654
- checkVersion?: boolean | null;
39655
- isNeedAnnouncement?: boolean | null;
39656
- securityToken?: string | null;
39657
- signal?: AbortSignal;
39658
- }): Promise<CalendarItem>;
39771
+ update(body: CalendarItemForCreateOrUpdate, options?: UpdateCalendarItemOptions): Promise<CalendarItem>;
39659
39772
  /** `DELETE /api/v1/calendars/{torrowId}` */
39660
- delete(torrowId: string, options: {
39661
- cascade: boolean;
39662
- withPinnedItems: boolean;
39663
- } & TorrowOptions): Promise<number>;
39773
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
39664
39774
  /** `GET /api/v1/calendars/{torrowId}` */
39665
- getById(torrowId: string, options?: {
39666
- versionToCheck?: number | null;
39667
- includeDeleted?: boolean | null;
39668
- includeChildItems?: boolean;
39669
- securityToken?: string | null;
39670
- signal?: AbortSignal;
39671
- }): Promise<CalendarItem>;
39775
+ getById(torrowId: string, options?: GetCalendarOptions): Promise<CalendarItem>;
39672
39776
  /** `GET /api/v1/calendars/personallist` */
39673
39777
  listPersonal(options?: PersonalListQuery & {
39674
39778
  signal?: AbortSignal;
@@ -39703,18 +39807,17 @@ declare class CalendarsFacade extends TorrowItemFacade<CalendarItem> {
39703
39807
  }): Promise<string>;
39704
39808
  }
39705
39809
 
39706
- /** Опции `GET /api/v1/cases/{torrowId}` — у `getCase` и `CasesFacade.getById`. */
39707
- interface GetCaseOptions {
39810
+ /**
39811
+ * Опции `GET /api/v1/cases/{torrowId}` — у `getCase` и `CasesFacade.getById`.
39812
+ * Унаследованный `securityToken` для гостя берётся из `OrderResp.consumerSecurityToken`.
39813
+ */
39814
+ interface GetCaseOptions extends TorrowItemGetOptions {
39815
+ /** Профиль, от имени которого читается событие. */
39708
39816
  profileId?: string | null;
39817
+ /** Профиль участника, для которого сервер формирует персональную часть ответа. */
39709
39818
  caseParticipantProfileId?: string | null;
39710
- versionToCheck?: number | null;
39711
- includeDeleted?: boolean | null;
39712
- includeChildTypes?: boolean;
39713
- /** Гостевой доступ: `OrderResp.consumerSecurityToken`. */
39714
- securityToken?: string | null;
39715
39819
  /** Без него гость не получит свою часть: `personalInfo.caseParticipant`, `ticketResource`. */
39716
39820
  caseParticipantId?: string | null;
39717
- signal?: AbortSignal;
39718
39821
  }
39719
39822
  /** `GET /api/v1/cases/{torrowId}` — событие-заказ; гостю — с `securityToken` и `caseParticipantId`. */
39720
39823
  declare function getCase(http: HttpClient, torrowId: string, options?: GetCaseOptions): Promise<CaseItem>;
@@ -39746,39 +39849,17 @@ declare class CasesFacade extends TorrowItemFacade<CaseItem> {
39746
39849
  * (`caseItem`, опционально `reminders`, `calendarId`, check-in / road time / participant type, …).
39747
39850
  * NSwag: `createCaseWithReminder`. Для «голого» `CaseItem` без оболочки — **`createCaseItem`**.
39748
39851
  */
39749
- createWithOptions(body: CreateCaseReq, options?: {
39750
- parentId?: string | null;
39751
- profileId?: string | null;
39752
- signal?: AbortSignal;
39753
- }): Promise<CaseItem>;
39852
+ createWithOptions(body: CreateCaseReq, options?: TorrowChildItemCreateOptions): Promise<CaseItem>;
39754
39853
  /**
39755
39854
  * `POST /api/v1/cases` — create из тела **`CaseItem`** (query: calendar / check-in / road / participant).
39756
39855
  * NSwag: `createCase`. Предпочтительный путь с оболочкой — **`createWithOptions`** (`CreateCaseReq`).
39757
39856
  */
39758
- createCaseItem(body: CaseItemForCreateOrUpdate, options?: {
39759
- parentId?: string | null;
39760
- profileId?: string | null;
39761
- isNeedToCheckInMySelf?: boolean;
39762
- availabilityTime?: AvailabilityTime | null;
39763
- roadTime?: number | null;
39764
- calendarId?: string | null;
39765
- caseParticipantType?: CaseParticipantType | null;
39766
- signal?: AbortSignal;
39767
- }): Promise<CaseItem>;
39857
+ createCaseItem(body: CaseItemForCreateOrUpdate, options?: CreateCaseItemOptions): Promise<CaseItem>;
39768
39858
  /** `PUT /api/v1/cases/{body.id}` */
39769
- update(body: CaseItemForCreateOrUpdate, options?: {
39770
- profileId?: string | null;
39771
- checkVersion?: boolean | null;
39772
- isNeedAnnouncement?: boolean | null;
39773
- securityToken?: string | null;
39774
- signal?: AbortSignal;
39775
- }): Promise<CaseItem>;
39859
+ update(body: CaseItemForCreateOrUpdate, options?: UpdateCaseItemOptions): Promise<CaseItem>;
39776
39860
  private withCreateDefaults;
39777
39861
  /** `DELETE /api/v1/cases/{torrowId}` */
39778
- delete(torrowId: string, options: {
39779
- cascade: boolean;
39780
- withPinnedItems: boolean;
39781
- } & TorrowOptions): Promise<number>;
39862
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
39782
39863
  /** `GET /api/v1/cases/{torrowId}` */
39783
39864
  getById(torrowId: string, options?: GetCaseOptions): Promise<CaseItem>;
39784
39865
  /** `GET /api/v1/cases/personallist` */
@@ -39936,36 +40017,21 @@ declare class ContactsFacade extends TorrowItemFacade<ContactItem> {
39936
40017
  generateContactId(ownerTorrowId: string): string;
39937
40018
  /** Частично изменяет разрешённые поля обычного/профильного контакта: полный GET и максимум один CAS PUT, без retry/readback. */
39938
40019
  patch(itemId: string, fields: ContactItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<ContactItem>>;
39939
- /** `POST /api/v1/contacts` */
39940
- create(body: ContactItemForCreateOrUpdate, options?: {
39941
- parentId?: string | null;
39942
- profileId?: string | null;
39943
- signal?: AbortSignal;
39944
- }): Promise<ContactItem>;
40020
+ /**
40021
+ * `POST /api/v1/contacts`.
40022
+ * Начальная публичность задаётся через `options.publicityType`; при пропуске SDK отправляет `Personal`.
40023
+ */
40024
+ create(body: ContactItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<ContactItem>;
39945
40025
  private withCreateDefaults;
39946
40026
  /** `PUT /api/v1/contacts/{body.id}` */
39947
- update(body: ContactItemForCreateOrUpdate, options?: {
39948
- checkVersion?: boolean | null;
39949
- isNeedAnnouncement?: boolean | null;
39950
- securityToken?: string | null;
39951
- signal?: AbortSignal;
39952
- }): Promise<ContactItem>;
40027
+ update(body: ContactItemForCreateOrUpdate, options?: UpdateContactItemOptions): Promise<ContactItem>;
39953
40028
  /** `GET /api/v1/contacts/{torrowId}` */
39954
- getById(torrowId: string, options?: {
39955
- versionToCheck?: number | null;
39956
- includeDeleted?: boolean | null;
39957
- includeChildTypes?: boolean;
39958
- securityToken?: string | null;
39959
- signal?: AbortSignal;
39960
- }): Promise<ContactItem>;
40029
+ getById(torrowId: string, options?: GetContactOptions): Promise<ContactItem>;
39961
40030
  /**
39962
40031
  * `DELETE /api/v1/contacts/{torrowId}`
39963
40032
  * @param options.cascade / withPinnedItems — required by API (see Swagger).
39964
40033
  */
39965
- delete(torrowId: string, options: {
39966
- cascade: boolean;
39967
- withPinnedItems: boolean;
39968
- } & TorrowOptions): Promise<number>;
40034
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
39969
40035
  /** `GET /api/v1/contacts/personallist` */
39970
40036
  listPersonal(options?: PersonalListQuery & {
39971
40037
  securityToken?: string | null;
@@ -40002,7 +40068,7 @@ declare class ContactsFacade extends TorrowItemFacade<ContactItem> {
40002
40068
  }): Promise<TorrowObject | undefined>;
40003
40069
  }
40004
40070
 
40005
- /** CRUD + personal list + социальный слой для контекстов (`ContextItem`). `POST` принимает только опциональный `profileId`. */
40071
+ /** CRUD + personal list + социальный слой для контекстов (`ContextItem`). */
40006
40072
  declare class ContextsFacade extends TorrowItemFacade<ContextItem> {
40007
40073
  protected readonly itemObjectTypeCode: 1001;
40008
40074
  /** Чтение полной карточки для метаданных без дочерних данных. */
@@ -40013,29 +40079,13 @@ declare class ContextsFacade extends TorrowItemFacade<ContextItem> {
40013
40079
  /** Частично изменяет name/image/color/description: полный GET и максимум один CAS PUT; пропущенные поля сохраняются, retry/readback отсутствуют. */
40014
40080
  patch(itemId: string, fields: ContextItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<ContextItem>>;
40015
40081
  /** `POST /api/v1/contexts` */
40016
- create(body: ContextItemForCreateOrUpdate, options?: {
40017
- profileId?: string | null;
40018
- signal?: AbortSignal;
40019
- }): Promise<ContextItem>;
40082
+ create(body: ContextItemForCreateOrUpdate, options?: TorrowItemCreateOptions): Promise<ContextItem>;
40020
40083
  /** `PUT /api/v1/contexts/{body.id}` */
40021
- update(body: ContextItemForCreateOrUpdate, options?: {
40022
- checkVersion?: boolean | null;
40023
- isNeedAnnouncement?: boolean | null;
40024
- signal?: AbortSignal;
40025
- }): Promise<ContextItem>;
40084
+ update(body: ContextItemForCreateOrUpdate, options?: TorrowItemUpdateOptions): Promise<ContextItem>;
40026
40085
  /** `DELETE /api/v1/contexts/{torrowId}` */
40027
- delete(torrowId: string, options: {
40028
- cascade: boolean;
40029
- withPinnedItems: boolean;
40030
- } & TorrowOptions): Promise<number>;
40086
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
40031
40087
  /** `GET /api/v1/contexts/{torrowId}` */
40032
- getById(torrowId: string, options?: {
40033
- versionToCheck?: number | null;
40034
- includeDeleted?: boolean | null;
40035
- includeChildTypes?: boolean;
40036
- securityToken?: string | null;
40037
- signal?: AbortSignal;
40038
- }): Promise<ContextItem>;
40088
+ getById(torrowId: string, options?: GetContextOptions): Promise<ContextItem>;
40039
40089
  /** `GET /api/v1/contexts/personallist` */
40040
40090
  listPersonal(options?: PersonalListQuery & {
40041
40091
  signal?: AbortSignal;
@@ -40052,35 +40102,18 @@ declare class NotesFacade extends TorrowItemFacade<NoteItem> {
40052
40102
  generateNoteId(ownerTorrowId: string): string;
40053
40103
  /** Частично изменяет заметку через GET и максимум один CAS PUT; исходный текст не преобразуется. */
40054
40104
  patch(itemId: string, fields: NoteItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<NoteItem>>;
40055
- /** `POST /api/v1/notes`; явное data:string обязательно, включая "". Текст отправляется без изменений. */
40056
- create(body: NoteItemForCreateOrUpdate, options?: {
40057
- parentId?: string | null;
40058
- profileId?: string | null;
40059
- signal?: AbortSignal;
40060
- }): Promise<NoteItem>;
40061
- /** `PUT /api/v1/notes/{body.id}`; явное data:string обязательно, "" отправляется буквально. */
40062
- update(body: NoteItemForCreateOrUpdate, options?: {
40063
- checkVersion?: boolean | null;
40064
- isNeedAnnouncement?: boolean | null;
40065
- signal?: AbortSignal;
40066
- }): Promise<NoteItem>;
40105
+ /** `POST /api/v1/notes`; публичность новой заметки задаётся в options, без неё отправляется `Personal`. Явное data:string обязательно, включая "". */
40106
+ create(body: NoteItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<NoteItem>;
40107
+ /** `PUT /api/v1/notes/{body.id}`; публичность меняется только через `updatePublicity`. Явное data:string обязательно, "" отправляется буквально. */
40108
+ update(body: NoteItemForCreateOrUpdate, options?: TorrowItemUpdateOptions): Promise<NoteItem>;
40067
40109
  /**
40068
40110
  * `DELETE /api/v1/notes/{torrowId}`
40069
40111
  * @param options.cascade — каскад по вложенным дочерним элементам; `false` — только заметка.
40070
40112
  * @param options.withPinnedItems — удалять закреплённые дочерние представления; `false` — не трогать pinned.
40071
40113
  */
40072
- delete(torrowId: string, options: {
40073
- cascade: boolean;
40074
- withPinnedItems: boolean;
40075
- } & TorrowOptions): Promise<number>;
40114
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
40076
40115
  /** `GET /api/v1/notes/{torrowId}` */
40077
- getById(torrowId: string, options?: {
40078
- versionToCheck?: number | null;
40079
- includeDeleted?: boolean | null;
40080
- includeChildTypes?: boolean;
40081
- securityToken?: string | null;
40082
- signal?: AbortSignal;
40083
- }): Promise<NoteItem>;
40116
+ getById(torrowId: string, options?: GetNoteOptions): Promise<NoteItem>;
40084
40117
  /** `GET /api/v1/notes/personallist` */
40085
40118
  listPersonal(options?: PersonalListQuery & {
40086
40119
  signal?: AbortSignal;
@@ -40183,44 +40216,16 @@ declare class ResourcesFacade extends TorrowItemFacade<ResourceItem> {
40183
40216
  private toSdkResourceItem;
40184
40217
  private toApiResourceItem;
40185
40218
  /** `POST /api/v1/resources` */
40186
- create(body: ResourceItemForCreateOrUpdate, options?: {
40187
- parentId?: string | null;
40188
- profileId?: string | null;
40189
- signal?: AbortSignal;
40190
- }): Promise<ResourceItem>;
40219
+ create(body: ResourceItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<ResourceItem>;
40191
40220
  /** `PUT /api/v1/resources/{body.id}`. Требует непустой `id` в теле ресурса. */
40192
- update(body: ResourceItemForCreateOrUpdate, options?: {
40193
- profileId?: string | null;
40194
- checkVersion?: boolean | null;
40195
- isNeedAnnouncement?: boolean | null;
40196
- signal?: AbortSignal;
40197
- }): Promise<ResourceItem>;
40221
+ update(body: ResourceItemForCreateOrUpdate, options?: UpdateResourceItemOptions): Promise<ResourceItem>;
40198
40222
  private withCreateDefaults;
40199
40223
  /** `DELETE /api/v1/resources/{torrowId}` */
40200
- delete(torrowId: string, options: {
40201
- cascade: boolean;
40202
- withPinnedItems: boolean;
40203
- } & TorrowOptions): Promise<number>;
40224
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
40204
40225
  /** `GET /api/v1/resources/{torrowId}` */
40205
- getById(torrowId: string, options?: {
40206
- versionToCheck?: number | null;
40207
- includeDeleted?: boolean | null;
40208
- isNeedItem?: boolean | null;
40209
- isNeedParentResource?: boolean | null;
40210
- includeChildTypes?: boolean;
40211
- securityToken?: string | null;
40212
- signal?: AbortSignal;
40213
- }): Promise<ResourceItem>;
40226
+ getById(torrowId: string, options?: GetResourceOptions): Promise<ResourceItem>;
40214
40227
  private getBehaviorSettingsFromResource;
40215
- getBehaviorSettings(resourceId: string, options?: {
40216
- versionToCheck?: number | null;
40217
- includeDeleted?: boolean | null;
40218
- isNeedItem?: boolean | null;
40219
- isNeedParentResource?: boolean | null;
40220
- includeChildTypes?: boolean;
40221
- securityToken?: string | null;
40222
- signal?: AbortSignal;
40223
- }): Promise<ResourceBehaviorSettings>;
40228
+ getBehaviorSettings(resourceId: string, options?: GetResourceOptions): Promise<ResourceBehaviorSettings>;
40224
40229
  updateBehaviorSettings(resourceId: string, settingsPatch: Partial<ResourceBehaviorSettings>, options?: {
40225
40230
  mergeParameters?: boolean;
40226
40231
  profileId?: string | null;
@@ -40229,7 +40234,7 @@ declare class ResourcesFacade extends TorrowItemFacade<ResourceItem> {
40229
40234
  includeDeleted?: boolean | null;
40230
40235
  isNeedItem?: boolean | null;
40231
40236
  isNeedParentResource?: boolean | null;
40232
- includeChildTypes?: boolean;
40237
+ includeChildItemStats?: boolean;
40233
40238
  securityToken?: string | null;
40234
40239
  signal?: AbortSignal;
40235
40240
  }): Promise<ResourceItem>;
@@ -40270,13 +40275,9 @@ declare class ResourcesFacade extends TorrowItemFacade<ResourceItem> {
40270
40275
  }
40271
40276
 
40272
40277
  /** Опции `GET /api/v1/services/{torrowId}` — у `getService` и `ServicesFacade.getById`. */
40273
- interface GetServiceOptions {
40278
+ interface GetServiceOptions extends TorrowItemGetOptions {
40279
+ /** Профиль, от имени которого читается услуга. */
40274
40280
  profileId?: string | null;
40275
- versionToCheck?: number | null;
40276
- includeDeleted?: boolean | null;
40277
- includeChildTypes?: boolean;
40278
- securityToken?: string | null;
40279
- signal?: AbortSignal;
40280
40281
  }
40281
40282
  /** `GET /api/v1/services/{torrowId}` — услуга с `behaviorSettings`, как `ServicesFacade.getById`. */
40282
40283
  declare function getService(http: HttpClient, torrowId: string, options?: GetServiceOptions): Promise<ServiceItem>;
@@ -40309,11 +40310,7 @@ declare class ServicesFacade extends TorrowItemFacade<ServiceItem> {
40309
40310
  generateServiceId(ownerTorrowId: string): string;
40310
40311
  private toApiServiceItem;
40311
40312
  /** `POST /api/v1/services` */
40312
- create(body: ServiceItemForCreateOrUpdate, options?: {
40313
- parentId?: string | null;
40314
- profileId?: string | null;
40315
- signal?: AbortSignal;
40316
- }): Promise<ServiceItem>;
40313
+ create(body: ServiceItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<ServiceItem>;
40317
40314
  /**
40318
40315
  * `PUT /api/v1/services/{body.id}` — полное обновление услуги.
40319
40316
  * Сервер может обновить `personalInfo.meta` даже при изменении только имени:
@@ -40322,20 +40319,11 @@ declare class ServicesFacade extends TorrowItemFacade<ServiceItem> {
40322
40319
  * Не восстанавливайте прежние метаданные персональной связи ради устранения diff.
40323
40320
  * @see https://github.com/torrowtechnologies/torrow-sdk-ts/blob/main/src/resources/services/README.md#обновление-услуги-и-personalinfometa
40324
40321
  */
40325
- update(body: ServiceItemForUpdate, options?: {
40326
- profileId?: string | null;
40327
- checkVersion?: boolean | null;
40328
- /** Создание announcement; `false` не отключает серверное обновление персональных связей. */
40329
- isNeedAnnouncement?: boolean | null;
40330
- signal?: AbortSignal;
40331
- }): Promise<ServiceItem>;
40322
+ update(body: ServiceItemForUpdate, options?: UpdateServiceItemOptions): Promise<ServiceItem>;
40332
40323
  /** GET → максимум один полный CAS PUT; пропущенные поля сохраняются, версии персональной связи не подменяют meta.version. Retry/readback не выполняются. */
40333
40324
  patch(itemId: string, fields: ServiceItemPatch, options?: TorrowItemPatchOptions): Promise<TorrowItemPatchResult<ServiceItem>>;
40334
40325
  /** `DELETE /api/v1/services/{torrowId}` */
40335
- delete(torrowId: string, options: {
40336
- cascade: boolean;
40337
- withPinnedItems: boolean;
40338
- } & TorrowOptions): Promise<number>;
40326
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
40339
40327
  /** `GET /api/v1/services/{torrowId}` */
40340
40328
  getById(torrowId: string, options?: GetServiceOptions): Promise<ServiceItem>;
40341
40329
  /** Чтение по uniqueName использует ту же доменную проекцию, что чтение по ID. */
@@ -41395,30 +41383,13 @@ declare class LoyaltySystemsFacade extends TorrowItemCoreFacade<LoyaltySystemIte
41395
41383
  /** Id программы лояльности до `create` / presigned upload. */
41396
41384
  generateLoyaltySystemId(ownerTorrowId: string): string;
41397
41385
  /** `POST /api/v1/loyaltysystems` */
41398
- create(body: LoyaltySystemItemForCreateOrUpdate, options?: {
41399
- parentId?: string | null;
41400
- profileId?: string | null;
41401
- signal?: AbortSignal;
41402
- }): Promise<LoyaltySystemItem>;
41386
+ create(body: LoyaltySystemItemForCreateOrUpdate, options?: TorrowChildItemCreateOptions): Promise<LoyaltySystemItem>;
41403
41387
  /** `PUT /api/v1/loyaltysystems/{body.id}`; numeratorInfo не обновляется и исключается из тела. */
41404
- update(body: LoyaltySystemItemForUpdate, options?: {
41405
- checkVersion?: boolean | null;
41406
- isNeedAnnouncement?: boolean | null;
41407
- signal?: AbortSignal;
41408
- }): Promise<LoyaltySystemItem>;
41388
+ update(body: LoyaltySystemItemForUpdate, options?: TorrowItemUpdateOptions): Promise<LoyaltySystemItem>;
41409
41389
  /** `DELETE /api/v1/loyaltysystems/{torrowId}` */
41410
- delete(torrowId: string, options: {
41411
- cascade: boolean;
41412
- withPinnedItems: boolean;
41413
- } & TorrowOptions): Promise<number>;
41390
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
41414
41391
  /** `GET /api/v1/loyaltysystems/{torrowId}` */
41415
- getById(torrowId: string, options?: {
41416
- versionToCheck?: number | null;
41417
- includeDeleted?: boolean | null;
41418
- includeChildItems?: boolean | null;
41419
- securityToken?: string | null;
41420
- signal?: AbortSignal;
41421
- }): Promise<LoyaltySystemItem>;
41392
+ getById(torrowId: string, options?: GetLoyaltySystemOptions): Promise<LoyaltySystemItem>;
41422
41393
  /** `GET /api/v1/loyaltysystems/personallist` */
41423
41394
  listPersonal(options?: LoyaltySystemPersonalListQuery & {
41424
41395
  signal?: AbortSignal;
@@ -41450,8 +41421,8 @@ declare class LoyaltySystemsFacade extends TorrowItemCoreFacade<LoyaltySystemIte
41450
41421
  }): Promise<LoyaltySystemsStatisticsResp[]>;
41451
41422
  /** `GET /api/v1/loyaltysystems/{torrowId}/participants/count` */
41452
41423
  getParticipantsCount(torrowId: string, query?: {
41453
- participantStateList?: LoyaltyParticipantsQuery["participantStateList"];
41454
- participantTypeList?: LoyaltyParticipantsQuery["participantTypeList"];
41424
+ participantStateList?: ParticipantState[] | null;
41425
+ participantTypeList?: ParticipantType[] | null;
41455
41426
  }, options?: {
41456
41427
  signal?: AbortSignal;
41457
41428
  }): Promise<GetParticipationCountResp>;
@@ -41493,8 +41464,8 @@ declare class LoyaltyCardsFacade extends TorrowItemCoreFacade<LoyaltyCardItem, L
41493
41464
  }): Promise<LoyaltyCardSubscription>;
41494
41465
  /** `GET /api/v1/loyaltycards/{torrowId}/participants/count` */
41495
41466
  getParticipantsCount(torrowId: string, query?: {
41496
- participantStateList?: LoyaltyParticipantsQuery["participantStateList"];
41497
- participantTypeList?: LoyaltyParticipantsQuery["participantTypeList"];
41467
+ participantStateList?: ParticipantState[] | null;
41468
+ participantTypeList?: ParticipantType[] | null;
41498
41469
  }, options?: {
41499
41470
  signal?: AbortSignal;
41500
41471
  }): Promise<GetParticipationCountResp>;
@@ -41519,25 +41490,11 @@ declare class LoyaltyCardsFacade extends TorrowItemCoreFacade<LoyaltyCardItem, L
41519
41490
  signal?: AbortSignal;
41520
41491
  }): Promise<AccountingTransaction[]>;
41521
41492
  /** `PUT /api/v1/loyaltycards/{body.id}` */
41522
- update(body: LoyaltyCardItemForCreateOrUpdate, options?: {
41523
- checkVersion?: boolean | null;
41524
- isNeedAnnouncement?: boolean | null;
41525
- signal?: AbortSignal;
41526
- }): Promise<LoyaltyCardItem>;
41493
+ update(body: LoyaltyCardItemForCreateOrUpdate, options?: TorrowItemUpdateOptions): Promise<LoyaltyCardItem>;
41527
41494
  /** `DELETE /api/v1/loyaltycards/{torrowId}` */
41528
- delete(torrowId: string, options: {
41529
- cascade: boolean;
41530
- withPinnedItems: boolean;
41531
- } & TorrowOptions): Promise<number>;
41495
+ delete(torrowId: string, options: TorrowItemDeleteOptions): Promise<number>;
41532
41496
  /** `GET /api/v1/loyaltycards/{torrowId}` */
41533
- getById(torrowId: string, options?: {
41534
- versionToCheck?: number | null;
41535
- includeDeleted?: boolean | null;
41536
- includeChildItems?: boolean | null;
41537
- includeBalance?: boolean | null;
41538
- securityToken?: string | null;
41539
- signal?: AbortSignal;
41540
- }): Promise<LoyaltyCardItem>;
41497
+ getById(torrowId: string, options?: GetLoyaltyCardOptions): Promise<LoyaltyCardItem>;
41541
41498
  /** `GET /api/v1/loyaltycards/personallist` */
41542
41499
  listPersonal(options?: LoyaltyPersonalListQuery & {
41543
41500
  signal?: AbortSignal;
@@ -41682,6 +41639,8 @@ type UserTimetableQuery = {
41682
41639
 
41683
41640
  declare class UserFacade {
41684
41641
  private readonly http;
41642
+ /** Общий путь чтения списка профилей с его распаковкой и read-проекцией. */
41643
+ private readonly profiles;
41685
41644
  constructor(http: HttpClient);
41686
41645
  /** `GET /api/v1/user/loyaltycard` */
41687
41646
  getLoyaltyCard(options?: {
@@ -41724,10 +41683,17 @@ declare class UserFacade {
41724
41683
  updateDeviceSettings(deviceId: string, settings: JsonValue | null, options?: {
41725
41684
  signal?: AbortSignal;
41726
41685
  }): Promise<TorrowObject>;
41727
- /** `GET /api/v1/user/defaultprofile` */
41686
+ /**
41687
+ * Возвращает серверный профиль по умолчанию (`GET /api/v1/user/defaultprofile`).
41688
+ * Если ответ null или пуст, выбирает первый профиль из {@link ProfilesFacade.list}
41689
+ * в серверном порядке; при пустом списке возвращает null.
41690
+ * Запасной выбор только читает данные и не назначает серверный default.
41691
+ * Ошибки передаются вызывающему коду; один signal отменяет оба запроса.
41692
+ * @param options Параметры чтения: signal — отмена всей цепочки запросов.
41693
+ */
41728
41694
  getDefaultProfile(options?: {
41729
41695
  signal?: AbortSignal;
41730
- }): Promise<ContactItem>;
41696
+ }): Promise<ContactItem | null>;
41731
41697
  /** `PUT /api/v1/user/defaultprofile` */
41732
41698
  setDefaultProfileByContactId(contactId: string, options?: {
41733
41699
  signal?: AbortSignal;
@@ -42526,4 +42492,4 @@ declare class ResourceBuilder {
42526
42492
  build(): ResourceBuildResult;
42527
42493
  }
42528
42494
 
42529
- export { type Account, type AccountDto, type AccountType, AccountTypeValueList, AccountTypeValues, type AccountingTransaction, type AccountingTransactionDto, type AccountingTransactionState, type AccountingTransactionStateDto, AccountingTransactionsFacade, type AccountingTransactionsListQuery, ActionHistoryFacade, type ActionHistoryInfo, type ActionHistoryInfoDto, type ActionHistoryListQuery, type ActionHistoryState, type ActionHistoryStateDto, type ActionHistoryType, type ActionHistoryTypeDto, type ActivityStatus, type ActivityStatusDto, type AddExternalAuthReq, type AddExternalAuthReqDto, type AddExternalAuthResp, type AddExternalAuthRespDto, type AddProfileResp, type AddProfileRespDto, type AddServicePaymentGroupInput, type AddServiceResourceGroupInput, type AddServiceResourceStepInput, type Address, type AdvisedItemTypeDto, type AdvisedItemsSearchQuery, type AnnouncementInfo, type AnnouncementInfoDto, type AnnouncementState, type AnnouncementStateDto, AnnouncementsFacade, type AnnouncementsListQuery, type AnyoneAccess, AnyoneAccessValues, ApiErrorNameValues, type ApiKeyInfo, type ApiKeyInfoDto, ApiKeysFacade, type ApproveCaseParticipationReq, type ApproveCaseParticipationReqDto, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, AuthSessionEffectStep, type AuthSessionErrorDetail, AuthSessionErrorReason, type AvailabilityTime, type AvailabilityTimeDto, type AvailableResources, AvailableResourcesValues, type BalanceValue, type BalanceValueDto, type BaseItemProperties, BehaviorSettingsEffectStep, type BehaviorSettingsErrorDetail, type BlockReason, type BlockReasonDto, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForMeReqDto, type BookResourcesForOthersReq, type BookResourcesForOthersReqDto, type BookResourcesReqDto, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemDto, type CalendarItemForCreateOrUpdate, type CalendarItemPatch, type CalendarItemPatchScheduleRangeExceptions, type CalendarItemPatchTimeRange, type CalendarView, type CalendarViewDto, CalendarsFacade, type CancelCaseParticipationReq, type CancelCaseParticipationReqDto, type CancelMyCaseParticipationReqDto, type CancelOtherCaseParticipationReqDto, type CaseItem, type CaseItemDto, type CaseItemForCreateOrUpdate, type CaseItemPatch, type CaseParticipant, type CaseParticipantDto, type CaseParticipantFields, type CaseParticipantFieldsDto, type CaseParticipantStateDto, type CaseParticipantType, type CaseParticipantTypeDto, type CaseParticipantView, type CaseParticipantViewDto, type CaseParticipantsCountQuery, type CaseParticipantsListQuery, type CaseReportProperties, type CaseState, CaseStateValues, type CaseType, CaseTypeValues, type CaseView, type CaseViewDto, CasesFacade, type CellValueType, CellValueTypeValues, type ChangeMoneyReceiveReq, type ChangeMoneyReceiveReqDto, type ChangeOrderServiceReq, type ChangeOrderServiceReqDto, type CheckInOtherReqDto, type CheckInProps, type CheckInPropsDto, type CheckInReq, type CheckInReqDto, type ColumnType, ColumnTypeValues, type Communication, type CommunicationBrandId, type CommunicationForCreateOrUpdate, type CommunicationType, CommunicationTypeValues, type CompleteAddingAccountReq, type CompleteAddingAccountReqDto, type CompleteDeletingUserReq, type CompleteDeletingUserReqDto, type CompleteDeletingUserResp, type CompleteDeletingUserRespDto, type ContactCaseParticipantsListQuery, type ContactCommunicationPatch, type ContactItem, type ContactItemDto, type ContactItemForCreateOrUpdate, type ContactItemPatch, type ContactPersonalInfo, type ContactProperties, type ContactPropertiesDto, type ContactSearchQuery, type ContactView, type ContactViewDto, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemDto, type ContextItemForCreateOrUpdate, type ContextItemPatch, type ContextView, type ContextViewDto, ContextsFacade, type CreateApiKeyRequest, type CreateApiKeyRequestDto, type CreateApiKeyResponse, type CreateApiKeyResponseDto, type CreateAuthSessionReq, type CreateAuthSessionReqDto, type CreateAuthSessionResp, type CreateAuthSessionRespDto, type CreateCaseReq, type CreateCaseReqDto, type CreateLoyaltyCardReq, type CreateLoyaltyCardReqDto, type CreateLoyaltyCardSubscriptionReq, type CreateLoyaltyCardSubscriptionReqDto, type CreateOrderReq, type CreateOrderReqDto, type CreateViewListReqDto, type CreateViewListRespDto, DEFAULT_TORROW_API_BASE_URL, DefaultAuthScopes, type DeleteResponse, type DeleteResponseDto, type DeleteUserAccountReq, type DeleteUserAccountReqDto, type DeleteUserAccountResp, type DeleteUserAccountRespDto, type DeliveryChannelDto, type DeviceInfo, type DeviceInfoDto, type DeviceSettingsInfo, type DeviceSettingsInfoDto, type DeviceType, type DeviceTypeDto, DeviceTypeValueList, DeviceTypeValues, type DictionarySortCondition, type DictionarySortConditionDto, Discriminator, type DiscriminatorType, type ExcludeFromGroupsReq, type ExcludeFromGroupsReqDto, type ExcludeReqDto, type ExcludeResp, type ExcludeRespDto, type ExportGraph, type ExportGraphDto, ExportImportFacade, type ExportRequest, type ExportRequestDto, type ExternalAuth, type ExternalAuthDto, ExternalAuthsFacade, type Feedback, type FeedbackDto, type FeedbackOptions, type FeedbackOptionsDto, type FileInfo, type FileInfoDto, type FileMetadataErrorDetail, FileMetadataErrorReason, FileMetadataFailureAt, FileMetadataOperation, type FreeCheckInSlot, type Gender, GenderValues, type GenerateReportReq, type GenerateReportReqDto, type GenerateReportResp, type GenerateReportRespDto, type GenerateSecurityTokenReq, type GenerateSecurityTokenReqDto, type GenerateSecurityTokenResp, type GenerateSecurityTokenRespDto, type GetCaseOptions, type GetCaseParticipationCountResp, type GetCaseParticipationCountRespDto, type GetCheckInScheduleReq, type GetCheckInScheduleReqDto, type GetCheckInScheduleResp, type GetCheckInScheduleRespDto, type GetLoyaltySystemsStatisticsReq, type GetLoyaltySystemsStatisticsReqDto, type GetLoyaltySystemsStatisticsResp, type GetLoyaltySystemsStatisticsRespDto, type GetParticipationCountRespDto, type GetReCheckInScheduleReq, type GetReCheckInScheduleReqDto, type GetServiceOptions, type GetServiceWorkloadInfoRequest, type GetServiceWorkloadInfoRequestDto, type GetServiceWorkloadInfoResp, type GetServiceWorkloadInfoRespDto, type GetShareItemSessionReq, type GetShareItemSessionReqDto, type GetTimetableStatisticsRequest, type GetTimetableStatisticsRequestDto, type GetTimetableStatisticsResponseDto, type GetTorrowIdResp, type GetTorrowIdRespDto, type GroupStatus, type GroupStatusDto, type Hobby, type HobbyDto, HttpClient, type HttpMethod, type HttpRequestInit, IdGeneratorFacade, type ImagePreviewSize, ImagePreviewSizeValues, type ImportByFileRequest, type ImportByFileRequestDto, type ImportByUniqueNameRequest, type ImportByUniqueNameRequestDto, type IncludeExcludeResp, type IncludeExcludeRespDto, type IncludeForUserReq, type IncludeForUserReqDto, type IncludeToGroupsReq, type IncludeToGroupsReqDto, type IncludeToParentReq, type IncludeToParentReqDto, type InitAddingAccountReq, type InitAddingAccountReqDto, type InitAddingAccountResp, type InitAddingAccountRespDto, type InitDeletingUserResp, type InitDeletingUserRespDto, type Integration, type IntegrationDto, IntegrationsFacade, ItemFacade, type ItemFeedback, type ItemFeedbackDto, ItemPatchEffectStep, type ItemPatchErrorDetail, type ItemPricePatchFields, type ItemPricePatchInfo, type ItemPricePatchProperties, type ItemPricePatchSetting, type ItemProperties, type ItemSortConditionDto, type ItemTagsListQuery, type ItemTextSearchQuery, type ItemViewSortConditionDto as ItemViewSortCondition, type ItemViewSortConditionDto, ItemViewSortConditionValueList, ItemViewSortConditionValues, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type KnownServiceType, type LayoutTypeValue, LayoutTypeValues, type LoyaltyCardFilterCondition, type LoyaltyCardFilterConditionDto, type LoyaltyCardIssueType, LoyaltyCardIssueTypeValues, type LoyaltyCardItem, type LoyaltyCardItemDto, 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, type LoyaltyCardSortConditionDto, LoyaltyCardSortConditionValues, type LoyaltyCardStateDto, type LoyaltyCardSubscription, type LoyaltyCardSubscriptionDto, type LoyaltyCardUpdateKeyInformation, LoyaltyCardUpdateKeyInformationValues, type LoyaltyCardUpdateNonKeyInformation, LoyaltyCardUpdateNonKeyInformationValues, type LoyaltyCardView, type LoyaltyCardViewDto, LoyaltyCardsFacade, type LoyaltyGroupListQuery, type LoyaltyPersonalListQuery, type LoyaltySystemInitialSubscriptionPatch, type LoyaltySystemItem, type LoyaltySystemItemDto, 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, type LoyaltySystemViewDto, LoyaltySystemsFacade, type LoyaltySystemsStatisticsResp, type LoyaltySystemsStatisticsRespDto, type LoyaltyTransactionsQuery, type ManagedSolutionData, type MemorableDate, type Metrics, type NoteItem, type NoteItemDto, type NoteItemForCreateOrUpdate, type NoteItemPatch, type NoteType, type NoteTypeDto, NoteTypeValues, type NoteView, type NoteViewDto, NotesFacade, type NotificationWay, type NotificationWayDto, type ObjectInfoDto, type ObjectSortConditionDto, type OperationTypeDto, type OrderFilter, type OrderFilterDto, type OrderResp, type OrderRespDto, type OrderSearchQuery, type OrderViewSortConditionDto, type OtpErrorDetail, OtpErrorReason, type ParticipantStateDto as ParticipantState, type ParticipantStateDto, type ParticipantTypeDto as ParticipantType, type ParticipantTypeDto, type ParticipantView, type ParticipantViewDto, type Participation, type ParticipationDto, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type ParticipationRespDto, type PatchCaseReq, type PatchCaseReqDto, type PaymentProviderType, PaymentProviderTypeValues, type PersonalListQuery, type PersonalReminder, type PersonalReminderDto, type PersonalSolutionData, type PersonalSolutionDataDto, type PickOrderReq, type PickOrderReqDto, type PickOrderResp, type PickOrderRespDto, PinnedViewsFacade, type Place, type PlaceDto, type ProfileListResp, type ProfileListRespDto, type ProfileProperties, type ProfilePropertiesDto, type ProfileType, ProfileTypeValues, ProfilesFacade, type PublicityType, type PublicityTypeDto, type PutUrlResp, type PutUrlRespDto, type Rating, RawClient, type RawRequestOptions, type RefreshReq, type RefreshReqDto, type RegisterInfo, type RegisterUserForAccountResp, type RegisterUserForAccountRespDto, type RegistrationUserInfo, type RegistrationUserInfoDto, RelationsFacade, type RemoveProfileResp, type RemoveProfileRespDto, type ReportOptions, type ReportProperties, type ReportPropertiesBase, ReportsFacade, type ResolvedTorrowClientConfig, type ResourceBuildResult, ResourceBuilder, type ResourceGroup, type ResourceItem, type ResourceItemApiDto, type ResourceBehaviorSettings as ResourceItemBehaviorSettings, type ResourceItemForCreateOrUpdate, type ResourceItemPatch, type ResourceItemPatchFields, type ResourceMindMapView, type ResourceMindMapViewDto, type ResourcePaymentPatchParameters, type ResourcePaymentPatchProperties, type ResourceReportProperties, type ResourceServiceBindingOptions, type ResourceUsageConditionType, type ResourceView, type ResourceViewDto, ResourcesFacade, type ResourcesFilterOptions, type ResourcesRentReportProperties, type ReturnOrderReq, type ReturnOrderReqDto, type ReturnOrderResp, type ReturnOrderRespDto, type RevokeReq, type RevokeReqDto, type SaveItemToMindMapReq, type SaveItemToMindMapReqDto, SearchFacade, type SearchLoyaltyCardsReq, type SearchLoyaltyCardsReqDto, type SearchServiceResourcesReq, type SearchServiceResourcesReqDto, type SearchServiceResourcesResp, type SearchServiceResourcesRespDto, type SendCodeAccountType, SendCodeAccountTypeValueList, SendCodeAccountTypeValues, type SendCodeReq, type SendCodeReqDto, type SendCodeReqForOtp, type SendCodeResp, type SendCodeRespDto, type SendCommunicationCodeReq, type SendCommunicationCodeReqDto, type SendCommunicationCodeResp, type SendCommunicationCodeRespDto, type SendLinkOfItemReqDto, type SendLinkOfItemRespDto, type ServiceBehaviorSettings, type ServiceBehaviorSettingsIssue, ServiceBehaviorSettingsIssueReason, type ServiceBehaviorSettingsState, type ServiceBehaviorSettingsUpdateOptions, type ServiceBehaviorSettingsUpdateResult, type ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemApiDto, type ServiceItemForCreateOrUpdate, type ServiceItemForUpdate, type ServiceItemPatch, ServiceOrderConflictErrorNameValues, type ServiceOrderConflictReason, type ServiceReportProperties, type ServiceResourceStepUsageType, type ServiceSessionDurationOptions, ServiceType, type ServiceTypePreset, ServiceTypePresetValues, type ServiceView, type ServiceViewDto, ServicesFacade, type ServicesResourcesReportProperties, type SessionDurationProperties, type SessionDurationPropertiesDto, type SessionDurationType, SessionDurationTypeValues, type SessionPrecisionType, SessionPrecisionTypeValues, type SetGroupItemReqDto, type ShareItemReq, type ShareItemReqDto, ShortUrlFacade, type SolutionData, type SolutionDataDto, type Filter as SolutionDataFilter, type StateManagementType, StateManagementTypeValues, type StepDescription, type StepDescriptionDto, type DictionarySortCondition as ThesaurusDictionarySortCondition, ThesaurusFacade, type TimePeriod, type TimeSelectionType, TimeSelectionTypeValues, type TimeSplitType, TimeSplitTypeValues, type TimeStepUiMode, TimeStepUiModeValues, type TimetableCase, type TimetableCaseDto, type TimetableDetailsVisibility, type TimetableDetailsVisibilityDto, type TimetableFilter, type TimetableFilterDto, type TimetableQueryOptions, type TimetableStatisticsResp, type TimetableStatisticsRespDto, type TimetableViewTypeValue, TimetableViewTypeValues, type TokenReq, type TokenReqDto, type TokenResp, type TokenRespDto, type TokenStatus, TokenStatusValueList, TokenStatusValues, TorrowClient, type TorrowClientConfig, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemDto, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemPatchFields, type TorrowItemPatchImage, type TorrowItemPatchOptions, type TorrowItemPatchResult, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectDto, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowObjectTypeDto, type TorrowOptions, type TorrowSdkEffect, TorrowSdkEffectArea, TorrowSdkEffectState, TorrowSdkError, TorrowSdkErrorCategory, type TorrowSdkErrorDetail, TorrowSdkErrorDomain, type TorrowSdkErrorInfo, type TorrowSdkErrorInit, type TorrowSdkHttpDetails, TorrowSdkRequestState, type TorrowSdkSensitiveDetails, type UnpackedTorrowId, type UnsetGroupItemReqDto, type UpdateAnnouncementStateReq, type UpdateAnnouncementStateReqDto, type UpdateContactPropertiesResp, type UpdateContactPropertiesRespDto, type UpdateFileIdResp, type UpdateFileIdRespDto, type UpdateItemAccountsReqDto, type UpdateItemGroupsReqDto, type UpdateMasterInfoReq, type UpdateMasterInfoReqDto, type UpdateOrderInfoReq, type UpdateOrderInfoReqDto, type UpdateOrderReq, type UpdateOrderReqDto, type UpdatePersonalListOrderReq, type UpdatePersonalListOrderReqDto, type UpdatePersonalListOrderResp, type UpdatePersonalListOrderRespDto, type UpdateProfilePropertiesResp, type UpdateProfilePropertiesRespDto, type UpdateViewListOrderReqDto, type UpdateViewListOrderRespDto, type UsageCondition, type UsageConditionType, UsageConditionTypeValues, type UsageType, UsageTypeValues, type UserAccessLevel, UserAccessLevelValues, type UserAccountsQuery, type UserCalendar, type UserCalendarDto, type UserDeliveryWay, type UserDeliveryWayDto, UserFacade, type UserFeedback, type UserFeedbackDto, type UserProfileItemForAdd, UserSettingsFacade, type UserSettingsInfo, type UserSettingsInfoDto, type UserTimetableQuery, UserViewsFacade, type VerificationMethod, VerificationMethodValueList, VerificationMethodValues, type VerifyCommunicationCodeReq, type VerifyCommunicationCodeReqDto, type VerifyCommunicationCodeResp, type VerifyCommunicationCodeRespDto, type ViewBlockSettings, type ViewInfo, type ViewInfoDto, type ViewListQuery, type ViewListRootQuery, type ViewOrderInput, ViewsFacade, type WorkloadPeriod, type WorkloadPeriodDto, 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 };
42495
+ export { type Account, type AccountDto, type AccountType, AccountTypeValueList, AccountTypeValues, type AccountingTransaction, type AccountingTransactionDto, type AccountingTransactionState, type AccountingTransactionStateDto, AccountingTransactionsFacade, type AccountingTransactionsListQuery, ActionHistoryFacade, type ActionHistoryInfo, type ActionHistoryInfoDto, type ActionHistoryListQuery, type ActionHistoryState, type ActionHistoryStateDto, type ActionHistoryType, type ActionHistoryTypeDto, type ActivityStatus, type ActivityStatusDto, type AddExternalAuthReq, type AddExternalAuthReqDto, type AddExternalAuthResp, type AddExternalAuthRespDto, type AddProfileResp, type AddProfileRespDto, type AddServicePaymentGroupInput, type AddServiceResourceGroupInput, type AddServiceResourceStepInput, type Address, type AdvisedItemTypeDto, type AdvisedItemsSearchQuery, type AnnouncementInfo, type AnnouncementInfoDto, type AnnouncementState, type AnnouncementStateDto, AnnouncementsFacade, type AnnouncementsListQuery, type AnyoneAccess, AnyoneAccessValues, ApiErrorNameValues, type ApiKeyInfo, type ApiKeyInfoDto, ApiKeysFacade, type ApproveCaseParticipationReq, type ApproveCaseParticipationReqDto, type AuthCaptchaType, AuthCaptchaTypeValueList, AuthCaptchaTypeValues, AuthFacade, type AuthIdentityBasic, type AuthScope, AuthScopeValueList, AuthScopeValues, AuthSessionEffectStep, type AuthSessionErrorDetail, AuthSessionErrorReason, type AvailabilityTime, type AvailabilityTimeDto, type AvailableResources, AvailableResourcesValues, type BalanceValue, type BalanceValueDto, type BaseItemProperties, BehaviorSettingsEffectStep, type BehaviorSettingsErrorDetail, type BlockReason, type BlockReasonDto, type BlockReasonListQuery, BlockReasonsFacade, type BlockSettings, type BookResourcesForMeReq, type BookResourcesForMeReqDto, type BookResourcesForOthersReq, type BookResourcesForOthersReqDto, type BookResourcesReqDto, type BookingProperties, type BookingWizardExpandedStep, type BuildContextIconSvgOptions, type CalendarItem, type CalendarItemDto, type CalendarItemForCreateOrUpdate, type CalendarItemPatch, type CalendarItemPatchScheduleRangeExceptions, type CalendarItemPatchTimeRange, type CalendarView, type CalendarViewDto, CalendarsFacade, type CancelCaseParticipationReq, type CancelCaseParticipationReqDto, type CancelMyCaseParticipationReqDto, type CancelOtherCaseParticipationReqDto, type CaseItem, type CaseItemDto, type CaseItemForCreateOrUpdate, type CaseItemPatch, type CaseParticipant, type CaseParticipantDto, type CaseParticipantFields, type CaseParticipantFieldsDto, type CaseParticipantStateDto, type CaseParticipantType, type CaseParticipantTypeDto, type CaseParticipantView, type CaseParticipantViewDto, type CaseParticipantsCountQuery, type CaseParticipantsListQuery, type CaseReportProperties, type CaseState, CaseStateValues, type CaseType, CaseTypeValues, type CaseView, type CaseViewDto, CasesFacade, type CellValueType, CellValueTypeValues, type ChangeMoneyReceiveReq, type ChangeMoneyReceiveReqDto, type ChangeOrderServiceReq, type ChangeOrderServiceReqDto, type CheckInOtherReqDto, type CheckInProps, type CheckInPropsDto, type CheckInReq, type CheckInReqDto, type ColumnType, ColumnTypeValues, type Communication, type CommunicationBrandId, type CommunicationForCreateOrUpdate, type CommunicationType, CommunicationTypeValues, type CompleteAddingAccountReq, type CompleteAddingAccountReqDto, type CompleteDeletingUserReq, type CompleteDeletingUserReqDto, type CompleteDeletingUserResp, type CompleteDeletingUserRespDto, type ContactCaseParticipantsListQuery, type ContactCommunicationPatch, type ContactItem, type ContactItemDto, type ContactItemForCreateOrUpdate, type ContactItemPatch, type ContactPersonalInfo, type ContactProperties, type ContactPropertiesDto, type ContactSearchQuery, type ContactView, type ContactViewDto, type ContactVisitCard, type ContactVisitCardField, ContactsFacade, type ContextIconPresetValue, ContextIconPresetValues, type ContextItem, type ContextItemDto, type ContextItemForCreateOrUpdate, type ContextItemPatch, type ContextView, type ContextViewDto, ContextsFacade, type CreateApiKeyRequest, type CreateApiKeyRequestDto, type CreateApiKeyResponse, type CreateApiKeyResponseDto, type CreateAuthSessionReq, type CreateAuthSessionReqDto, type CreateAuthSessionResp, type CreateAuthSessionRespDto, type CreateCaseItemOptions, type CreateCaseReq, type CreateCaseReqDto, type CreateLoyaltyCardReq, type CreateLoyaltyCardReqDto, type CreateLoyaltyCardSubscriptionReq, type CreateLoyaltyCardSubscriptionReqDto, type CreateOrderReq, type CreateOrderReqDto, type CreateViewListReqDto, type CreateViewListRespDto, DEFAULT_TORROW_API_BASE_URL, DefaultAuthScopes, type DeleteResponse, type DeleteResponseDto, type DeleteUserAccountReq, type DeleteUserAccountReqDto, type DeleteUserAccountResp, type DeleteUserAccountRespDto, type DeliveryChannelDto, type DeviceInfo, type DeviceInfoDto, type DeviceSettingsInfo, type DeviceSettingsInfoDto, type DeviceType, type DeviceTypeDto, DeviceTypeValueList, DeviceTypeValues, type DictionarySortCondition, type DictionarySortConditionDto, Discriminator, type DiscriminatorType, type ExcludeFromGroupsReq, type ExcludeFromGroupsReqDto, type ExcludeReqDto, type ExcludeResp, type ExcludeRespDto, type ExportGraph, type ExportGraphDto, ExportImportFacade, type ExportRequest, type ExportRequestDto, type ExternalAuth, type ExternalAuthDto, ExternalAuthsFacade, type Feedback, type FeedbackDto, type FeedbackOptions, type FeedbackOptionsDto, type FileInfo, type FileInfoDto, type FileMetadataErrorDetail, FileMetadataErrorReason, FileMetadataFailureAt, FileMetadataOperation, type FreeCheckInSlot, type Gender, GenderValues, type GenerateReportReq, type GenerateReportReqDto, type GenerateReportResp, type GenerateReportRespDto, type GenerateSecurityTokenReq, type GenerateSecurityTokenReqDto, type GenerateSecurityTokenResp, type GenerateSecurityTokenRespDto, type GetCalendarOptions, type GetCaseOptions, type GetCaseParticipationCountResp, type GetCaseParticipationCountRespDto, type GetCheckInScheduleReq, type GetCheckInScheduleReqDto, type GetCheckInScheduleResp, type GetCheckInScheduleRespDto, type GetContactOptions, type GetContextOptions, type GetLoyaltyCardOptions, type GetLoyaltySystemOptions, type GetLoyaltySystemsStatisticsReq, type GetLoyaltySystemsStatisticsReqDto, type GetLoyaltySystemsStatisticsResp, type GetLoyaltySystemsStatisticsRespDto, type GetNoteOptions, type GetParticipationCountRespDto, type GetReCheckInScheduleReq, type GetReCheckInScheduleReqDto, type GetResourceOptions, type GetServiceOptions, type GetServiceWorkloadInfoRequest, type GetServiceWorkloadInfoRequestDto, type GetServiceWorkloadInfoResp, type GetServiceWorkloadInfoRespDto, type GetShareItemSessionReq, type GetShareItemSessionReqDto, type GetTimetableStatisticsRequest, type GetTimetableStatisticsRequestDto, type GetTimetableStatisticsResponseDto, type GetTorrowIdResp, type GetTorrowIdRespDto, type GroupStatus, type GroupStatusDto, type Hobby, type HobbyDto, HttpClient, type HttpMethod, type HttpRequestInit, IdGeneratorFacade, type ImagePreviewSize, ImagePreviewSizeValues, type ImportByFileRequest, type ImportByFileRequestDto, type ImportByUniqueNameRequest, type ImportByUniqueNameRequestDto, type IncludeExcludeResp, type IncludeExcludeRespDto, type IncludeForUserReq, type IncludeForUserReqDto, type IncludeToGroupsReq, type IncludeToGroupsReqDto, type IncludeToParentReq, type IncludeToParentReqDto, type InitAddingAccountReq, type InitAddingAccountReqDto, type InitAddingAccountResp, type InitAddingAccountRespDto, type InitDeletingUserResp, type InitDeletingUserRespDto, type Integration, type IntegrationDto, IntegrationsFacade, ItemFacade, type ItemFeedback, type ItemFeedbackDto, ItemPatchEffectStep, type ItemPatchErrorDetail, type ItemPricePatchFields, type ItemPricePatchInfo, type ItemPricePatchProperties, type ItemPricePatchSetting, type ItemProperties, type ItemSortConditionDto, type ItemTagsListQuery, type ItemTextSearchQuery, type ItemViewSortConditionDto as ItemViewSortCondition, type ItemViewSortConditionDto, ItemViewSortConditionValueList, ItemViewSortConditionValues, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type KnownServiceType, type LayoutTypeValue, LayoutTypeValues, type LoyaltyCardFilterCondition, type LoyaltyCardFilterConditionDto, type LoyaltyCardIssueType, LoyaltyCardIssueTypeValues, type LoyaltyCardItem, type LoyaltyCardItemDto, 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, type LoyaltyCardSortConditionDto, LoyaltyCardSortConditionValues, type LoyaltyCardStateDto, type LoyaltyCardSubscription, type LoyaltyCardSubscriptionDto, type LoyaltyCardUpdateKeyInformation, LoyaltyCardUpdateKeyInformationValues, type LoyaltyCardUpdateNonKeyInformation, LoyaltyCardUpdateNonKeyInformationValues, type LoyaltyCardView, type LoyaltyCardViewDto, LoyaltyCardsFacade, type LoyaltyGroupListQuery, type LoyaltyPersonalListQuery, type LoyaltySystemInitialSubscriptionPatch, type LoyaltySystemItem, type LoyaltySystemItemDto, 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, type LoyaltySystemViewDto, LoyaltySystemsFacade, type LoyaltySystemsStatisticsResp, type LoyaltySystemsStatisticsRespDto, type LoyaltyTransactionsQuery, type ManagedSolutionData, type MemorableDate, type Metrics, type NoteItem, type NoteItemDto, type NoteItemForCreateOrUpdate, type NoteItemPatch, type NoteType, type NoteTypeDto, NoteTypeValues, type NoteView, type NoteViewDto, NotesFacade, type NotificationWay, type NotificationWayDto, type ObjectInfoDto, type ObjectSortConditionDto, type OperationTypeDto, type OrderFilter, type OrderFilterDto, type OrderResp, type OrderRespDto, type OrderSearchQuery, type OrderViewSortConditionDto, type OtpErrorDetail, OtpErrorReason, type ParticipantStateDto as ParticipantState, type ParticipantStateDto, type ParticipantTypeDto as ParticipantType, type ParticipantTypeDto, type ParticipantView, type ParticipantViewDto, type Participation, type ParticipationDto, type ParticipationFieldRequirementType, ParticipationFieldRequirementTypeValues, type ParticipationFieldType, ParticipationFieldTypeValues, type ParticipationResp, type ParticipationRespDto, type PatchCaseReq, type PatchCaseReqDto, type PaymentProviderType, PaymentProviderTypeValues, type PersonalListQuery, type PersonalReminder, type PersonalReminderDto, type PersonalSolutionData, type PersonalSolutionDataDto, type PickOrderReq, type PickOrderReqDto, type PickOrderResp, type PickOrderRespDto, PinnedViewsFacade, type Place, type PlaceDto, type ProfileListResp, type ProfileListRespDto, type ProfileProperties, type ProfilePropertiesDto, type ProfileType, ProfileTypeValues, ProfilesFacade, type PublicityType, type PublicityTypeDto, type PutUrlResp, type PutUrlRespDto, type Rating, RawClient, type RawRequestOptions, type RefreshReq, type RefreshReqDto, type RegisterInfo, type RegisterUserForAccountResp, type RegisterUserForAccountRespDto, type RegistrationUserInfo, type RegistrationUserInfoDto, RelationsFacade, type RemoveProfileResp, type RemoveProfileRespDto, type ReportOptions, type ReportProperties, type ReportPropertiesBase, ReportsFacade, type ResolvedTorrowClientConfig, type ResourceBuildResult, ResourceBuilder, type ResourceGroup, type ResourceItem, type ResourceItemApiDto, type ResourceBehaviorSettings as ResourceItemBehaviorSettings, type ResourceItemForCreateOrUpdate, type ResourceItemPatch, type ResourceItemPatchFields, type ResourceMindMapView, type ResourceMindMapViewDto, type ResourcePaymentPatchParameters, type ResourcePaymentPatchProperties, type ResourceReportProperties, type ResourceServiceBindingOptions, type ResourceUsageConditionType, type ResourceView, type ResourceViewDto, ResourcesFacade, type ResourcesFilterOptions, type ResourcesRentReportProperties, type ReturnOrderReq, type ReturnOrderReqDto, type ReturnOrderResp, type ReturnOrderRespDto, type RevokeReq, type RevokeReqDto, type SaveItemToMindMapReq, type SaveItemToMindMapReqDto, SearchFacade, type SearchLoyaltyCardsReq, type SearchLoyaltyCardsReqDto, type SearchServiceResourcesReq, type SearchServiceResourcesReqDto, type SearchServiceResourcesResp, type SearchServiceResourcesRespDto, type SendCodeAccountType, SendCodeAccountTypeValueList, SendCodeAccountTypeValues, type SendCodeReq, type SendCodeReqDto, type SendCodeReqForOtp, type SendCodeResp, type SendCodeRespDto, type SendCommunicationCodeReq, type SendCommunicationCodeReqDto, type SendCommunicationCodeResp, type SendCommunicationCodeRespDto, type SendLinkOfItemReqDto, type SendLinkOfItemRespDto, type ServiceBehaviorSettings, type ServiceBehaviorSettingsIssue, ServiceBehaviorSettingsIssueReason, type ServiceBehaviorSettingsState, type ServiceBehaviorSettingsUpdateOptions, type ServiceBehaviorSettingsUpdateResult, type ServiceBuildResult, ServiceBuilder, ServiceCheckInWizardStepParameterName, ServiceCheckInWizardStepType, type ServiceDescription, type ServiceItem, type ServiceItemApiDto, type ServiceItemForCreateOrUpdate, type ServiceItemForUpdate, type ServiceItemPatch, ServiceOrderConflictErrorNameValues, type ServiceOrderConflictReason, type ServiceReportProperties, type ServiceResourceStepUsageType, type ServiceSessionDurationOptions, ServiceType, type ServiceTypePreset, ServiceTypePresetValues, type ServiceView, type ServiceViewDto, ServicesFacade, type ServicesResourcesReportProperties, type SessionDurationProperties, type SessionDurationPropertiesDto, type SessionDurationType, SessionDurationTypeValues, type SessionPrecisionType, SessionPrecisionTypeValues, type SetGroupItemReqDto, type ShareItemReq, type ShareItemReqDto, ShortUrlFacade, type SolutionData, type SolutionDataDto, type Filter as SolutionDataFilter, type StateManagementType, StateManagementTypeValues, type StepDescription, type StepDescriptionDto, type DictionarySortCondition as ThesaurusDictionarySortCondition, ThesaurusFacade, type TimePeriod, type TimeSelectionType, TimeSelectionTypeValues, type TimeSplitType, TimeSplitTypeValues, type TimeStepUiMode, TimeStepUiModeValues, type TimetableCase, type TimetableCaseDto, type TimetableDetailsVisibility, type TimetableDetailsVisibilityDto, type TimetableFilter, type TimetableFilterDto, type TimetableQueryOptions, type TimetableStatisticsResp, type TimetableStatisticsRespDto, type TimetableViewTypeValue, TimetableViewTypeValues, type TokenReq, type TokenReqDto, type TokenResp, type TokenRespDto, type TokenStatus, TokenStatusValueList, TokenStatusValues, type TorrowChildItemCreateOptions, TorrowClient, type TorrowClientConfig, TorrowIdError, type TorrowIdErrorReason, type TorrowItem, type TorrowItemCreateOptions, type TorrowItemDeleteOptions, type TorrowItemDto, type TorrowItemForCreateOrUpdate, type TorrowItemFromDto, type TorrowItemGetOptions, type TorrowItemPatchFields, type TorrowItemPatchImage, type TorrowItemPatchOptions, type TorrowItemPatchResult, type TorrowItemType, TorrowItemTypeValueList, TorrowItemTypeValues, type TorrowItemUpdateOptions, type TorrowItemView, type TorrowItemViewByTypeMap, type TorrowObject, type TorrowObjectDto, type TorrowObjectType, TorrowObjectTypeCode, type TorrowObjectTypeCodeValue, type TorrowObjectTypeDto, type TorrowOptions, type TorrowSdkEffect, TorrowSdkEffectArea, TorrowSdkEffectState, TorrowSdkError, TorrowSdkErrorCategory, type TorrowSdkErrorDetail, TorrowSdkErrorDomain, type TorrowSdkErrorInfo, type TorrowSdkErrorInit, type TorrowSdkHttpDetails, TorrowSdkRequestState, type TorrowSdkSensitiveDetails, type UnpackedTorrowId, type UnsetGroupItemReqDto, type UpdateAnnouncementStateReq, type UpdateAnnouncementStateReqDto, type UpdateCalendarItemOptions, type UpdateCaseItemOptions, type UpdateContactItemOptions, type UpdateContactPropertiesResp, type UpdateContactPropertiesRespDto, type UpdateFileIdResp, type UpdateFileIdRespDto, type UpdateItemAccountsReqDto, type UpdateItemGroupsReqDto, type UpdateMasterInfoReq, type UpdateMasterInfoReqDto, type UpdateOrderInfoReq, type UpdateOrderInfoReqDto, type UpdateOrderReq, type UpdateOrderReqDto, type UpdatePersonalListOrderReq, type UpdatePersonalListOrderReqDto, type UpdatePersonalListOrderResp, type UpdatePersonalListOrderRespDto, type UpdateProfilePropertiesResp, type UpdateProfilePropertiesRespDto, type UpdateResourceItemOptions, type UpdateServiceItemOptions, type UpdateViewListOrderReqDto, type UpdateViewListOrderRespDto, type UsageCondition, type UsageConditionType, UsageConditionTypeValues, type UsageType, UsageTypeValues, type UserAccessLevel, UserAccessLevelValues, type UserAccountsQuery, type UserCalendar, type UserCalendarDto, type UserDeliveryWay, type UserDeliveryWayDto, UserFacade, type UserFeedback, type UserFeedbackDto, type UserProfileItemForAdd, UserSettingsFacade, type UserSettingsInfo, type UserSettingsInfoDto, type UserTimetableQuery, UserViewsFacade, type VerificationMethod, VerificationMethodValueList, VerificationMethodValues, type VerifyCommunicationCodeReq, type VerifyCommunicationCodeReqDto, type VerifyCommunicationCodeResp, type VerifyCommunicationCodeRespDto, type ViewBlockSettings, type ViewInfo, type ViewInfoDto, type ViewListQuery, type ViewListRootQuery, type ViewOrderInput, ViewsFacade, type WorkloadPeriod, type WorkloadPeriodDto, 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 };