@aprilium/tripsm_global-states 0.1.77 → 0.1.78

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +10 -7
  2. package/package.json +3 -3
package/lib/index.d.ts CHANGED
@@ -92,6 +92,7 @@ import PackSaga from "@aprilium/tripsm_pack/lib/packages/pack/src/effects";
92
92
  import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/effects";
93
93
  import packOptionSaga from "@aprilium/tripsm_pack-options/lib/packages/pack-options/src/effects";
94
94
  import hotelOptionsSaga from "@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/effects";
95
+ import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/packages/pack-hotel/src/effects";
95
96
  import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/effects";
96
97
  import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/packages/passengers-location/src/effects";
97
98
  import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/packages/reservation-request/src/effects";
@@ -104,6 +105,8 @@ import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-re
104
105
  import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
105
106
  import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
106
107
  import UnassignedSupportNotificationsSaga from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/effects";
108
+ import AgencySaga from "@aprilium/tripsm_agency/lib/packages/agency/src/effects";
109
+ import PaymentNotificationSaga from "@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/effects";
107
110
  export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
108
111
  export declare const reducers: {
109
112
  passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
@@ -143,7 +146,7 @@ export declare const reducers: {
143
146
  passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/state").PassengerPathologyState>;
144
147
  packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/packages/pack-options/src/state").PackOptionState>;
145
148
  hotelOptions: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/state").HotelOptionsState>;
146
- packHotel: any;
149
+ packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/packages/pack-hotel/src/state").PackHotelState>;
147
150
  packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/state").PackTransportationState>;
148
151
  passengerConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/state").PassengerConversationState>;
149
152
  conversationOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/state").ConversationOneToOneState>;
@@ -156,8 +159,8 @@ export declare const reducers: {
156
159
  supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
157
160
  messageSupport: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_message-support/lib/packages/message-support/src/state").MessageSupportState>;
158
161
  unassignedSupportNotifications: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/state").UnassignedSupportNotificationsState>;
159
- agency: any;
160
- paymentNotification: any;
162
+ agency: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_agency/lib/packages/agency/src/state").AgencyState>;
163
+ paymentNotification: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/state").PaymentNotificationState>;
161
164
  };
162
165
  export declare const initialSagas: {
163
166
  passenger: typeof passengerSaga;
@@ -197,7 +200,7 @@ export declare const initialSagas: {
197
200
  passengerPathology: typeof PassengerPathologySaga;
198
201
  packOption: typeof packOptionSaga;
199
202
  hotelOptions: typeof hotelOptionsSaga;
200
- packHotel: any;
203
+ packHotel: typeof PackHotelSaga;
201
204
  packTransportation: typeof PackTransportationSaga;
202
205
  passengerLocation: typeof PassengerLocationSaga;
203
206
  reservationRequest: typeof ReservationRequestSaga;
@@ -210,8 +213,8 @@ export declare const initialSagas: {
210
213
  supportConversation: typeof SupportConversationSaga;
211
214
  messageSupport: typeof MessageSupportSaga;
212
215
  unassignedSupportNotifications: typeof UnassignedSupportNotificationsSaga;
213
- agency: any;
214
- paymentNotification: any;
216
+ agency: typeof AgencySaga;
217
+ paymentNotification: typeof PaymentNotificationSaga;
215
218
  };
216
219
  export type States = {
217
220
  passengersState: passengersState;
@@ -269,7 +272,7 @@ export type States = {
269
272
  };
270
273
  export type StateName = "passenger-pack" | "room" | "pack" | "guest" | "passengersState" | "constants" | "group" | "user" | "visaType" | "visaCategory" | "VisaStatus" | "visa" | "visaRequest" | "identity" | "passengerHotel" | "tripHotel" | "hotel" | "ticket" | "passenger-group" | "luggage" | "luggage-tracking" | "identity-type" | "relation" | "trip" | "trip-picture" | "payment-state" | "payment-history" | "customer" | "reservation" | "trip-transportation" | "passenger-pathology" | "packOption" | "hotelOptions" | "pack-hotel" | "pack-transportation" | "passenger-location" | "reservation-request" | "trip-favoris" | "guest-expo-token" | "favoris-pack" | "visa" | "passenger-conversation" | "message" | "reservation-request-seen" | "private-message" | "private-conversation" | "reservation-request-link" | "permission" | "support-conversation" | "message-support" | "unassigned-support-notifications" | "hotel" | "payment-notification";
271
274
  export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
272
- export declare const sagas: any[];
275
+ export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof TripSaga | typeof TripPictureSaga | typeof groupSaga | typeof userSaga | typeof guestSaga | typeof visaTypeSaga | typeof visaCategorySaga | typeof VisaStatusSaga | typeof VisaSaga | typeof MessageSaga | typeof MessageOneToOneSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof PassengerPackSaga | typeof TripFavorisSaga | typeof PackFavorisSaga | typeof LuggageSaga | typeof LuggageTrackingSaga | typeof IdentityTypeSaga | typeof RelationSaga | typeof PaymentSaga | typeof ReservationSaga | typeof RoomSaga | typeof PackSaga | typeof PaymentHistorySaga | typeof CustomerSaga | typeof TripTransportationSaga | typeof PassengerPathologySaga | typeof packOptionSaga | typeof hotelOptionsSaga | typeof PackHotelSaga | typeof PackTransportationSaga | typeof PassengerLocationSaga | typeof ReservationRequestSaga | typeof GuestExpoTokenSaga | typeof PassengerConversationSaga | typeof ConversationOneToOneSaga | typeof ReservationRequestUserSeenSaga | typeof ReservationRequestPassengerLinkSaga | typeof PermissionSaga | typeof SupportConversationSaga | typeof MessageSupportSaga | typeof UnassignedSupportNotificationsSaga | typeof AgencySaga | typeof PaymentNotificationSaga)[];
273
276
  export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
274
277
  waitForRehydrate?: boolean): void;
275
278
  declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aprilium/tripsm_global-states",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "global states",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aprilium/tripsm_pack": "^0.0.50",
25
25
  "@aprilium/tripsm_favoris-pack": "^0.0.8",
26
26
  "@aprilium/tripsm_passenger": "^0.0.140",
27
- "@aprilium/tripsm_passenger-group": "^0.0.33",
27
+ "@aprilium/tripsm_passenger-group": "^0.0.34",
28
28
  "@aprilium/tripsm_passenger-hotel": "^0.0.28",
29
29
  "@aprilium/tripsm_passenger-pathology": "^0.0.13",
30
30
  "@aprilium/tripsm_passengers-location": "^0.0.7",
@@ -83,4 +83,4 @@
83
83
  "devDependencies": {
84
84
  "@types/normalize-package-data": "^2.4.4"
85
85
  }
86
- }
86
+ }