@myclub_se/data-access 3.1.6 → 3.1.8
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/esm2022/lib/api-models/api-bookable-item.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-application-time.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-slot-session.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-slot.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar.mjs +1 -1
- package/esm2022/lib/api-models/api-invoice/api-payment-attempt-create.mjs +12 -2
- package/esm2022/lib/api-models/api-invoice/api-payment-attempt.mjs +1 -1
- package/esm2022/lib/api-models/api-invoice/api-payment-order.mjs +2 -0
- package/esm2022/lib/api-models/api-invoice/index.mjs +2 -1
- package/esm2022/lib/models/activity-type.mjs +3 -3
- package/esm2022/lib/models/bookable-item.mjs +4 -2
- package/esm2022/lib/models/booking-calendar-application-time.mjs +6 -2
- package/esm2022/lib/models/booking-calendar-slot-session.mjs +8 -2
- package/esm2022/lib/models/booking-calendar-slot.mjs +5 -2
- package/esm2022/lib/models/booking-calendar.mjs +8 -2
- package/esm2022/lib/models/booking-slot-filter.mjs +4 -1
- package/esm2022/lib/models/invoice/index.mjs +2 -1
- package/esm2022/lib/models/invoice/payment-attempt.mjs +4 -2
- package/esm2022/lib/models/invoice/payment-order.mjs +25 -0
- package/esm2022/lib/services/activity.service.mjs +17 -6
- package/esm2022/lib/services/bookable.service.mjs +46 -14
- package/esm2022/lib/services/booking-calendar.service.mjs +94 -26
- package/esm2022/lib/services/constant.service.mjs +9 -1
- package/esm2022/lib/services/constants.mjs +2 -0
- package/esm2022/lib/services/factories/bookable-item-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-application-time-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
- package/esm2022/lib/services/factories/payment-attempt-factory.mjs +2 -2
- package/esm2022/lib/services/factories/payment-order-factory.mjs +5 -0
- package/esm2022/lib/services/feature-flags.service.mjs +5 -2
- package/esm2022/lib/services/invoice/index.mjs +2 -1
- package/esm2022/lib/services/invoice/payment-attempt.service.mjs +44 -19
- package/esm2022/lib/services/invoice/payment-order.service.mjs +46 -0
- package/esm2022/lib/services/member.service.mjs +5 -2
- package/esm2022/lib/services/team.service.mjs +5 -2
- package/esm2022/lib/store/actions/booking.actions.mjs +19 -1
- package/esm2022/lib/store/actions/constant.actions.mjs +13 -1
- package/esm2022/lib/store/actions/invoice.actions.mjs +105 -37
- package/esm2022/lib/store/effects/booking.effects.mjs +49 -3
- package/esm2022/lib/store/effects/constant.effects.mjs +8 -2
- package/esm2022/lib/store/effects/invoice.effects.mjs +89 -29
- package/esm2022/lib/store/reducers/booking.reducers.mjs +63 -12
- package/esm2022/lib/store/reducers/constant.reducer.mjs +14 -2
- package/esm2022/lib/store/reducers/invoice.reducer.mjs +4 -4
- package/esm2022/lib/store/selectors/booking.selectors.mjs +4 -1
- package/esm2022/lib/store/selectors/constant.selectors.mjs +3 -1
- package/esm2022/lib/store/selectors/invoice.selectors.mjs +3 -1
- package/esm2022/lib/store/state/booking.state.mjs +4 -1
- package/esm2022/lib/store/state/constant.state.mjs +3 -1
- package/esm2022/lib/store/state/invoice.state.mjs +3 -1
- package/fesm2022/myclub_se-data-access.mjs +689 -152
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-bookable-item.d.ts +1 -0
- package/lib/api-models/api-booking-calendar-application-time.d.ts +2 -0
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +3 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
- package/lib/api-models/api-booking-calendar.d.ts +2 -0
- package/lib/api-models/api-invoice/api-payment-attempt-create.d.ts +7 -1
- package/lib/api-models/api-invoice/api-payment-attempt.d.ts +2 -1
- package/lib/api-models/api-invoice/api-payment-order.d.ts +13 -0
- package/lib/api-models/api-invoice/index.d.ts +1 -0
- package/lib/models/bookable-item.d.ts +2 -1
- package/lib/models/booking-calendar-application-time.d.ts +3 -1
- package/lib/models/booking-calendar-slot-session.d.ts +4 -1
- package/lib/models/booking-calendar-slot.d.ts +3 -1
- package/lib/models/booking-calendar.d.ts +5 -1
- package/lib/models/booking-slot-filter.d.ts +1 -0
- package/lib/models/invoice/index.d.ts +1 -0
- package/lib/models/invoice/payment-attempt.d.ts +3 -2
- package/lib/models/invoice/payment-order.d.ts +14 -0
- package/lib/services/bookable.service.d.ts +2 -1
- package/lib/services/booking-calendar.service.d.ts +2 -0
- package/lib/services/constant.service.d.ts +2 -0
- package/lib/services/constants.d.ts +1 -0
- package/lib/services/factories/payment-order-factory.d.ts +3 -0
- package/lib/services/invoice/index.d.ts +1 -0
- package/lib/services/invoice/payment-attempt.service.d.ts +14 -7
- package/lib/services/invoice/payment-order.service.d.ts +18 -0
- package/lib/store/actions/booking.actions.d.ts +60 -0
- package/lib/store/actions/constant.actions.d.ts +28 -0
- package/lib/store/actions/invoice.actions.d.ts +335 -55
- package/lib/store/effects/booking.effects.d.ts +15 -0
- package/lib/store/effects/constant.effects.d.ts +10 -0
- package/lib/store/effects/invoice.effects.d.ts +89 -25
- package/lib/store/selectors/booking.selectors.d.ts +3 -0
- package/lib/store/selectors/constant.selectors.d.ts +2 -0
- package/lib/store/selectors/invoice.selectors.d.ts +2 -0
- package/lib/store/state/booking.state.d.ts +4 -1
- package/lib/store/state/constant.state.d.ts +2 -0
- package/lib/store/state/invoice.state.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,35 +1,56 @@
|
|
|
1
|
-
import { ClubImage, MemberInvoice, PaymentAttempt, SearchMemberInvoice, SwishQrCode } from '../../models';
|
|
1
|
+
import { ClubImage, MemberInvoice, PaymentAttempt, PaymentOrder, SearchMemberInvoice, SwishQrCode } from '../../models';
|
|
2
2
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class InvoiceEffects {
|
|
5
5
|
private actions$;
|
|
6
6
|
private invoiceService;
|
|
7
|
+
private paymentOrderService;
|
|
7
8
|
private paymentAttemptService;
|
|
8
|
-
|
|
9
|
+
createMemberInvoiceMondidoPayment$: import("rxjs").Observable<({
|
|
9
10
|
payload: PaymentAttempt;
|
|
10
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
11
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoInvoicePaymentSuccess>) | ({
|
|
11
12
|
payload: HttpErrorResponse;
|
|
12
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
13
|
-
|
|
13
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoInvoicePaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
14
|
+
createMemberInvoiceSwishPayment$: import("rxjs").Observable<({
|
|
14
15
|
payload: PaymentAttempt;
|
|
15
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
16
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishInvoicePaymentSuccess>) | ({
|
|
16
17
|
payload: HttpErrorResponse;
|
|
17
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
18
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishInvoicePaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
19
|
+
createMemberPaymentOrderMondidoPayment$: import("rxjs").Observable<({
|
|
20
|
+
payload: PaymentAttempt;
|
|
21
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoPaymentOrderPaymentSuccess>) | ({
|
|
22
|
+
payload: HttpErrorResponse;
|
|
23
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoPaymentOrderPaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
24
|
+
createMemberPaymentOrderSwishPayment$: import("rxjs").Observable<({
|
|
25
|
+
payload: PaymentAttempt;
|
|
26
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishPaymentOrderPaymentSuccess>) | ({
|
|
27
|
+
payload: HttpErrorResponse;
|
|
28
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishPaymentOrderPaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
18
29
|
createMemberZimplerPayment$: import("rxjs").Observable<({
|
|
19
30
|
payload: PaymentAttempt;
|
|
20
31
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateZimplerPaymentSuccess>) | ({
|
|
21
32
|
payload: HttpErrorResponse;
|
|
22
33
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateZimplerPaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
23
|
-
|
|
34
|
+
createPublicInvoiceMondidoPayment$: import("rxjs").Observable<({
|
|
35
|
+
payload: PaymentAttempt;
|
|
36
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoInvoicePaymentSuccess>) | ({
|
|
37
|
+
payload: HttpErrorResponse;
|
|
38
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoInvoicePaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
39
|
+
createPublicInvoiceSwishPayment$: import("rxjs").Observable<({
|
|
24
40
|
payload: PaymentAttempt;
|
|
25
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
41
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishInvoicePaymentSuccess>) | ({
|
|
26
42
|
payload: HttpErrorResponse;
|
|
27
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
28
|
-
|
|
43
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishInvoicePaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
|
+
createPublicPaymentOrderMondidoPayment$: import("rxjs").Observable<({
|
|
29
45
|
payload: PaymentAttempt;
|
|
30
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
46
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoPaymentOrderPaymentSuccess>) | ({
|
|
31
47
|
payload: HttpErrorResponse;
|
|
32
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
48
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateMondidoPaymentOrderPaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
|
+
createPublicPaymentOrderSwishPayment$: import("rxjs").Observable<({
|
|
50
|
+
payload: PaymentAttempt;
|
|
51
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishPaymentOrderPaymentSuccess>) | ({
|
|
52
|
+
payload: HttpErrorResponse;
|
|
53
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateSwishPaymentOrderPaymentFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
33
54
|
createPublicZimplerPayment$: import("rxjs").Observable<({
|
|
34
55
|
payload: PaymentAttempt;
|
|
35
56
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.CreateZimplerPaymentSuccess>) | ({
|
|
@@ -45,16 +66,34 @@ export declare class InvoiceEffects {
|
|
|
45
66
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoiceSuccess>) | ({
|
|
46
67
|
payload: HttpErrorResponse;
|
|
47
68
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoiceFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
|
-
|
|
69
|
+
listMemberPaymentOrders$: import("rxjs").Observable<({
|
|
70
|
+
payload: HttpErrorResponse;
|
|
71
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.ListMemberPaymentOrdersFailure>) | ({
|
|
72
|
+
payload: Map<string, PaymentOrder[]>;
|
|
73
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.ListMemberPaymentOrdersSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
74
|
+
retrievePaymentOrder$: import("rxjs").Observable<({
|
|
75
|
+
payload: PaymentOrder;
|
|
76
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSuccess>) | ({
|
|
77
|
+
payload: HttpErrorResponse;
|
|
78
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
79
|
+
deletePaymentOrder$: import("rxjs").Observable<import("@ngrx/store").Action<import("../actions").InvoiceActionType.DeletePaymentOrderSuccess> | ({
|
|
80
|
+
payload: HttpErrorResponse;
|
|
81
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.DeletePaymentOrderFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
82
|
+
retrieveMemberInvoicePaymentAttempt$: import("rxjs").Observable<({
|
|
49
83
|
payload: PaymentAttempt;
|
|
50
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
84
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoicePaymentAttemptSuccess>) | ({
|
|
51
85
|
payload: HttpErrorResponse;
|
|
52
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
53
|
-
|
|
86
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoicePaymentAttemptFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
87
|
+
retrieveMemberInvoiceSwishQRCode$: import("rxjs").Observable<({
|
|
54
88
|
payload: SwishQrCode;
|
|
55
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
89
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveInvoiceSwishQRCodeSuccess>) | ({
|
|
56
90
|
payload: HttpErrorResponse;
|
|
57
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
91
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveInvoiceSwishQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
92
|
+
retrieveMemberPaymentOrderSwishQRCode$: import("rxjs").Observable<({
|
|
93
|
+
payload: SwishQrCode;
|
|
94
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSwishQRCodeSuccess>) | ({
|
|
95
|
+
payload: HttpErrorResponse;
|
|
96
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSwishQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
58
97
|
retrievePublicInvoice$: import("rxjs").Observable<({
|
|
59
98
|
payload: MemberInvoice;
|
|
60
99
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicInvoiceSuccess>) | ({
|
|
@@ -65,16 +104,41 @@ export declare class InvoiceEffects {
|
|
|
65
104
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicInvoiceLogoSuccess>) | ({
|
|
66
105
|
payload: HttpErrorResponse;
|
|
67
106
|
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicInvoiceLogoFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
68
|
-
|
|
107
|
+
retrievePublicInvoicePaymentAttempt$: import("rxjs").Observable<({
|
|
108
|
+
payload: PaymentAttempt;
|
|
109
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicInvoicePaymentAttemptSuccess>) | ({
|
|
110
|
+
payload: HttpErrorResponse;
|
|
111
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicInvoicePaymentAttemptFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
112
|
+
retrievePublicInvoiceSwishQRCode$: import("rxjs").Observable<({
|
|
113
|
+
payload: SwishQrCode;
|
|
114
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveInvoiceSwishQRCodeSuccess>) | ({
|
|
115
|
+
payload: HttpErrorResponse;
|
|
116
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveInvoiceSwishQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
117
|
+
retrieveMemberPaymentOrderPaymentAttempt$: import("rxjs").Observable<({
|
|
118
|
+
payload: PaymentAttempt;
|
|
119
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberPaymentOrderPaymentAttemptSuccess>) | ({
|
|
120
|
+
payload: HttpErrorResponse;
|
|
121
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberPaymentOrderPaymentAttemptFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
122
|
+
retrievePublicPaymentOrder$: import("rxjs").Observable<({
|
|
123
|
+
payload: PaymentOrder;
|
|
124
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderSuccess>) | ({
|
|
125
|
+
payload: HttpErrorResponse;
|
|
126
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
127
|
+
retrievePublicPaymentOrderLogo$: import("rxjs").Observable<({
|
|
128
|
+
payload: ClubImage;
|
|
129
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderLogoSuccess>) | ({
|
|
130
|
+
payload: HttpErrorResponse;
|
|
131
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderLogoFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
132
|
+
retrievePublicPaymentOrderPaymentAttempt$: import("rxjs").Observable<({
|
|
69
133
|
payload: PaymentAttempt;
|
|
70
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
134
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderPaymentAttemptSuccess>) | ({
|
|
71
135
|
payload: HttpErrorResponse;
|
|
72
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
73
|
-
|
|
136
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePublicPaymentOrderPaymentAttemptFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
137
|
+
retrievePublicPaymentOrderSwishQRCode$: import("rxjs").Observable<({
|
|
74
138
|
payload: SwishQrCode;
|
|
75
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
139
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSwishQRCodeSuccess>) | ({
|
|
76
140
|
payload: HttpErrorResponse;
|
|
77
|
-
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.
|
|
141
|
+
} & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSwishQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
78
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceEffects, never>;
|
|
79
143
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceEffects>;
|
|
80
144
|
}
|
|
@@ -6,6 +6,9 @@ export declare const selectBookableItems: import("@ngrx/store").MemoizedSelector
|
|
|
6
6
|
export declare const selectBookableGroups: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookableGroup> | null, (s1: BookingState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookableGroup> | null>;
|
|
7
7
|
export declare const selectBookableTags: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookableTag> | null, (s1: BookingState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookableTag> | null>;
|
|
8
8
|
export declare const selectCalendars: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookingCalendar> | null, (s1: BookingState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").BookingCalendar> | null>;
|
|
9
|
+
export declare const selectMemberCalendars: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendar[]>> | undefined, (s1: BookingState) => import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendar[]>> | undefined>;
|
|
10
|
+
export declare const selectMemberSlots: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendarSlot[]>> | undefined, (s1: BookingState) => import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendarSlot[]>> | undefined>;
|
|
11
|
+
export declare const selectMemberSessions: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendarSlotSession[]>> | undefined, (s1: BookingState) => import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").BookingCalendarSlotSession[]>> | undefined>;
|
|
9
12
|
export declare const selectBookingSettings: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").BookingSettings> | null, (s1: BookingState) => import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").BookingSettings> | null>;
|
|
10
13
|
export declare const selectBookingActivitySettings: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").ActivitySettings> | null, (s1: BookingState) => import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").ActivitySettings> | null>;
|
|
11
14
|
export declare const selectActivityTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").ActivityType> | null, (s1: BookingState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").ActivityType> | null>;
|
|
@@ -12,6 +12,8 @@ export declare const selectActivityRepeatTypeOptions: import("@ngrx/store").Memo
|
|
|
12
12
|
export declare const selectCountries: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
13
13
|
export declare const selectMemberContactTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
14
14
|
export declare const selectBookingSlotTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
15
|
+
export declare const selectTeamBookingSlotTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
16
|
+
export declare const selectMemberBookingSlotTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
15
17
|
export declare const selectBookingSlotReservedTimePositions: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
16
18
|
export declare const selectBookingSlotSessionTypes: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
17
19
|
export declare const selectBookingCalendarStatuses: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>, (s1: ConstantState) => import("@myclub_se/data-access").ListResultInterface<import("@myclub_se/data-access").OptionInterface>>;
|
|
@@ -2,3 +2,5 @@ import { DataAccessState, InvoiceState } from '../state';
|
|
|
2
2
|
export declare const invoiceState: import("@ngrx/store").MemoizedSelector<object, InvoiceState, (s1: DataAccessState) => InvoiceState>;
|
|
3
3
|
export declare const selectInvoice: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").MemberInvoice> | undefined, (s1: InvoiceState) => import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").MemberInvoice> | undefined>;
|
|
4
4
|
export declare const selectInvoiceList: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").SearchMemberInvoice[]>> | undefined, (s1: InvoiceState) => import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").SearchMemberInvoice[]>> | undefined>;
|
|
5
|
+
export declare const selectPaymentOrder: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").PaymentOrder> | undefined, (s1: InvoiceState) => import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").PaymentOrder> | undefined>;
|
|
6
|
+
export declare const selectPaymentOrderList: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").PaymentOrder[]>> | undefined, (s1: InvoiceState) => import("@myclub_se/data-access").RetrieveResultInterface<Map<string, import("@myclub_se/data-access").PaymentOrder[]>> | undefined>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ActivityLocation, ActivitySettings, ActivityType, AuthTeam, BookableGroup, BookableItem, BookableTag, BookingCalendar, BookingSettings, BookingSlotFilter, SearchTeam } from '../../models';
|
|
1
|
+
import { ActivityLocation, ActivitySettings, ActivityType, AuthTeam, BookableGroup, BookableItem, BookableTag, BookingCalendar, BookingCalendarSlot, BookingCalendarSlotSession, BookingSettings, BookingSlotFilter, SearchTeam } from '../../models';
|
|
2
2
|
import { ListResultInterface, RetrieveResultInterface } from '../interfaces';
|
|
3
3
|
export interface BookingState {
|
|
4
4
|
calendars: ListResultInterface<BookingCalendar> | null;
|
|
5
|
+
memberCalendars: RetrieveResultInterface<Map<string, Array<BookingCalendar>>> | undefined;
|
|
5
6
|
locations: ListResultInterface<ActivityLocation> | null;
|
|
6
7
|
bookableItems: ListResultInterface<BookableItem> | null;
|
|
7
8
|
bookableGroups: ListResultInterface<BookableGroup> | null;
|
|
@@ -11,6 +12,8 @@ export interface BookingState {
|
|
|
11
12
|
bookingSettings: RetrieveResultInterface<BookingSettings> | null;
|
|
12
13
|
activityTypes: ListResultInterface<ActivityType> | null;
|
|
13
14
|
currentCalendar: BookingCalendar | null;
|
|
15
|
+
memberSessions: RetrieveResultInterface<Map<string, Array<BookingCalendarSlotSession>>> | undefined;
|
|
16
|
+
memberSlots: RetrieveResultInterface<Map<string, Array<BookingCalendarSlot>>> | undefined;
|
|
14
17
|
bookingSlotFilter: BookingSlotFilter;
|
|
15
18
|
}
|
|
16
19
|
export declare const initialBookingState: BookingState;
|
|
@@ -14,6 +14,8 @@ export interface ConstantState {
|
|
|
14
14
|
countries: ListResultInterface<OptionInterface>;
|
|
15
15
|
memberContactTypes: ListResultInterface<OptionInterface>;
|
|
16
16
|
bookingSlotTypes: ListResultInterface<OptionInterface>;
|
|
17
|
+
teamBookingSlotTypes: ListResultInterface<OptionInterface>;
|
|
18
|
+
memberBookingSlotTypes: ListResultInterface<OptionInterface>;
|
|
17
19
|
bookingSlotReservedTimePositions: ListResultInterface<OptionInterface>;
|
|
18
20
|
bookingSlotSessionTypes: ListResultInterface<OptionInterface>;
|
|
19
21
|
bookingCalendarStatuses: ListResultInterface<OptionInterface>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { MemberInvoice, SearchMemberInvoice } from '../../models';
|
|
1
|
+
import { MemberInvoice, PaymentOrder, SearchMemberInvoice } from '../../models';
|
|
2
2
|
import { RetrieveResultInterface } from '../interfaces';
|
|
3
3
|
export interface InvoiceState {
|
|
4
4
|
invoice: RetrieveResultInterface<MemberInvoice> | undefined;
|
|
5
5
|
invoiceList: RetrieveResultInterface<Map<string, Array<SearchMemberInvoice>>> | undefined;
|
|
6
|
+
paymentOrder: RetrieveResultInterface<PaymentOrder> | undefined;
|
|
7
|
+
paymentOrderList: RetrieveResultInterface<Map<string, Array<PaymentOrder>>> | undefined;
|
|
6
8
|
}
|
|
7
9
|
export declare const initialInvoiceState: InvoiceState;
|
package/package.json
CHANGED