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

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,9 +1,9 @@
1
1
  import { LoggerService, GraphQLContext, IMedia, AddAPIResponse, BEHAVIOUR_TYPE_ENUM, ITrybeBookingData } from '@dv4resi/dvss-backend-module-utility';
2
2
  import { OFFERING_BOOKING_TYPE_ENUM, OFFERING_BOOKING_TIME_TYPE } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/offering-booking.model';
3
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';
5
- import { HttpService } from '@nestjs/axios';
4
+ import { CONFIGURED_FOR_TYPE_ENUM, MEDIA_PROVIDER_ENUM, IAddUpdateAPIStatusResponseBigInt, DAY_OF_WEEK, OFFERING_RESOURCE_TYPE, STATUS, OPERATIONAL_STATUS_CATEGORY } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models';
6
5
  import { CAPABILITY_PROVIDER_INTEGRATION_ENUM, CAPABILITY_CATEGORY_ENUM, ICapability } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/capability.model';
6
+ import { HttpService } from '@nestjs/axios';
7
7
  import { MySql2Database } from 'drizzle-orm/mysql2';
8
8
  import { CAPABILITY_INTEGRATION_STATUS_ENUM, CAPABILITY_RESOURCE_AVAILABLE_FOR_ENUM } from '@dv4resi/dvss-backend-module-datastore/dist/datastore/models/capability-integration.model';
9
9
 
@@ -47,6 +47,7 @@ declare class IntegrationRequestLoggerService {
47
47
  logResponse(logData: IIntegrationRequestLog): void;
48
48
  logError(logData: IIntegrationRequestLog): void;
49
49
  logIntegrationRequest(logData: IIntegrationRequestLog): void;
50
+ private sanitizeHeaders;
50
51
  }
51
52
 
52
53
  declare class RateLimiterService {
@@ -133,7 +134,10 @@ declare class IntegrationCommonDao {
133
134
  }
134
135
 
135
136
  declare enum INTEGRATION_PROVIDER_ENUM {
136
- TRYBE = "TRYBE"
137
+ TRYBE = "TRYBE",
138
+ SUPREMA_BIOSTAR = "SUPREMA_BIOSTAR",
139
+ SALTO_PRO = "SALTO_PRO",
140
+ SCHINDLER = "SCHINDLER"
137
141
  }
138
142
  interface IPlatformConfig {
139
143
  baseUrl?: string;
@@ -202,6 +206,14 @@ interface IUpdateCapabilityIntegrationUpdateData {
202
206
  icon?: IIcon;
203
207
  config?: IAddCapabilityIntegrationConfig;
204
208
  parentId?: bigint;
209
+ propertyId?: number;
210
+ capabilityId?: bigint;
211
+ capabilityProviderId?: bigint;
212
+ subcategory?: string;
213
+ capabilityIntegrationResourceId?: bigint;
214
+ groupId?: bigint;
215
+ status?: CAPABILITY_INTEGRATION_STATUS_ENUM;
216
+ availableFor?: CAPABILITY_RESOURCE_AVAILABLE_FOR_ENUM;
205
217
  }
206
218
  interface IUpdateCapabilityIntegrationRequest {
207
219
  id: bigint;
@@ -274,6 +286,33 @@ declare class IntegrationConfigurationDao {
274
286
  private applyFilters;
275
287
  }
276
288
 
289
+ declare class IntegrationSubcapabilityDao {
290
+ private readonly conn;
291
+ private readonly logger;
292
+ private readonly fileName;
293
+ constructor(conn: MySql2Database<typeof schema>, logger: LoggerService);
294
+ getSubcapabilityId(input: {
295
+ capabilityId: bigint;
296
+ name: string;
297
+ }, loggedInUserId: bigint): Promise<bigint | undefined>;
298
+ }
299
+
300
+ type IAddServiceCommunicationTopic = typeof schema.serviceCommunicationTopic.$inferInsert;
301
+ type IGetServiceCommunicationTopic = typeof schema.serviceCommunicationTopic.$inferSelect & {
302
+ subcapability: typeof schema.subcapability.$inferSelect;
303
+ };
304
+
305
+ declare class IntegrationServiceCommunicationTopicDao {
306
+ private readonly conn;
307
+ private readonly logger;
308
+ private readonly fileName;
309
+ constructor(conn: MySql2Database<typeof schema>, logger: LoggerService);
310
+ upsertTopic(input: IAddServiceCommunicationTopic, loggedInUserId?: bigint): Promise<{
311
+ status: boolean;
312
+ }>;
313
+ getServiceCommunicationTopics(integrationId: bigint, loggedInUserId?: bigint): Promise<IGetServiceCommunicationTopic[]>;
314
+ }
315
+
277
316
  declare class IntegrationResourceManagementDao {
278
317
  private readonly conn;
279
318
  private readonly logger;
@@ -308,6 +347,22 @@ declare class IntegrationUserManagementDao {
308
347
  constructor(conn: MySql2Database<typeof schema>);
309
348
  }
310
349
 
350
+ type IAddOnpremDeployment = typeof schema.onPremDeployment.$inferInsert;
351
+
352
+ declare class IntegrationOnpremDeploymentDao {
353
+ private readonly conn;
354
+ private readonly logger;
355
+ private readonly fileName;
356
+ constructor(conn: MySql2Database<typeof schema>, logger: LoggerService);
357
+ addUpdateOnpremDeployment(input: IAddOnpremDeployment, loggedInUserId?: bigint): Promise<IAddUpdateAPIStatusResponseBigInt>;
358
+ private addOnpremDeployment;
359
+ private updateOnpremDeployment;
360
+ getOnpremDeployment(input: {
361
+ integrationId: bigint;
362
+ projectId: number;
363
+ }, loggedInUserId?: bigint): Promise<typeof schema.onPremDeployment.$inferSelect | undefined>;
364
+ }
365
+
311
366
  interface IGetCustomerRequest {
312
367
  email?: string;
313
368
  customerId?: string;
@@ -705,10 +760,10 @@ declare abstract class BaseCreditBooking {
705
760
  }
706
761
 
707
762
  declare abstract class BaseCustomerManagement {
708
- abstract createCustomer(request: IAddCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<ICustomer>;
709
- abstract searchCustomer(request: IGetCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<ICustomer | undefined>;
710
- abstract updateCustomer(customerId: string, request: IUpdateCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<IAddUpdateCustomerResponseData>;
711
- abstract deleteCustomer(customerId: string, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<IDeleteAPIResponse>;
763
+ abstract createCustomer(request: IAddCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<ICustomer>;
764
+ abstract searchCustomer(request: IGetCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<ICustomer | undefined>;
765
+ abstract updateCustomer(customerId: string, request: IUpdateCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<IAddUpdateCustomerResponseData>;
766
+ abstract deleteCustomer(customerId: string, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<IDeleteAPIResponse>;
712
767
  }
713
768
 
714
769
  declare abstract class BasePackageManagement {
@@ -792,7 +847,7 @@ declare class BaseIntegrationConfiguration {
792
847
  protected readonly integrationConfigurationDao: IntegrationConfigurationDao;
793
848
  protected readonly commonValidationDatabaseService: CommonValidationDatabaseService;
794
849
  protected readonly logger: LoggerService;
795
- protected readonly fileName = "integration-configuration.base.ts";
850
+ protected readonly fileName: string;
796
851
  constructor(integrationConfigurationDao: IntegrationConfigurationDao, commonValidationDatabaseService: CommonValidationDatabaseService, logger: LoggerService);
797
852
  private validateAddCapabilityIntegrationInput;
798
853
  addCapabilityIntegration(input: IAddCapabilityIntegrationInput, context: GraphQLContext): Promise<AddAPIResponse>;
@@ -1326,6 +1381,7 @@ interface ITrybeCreateOrderResponse extends ICreateOrderResponse {
1326
1381
  subTotal: number;
1327
1382
  totalTax: number;
1328
1383
  discount: number;
1384
+ serviceCharge: number;
1329
1385
  };
1330
1386
  }
1331
1387
  interface ITrybeGetOrderResponse extends IGetOrderResponse {
@@ -1526,13 +1582,13 @@ interface ITrybeSubmitOrderResponse {
1526
1582
  net_total: number;
1527
1583
  tip_amount: number;
1528
1584
  tips: [];
1529
- service_charge: {
1530
- amount: number;
1531
- percentage: number;
1585
+ service_charge?: {
1586
+ amount?: number;
1587
+ percentage?: number;
1532
1588
  item_amounts: {
1533
- item_id: string;
1534
- amount: number;
1535
- percentage: number;
1589
+ item_id?: string;
1590
+ amount?: number;
1591
+ percentage?: number;
1536
1592
  }[];
1537
1593
  };
1538
1594
  submit_payment_amount: number;
@@ -1547,7 +1603,12 @@ interface ITrybeSubmitOrderResponse {
1547
1603
  unpaid: number;
1548
1604
  };
1549
1605
  total_paid_or_authed: number;
1550
- taxes: [];
1606
+ taxes?: {
1607
+ amount?: number;
1608
+ percentage?: number;
1609
+ name?: string;
1610
+ inclusive?: boolean;
1611
+ }[];
1551
1612
  payments: [];
1552
1613
  discounts: [];
1553
1614
  applied_promo_code_id: null;
@@ -1572,17 +1633,6 @@ interface ITrybeResourceMappingConfiguration {
1572
1633
  paymentType?: string;
1573
1634
  }
1574
1635
 
1575
- declare class TrybeCustomerManagement implements BaseCustomerManagement {
1576
- private readonly logger;
1577
- private readonly trafficGatewayService;
1578
- private readonly fileName;
1579
- constructor(logger: LoggerService, trafficGatewayService: TrafficGatewayService);
1580
- createCustomer(request: IAddCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<ITrybeCustomer>;
1581
- searchCustomer(request: IGetCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<ITrybeCustomer | undefined>;
1582
- updateCustomer(customerId: string, request: IUpdateCustomerRequest, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<IAddUpdateCustomerResponseData>;
1583
- deleteCustomer(customerId: string, integration: IValidatedCapabilityIntegration, loggedInUserId: bigint): Promise<IDeleteAPIResponse>;
1584
- }
1585
-
1586
1636
  declare class TrybeAuthService implements BaseAuth {
1587
1637
  private readonly trybeCustomerManagement;
1588
1638
  private readonly logger;
@@ -1593,12 +1643,33 @@ declare class TrybeAuthService implements BaseAuth {
1593
1643
  fetchAccessToken(integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<string>;
1594
1644
  }
1595
1645
 
1646
+ declare class TrybeApiClientService {
1647
+ private readonly trybeAuthService;
1648
+ private readonly trafficGatewayService;
1649
+ constructor(trybeAuthService: TrybeAuthService, trafficGatewayService: TrafficGatewayService);
1650
+ executeRequest<TResponse, TBody = unknown>(request: {
1651
+ apiMethod: HTTP_METHOD;
1652
+ url: string;
1653
+ body?: TBody;
1654
+ }, integration: ICapabilityIntegration | Omit<ICapabilityIntegration, 'id'>, loggedInUserId: bigint): Promise<TResponse>;
1655
+ }
1656
+
1657
+ declare class TrybeCustomerManagement implements BaseCustomerManagement {
1658
+ private readonly logger;
1659
+ private readonly trybeApiClientService;
1660
+ private readonly fileName;
1661
+ constructor(logger: LoggerService, trybeApiClientService: TrybeApiClientService);
1662
+ createCustomer(request: IAddCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<ITrybeCustomer>;
1663
+ searchCustomer(request: IGetCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<ITrybeCustomer | undefined>;
1664
+ updateCustomer(customerId: string, request: IUpdateCustomerRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<IAddUpdateCustomerResponseData>;
1665
+ deleteCustomer(customerId: string, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<IDeleteAPIResponse>;
1666
+ }
1667
+
1596
1668
  declare class TrybeCreditBooking implements BaseCreditBooking {
1597
1669
  private readonly logger;
1598
- private readonly trafficGatewayService;
1599
- private readonly trybeAuthService;
1670
+ private readonly trybeApiClientService;
1600
1671
  private readonly fileName;
1601
- constructor(logger: LoggerService, trafficGatewayService: TrafficGatewayService, trybeAuthService: TrybeAuthService);
1672
+ constructor(logger: LoggerService, trybeApiClientService: TrybeApiClientService);
1602
1673
  fetchCustomerCredits(request: IGetCustomerCreditsRequest, integration: ICapabilityIntegration, loggedInUserId: bigint): Promise<ISystemResponse<ICredit>>;
1603
1674
  }
1604
1675
 
@@ -1612,9 +1683,9 @@ interface ISiteSystemResponse {
1612
1683
  }
1613
1684
 
1614
1685
  declare class TrybeIntegrationConfigurationService extends BaseIntegrationConfiguration {
1686
+ private readonly trybeApiClientService;
1615
1687
  private readonly trybeAuthService;
1616
- private readonly trafficGatewayService;
1617
- constructor(integrationConfigurationDao: IntegrationConfigurationDao, commonValidationDatabaseService: CommonValidationDatabaseService, logger: LoggerService, trybeAuthService: TrybeAuthService, trafficGatewayService: TrafficGatewayService);
1688
+ constructor(integrationConfigurationDao: IntegrationConfigurationDao, commonValidationDatabaseService: CommonValidationDatabaseService, logger: LoggerService, trybeApiClientService: TrybeApiClientService, trybeAuthService: TrybeAuthService);
1618
1689
  addCapabilityIntegration(input: IAddCapabilityIntegrationInput, context: GraphQLContext): Promise<AddAPIResponse>;
1619
1690
  updateCapabilityIntegration(request: IUpdateCapabilityIntegrationRequest, integration?: ICapabilityIntegration, loggedInUserId?: bigint): Promise<IUpdateCapabilityIntegrationResponse>;
1620
1691
  private validateCapabilityIntegrationConfiguredForInput;
@@ -1632,11 +1703,10 @@ declare class TrybeIntegrationResourceManagementService extends BaseIntegrationR
1632
1703
 
1633
1704
  declare class TrybeWellnessManagement implements BaseWellnessManagement {
1634
1705
  private readonly logger;
1635
- private readonly trafficGatewayService;
1636
- private readonly trybeAuthService;
1706
+ private readonly trybeApiClientService;
1637
1707
  private readonly integrationCommonDao;
1638
1708
  private readonly fileName;
1639
- constructor(logger: LoggerService, trafficGatewayService: TrafficGatewayService, trybeAuthService: TrybeAuthService, integrationCommonDao: IntegrationCommonDao);
1709
+ constructor(logger: LoggerService, trybeApiClientService: TrybeApiClientService, integrationCommonDao: IntegrationCommonDao);
1640
1710
  fetchWellnessAppointmentSession(): Promise<void>;
1641
1711
  checkWellnessAppointmentSessionAvailability(): Promise<void>;
1642
1712
  createWellnessAppointmentSessionOrder(): Promise<void>;
@@ -1713,4 +1783,4 @@ declare class TrybeWebhookUtilService {
1713
1783
  private mapTrybeItemTypeToEnum;
1714
1784
  }
1715
1785
 
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 };
1786
+ 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, IntegrationOnpremDeploymentDao, IntegrationRequestLoggerService, IntegrationResourceManagementDao, IntegrationServiceCommunicationTopicDao, IntegrationSubcapabilityDao, 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, TrybeApiClientService, TrybeAuthService, TrybeCreditBooking, TrybeCustomerManagement, TrybeIntegrationConfigurationService, TrybeIntegrationResourceManagementService, type TrybeOfferingTypeApi, type TrybeStatusUpdateInput, TrybeWebhookUtilService, TrybeWellnessManagement, convertKeysToCamelCase, extractTimeFromIsoString, fetchAllPages, formatDateForTrybe };