@torrow/sdk-client 0.17.2 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +167 -5
- package/dist/index.js +132 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41911,20 +41911,182 @@ declare class IdGeneratorFacade {
|
|
|
41911
41911
|
}
|
|
41912
41912
|
|
|
41913
41913
|
type Integration = IntegrationDto;
|
|
41914
|
+
/** Wire-значения типа интеграции; базовый OpenAPI union остаётся совместимым. */
|
|
41915
|
+
declare enum IntegrationTypeValues {
|
|
41916
|
+
UnknownInegrationActionType = "UnknownInegrationActionType",
|
|
41917
|
+
WebHook = "WebHook",
|
|
41918
|
+
ExternalCalendar = "ExternalCalendar",
|
|
41919
|
+
VideoTelephony = "VideoTelephony"
|
|
41920
|
+
}
|
|
41921
|
+
/** Общие события интеграций из модели EventType приложения Torrow. */
|
|
41922
|
+
declare enum IntegrationEventTypeValues {
|
|
41923
|
+
CreateItem = "CreateItem",
|
|
41924
|
+
CheckIn = "CheckIn",
|
|
41925
|
+
CancelCaseParticipation = "CancelCaseParticipation",
|
|
41926
|
+
GetTimetable = "GetTimetable",
|
|
41927
|
+
CaseReject = "CaseReject",
|
|
41928
|
+
CaseDeclineWork = "CaseDeclineWork",
|
|
41929
|
+
CasePlan = "CasePlan",
|
|
41930
|
+
CaseCancel = "CaseCancel",
|
|
41931
|
+
CaseTakeInWork = "CaseTakeInWork",
|
|
41932
|
+
CaseComplete = "CaseComplete",
|
|
41933
|
+
CaseAccept = "CaseAccept",
|
|
41934
|
+
UpdateCase = "UpdateCase",
|
|
41935
|
+
UpdateCaseTime = "UpdateCaseTime",
|
|
41936
|
+
UpdateCasePlace = "UpdateCasePlace",
|
|
41937
|
+
ApproveCaseParticipation = "ApproveCaseParticipation",
|
|
41938
|
+
ConfirmCaseParticipation = "ConfirmCaseParticipation",
|
|
41939
|
+
ApproveMoneyReceive = "ApproveMoneyReceive",
|
|
41940
|
+
RejectMoneyReceive = "RejectMoneyReceive",
|
|
41941
|
+
CaseReturnToVerification = "CaseReturnToVerification",
|
|
41942
|
+
CaseActionEvent = "CaseActionEvent",
|
|
41943
|
+
CreateOrder = "CreateOrder",
|
|
41944
|
+
UpdateOrder = "UpdateOrder"
|
|
41945
|
+
}
|
|
41946
|
+
/** Подписка интеграции на событие; RID сохраняется при полном обновлении. */
|
|
41947
|
+
interface IntegrationEvent {
|
|
41948
|
+
/** Уникальный идентификатор строки события внутри конфигурации. */
|
|
41949
|
+
rid: string;
|
|
41950
|
+
/** Действие Torrow, при котором запускается выбранная интеграция. */
|
|
41951
|
+
eventType: `${IntegrationEventTypeValues}`;
|
|
41952
|
+
}
|
|
41953
|
+
/** Параметры отправки WebHook. URL может содержать секреты, его нельзя логировать. */
|
|
41954
|
+
interface WebHookIntegrationParameters {
|
|
41955
|
+
/** Адрес получателя с исходным кодированием query-параметров. */
|
|
41956
|
+
url: string;
|
|
41957
|
+
}
|
|
41958
|
+
/**
|
|
41959
|
+
* WebHook-конфигурация. Из {@link Integration} наследуются name (имя), id (серверный ID),
|
|
41960
|
+
* meta (версия/метаданные) и integrationType (вид); полный снимок сохраняют spread-копированием.
|
|
41961
|
+
*/
|
|
41962
|
+
interface WebHookIntegration extends Integration {
|
|
41963
|
+
/** Вид конфигурации для серверной маршрутизации. */
|
|
41964
|
+
integrationType: "WebHook";
|
|
41965
|
+
/** Дискриминатор полиморфного JSON-контракта сервера. */
|
|
41966
|
+
discriminator: "WebHookIntegration";
|
|
41967
|
+
/** Адрес назначения WebHook. */
|
|
41968
|
+
integrationParameters: WebHookIntegrationParameters;
|
|
41969
|
+
/** События, подписанные на отправку, с устойчивыми RID строк. */
|
|
41970
|
+
integrationEvents: IntegrationEvent[];
|
|
41971
|
+
}
|
|
41972
|
+
/**
|
|
41973
|
+
* Предметные данные создания/полного обновления WebHook без технических меток:
|
|
41974
|
+
* фасад определяет integrationType/discriminator по integrationParameters.url. Из {@link WebHookIntegration} сохраняются
|
|
41975
|
+
* name (имя), integrationParameters (URL), integrationEvents (события/RID),
|
|
41976
|
+
* optional id (идентификатор) и meta (метаданные с версией для CAS полного обновления).
|
|
41977
|
+
*/
|
|
41978
|
+
type WebHookIntegrationForCreateOrUpdate = Omit<WebHookIntegration, "discriminator" | "integrationType">;
|
|
41979
|
+
/** Привязка внешнего календаря; авторизация провайдера хранится отдельным объектом Torrow. */
|
|
41980
|
+
interface ExternalCalendar {
|
|
41981
|
+
/** ID ExternalAuth, разрешающей доступ к календарю провайдера. */
|
|
41982
|
+
externalAuthId: string;
|
|
41983
|
+
}
|
|
41984
|
+
/** Полный набор внешних календарей одной конфигурации. */
|
|
41985
|
+
interface ExternalCalendarIntegrationParameters {
|
|
41986
|
+
/** Список привязок календарей; при записи требуется хотя бы одна привязка. */
|
|
41987
|
+
externalCalendars: ExternalCalendar[];
|
|
41988
|
+
}
|
|
41989
|
+
/**
|
|
41990
|
+
* Конфигурация календарей. Из {@link Integration} наследуются name (имя), id (ID конфигурации)
|
|
41991
|
+
* и meta (метаданные/версия CAS). Состояние OAuth определяется отдельными ExternalAuth.
|
|
41992
|
+
*/
|
|
41993
|
+
interface ExternalCalendarIntegration extends Integration {
|
|
41994
|
+
/** Вид интеграции в серверном ответе. */
|
|
41995
|
+
integrationType: "ExternalCalendar";
|
|
41996
|
+
/** Полиморфный класс серверного JSON. */
|
|
41997
|
+
discriminator: "ExternalCalendarIntegration";
|
|
41998
|
+
/** Полный набор связей с авторизациями календарей. */
|
|
41999
|
+
integrationParameters: ExternalCalendarIntegrationParameters;
|
|
42000
|
+
/** События запуска с устойчивыми RID; backend требует GetTimetable. */
|
|
42001
|
+
integrationEvents: IntegrationEvent[];
|
|
42002
|
+
}
|
|
42003
|
+
/** Связь видеосервиса с отдельной авторизацией провайдера. */
|
|
42004
|
+
interface VideoTelephony {
|
|
42005
|
+
/** ID ExternalAuth для выбранного видеопровайдера. */
|
|
42006
|
+
externalAuthId: string;
|
|
42007
|
+
}
|
|
42008
|
+
/** Полные параметры видеоконференций одной интеграции. */
|
|
42009
|
+
interface VideoTelephonyIntegrationParameters {
|
|
42010
|
+
/** Авторизация видеопровайдера; её состояние читается через externalAuths. */
|
|
42011
|
+
videoTelephony: VideoTelephony;
|
|
42012
|
+
}
|
|
42013
|
+
/**
|
|
42014
|
+
* Конфигурация видеосервиса. Из {@link Integration} наследуются name (имя), id (ID конфигурации)
|
|
42015
|
+
* и meta (метаданные/версия CAS); сохранение конфигурации само по себе не завершает OAuth.
|
|
42016
|
+
*/
|
|
42017
|
+
interface VideoTelephonyIntegration extends Integration {
|
|
42018
|
+
/** Вид интеграции в серверном ответе. */
|
|
42019
|
+
integrationType: "VideoTelephony";
|
|
42020
|
+
/** Полиморфный класс серверного JSON. */
|
|
42021
|
+
discriminator: "VideoTelephonyIntegration";
|
|
42022
|
+
/** Полная привязка видеопровайдера. */
|
|
42023
|
+
integrationParameters: VideoTelephonyIntegrationParameters;
|
|
42024
|
+
/** События запуска с устойчивыми RID; backend требует CreateOrder. */
|
|
42025
|
+
integrationEvents: IntegrationEvent[];
|
|
42026
|
+
}
|
|
42027
|
+
/**
|
|
42028
|
+
* Запись {@link ExternalCalendarIntegration} без технических меток: остаются name, optional id/meta,
|
|
42029
|
+
* integrationParameters.externalCalendars (авторизации) и integrationEvents (события/RID).
|
|
42030
|
+
*/
|
|
42031
|
+
type ExternalCalendarIntegrationForCreateOrUpdate = Omit<ExternalCalendarIntegration, "integrationType" | "discriminator">;
|
|
42032
|
+
/**
|
|
42033
|
+
* Запись {@link VideoTelephonyIntegration} без технических меток: остаются name, optional id/meta,
|
|
42034
|
+
* integrationParameters.videoTelephony (авторизация) и integrationEvents (события/RID).
|
|
42035
|
+
*/
|
|
42036
|
+
type VideoTelephonyIntegrationForCreateOrUpdate = Omit<VideoTelephonyIntegration, "integrationType" | "discriminator">;
|
|
42037
|
+
/** Известные read-модели; каждая ветвь содержит свои параметры, события, имя, ID и метаданные. */
|
|
42038
|
+
type KnownIntegration = WebHookIntegration | ExternalCalendarIntegration | VideoTelephonyIntegration;
|
|
42039
|
+
/**
|
|
42040
|
+
* Предметная запись одной интеграции. Атрибуты и их роли описаны в {@link WebHookIntegrationForCreateOrUpdate},
|
|
42041
|
+
* {@link ExternalCalendarIntegrationForCreateOrUpdate}, {@link VideoTelephonyIntegrationForCreateOrUpdate}.
|
|
42042
|
+
* integrationParameters должен однозначно определять ровно одну ветвь; технические метки заполняет SDK.
|
|
42043
|
+
*/
|
|
42044
|
+
type IntegrationForCreateOrUpdate = WebHookIntegrationForCreateOrUpdate | ExternalCalendarIntegrationForCreateOrUpdate | VideoTelephonyIntegrationForCreateOrUpdate;
|
|
42045
|
+
/** Проверяет полную read-структуру календарной интеграции; не подтверждает завершение OAuth. */
|
|
42046
|
+
declare function isExternalCalendarIntegration(value: unknown): value is ExternalCalendarIntegration;
|
|
42047
|
+
/** Проверяет полную read-структуру видеоинтеграции; не обращается к видеопровайдеру. */
|
|
42048
|
+
declare function isVideoTelephonyIntegration(value: unknown): value is VideoTelephonyIntegration;
|
|
42049
|
+
/** Проверяет WebHook-форму снимка; неизвестные виды и неполные конфигурации не сужаются. */
|
|
42050
|
+
declare function isWebHookIntegration(integration: unknown): integration is WebHookIntegration;
|
|
41914
42051
|
|
|
42052
|
+
/** Серверная модель ответа: дополнительные пользовательские поля draft не становятся гарантированными. */
|
|
42053
|
+
type IntegrationResponse<T extends IntegrationForCreateOrUpdate> = T extends WebHookIntegrationForCreateOrUpdate ? WebHookIntegration : T extends ExternalCalendarIntegrationForCreateOrUpdate ? ExternalCalendarIntegration : VideoTelephonyIntegration;
|
|
41915
42054
|
/** Интеграции (`/api/v1/integrations`). */
|
|
41916
42055
|
declare class IntegrationsFacade {
|
|
41917
42056
|
private readonly http;
|
|
41918
42057
|
constructor(http: HttpClient);
|
|
42058
|
+
/** Определяет одну полную ветвь по parameters и формирует независимую верхнеуровневую копию DTO. */
|
|
42059
|
+
private toApiIntegration;
|
|
41919
42060
|
/** `POST /api/v1/integrations` */
|
|
41920
|
-
create(body:
|
|
42061
|
+
create(body: WebHookIntegrationForCreateOrUpdate, options?: {
|
|
42062
|
+
signal?: AbortSignal;
|
|
42063
|
+
}): Promise<WebHookIntegration>;
|
|
42064
|
+
create(body: ExternalCalendarIntegrationForCreateOrUpdate, options?: {
|
|
41921
42065
|
signal?: AbortSignal;
|
|
41922
|
-
}): Promise<
|
|
42066
|
+
}): Promise<ExternalCalendarIntegration>;
|
|
42067
|
+
create(body: VideoTelephonyIntegrationForCreateOrUpdate, options?: {
|
|
42068
|
+
signal?: AbortSignal;
|
|
42069
|
+
}): Promise<VideoTelephonyIntegration>;
|
|
42070
|
+
create<T extends IntegrationForCreateOrUpdate>(body: T, options?: {
|
|
42071
|
+
signal?: AbortSignal;
|
|
42072
|
+
}): Promise<IntegrationResponse<T>>;
|
|
41923
42073
|
/** `PUT /api/v1/integrations/{body.id}` */
|
|
41924
|
-
update(body:
|
|
42074
|
+
update(body: WebHookIntegrationForCreateOrUpdate, options?: {
|
|
42075
|
+
checkVersion?: boolean | null;
|
|
42076
|
+
signal?: AbortSignal;
|
|
42077
|
+
}): Promise<WebHookIntegration>;
|
|
42078
|
+
update(body: ExternalCalendarIntegrationForCreateOrUpdate, options?: {
|
|
42079
|
+
checkVersion?: boolean | null;
|
|
42080
|
+
signal?: AbortSignal;
|
|
42081
|
+
}): Promise<ExternalCalendarIntegration>;
|
|
42082
|
+
update(body: VideoTelephonyIntegrationForCreateOrUpdate, options?: {
|
|
42083
|
+
checkVersion?: boolean | null;
|
|
42084
|
+
signal?: AbortSignal;
|
|
42085
|
+
}): Promise<VideoTelephonyIntegration>;
|
|
42086
|
+
update<T extends IntegrationForCreateOrUpdate>(body: T, options?: {
|
|
41925
42087
|
checkVersion?: boolean | null;
|
|
41926
42088
|
signal?: AbortSignal;
|
|
41927
|
-
}): Promise<
|
|
42089
|
+
}): Promise<IntegrationResponse<T>>;
|
|
41928
42090
|
/** `GET /api/v1/integrations/list` */
|
|
41929
42091
|
list(options?: {
|
|
41930
42092
|
integrationIds?: string[] | null;
|
|
@@ -42550,4 +42712,4 @@ declare class ResourceBuilder {
|
|
|
42550
42712
|
build(): ResourceBuildResult;
|
|
42551
42713
|
}
|
|
42552
42714
|
|
|
42553
|
-
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, generateRid, 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 };
|
|
42715
|
+
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 ExternalCalendar, type ExternalCalendarIntegration, type ExternalCalendarIntegrationForCreateOrUpdate, type ExternalCalendarIntegrationParameters, 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, type IntegrationEvent, IntegrationEventTypeValues, type IntegrationForCreateOrUpdate, IntegrationTypeValues, 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 KnownIntegration, 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 VideoTelephony, type VideoTelephonyIntegration, type VideoTelephonyIntegrationForCreateOrUpdate, type VideoTelephonyIntegrationParameters, type ViewBlockSettings, type ViewInfo, type ViewInfoDto, type ViewListQuery, type ViewListRootQuery, type ViewOrderInput, ViewsFacade, type WebHookIntegration, type WebHookIntegrationForCreateOrUpdate, type WebHookIntegrationParameters, type WorkloadPeriod, type WorkloadPeriodDto, buildContextIconSvg, buildContextIconSvgBytes, cancelCaseParticipation, communicationHref, type components, createOrder, createServiceSessionDurationProperties, expandBookingWizardSteps, generateRid, 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, isExternalCalendarIntegration, isFreeCheckInSlot, isItemViewSortCondition, isSendCodeAccountType, isServiceOrderConflictError, isStepFlag, isTokenRespReadyStatus, isTokenStatus, isTorrowItemType, isVerificationMethod, isVideoTelephonyIntegration, isWebHookIntegration, normalizePaymentUrl, packTorrowId, parseAccountType, parseAuthCaptchaType, parseAuthScope, parseContextIconPresetFromImage, parseDeviceType, parseSendCodeAccountType, parseTokenStatus, parseVerificationMethod, type paths, resolveCommunicationBrand, shouldSkipResourceStep, sortStepDescriptionsByOrder, torrowObjectTypeToCode, unpackTorrowId };
|
package/dist/index.js
CHANGED
|
@@ -9959,10 +9959,10 @@ function validateOperationNoteTypes(body, method, path) {
|
|
|
9959
9959
|
if (Array.isArray(current) && node.items !== void 0) {
|
|
9960
9960
|
current.forEach((entry, i) => merge(invalidPaths(entry, node.items, `${path2}/${i}`, /* @__PURE__ */ new Set())));
|
|
9961
9961
|
} else if (typeof current === "object" && !Array.isArray(current)) {
|
|
9962
|
-
const
|
|
9962
|
+
const record8 = current;
|
|
9963
9963
|
for (const [key, child] of Object.entries(node.properties ?? {})) {
|
|
9964
|
-
if (Object.hasOwn(
|
|
9965
|
-
merge(invalidPaths(
|
|
9964
|
+
if (Object.hasOwn(record8, key)) {
|
|
9965
|
+
merge(invalidPaths(record8[key], child, `${path2}/${key}`, /* @__PURE__ */ new Set()));
|
|
9966
9966
|
}
|
|
9967
9967
|
}
|
|
9968
9968
|
}
|
|
@@ -11800,7 +11800,7 @@ function copyValue(value, active = /* @__PURE__ */ new Set(), path = [], ridPath
|
|
|
11800
11800
|
if (Array.isArray(value)) {
|
|
11801
11801
|
result = Array.from(value, (child, index) => copyValue(child, active, [...path, index], ridPaths));
|
|
11802
11802
|
} else {
|
|
11803
|
-
const
|
|
11803
|
+
const record8 = {};
|
|
11804
11804
|
for (const key of Reflect.ownKeys(value)) {
|
|
11805
11805
|
if (typeof key !== "string") {
|
|
11806
11806
|
throw itemPatchError("InvalidInput" /* InvalidInput */);
|
|
@@ -11813,14 +11813,14 @@ function copyValue(value, active = /* @__PURE__ */ new Set(), path = [], ridPath
|
|
|
11813
11813
|
if (descriptor.value === void 0 && isPatchRidPath(childPath, ridPaths)) {
|
|
11814
11814
|
continue;
|
|
11815
11815
|
}
|
|
11816
|
-
Object.defineProperty(
|
|
11816
|
+
Object.defineProperty(record8, key, {
|
|
11817
11817
|
value: copyValue(descriptor.value, active, childPath, ridPaths),
|
|
11818
11818
|
enumerable: true,
|
|
11819
11819
|
writable: true,
|
|
11820
11820
|
configurable: true
|
|
11821
11821
|
});
|
|
11822
11822
|
}
|
|
11823
|
-
result =
|
|
11823
|
+
result = record8;
|
|
11824
11824
|
}
|
|
11825
11825
|
active.delete(value);
|
|
11826
11826
|
return result;
|
|
@@ -17250,30 +17250,147 @@ var IdGeneratorFacade = class {
|
|
|
17250
17250
|
}
|
|
17251
17251
|
};
|
|
17252
17252
|
|
|
17253
|
+
// ../../src/resources/integrations/types.ts
|
|
17254
|
+
var IntegrationTypeValues = /* @__PURE__ */ ((IntegrationTypeValues2) => {
|
|
17255
|
+
IntegrationTypeValues2["UnknownInegrationActionType"] = "UnknownInegrationActionType";
|
|
17256
|
+
IntegrationTypeValues2["WebHook"] = "WebHook";
|
|
17257
|
+
IntegrationTypeValues2["ExternalCalendar"] = "ExternalCalendar";
|
|
17258
|
+
IntegrationTypeValues2["VideoTelephony"] = "VideoTelephony";
|
|
17259
|
+
return IntegrationTypeValues2;
|
|
17260
|
+
})(IntegrationTypeValues || {});
|
|
17261
|
+
var IntegrationEventTypeValues = /* @__PURE__ */ ((IntegrationEventTypeValues2) => {
|
|
17262
|
+
IntegrationEventTypeValues2["CreateItem"] = "CreateItem";
|
|
17263
|
+
IntegrationEventTypeValues2["CheckIn"] = "CheckIn";
|
|
17264
|
+
IntegrationEventTypeValues2["CancelCaseParticipation"] = "CancelCaseParticipation";
|
|
17265
|
+
IntegrationEventTypeValues2["GetTimetable"] = "GetTimetable";
|
|
17266
|
+
IntegrationEventTypeValues2["CaseReject"] = "CaseReject";
|
|
17267
|
+
IntegrationEventTypeValues2["CaseDeclineWork"] = "CaseDeclineWork";
|
|
17268
|
+
IntegrationEventTypeValues2["CasePlan"] = "CasePlan";
|
|
17269
|
+
IntegrationEventTypeValues2["CaseCancel"] = "CaseCancel";
|
|
17270
|
+
IntegrationEventTypeValues2["CaseTakeInWork"] = "CaseTakeInWork";
|
|
17271
|
+
IntegrationEventTypeValues2["CaseComplete"] = "CaseComplete";
|
|
17272
|
+
IntegrationEventTypeValues2["CaseAccept"] = "CaseAccept";
|
|
17273
|
+
IntegrationEventTypeValues2["UpdateCase"] = "UpdateCase";
|
|
17274
|
+
IntegrationEventTypeValues2["UpdateCaseTime"] = "UpdateCaseTime";
|
|
17275
|
+
IntegrationEventTypeValues2["UpdateCasePlace"] = "UpdateCasePlace";
|
|
17276
|
+
IntegrationEventTypeValues2["ApproveCaseParticipation"] = "ApproveCaseParticipation";
|
|
17277
|
+
IntegrationEventTypeValues2["ConfirmCaseParticipation"] = "ConfirmCaseParticipation";
|
|
17278
|
+
IntegrationEventTypeValues2["ApproveMoneyReceive"] = "ApproveMoneyReceive";
|
|
17279
|
+
IntegrationEventTypeValues2["RejectMoneyReceive"] = "RejectMoneyReceive";
|
|
17280
|
+
IntegrationEventTypeValues2["CaseReturnToVerification"] = "CaseReturnToVerification";
|
|
17281
|
+
IntegrationEventTypeValues2["CaseActionEvent"] = "CaseActionEvent";
|
|
17282
|
+
IntegrationEventTypeValues2["CreateOrder"] = "CreateOrder";
|
|
17283
|
+
IntegrationEventTypeValues2["UpdateOrder"] = "UpdateOrder";
|
|
17284
|
+
return IntegrationEventTypeValues2;
|
|
17285
|
+
})(IntegrationEventTypeValues || {});
|
|
17286
|
+
function record7(value) {
|
|
17287
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17288
|
+
}
|
|
17289
|
+
function hasReadEnvelope(value, type, discriminator) {
|
|
17290
|
+
return record7(value) && typeof value.name === "string" && value.integrationType === type && value.discriminator === discriminator && record7(value.integrationParameters) && Array.isArray(value.integrationEvents) && Array.from(value.integrationEvents).every(
|
|
17291
|
+
(event) => record7(event) && typeof event.rid === "string" && typeof event.eventType === "string" && Object.values(IntegrationEventTypeValues).some((known) => known === event.eventType)
|
|
17292
|
+
);
|
|
17293
|
+
}
|
|
17294
|
+
function isExternalCalendarIntegration(value) {
|
|
17295
|
+
if (!hasReadEnvelope(value, "ExternalCalendar" /* ExternalCalendar */, "ExternalCalendarIntegration" /* ExternalCalendarIntegration */)) {
|
|
17296
|
+
return false;
|
|
17297
|
+
}
|
|
17298
|
+
const parameters = value.integrationParameters;
|
|
17299
|
+
return record7(parameters) && Array.isArray(parameters.externalCalendars) && Array.from(parameters.externalCalendars).every(
|
|
17300
|
+
(calendar) => record7(calendar) && typeof calendar.externalAuthId === "string"
|
|
17301
|
+
);
|
|
17302
|
+
}
|
|
17303
|
+
function isVideoTelephonyIntegration(value) {
|
|
17304
|
+
if (!hasReadEnvelope(value, "VideoTelephony" /* VideoTelephony */, "VideoTelephonyIntegration" /* VideoTelephonyIntegration */)) {
|
|
17305
|
+
return false;
|
|
17306
|
+
}
|
|
17307
|
+
const parameters = value.integrationParameters;
|
|
17308
|
+
return record7(parameters) && record7(parameters.videoTelephony) && typeof parameters.videoTelephony.externalAuthId === "string";
|
|
17309
|
+
}
|
|
17310
|
+
function isWebHookIntegration(integration) {
|
|
17311
|
+
return typeof integration === "object" && integration !== null && "name" in integration && typeof integration.name === "string" && "integrationType" in integration && integration.integrationType === "WebHook" /* WebHook */ && "discriminator" in integration && integration.discriminator === "WebHookIntegration" /* WebHookIntegration */ && "integrationParameters" in integration && typeof integration.integrationParameters === "object" && integration.integrationParameters !== null && "url" in integration.integrationParameters && typeof integration.integrationParameters.url === "string" && "integrationEvents" in integration && Array.isArray(integration.integrationEvents) && Array.from(integration.integrationEvents).every(
|
|
17312
|
+
(event) => typeof event === "object" && event !== null && "rid" in event && typeof event.rid === "string" && "eventType" in event && typeof event.eventType === "string" && Object.values(IntegrationEventTypeValues).some((value) => value === event.eventType)
|
|
17313
|
+
);
|
|
17314
|
+
}
|
|
17315
|
+
|
|
17253
17316
|
// ../../src/resources/integrations/IntegrationsFacade.ts
|
|
17317
|
+
var shapes = [
|
|
17318
|
+
{
|
|
17319
|
+
parameterKey: "url",
|
|
17320
|
+
integrationType: "WebHook" /* WebHook */,
|
|
17321
|
+
discriminator: "WebHookIntegration" /* WebHookIntegration */,
|
|
17322
|
+
matches: isWebHookIntegration
|
|
17323
|
+
},
|
|
17324
|
+
{
|
|
17325
|
+
parameterKey: "externalCalendars",
|
|
17326
|
+
integrationType: "ExternalCalendar" /* ExternalCalendar */,
|
|
17327
|
+
discriminator: "ExternalCalendarIntegration" /* ExternalCalendarIntegration */,
|
|
17328
|
+
matches: isExternalCalendarIntegration
|
|
17329
|
+
},
|
|
17330
|
+
{
|
|
17331
|
+
parameterKey: "videoTelephony",
|
|
17332
|
+
integrationType: "VideoTelephony" /* VideoTelephony */,
|
|
17333
|
+
discriminator: "VideoTelephonyIntegration" /* VideoTelephonyIntegration */,
|
|
17334
|
+
matches: isVideoTelephonyIntegration
|
|
17335
|
+
}
|
|
17336
|
+
];
|
|
17337
|
+
function invalidIntegration() {
|
|
17338
|
+
return new TorrowSdkError({
|
|
17339
|
+
category: "InvalidInput" /* InvalidInput */,
|
|
17340
|
+
request: "NotStarted" /* NotStarted */
|
|
17341
|
+
});
|
|
17342
|
+
}
|
|
17254
17343
|
var BASE25 = "/api/v1/integrations";
|
|
17255
17344
|
var IntegrationsFacade = class {
|
|
17256
17345
|
constructor(http) {
|
|
17257
17346
|
this.http = http;
|
|
17258
17347
|
}
|
|
17259
17348
|
http;
|
|
17260
|
-
/**
|
|
17349
|
+
/** Определяет одну полную ветвь по parameters и формирует независимую верхнеуровневую копию DTO. */
|
|
17350
|
+
toApiIntegration(body) {
|
|
17351
|
+
if (body === null || typeof body !== "object" || Array.isArray(body)) {
|
|
17352
|
+
throw invalidIntegration();
|
|
17353
|
+
}
|
|
17354
|
+
const parameters = body.integrationParameters;
|
|
17355
|
+
if (parameters === null || typeof parameters !== "object" || Array.isArray(parameters)) {
|
|
17356
|
+
throw invalidIntegration();
|
|
17357
|
+
}
|
|
17358
|
+
const candidates = shapes.filter((shape3) => Object.hasOwn(parameters, shape3.parameterKey));
|
|
17359
|
+
const shape2 = candidates[0];
|
|
17360
|
+
if (candidates.length !== 1 || !shape2) {
|
|
17361
|
+
throw invalidIntegration();
|
|
17362
|
+
}
|
|
17363
|
+
const payload = { ...body, integrationType: shape2.integrationType, discriminator: shape2.discriminator };
|
|
17364
|
+
if (!shape2.matches(payload) || !payload.name.trim() || payload.integrationEvents.length === 0 || payload.integrationEvents.some((event) => !event.rid.trim())) {
|
|
17365
|
+
throw invalidIntegration();
|
|
17366
|
+
}
|
|
17367
|
+
if (isWebHookIntegration(payload) && !payload.integrationParameters.url.trim()) {
|
|
17368
|
+
throw invalidIntegration();
|
|
17369
|
+
}
|
|
17370
|
+
if (isExternalCalendarIntegration(payload) && (payload.integrationParameters.externalCalendars.length === 0 || payload.integrationParameters.externalCalendars.some((calendar) => !calendar.externalAuthId.trim()))) {
|
|
17371
|
+
throw invalidIntegration();
|
|
17372
|
+
}
|
|
17373
|
+
if (isVideoTelephonyIntegration(payload) && !payload.integrationParameters.videoTelephony.externalAuthId.trim()) {
|
|
17374
|
+
throw invalidIntegration();
|
|
17375
|
+
}
|
|
17376
|
+
return payload;
|
|
17377
|
+
}
|
|
17261
17378
|
create(body, options) {
|
|
17262
17379
|
return this.http.requestJson({
|
|
17263
17380
|
method: "POST",
|
|
17264
17381
|
path: BASE25,
|
|
17265
|
-
body,
|
|
17382
|
+
body: this.toApiIntegration(body),
|
|
17266
17383
|
signal: options?.signal
|
|
17267
17384
|
});
|
|
17268
17385
|
}
|
|
17269
|
-
/** `PUT /api/v1/integrations/{body.id}` */
|
|
17270
17386
|
update(body, options) {
|
|
17387
|
+
const payload = this.toApiIntegration(body);
|
|
17271
17388
|
const itemId = requireItemUpdateId(body, "Integration");
|
|
17272
17389
|
return this.http.requestJson({
|
|
17273
17390
|
method: "PUT",
|
|
17274
17391
|
path: `${BASE25}/${encodePathSegment(itemId)}`,
|
|
17275
17392
|
query: { checkVersion: options?.checkVersion },
|
|
17276
|
-
body,
|
|
17393
|
+
body: payload,
|
|
17277
17394
|
signal: options?.signal
|
|
17278
17395
|
});
|
|
17279
17396
|
}
|
|
@@ -18857,6 +18974,8 @@ export {
|
|
|
18857
18974
|
HttpClient,
|
|
18858
18975
|
IdGeneratorFacade,
|
|
18859
18976
|
ImagePreviewSizeValues,
|
|
18977
|
+
IntegrationEventTypeValues,
|
|
18978
|
+
IntegrationTypeValues,
|
|
18860
18979
|
IntegrationsFacade,
|
|
18861
18980
|
ItemFacade,
|
|
18862
18981
|
ItemPatchEffectStep,
|
|
@@ -18959,6 +19078,7 @@ export {
|
|
|
18959
19078
|
isAuthScope,
|
|
18960
19079
|
isContextIconPreset,
|
|
18961
19080
|
isDeviceType,
|
|
19081
|
+
isExternalCalendarIntegration,
|
|
18962
19082
|
isFreeCheckInSlot,
|
|
18963
19083
|
isItemViewSortCondition,
|
|
18964
19084
|
isSendCodeAccountType,
|
|
@@ -18968,6 +19088,8 @@ export {
|
|
|
18968
19088
|
isTokenStatus,
|
|
18969
19089
|
isTorrowItemType,
|
|
18970
19090
|
isVerificationMethod,
|
|
19091
|
+
isVideoTelephonyIntegration,
|
|
19092
|
+
isWebHookIntegration,
|
|
18971
19093
|
normalizePaymentUrl,
|
|
18972
19094
|
packTorrowId,
|
|
18973
19095
|
parseAccountType,
|