@dv4resi/dvss-backend-module-offering-im 0.0.21 → 0.0.22

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
@@ -1,11 +1,11 @@
1
- import { MEDIA_PROVIDER_ENUM, CONFIGURED_FOR_TYPE_ENUM, DAY_OF_WEEK, OFFERING_RESOURCE_TYPE, STATUS } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models';
2
- import { LoggerService, GraphQLContext, IMedia, AddAPIResponse } from '@dv4resi/dvss-backend-module-utility';
1
+ import { LoggerService, GraphQLContext, IMedia, AddAPIResponse, BEHAVIOUR_TYPE_ENUM, ITrybeBookingData } from '@dv4resi/dvss-backend-module-utility';
2
+ import { OFFERING_BOOKING_TYPE_ENUM, OFFERING_BOOKING_TIME_TYPE } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/offering-booking.model';
3
+ import { schema, CommonValidationDatabaseService, OPERATIONAL_STATUS_CATEGORY as OPERATIONAL_STATUS_CATEGORY$1 } from '@dv4resi/dvss-backend-module-datastore';
4
+ import { CONFIGURED_FOR_TYPE_ENUM, MEDIA_PROVIDER_ENUM, DAY_OF_WEEK, OFFERING_RESOURCE_TYPE, STATUS, OPERATIONAL_STATUS_CATEGORY } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models';
3
5
  import { HttpService } from '@nestjs/axios';
4
6
  import { CAPABILITY_PROVIDER_INTEGRATION_ENUM, CAPABILITY_CATEGORY_ENUM, ICapability } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/capability.model';
5
- import { schema, CommonValidationDatabaseService as CommonValidationDatabaseService$1 } from '@dv4resi/dvss-backend-module-datastore';
6
7
  import { MySql2Database } from 'drizzle-orm/mysql2';
7
8
  import { CAPABILITY_INTEGRATION_STATUS_ENUM, CAPABILITY_RESOURCE_AVAILABLE_FOR_ENUM } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/capability-integration.model';
8
- import { CommonValidationDatabaseService } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/util/common-validation.util';
9
9
 
10
10
  declare class AppModule$2 {
11
11
  }
@@ -53,6 +53,74 @@ declare class RateLimiterService {
53
53
  validateAndEnforceRateLimit(): Promise<void>;
54
54
  }
55
55
 
56
+ type IAddCapabilityIntegration = typeof schema.capabilityIntegration.$inferInsert & {
57
+ configuredFor?: {
58
+ configuredForId: bigint;
59
+ configuredForType: CONFIGURED_FOR_TYPE_ENUM;
60
+ };
61
+ };
62
+ type IUpdateCapabilityIntegration = Partial<typeof schema.capabilityIntegration.$inferInsert>;
63
+ type IAddCapIntegResourceMapping = typeof schema.capIntegResourceMapping.$inferInsert;
64
+ interface IAddCapabilityIntegrationMappingResponse {
65
+ status: boolean;
66
+ ids: bigint[];
67
+ }
68
+ interface IRemoveCapabilityIntegrationMappingInput {
69
+ capabilityIntegrationId: bigint;
70
+ configuredForId: bigint;
71
+ configuredForType: CONFIGURED_FOR_TYPE_ENUM;
72
+ }
73
+ interface IDeleteAPIResponse {
74
+ status: boolean;
75
+ }
76
+ interface IUpdateAPIResponse {
77
+ status: boolean;
78
+ }
79
+ interface ICapabilityIntegrationResourceMappingRow {
80
+ id: bigint;
81
+ capabilityIntegrationId: bigint;
82
+ configuredForId: bigint;
83
+ configuredForType: CONFIGURED_FOR_TYPE_ENUM;
84
+ }
85
+ interface IGetCapabilityIntegrationInput {
86
+ projectId: number;
87
+ id?: bigint;
88
+ category?: CAPABILITY_CATEGORY_ENUM;
89
+ fetchBy?: {
90
+ configuredForId: string | bigint;
91
+ configuredForType: CONFIGURED_FOR_TYPE_ENUM;
92
+ category?: CAPABILITY_CATEGORY_ENUM;
93
+ };
94
+ }
95
+ type IGetCapabilityIntegrationResult = typeof schema.capabilityIntegration.$inferSelect & {
96
+ provider?: CAPABILITY_PROVIDER_INTEGRATION_ENUM | null;
97
+ resourceMappingId?: bigint;
98
+ configuredForId?: bigint;
99
+ configuredForType?: typeof schema.capIntegResourceMapping.$inferSelect.configuredForType;
100
+ resourceMappingConfig?: typeof schema.capIntegResourceMapping.$inferSelect.config;
101
+ };
102
+ interface IOfferingBookingOccurrence$1 {
103
+ offeringBookingOccurrence: typeof schema.offeringBookingOccurrence.$inferSelect;
104
+ offering: typeof schema.offering.$inferSelect;
105
+ offeringIntentId: bigint;
106
+ }
107
+ type CapabilityIntegrationCategory = typeof schema.capabilityIntegration.$inferSelect.category;
108
+
109
+ declare class IntegrationBookingDao {
110
+ private readonly conn;
111
+ private readonly logger;
112
+ private readonly fileName;
113
+ constructor(conn: MySql2Database<typeof schema>, logger: LoggerService);
114
+ getOfferingBookingOccurrence(input: {
115
+ offeringBookingOccurrenceId: bigint;
116
+ loggedInUserId: bigint;
117
+ offeringBookingId?: bigint;
118
+ }): Promise<IOfferingBookingOccurrence$1 | undefined>;
119
+ getOfferingIntent(input: {
120
+ offeringIntentId: bigint;
121
+ }): Promise<typeof schema.offeringIntent.$inferSelect | undefined>;
122
+ }
123
+
56
124
  declare class IntegrationCommonDao {
57
125
  private readonly conn;
58
126
  private readonly logger;
@@ -168,53 +236,6 @@ interface IGetCapabilityIntegrationsResponse {
168
236
  records: ICapabilityIntegration[];
169
237
  }
170
238
 
171
- type IAddCapabilityIntegration = typeof schema.capabilityIntegration.$inferInsert & {
172
- configuredFor?: {
173
- configuredForId: bigint;
174
- configuredForType: CONFIGURED_FOR_TYPE_ENUM;
175
- };
176
- };
177
- type IUpdateCapabilityIntegration = Partial<typeof schema.capabilityIntegration.$inferInsert>;
178
- type IAddCapIntegResourceMapping = typeof schema.capIntegResourceMapping.$inferInsert;
179
- interface IAddCapabilityIntegrationMappingResponse {
180
- status: boolean;
181
- ids: bigint[];
182
- }
183
- interface IRemoveCapabilityIntegrationMappingInput {
184
- capabilityIntegrationId: bigint;
185
- configuredForId: bigint;
186
- configuredForType: CONFIGURED_FOR_TYPE_ENUM;
187
- }
188
- interface IDeleteAPIResponse {
189
- status: boolean;
190
- }
191
- interface IUpdateAPIResponse {
192
- status: boolean;
193
- }
194
- interface ICapabilityIntegrationResourceMappingRow {
195
- id: bigint;
196
- capabilityIntegrationId: bigint;
197
- configuredForId: bigint;
198
- configuredForType: CONFIGURED_FOR_TYPE_ENUM;
199
- }
200
- interface IGetCapabilityIntegrationInput {
201
- projectId: number;
202
- id?: bigint;
203
- category?: CAPABILITY_CATEGORY_ENUM;
204
- fetchBy?: {
205
- configuredForId: string | bigint;
206
- configuredForType: CONFIGURED_FOR_TYPE_ENUM;
207
- category?: CAPABILITY_CATEGORY_ENUM;
208
- };
209
- }
210
- type IGetCapabilityIntegrationResult = typeof schema.capabilityIntegration.$inferSelect & {
211
- provider?: CAPABILITY_PROVIDER_INTEGRATION_ENUM | null;
212
- resourceMappingId?: bigint;
213
- configuredForId?: bigint;
214
- configuredForType?: typeof schema.capIntegResourceMapping.$inferSelect.configuredForType;
215
- resourceMappingConfig?: typeof schema.capIntegResourceMapping.$inferSelect.config;
216
- };
217
-
218
239
  declare class IntegrationConfigurationDao {
219
240
  private readonly conn;
220
241
  private readonly logger;
@@ -843,6 +864,89 @@ interface IGetTrybeResourcesCommonResponse<T> {
843
864
  meta: ITrybeGetResourcesCommonMeta;
844
865
  }
845
866
 
867
+ interface AddOfferingBookingItemResourceInput {
868
+ id: string | number | bigint;
869
+ type?: string;
870
+ }
871
+ interface AddOfferingBookingItemInput {
872
+ externalId?: string;
873
+ type?: string;
874
+ resources?: AddOfferingBookingItemResourceInput[];
875
+ }
876
+ interface ITrybeWebhookBookingMeta {
877
+ createdViaWebhook?: boolean;
878
+ externalId?: string;
879
+ orderRef?: string;
880
+ items?: Array<{
881
+ id: string;
882
+ externalId?: string;
883
+ type?: string;
884
+ name?: string;
885
+ totalPrice?: number;
886
+ }>;
887
+ payments?: unknown[];
888
+ totalCost?: number;
889
+ totalPaidOrAuthed?: number;
890
+ dueAmount?: number;
891
+ paymentStatus?: string;
892
+ }
893
+ interface AddOfferingBookingInput {
894
+ name: string;
895
+ description?: string;
896
+ offeringId: bigint;
897
+ offeringIntentId: bigint;
898
+ offeringJourneyId: bigint;
899
+ projectId: number;
900
+ propertyId: number;
901
+ bookingStartDateLabel: string;
902
+ bookingEndDateLabel?: string;
903
+ bookingStartTimeLabel?: string;
904
+ bookingEndTimeLabel?: string;
905
+ durationInMinutes?: number;
906
+ isFullDay?: boolean;
907
+ isRecurring?: boolean;
908
+ paxCount?: number;
909
+ meta?: ITrybeWebhookBookingMeta;
910
+ requestedForUserIdentityId?: bigint;
911
+ userBehaviorId?: bigint;
912
+ userBehaviorType?: BEHAVIOUR_TYPE_ENUM;
913
+ requestedForType?: string;
914
+ requestedForIds?: bigint[];
915
+ recipientType?: string;
916
+ recipientIds?: bigint[];
917
+ shouldNotifyUsers?: boolean;
918
+ bookingType: OFFERING_BOOKING_TYPE_ENUM;
919
+ items: AddOfferingBookingItemInput[];
920
+ preferences?: unknown[];
921
+ customFields?: unknown[];
922
+ assets?: unknown[];
923
+ tenantId?: bigint;
924
+ notes?: string | null;
925
+ schedule?: unknown;
926
+ offeringBookableItemSlotId?: bigint;
927
+ overrideDates?: string[];
928
+ paymentMethod?: unknown;
929
+ paymentStatus?: string;
930
+ invoiceStatus?: string;
931
+ locationId?: bigint;
932
+ bookingTimeType?: OFFERING_BOOKING_TIME_TYPE;
933
+ }
934
+ interface TrybeStatusUpdateInput {
935
+ offeringId: bigint;
936
+ offeringBookingOccurrenceIds: bigint[];
937
+ targetStatusCategory: OPERATIONAL_STATUS_CATEGORY;
938
+ note?: string;
939
+ }
940
+ type IOfferingIntent = typeof schema.offeringIntent.$inferSelect;
941
+ type IOfferingBookingOccurrence = typeof schema.offeringBookingOccurrence.$inferSelect;
942
+ type IOffering = typeof schema.offering.$inferSelect;
943
+ interface ITrybeStatusUpdate {
944
+ statusInput: TrybeStatusUpdateInput;
945
+ occurrence: IOfferingBookingOccurrence;
946
+ offering: IOffering;
947
+ offeringIntent: IOfferingIntent;
948
+ }
949
+
846
950
  interface ITrybeCredit {
847
951
  id: string;
848
952
  coupon_name: string;
@@ -1510,7 +1614,7 @@ interface ISiteSystemResponse {
1510
1614
  declare class TrybeIntegrationConfigurationService extends BaseIntegrationConfiguration {
1511
1615
  private readonly trybeAuthService;
1512
1616
  private readonly trafficGatewayService;
1513
- constructor(integrationConfigurationDao: IntegrationConfigurationDao, commonValidationDatabaseService: CommonValidationDatabaseService$1, logger: LoggerService, trybeAuthService: TrybeAuthService, trafficGatewayService: TrafficGatewayService);
1617
+ constructor(integrationConfigurationDao: IntegrationConfigurationDao, commonValidationDatabaseService: CommonValidationDatabaseService, logger: LoggerService, trybeAuthService: TrybeAuthService, trafficGatewayService: TrafficGatewayService);
1514
1618
  addCapabilityIntegration(input: IAddCapabilityIntegrationInput, context: GraphQLContext): Promise<AddAPIResponse>;
1515
1619
  updateCapabilityIntegration(request: IUpdateCapabilityIntegrationRequest, integration?: ICapabilityIntegration, loggedInUserId?: bigint): Promise<IUpdateCapabilityIntegrationResponse>;
1516
1620
  private validateCapabilityIntegrationConfiguredForInput;
@@ -1592,4 +1696,21 @@ declare const fetchAllPages: <T, TResponse extends {
1592
1696
  };
1593
1697
  }>(firstPageResponse: TResponse, shouldFetchAll: boolean, fetchPage: (page: number) => Promise<TResponse>) => Promise<T[]>;
1594
1698
 
1595
- export { BOOKABLE_ITEM_STATUS_ENUM, BOOKABLE_ITEM_TYPE_ENUM, BaseAccountingContactManagement, BaseAccountingCreditNoteManagement, BaseAccountingCustomerManagement, BaseAccountingCustomerPaymentManagement, BaseAccountingInvoiceManagement, BaseAccountingLOAManagement, BaseAccountingTaxManagement, BaseAuth, BaseCreditBooking, BaseCustomerManagement, BaseIntegrationConfiguration, BaseIntegrationResourceManagement, BaseMembershipCustomerManagement, BaseMembershipManagement, BasePackageManagement, BasePayment, BasePaymentMethodManagement, BasePaymentUserManagement, BaseWellnessManagement, CREDIT_FILTER_BY_ENUM, CREDIT_STATUS_ENUM, CREDIT_TYPE_ENUM, HTTP_METHOD, type IAddCapIntegResourceMapping, type IAddCapabilityIntegration, type IAddCapabilityIntegrationConfig, type IAddCapabilityIntegrationConfiguredFor, type IAddCapabilityIntegrationInput, type IAddCapabilityIntegrationMappingResponse, type IAddCustomerRequest, type IAddItemToOrderItemConfig, type IAddItemToOrderRequest, type IAddItemToOrderResponse, type IAddPaymentToOrderRequest, type IAddResourceToIntegrationInput, type IAddResourceToIntegrationResponse, type IAddUpdateCustomerResponseData, type IApiCallRequest, type IAvailableDateWithSlots, type IAvailableTimeSlot, type IBookableItem, type IBookableItemCategory, type IBookableItemMedia, type IBookableItemPrice, type IBookableItemPriceMeta, type ICapabilityIntegration, type ICapabilityIntegrationConfig, type ICapabilityIntegrationResourceMappingRow, type ICreateOrderRequest, type ICreateOrderResponse, type ICredit, type ICustomer, type ICustomerLastCheckIn, type IDeleteAPIResponse, type IFetchOfferingAvailabilityRequest, type IGetAppointmentsRequest, type IGetAvailableDatesAndTimeSlotsResponse, type IGetBookableItemsFromCreditRequest, type IGetCapabilityIntegrationInput, type IGetCapabilityIntegrationResult, type IGetCapabilityIntegrationsFilterInput, type IGetCapabilityIntegrationsOptionsInput, type IGetCapabilityIntegrationsRequest, type IGetCapabilityIntegrationsResponse, type IGetCapabilityIntegrationsSortingInput, type IGetCategoriesRequest, type IGetCoursesRequest, type IGetCustomerCreditsRequest, type IGetCustomerCreditsRequestFilters, type IGetCustomerCreditsRequestOptions, type IGetCustomerRequest, type IGetOrderResponse, type IGetPractitionersRequest, type IGetSessionsRequest, type IGetTrybeResourcesCommonResponse, type IIcon, type IIntegrationRequestContext, type IIntegrationRequestLog, INTEGRATION_PROVIDER_ENUM, type IOfferingResource, type IOfferingResourceMedia, type IOrderGuest, type IRemoveCapabilityIntegrationMappingInput, type IRemoveResourceFromIntegrationRequest, type IRemoveResourceFromIntegrationResponse, type ISystemResponse, type ITrybeAddCustomerToOrderResponse, type ITrybeAddOrderItemResponse, type ITrybeAddOrderResponse, type ITrybeAddPaymentToOrderResponse, type ITrybeAppointment, type ITrybeAppointmentAvailabilityResponse, type ITrybeAppointmentPriceRule, type ITrybeAppointmentSlot, type ITrybeCancelOrderResponse, type ITrybeCategory, type ITrybeCouponCodeOffering, type ITrybeCouponCodeOfferingsData, type ITrybeCourse, type ITrybeCreateOrderResponse, type ITrybeCredit, type ITrybeCustomer, type ITrybeCustomerAvatar, type ITrybeCustomerLabels, type ITrybeCustomerResponse, type ITrybeGetAppointmentsResponse, type ITrybeGetCategoriesResponse, type ITrybeGetCouponCodeOfferingsResponse, type ITrybeGetCoursesResponse, type ITrybeGetCustomerByEmailResponse, type ITrybeGetCustomerCreditsResponse, type ITrybeGetOrderResponse, type ITrybeGetOrderResponseData, type ITrybeGetResourcesCommonLink, type ITrybeGetResourcesCommonLinks, type ITrybeGetResourcesCommonMeta, type ITrybeGetSessionsResponse, type ITrybeImage, type ITrybeMeta, type ITrybeOffering, type ITrybeOrder, type ITrybeOrderGuest, type ITrybePractitioner, type ITrybePriceRule, type ITrybeResourceMappingConfiguration, type ITrybeSession, type ITrybeSessionAvailability, type ITrybeSessionAvailabilityResponse, type ITrybeSessionMeta, type ITrybeSessionPractitioner, type ITrybeSessionPriceRule, type ITrybeSessionRecurrenceGroup, type ITrybeSessionRoom, type ITrybeSessionStartTime, type ITrybeSubmitOrderResponse, type ITrybeUpdateOrderItemResponse, type ITrybeZone, type IUpdateAPIResponse, type IUpdateCapabilityIntegration, type IUpdateCapabilityIntegrationRequest, type IUpdateCapabilityIntegrationResponse, type IUpdateCapabilityIntegrationUpdateData, type IUpdateCustomerRequest, type IUpdateOfferingIntegrationResourceConfigurationInput, type IUpdateOfferingIntegrationResourceConfigurationResponse, type IUpdateOrderRequest, type IUpdateOrderResponse, type IValidatedCapabilityIntegration, type IValidatedCapabilityIntegrationConfig, type IWellnessManagementRequestOptions, IntegrationCommonDao, IntegrationConfigurationDao, AppModule as IntegrationLibsModule, IntegrationRequestLoggerService, IntegrationResourceManagementDao, AppModule$1 as IntegrationTrybeModule, IntegrationUserManagementDao, OFFERING_INTEGRATION_MAPPING_ALREADY_EXISTS, AppModule$2 as OfferingIntegrationManager, RateLimiterService, TRAFFIC_ROUTER_CONFIGURATION_STORE_KEY, TRYBE_CATALOGING_BY_ENUM, TRYBE_OFFERING_TYPE_API, TRYBE_OFFERING_TYPE_ENUM, TRYBE_SUPPORTED_JOURNEYS_ENUM, TrafficGatewayService, TrybeAuthService, TrybeCreditBooking, TrybeCustomerManagement, TrybeIntegrationConfigurationService, TrybeIntegrationResourceManagementService, type TrybeOfferingTypeApi, TrybeWellnessManagement, convertKeysToCamelCase, extractTimeFromIsoString, fetchAllPages, formatDateForTrybe };
1699
+ declare class TrybeWebhookUtilService {
1700
+ private readonly integrationBookingDao;
1701
+ private readonly logger;
1702
+ private readonly fileName;
1703
+ constructor(integrationBookingDao: IntegrationBookingDao, logger: LoggerService);
1704
+ mapTrybeOrderToBookingInput(bookingData: ITrybeBookingData, userIdentityId: bigint, ids: {
1705
+ offeringId: bigint;
1706
+ projectId: number;
1707
+ propertyId: number;
1708
+ intentId: bigint;
1709
+ journeyId: bigint;
1710
+ propertyTimezone?: string;
1711
+ }): AddOfferingBookingInput;
1712
+ mapTrybeOrderToUpdateOfferingBookingStatusInput(offeringBookingOccurrenceId: bigint, offeringBookingId: bigint, targetStatusCategory: OPERATIONAL_STATUS_CATEGORY$1, note?: string): Promise<ITrybeStatusUpdate>;
1713
+ private mapTrybeItemTypeToEnum;
1714
+ }
1715
+
1716
+ export { type AddOfferingBookingInput, type AddOfferingBookingItemInput, type AddOfferingBookingItemResourceInput, BOOKABLE_ITEM_STATUS_ENUM, BOOKABLE_ITEM_TYPE_ENUM, BaseAccountingContactManagement, BaseAccountingCreditNoteManagement, BaseAccountingCustomerManagement, BaseAccountingCustomerPaymentManagement, BaseAccountingInvoiceManagement, BaseAccountingLOAManagement, BaseAccountingTaxManagement, BaseAuth, BaseCreditBooking, BaseCustomerManagement, BaseIntegrationConfiguration, BaseIntegrationResourceManagement, BaseMembershipCustomerManagement, BaseMembershipManagement, BasePackageManagement, BasePayment, BasePaymentMethodManagement, BasePaymentUserManagement, BaseWellnessManagement, CREDIT_FILTER_BY_ENUM, CREDIT_STATUS_ENUM, CREDIT_TYPE_ENUM, type CapabilityIntegrationCategory, HTTP_METHOD, type IAddCapIntegResourceMapping, type IAddCapabilityIntegration, type IAddCapabilityIntegrationConfig, type IAddCapabilityIntegrationConfiguredFor, type IAddCapabilityIntegrationInput, type IAddCapabilityIntegrationMappingResponse, type IAddCustomerRequest, type IAddItemToOrderItemConfig, type IAddItemToOrderRequest, type IAddItemToOrderResponse, type IAddPaymentToOrderRequest, type IAddResourceToIntegrationInput, type IAddResourceToIntegrationResponse, type IAddUpdateCustomerResponseData, type IApiCallRequest, type IAvailableDateWithSlots, type IAvailableTimeSlot, type IBookableItem, type IBookableItemCategory, type IBookableItemMedia, type IBookableItemPrice, type IBookableItemPriceMeta, type ICapabilityIntegration, type ICapabilityIntegrationConfig, type ICapabilityIntegrationResourceMappingRow, type ICreateOrderRequest, type ICreateOrderResponse, type ICredit, type ICustomer, type ICustomerLastCheckIn, type IDeleteAPIResponse, type IFetchOfferingAvailabilityRequest, type IGetAppointmentsRequest, type IGetAvailableDatesAndTimeSlotsResponse, type IGetBookableItemsFromCreditRequest, type IGetCapabilityIntegrationInput, type IGetCapabilityIntegrationResult, type IGetCapabilityIntegrationsFilterInput, type IGetCapabilityIntegrationsOptionsInput, type IGetCapabilityIntegrationsRequest, type IGetCapabilityIntegrationsResponse, type IGetCapabilityIntegrationsSortingInput, type IGetCategoriesRequest, type IGetCoursesRequest, type IGetCustomerCreditsRequest, type IGetCustomerCreditsRequestFilters, type IGetCustomerCreditsRequestOptions, type IGetCustomerRequest, type IGetOrderResponse, type IGetPractitionersRequest, type IGetSessionsRequest, type IGetTrybeResourcesCommonResponse, type IIcon, type IIntegrationRequestContext, type IIntegrationRequestLog, INTEGRATION_PROVIDER_ENUM, type IOfferingBookingOccurrence$1 as IOfferingBookingOccurrence, type IOfferingIntent, type IOfferingResource, type IOfferingResourceMedia, type IOrderGuest, type IRemoveCapabilityIntegrationMappingInput, type IRemoveResourceFromIntegrationRequest, type IRemoveResourceFromIntegrationResponse, type ISystemResponse, type ITrybeAddCustomerToOrderResponse, type ITrybeAddOrderItemResponse, type ITrybeAddOrderResponse, type ITrybeAddPaymentToOrderResponse, type ITrybeAppointment, type ITrybeAppointmentAvailabilityResponse, type ITrybeAppointmentPriceRule, type ITrybeAppointmentSlot, type ITrybeCancelOrderResponse, type ITrybeCategory, type ITrybeCouponCodeOffering, type ITrybeCouponCodeOfferingsData, type ITrybeCourse, type ITrybeCreateOrderResponse, type ITrybeCredit, type ITrybeCustomer, type ITrybeCustomerAvatar, type ITrybeCustomerLabels, type ITrybeCustomerResponse, type ITrybeGetAppointmentsResponse, type ITrybeGetCategoriesResponse, type ITrybeGetCouponCodeOfferingsResponse, type ITrybeGetCoursesResponse, type ITrybeGetCustomerByEmailResponse, type ITrybeGetCustomerCreditsResponse, type ITrybeGetOrderResponse, type ITrybeGetOrderResponseData, type ITrybeGetResourcesCommonLink, type ITrybeGetResourcesCommonLinks, type ITrybeGetResourcesCommonMeta, type ITrybeGetSessionsResponse, type ITrybeImage, type ITrybeMeta, type ITrybeOffering, type ITrybeOrder, type ITrybeOrderGuest, type ITrybePractitioner, type ITrybePriceRule, type ITrybeResourceMappingConfiguration, type ITrybeSession, type ITrybeSessionAvailability, type ITrybeSessionAvailabilityResponse, type ITrybeSessionMeta, type ITrybeSessionPractitioner, type ITrybeSessionPriceRule, type ITrybeSessionRecurrenceGroup, type ITrybeSessionRoom, type ITrybeSessionStartTime, type ITrybeStatusUpdate, type ITrybeSubmitOrderResponse, type ITrybeUpdateOrderItemResponse, type ITrybeWebhookBookingMeta, type ITrybeZone, type IUpdateAPIResponse, type IUpdateCapabilityIntegration, type IUpdateCapabilityIntegrationRequest, type IUpdateCapabilityIntegrationResponse, type IUpdateCapabilityIntegrationUpdateData, type IUpdateCustomerRequest, type IUpdateOfferingIntegrationResourceConfigurationInput, type IUpdateOfferingIntegrationResourceConfigurationResponse, type IUpdateOrderRequest, type IUpdateOrderResponse, type IValidatedCapabilityIntegration, type IValidatedCapabilityIntegrationConfig, type IWellnessManagementRequestOptions, IntegrationBookingDao, IntegrationCommonDao, IntegrationConfigurationDao, AppModule as IntegrationLibsModule, IntegrationRequestLoggerService, IntegrationResourceManagementDao, AppModule$1 as IntegrationTrybeModule, IntegrationUserManagementDao, OFFERING_INTEGRATION_MAPPING_ALREADY_EXISTS, AppModule$2 as OfferingIntegrationManager, RateLimiterService, TRAFFIC_ROUTER_CONFIGURATION_STORE_KEY, TRYBE_CATALOGING_BY_ENUM, TRYBE_OFFERING_TYPE_API, TRYBE_OFFERING_TYPE_ENUM, TRYBE_SUPPORTED_JOURNEYS_ENUM, TrafficGatewayService, TrybeAuthService, TrybeCreditBooking, TrybeCustomerManagement, TrybeIntegrationConfigurationService, TrybeIntegrationResourceManagementService, type TrybeOfferingTypeApi, type TrybeStatusUpdateInput, TrybeWebhookUtilService, TrybeWellnessManagement, convertKeysToCamelCase, extractTimeFromIsoString, fetchAllPages, formatDateForTrybe };