@aprilium/tripsm_global-states 0.1.52 → 0.1.54
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/lib/index.d.ts +85 -124
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -54,164 +54,124 @@ import { State as supportConversationState } from "@aprilium/tripsm_support-conv
|
|
|
54
54
|
import { State as messageSupportState } from "@aprilium/tripsm_message-support/lib/packages/message-support/src/state";
|
|
55
55
|
import { State as unassignedSupportNotificationsState } from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/state";
|
|
56
56
|
import { State as agencyState } from "@aprilium/tripsm_agency/lib/packages/agency/src/state";
|
|
57
|
+
import { State as paymentNotificationState } from "@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/state";
|
|
57
58
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/packages/passenger/src/effects";
|
|
58
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/packages/visa-type/src/effects";
|
|
59
59
|
import constantsSaga from "@aprilium/tripsm_constants/lib/packages/constant/src/effects";
|
|
60
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/packages/trip-group/src/effects";
|
|
61
60
|
import userSaga from "@aprilium/tripsm_user/lib/packages/user/src/effects";
|
|
62
61
|
import guestSaga from "@aprilium/tripsm_guest/lib/packages/guest/src/effects";
|
|
63
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/packages/visa-category/src/effects";
|
|
64
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/packages/visa-status/src/effects";
|
|
65
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/packages/visa/src/effects";
|
|
66
|
-
import MessageSaga from "@aprilium/tripsm_message/lib/packages/message/src/effects";
|
|
67
|
-
import MessageOneToOneSaga from "@aprilium/tripsm_private-message/lib/packages/private-message/src/effects";
|
|
68
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/packages/visa-request/src/effects";
|
|
69
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/packages/identity/src/effects";
|
|
70
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/packages/passenger-hotel/src/effects";
|
|
71
|
-
import HotelSaga from "@aprilium/tripsm_hotel/lib/packages/hotel/src/effects";
|
|
72
|
-
import TicketSaga from "@aprilium/tripsm_ticket/lib/packages/ticket/src/effects";
|
|
73
|
-
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/effects";
|
|
74
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/effects";
|
|
75
|
-
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/effects";
|
|
76
62
|
import TripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects";
|
|
77
63
|
import PackFavorisSaga from "@aprilium//tripsm_favoris-pack/lib/packages/favoris-pack/src/effects";
|
|
78
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/packages/luggage/src/effects";
|
|
79
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/effects";
|
|
80
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/packages/identity-type/src/effects";
|
|
81
|
-
import RelationSaga from "@aprilium/tripsm_relation/lib/packages/relation/src/effects";
|
|
82
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/packages/trip/src/effects";
|
|
83
|
-
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/packages/trippicture/src/effects";
|
|
84
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/packages/payment/src/effects";
|
|
85
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/packages/reservation/src/effects";
|
|
86
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/packages/payment-history/src/effects";
|
|
87
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/packages/customer/src/effects";
|
|
88
|
-
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/packages/trip-transportation/src/effects";
|
|
89
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/packages/room/src/effects";
|
|
90
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/packages/pack/src/effects";
|
|
91
|
-
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/effects";
|
|
92
|
-
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/packages/pack-options/src/effects";
|
|
93
|
-
import hotelOptionsSaga from "@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/effects";
|
|
94
|
-
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/packages/pack-hotel/src/effects";
|
|
95
|
-
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/effects";
|
|
96
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/packages/passengers-location/src/effects";
|
|
97
|
-
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/packages/reservation-request/src/effects";
|
|
98
|
-
import PermissionSaga from "@aprilium/tripsm_permission/lib/packages/permission/src/effects";
|
|
99
|
-
import GuestExpoTokenSaga from "@aprilium/tripsm_guest-expo-token/lib/packages/guest-expo-token/src/effects";
|
|
100
64
|
import PassengerConversationSaga from "@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/effects";
|
|
101
65
|
import ConversationOneToOneSaga from "@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/effects";
|
|
102
|
-
import ReservationRequestUserSeenSaga from "@aprilium/tripsm_reservation-request-seen/lib/packages/reservation-request-seen/src/effects";
|
|
103
|
-
import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-request-link/lib/packages/reservation-request-link/src/effects";
|
|
104
66
|
import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
|
|
105
|
-
import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
|
|
106
|
-
import UnassignedSupportNotificationsSaga from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/effects";
|
|
107
67
|
import AgencySaga from "@aprilium/tripsm_agency/lib/packages/agency/src/effects";
|
|
108
68
|
import PaymentNotificationSaga from "@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/effects";
|
|
109
69
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
110
70
|
export declare const reducers: {
|
|
111
71
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
112
72
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/packages/constant/src/state").ConstantState>;
|
|
113
|
-
trip:
|
|
114
|
-
tripPicture:
|
|
115
|
-
group:
|
|
73
|
+
trip: any;
|
|
74
|
+
tripPicture: any;
|
|
75
|
+
group: any;
|
|
116
76
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/packages/user/src/state").UserState>;
|
|
117
77
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/packages/guest/src/state").GuestState>;
|
|
118
|
-
visaType:
|
|
119
|
-
visaCategory:
|
|
120
|
-
visaStatus:
|
|
121
|
-
visa:
|
|
122
|
-
message:
|
|
123
|
-
messageOneToOne:
|
|
124
|
-
visaRequest:
|
|
125
|
-
identity:
|
|
126
|
-
passengerHotel:
|
|
127
|
-
hotel:
|
|
128
|
-
ticket:
|
|
129
|
-
tripHotel:
|
|
130
|
-
passengerGroup:
|
|
131
|
-
passengerPack:
|
|
78
|
+
visaType: any;
|
|
79
|
+
visaCategory: any;
|
|
80
|
+
visaStatus: any;
|
|
81
|
+
visa: any;
|
|
82
|
+
message: any;
|
|
83
|
+
messageOneToOne: any;
|
|
84
|
+
visaRequest: any;
|
|
85
|
+
identity: any;
|
|
86
|
+
passengerHotel: any;
|
|
87
|
+
hotel: any;
|
|
88
|
+
ticket: any;
|
|
89
|
+
tripHotel: any;
|
|
90
|
+
passengerGroup: any;
|
|
91
|
+
passengerPack: any;
|
|
132
92
|
tripFavoris: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state").TripFavorisState>;
|
|
133
93
|
packFavoris: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium//tripsm_favoris-pack/lib/packages/favoris-pack/src/state").PackFavorisState>;
|
|
134
|
-
luggage:
|
|
135
|
-
luggageTracking:
|
|
136
|
-
identityType:
|
|
137
|
-
relation:
|
|
138
|
-
payment:
|
|
139
|
-
reservation:
|
|
140
|
-
room:
|
|
141
|
-
pack:
|
|
142
|
-
paymentHistory:
|
|
143
|
-
customer:
|
|
144
|
-
tripTransportation:
|
|
145
|
-
passengerPathology:
|
|
146
|
-
packOption:
|
|
147
|
-
hotelOptions:
|
|
148
|
-
packHotel:
|
|
149
|
-
packTransportation:
|
|
94
|
+
luggage: any;
|
|
95
|
+
luggageTracking: any;
|
|
96
|
+
identityType: any;
|
|
97
|
+
relation: any;
|
|
98
|
+
payment: any;
|
|
99
|
+
reservation: any;
|
|
100
|
+
room: any;
|
|
101
|
+
pack: any;
|
|
102
|
+
paymentHistory: any;
|
|
103
|
+
customer: any;
|
|
104
|
+
tripTransportation: any;
|
|
105
|
+
passengerPathology: any;
|
|
106
|
+
packOption: any;
|
|
107
|
+
hotelOptions: any;
|
|
108
|
+
packHotel: any;
|
|
109
|
+
packTransportation: any;
|
|
150
110
|
passengerConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/state").PassengerConversationState>;
|
|
151
111
|
conversationOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/state").ConversationOneToOneState>;
|
|
152
|
-
passengerLocation:
|
|
153
|
-
reservationRequest:
|
|
154
|
-
guestExpoToken:
|
|
155
|
-
reservationRequestUserSeen:
|
|
156
|
-
reservationRequestPassengerLink:
|
|
157
|
-
permission:
|
|
112
|
+
passengerLocation: any;
|
|
113
|
+
reservationRequest: any;
|
|
114
|
+
guestExpoToken: any;
|
|
115
|
+
reservationRequestUserSeen: any;
|
|
116
|
+
reservationRequestPassengerLink: any;
|
|
117
|
+
permission: any;
|
|
158
118
|
supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
|
|
159
|
-
messageSupport:
|
|
160
|
-
unassignedSupportNotifications:
|
|
119
|
+
messageSupport: any;
|
|
120
|
+
unassignedSupportNotifications: any;
|
|
161
121
|
agency: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_agency/lib/packages/agency/src/state").AgencyState>;
|
|
162
122
|
paymentNotification: any;
|
|
163
123
|
};
|
|
164
124
|
export declare const initialSagas: {
|
|
165
125
|
passenger: typeof passengerSaga;
|
|
166
126
|
constants: typeof constantsSaga;
|
|
167
|
-
trip:
|
|
168
|
-
tripPicture:
|
|
169
|
-
group:
|
|
127
|
+
trip: any;
|
|
128
|
+
tripPicture: any;
|
|
129
|
+
group: any;
|
|
170
130
|
user: typeof userSaga;
|
|
171
131
|
guest: typeof guestSaga;
|
|
172
|
-
visaType:
|
|
173
|
-
visaCategory:
|
|
174
|
-
visaStatus:
|
|
175
|
-
visa:
|
|
176
|
-
message:
|
|
177
|
-
messageOneToOne:
|
|
178
|
-
visaRequest:
|
|
179
|
-
identity:
|
|
180
|
-
passengerHotel:
|
|
181
|
-
hotel:
|
|
182
|
-
ticket:
|
|
183
|
-
tripHotel:
|
|
184
|
-
passengerGroup:
|
|
185
|
-
passengerPack:
|
|
132
|
+
visaType: any;
|
|
133
|
+
visaCategory: any;
|
|
134
|
+
visaStatus: any;
|
|
135
|
+
visa: any;
|
|
136
|
+
message: any;
|
|
137
|
+
messageOneToOne: any;
|
|
138
|
+
visaRequest: any;
|
|
139
|
+
identity: any;
|
|
140
|
+
passengerHotel: any;
|
|
141
|
+
hotel: any;
|
|
142
|
+
ticket: any;
|
|
143
|
+
tripHotel: any;
|
|
144
|
+
passengerGroup: any;
|
|
145
|
+
passengerPack: any;
|
|
186
146
|
tripFavoris: typeof TripFavorisSaga;
|
|
187
147
|
packFavoris: typeof PackFavorisSaga;
|
|
188
|
-
luggage:
|
|
189
|
-
luggageTracking:
|
|
190
|
-
identityType:
|
|
191
|
-
relation:
|
|
192
|
-
payment:
|
|
193
|
-
reservation:
|
|
194
|
-
room:
|
|
195
|
-
pack:
|
|
196
|
-
paymentHistory:
|
|
197
|
-
customer:
|
|
198
|
-
tripTransportation:
|
|
199
|
-
passengerPathology:
|
|
200
|
-
packOption:
|
|
201
|
-
hotelOptions:
|
|
202
|
-
packHotel:
|
|
203
|
-
packTransportation:
|
|
204
|
-
passengerLocation:
|
|
205
|
-
reservationRequest:
|
|
206
|
-
guestExpoToken:
|
|
148
|
+
luggage: any;
|
|
149
|
+
luggageTracking: any;
|
|
150
|
+
identityType: any;
|
|
151
|
+
relation: any;
|
|
152
|
+
payment: any;
|
|
153
|
+
reservation: any;
|
|
154
|
+
room: any;
|
|
155
|
+
pack: any;
|
|
156
|
+
paymentHistory: any;
|
|
157
|
+
customer: any;
|
|
158
|
+
tripTransportation: any;
|
|
159
|
+
passengerPathology: any;
|
|
160
|
+
packOption: any;
|
|
161
|
+
hotelOptions: any;
|
|
162
|
+
packHotel: any;
|
|
163
|
+
packTransportation: any;
|
|
164
|
+
passengerLocation: any;
|
|
165
|
+
reservationRequest: any;
|
|
166
|
+
guestExpoToken: any;
|
|
207
167
|
passengerConversation: typeof PassengerConversationSaga;
|
|
208
168
|
conversationOneToOne: typeof ConversationOneToOneSaga;
|
|
209
|
-
reservationRequestUserSeen:
|
|
210
|
-
reservationRequestPassengerLink:
|
|
211
|
-
permission:
|
|
169
|
+
reservationRequestUserSeen: any;
|
|
170
|
+
reservationRequestPassengerLink: any;
|
|
171
|
+
permission: any;
|
|
212
172
|
supportConversation: typeof SupportConversationSaga;
|
|
213
|
-
messageSupport:
|
|
214
|
-
unassignedSupportNotifications:
|
|
173
|
+
messageSupport: any;
|
|
174
|
+
unassignedSupportNotifications: any;
|
|
215
175
|
agency: typeof AgencySaga;
|
|
216
176
|
paymentNotification: typeof PaymentNotificationSaga;
|
|
217
177
|
};
|
|
@@ -267,10 +227,11 @@ export type States = {
|
|
|
267
227
|
messagageSupport: messageSupportState;
|
|
268
228
|
unassignedSupportNotifications: unassignedSupportNotificationsState;
|
|
269
229
|
agency: agencyState;
|
|
230
|
+
paymentNotification: paymentNotificationState;
|
|
270
231
|
};
|
|
271
232
|
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";
|
|
272
233
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
273
|
-
export declare const sagas:
|
|
234
|
+
export declare const sagas: any[];
|
|
274
235
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
275
236
|
waitForRehydrate?: boolean): void;
|
|
276
237
|
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.
|
|
3
|
+
"version": "0.1.54",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"@aprilium/tripsm_message-support": "^0.0.15",
|
|
65
65
|
"@aprilium/tripsm_unassigned-support-notifications": "^0.0.3",
|
|
66
66
|
"@aprilium/tripsm_agency": "^0.0.10",
|
|
67
|
-
"@aprilium/tripsm_payment-notification": "^0.0.
|
|
67
|
+
"@aprilium/tripsm_payment-notification": "^0.0.4",
|
|
68
|
+
|
|
68
69
|
"@types/react": "^17.0.0",
|
|
69
70
|
"axios": "^0.21.1",
|
|
70
71
|
"dotenv": "^16.4.5",
|