jconsumer-shared 0.0.3 → 1.0.1
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/account-service.mjs +158 -9
- package/esm2022/lib/auth-service.mjs +12 -4
- package/esm2022/lib/booking-service.mjs +480 -0
- package/esm2022/lib/calendar/date-time/datetime-processor.service.mjs +4 -4
- package/esm2022/lib/common.service.mjs +157 -7
- package/esm2022/lib/confirm/confirm-box.component.mjs +159 -0
- package/esm2022/lib/confirm/confirm-box.module.mjs +62 -0
- package/esm2022/lib/consumer-service.mjs +780 -0
- package/esm2022/lib/currency-service.mjs +12 -0
- package/esm2022/lib/environment.service.mjs +23 -0
- package/esm2022/lib/error-message.module.mjs +23 -0
- package/esm2022/lib/file-service.mjs +25 -19
- package/esm2022/lib/form-message/field-error-display/field-error-display.component.mjs +21 -0
- package/esm2022/lib/form-message/form-message-display.module.mjs +35 -0
- package/esm2022/lib/form-message/form-message-display.service.mjs +44 -0
- package/esm2022/lib/form-message/form-success-display/form-success-display.component.mjs +18 -0
- package/esm2022/lib/group-storage.service.mjs +4 -4
- package/esm2022/lib/i8n.module.mjs +5 -5
- package/esm2022/lib/injector-resolver.mjs +28 -0
- package/esm2022/lib/local-storage.service.mjs +4 -4
- package/esm2022/lib/media-service.mjs +49 -0
- package/esm2022/lib/order.service.mjs +19 -4
- package/esm2022/lib/payment/modes/payment-modes.component.mjs +35 -0
- package/esm2022/lib/payment/modes/payment-modes.module.mjs +24 -0
- package/esm2022/lib/payment/payment.module.mjs +26 -0
- package/esm2022/lib/paytm.service.mjs +131 -0
- package/esm2022/lib/phone-input/phone-input.component.mjs +50 -46
- package/esm2022/lib/phone-input/phone-input.module.mjs +5 -5
- package/esm2022/lib/pipes/autolink/autolink.module.mjs +20 -0
- package/esm2022/lib/pipes/autolink/autolink.pipe.mjs +4 -4
- package/esm2022/lib/pipes/capitalize/capitalize.module.mjs +5 -5
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +4 -4
- package/esm2022/lib/pipes/date-format/date-format.module.mjs +19 -0
- package/esm2022/lib/pipes/date-format/date-format.pipe.mjs +42 -0
- package/esm2022/lib/pipes/filter/filter.pipe.mjs +4 -4
- package/esm2022/lib/pipes/limit-to/limitTo.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html/safehtml.module.mjs +5 -5
- package/esm2022/lib/pipes/safe-html/safehtml.pipe.mjs +4 -4
- package/esm2022/lib/project-constants.mjs +310 -0
- package/esm2022/lib/questionaire/edit/questionnaire.component.mjs +53 -63
- package/esm2022/lib/questionaire/edit/questionnaire.module.mjs +16 -15
- package/esm2022/lib/questionaire/questionaire-service.mjs +4 -4
- package/esm2022/lib/razorpay.service.mjs +157 -0
- package/esm2022/lib/request-dialog/request-dialog.component.mjs +29 -0
- package/esm2022/lib/request-dialog/request-dialog.module.mjs +24 -0
- package/esm2022/lib/service-meta.mjs +4 -4
- package/esm2022/lib/session-storage.service.mjs +4 -4
- package/esm2022/lib/shared-account.guard.mjs +41 -0
- package/esm2022/lib/shared-account.resolver.mjs +22 -0
- package/esm2022/lib/shared.service.mjs +88 -13
- package/esm2022/lib/showuploadfile/showuploadfile.component.mjs +5 -5
- package/esm2022/lib/showuploadfile/showuploadfile.module.mjs +5 -5
- package/esm2022/lib/skeleton/skeleton-loading.component.mjs +4 -4
- package/esm2022/lib/skeleton/skeleton-loading.module.mjs +5 -5
- package/esm2022/lib/spinner/loading-spinner.component.mjs +4 -4
- package/esm2022/lib/spinner/loading-spinner.module.mjs +5 -5
- package/esm2022/lib/storage.service.mjs +4 -4
- package/esm2022/lib/subscription.service.mjs +4 -4
- package/esm2022/lib/theme.service.mjs +30 -0
- package/esm2022/lib/timezone-converter.mjs +49 -0
- package/esm2022/lib/toast.service.mjs +5 -5
- package/esm2022/lib/twilio-service.mjs +466 -0
- package/esm2022/lib/word-processor.service.mjs +4 -4
- package/esm2022/public-api.mjs +32 -1
- package/fesm2022/jconsumer-shared.mjs +3981 -541
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-1.0.1.tgz +0 -0
- package/lib/account-service.d.ts +41 -2
- package/lib/auth-service.d.ts +1 -0
- package/lib/booking-service.d.ts +101 -0
- package/lib/common.service.d.ts +12 -1
- package/lib/confirm/confirm-box.component.d.ts +43 -0
- package/lib/confirm/confirm-box.module.d.ts +16 -0
- package/lib/consumer-service.d.ts +178 -0
- package/lib/currency-service.d.ts +4 -0
- package/lib/environment.service.d.ts +9 -0
- package/lib/error-message.module.d.ts +7 -0
- package/lib/file-service.d.ts +5 -2
- package/lib/form-message/field-error-display/field-error-display.component.d.ts +8 -0
- package/lib/form-message/form-message-display.module.d.ts +10 -0
- package/lib/form-message/form-message-display.service.d.ts +13 -0
- package/lib/form-message/form-success-display/form-success-display.component.d.ts +7 -0
- package/lib/injector-resolver.d.ts +2 -0
- package/lib/media-service.d.ts +9 -0
- package/lib/order.service.d.ts +4 -0
- package/lib/payment/modes/payment-modes.component.d.ts +15 -0
- package/lib/payment/modes/payment-modes.module.d.ts +9 -0
- package/lib/payment/payment.module.d.ts +7 -0
- package/lib/paytm.service.d.ts +13 -0
- package/lib/phone-input/phone-input.component.d.ts +5 -3
- package/lib/pipes/autolink/autolink.module.d.ts +8 -0
- package/lib/pipes/date-format/date-format.module.d.ts +8 -0
- package/lib/pipes/date-format/date-format.pipe.d.ts +12 -0
- package/lib/project-constants.d.ts +227 -0
- package/lib/questionaire/edit/questionnaire.component.d.ts +8 -9
- package/lib/questionaire/edit/questionnaire.module.d.ts +9 -8
- package/lib/razorpay.service.d.ts +26 -0
- package/lib/request-dialog/request-dialog.component.d.ts +11 -0
- package/lib/request-dialog/request-dialog.module.d.ts +9 -0
- package/lib/shared-account.guard.d.ts +11 -0
- package/lib/shared-account.resolver.d.ts +10 -0
- package/lib/shared.service.d.ts +31 -4
- package/lib/theme.service.d.ts +10 -0
- package/lib/timezone-converter.d.ts +8 -0
- package/lib/twilio-service.d.ts +60 -0
- package/package.json +1 -1
- package/public-api.d.ts +31 -0
- package/jconsumer-shared-0.0.3.tgz +0 -0
|
Binary file
|
package/lib/account-service.d.ts
CHANGED
|
@@ -1,9 +1,48 @@
|
|
|
1
|
+
import { Meta, Title } from '@angular/platform-browser';
|
|
2
|
+
import { SharedService } from './shared.service';
|
|
3
|
+
import { ServiceMeta } from './service-meta';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
5
|
export declare class AccountService {
|
|
3
|
-
|
|
4
|
-
|
|
6
|
+
private titleService;
|
|
7
|
+
private metaService;
|
|
8
|
+
private serviceMeta;
|
|
9
|
+
private sharedService;
|
|
10
|
+
accountConfig: any;
|
|
11
|
+
activeLocation: any;
|
|
12
|
+
accountLocations: any;
|
|
13
|
+
activeStore: any;
|
|
14
|
+
stores: any;
|
|
15
|
+
constructor(titleService: Title, metaService: Meta, serviceMeta: ServiceMeta, sharedService: SharedService);
|
|
5
16
|
setActiveStore(store: any): void;
|
|
6
17
|
getActiveStore(): any;
|
|
18
|
+
getAccountConfig(): any;
|
|
19
|
+
setStores(stores: any): void;
|
|
20
|
+
getStores(): any;
|
|
21
|
+
setActiveLocation(location: any): void;
|
|
22
|
+
getActiveLocation(): any;
|
|
23
|
+
setAccountLocations(locations: any): void;
|
|
24
|
+
getAccountLocations(): any;
|
|
25
|
+
/**
|
|
26
|
+
* Method which returns the Jsons
|
|
27
|
+
* @param accountUniqueId The Unique Id which represents S3 Bucket for a particular Account
|
|
28
|
+
* @param listOfUrlTypes Type of the Url eg. services, businessProfile etc.
|
|
29
|
+
* @returns { "services": 'services.json', "businessProfile": businessprofile.json}
|
|
30
|
+
*/
|
|
31
|
+
getJsonsbyTypes(accountUniqueId: any, userId: any, listOfUrlTypes: any): import("rxjs").Observable<ArrayBuffer>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param jsonStr_Obj
|
|
35
|
+
*/
|
|
36
|
+
getJson(jsonStr_Obj: any): any;
|
|
37
|
+
setIcon(url: any): void;
|
|
38
|
+
getAccountInfoById(): Promise<unknown>;
|
|
39
|
+
getAccountInfoPromise(): Promise<unknown>;
|
|
40
|
+
getAccountConfiguration(): Promise<unknown>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
getUIAccountConfig(): import("rxjs").Observable<ArrayBuffer>;
|
|
45
|
+
getUserInformation(uniqueId: any, userId: any): Promise<unknown>;
|
|
7
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, never>;
|
|
8
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
|
9
48
|
}
|
package/lib/auth-service.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare class AuthService {
|
|
|
38
38
|
goThroughLogin(): Promise<unknown>;
|
|
39
39
|
shareOTPforForm(uuid: string): Observable<ArrayBuffer>;
|
|
40
40
|
verifyOTPforForm(otp: string, uuid: string): Observable<ArrayBuffer>;
|
|
41
|
+
isLoggedIn(): boolean;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
42
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
43
44
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { ServiceMeta } from "./service-meta";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BookingService {
|
|
5
|
+
private serviceMeta;
|
|
6
|
+
private dialog;
|
|
7
|
+
services: any;
|
|
8
|
+
activeServices: any;
|
|
9
|
+
selectedApptsTime: any;
|
|
10
|
+
bookingDate: any;
|
|
11
|
+
constructor(serviceMeta: ServiceMeta, dialog: MatDialog);
|
|
12
|
+
getServices(): any;
|
|
13
|
+
setServices(services: any): void;
|
|
14
|
+
setActiveServices(services: any): void;
|
|
15
|
+
getActiveServices(): any;
|
|
16
|
+
setBookingDate(bookingDate: any): void;
|
|
17
|
+
getBookingDate(): any;
|
|
18
|
+
getTimings(): any;
|
|
19
|
+
setTimings(selectedApptsTime: any): void;
|
|
20
|
+
doCancelWaitlist(waitlist: any, type: any, theme_data: any, cthis?: any): Promise<unknown>;
|
|
21
|
+
cancelWaitlist(id: any, provider_id: any, type: any, result?: any): Promise<unknown>;
|
|
22
|
+
deleteWaitlist(id: any, params: any, type: any, result?: any): import("rxjs").Observable<{}>;
|
|
23
|
+
/**
|
|
24
|
+
* Cancel a Booking (Waitlist/Appointment/Order)
|
|
25
|
+
* @param bookingId Booking Id
|
|
26
|
+
* @param params accountId
|
|
27
|
+
* @param type order/checkin/appointment
|
|
28
|
+
* @returns true if success
|
|
29
|
+
*/
|
|
30
|
+
cancelBookingAPI(bookingId: any, params: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
31
|
+
/**
|
|
32
|
+
* To get all the checkin services of a particular location
|
|
33
|
+
* @param locationId location id
|
|
34
|
+
* @returns Promise of services
|
|
35
|
+
*/
|
|
36
|
+
getCheckinServices(locationId: any): Promise<unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* To get all the appointent services of a particular location
|
|
39
|
+
* @param locid location id
|
|
40
|
+
* @returns services
|
|
41
|
+
*/
|
|
42
|
+
getServicesforAppontmntByLocationId(locid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
43
|
+
/**
|
|
44
|
+
* To get all the appointment services of a particular location
|
|
45
|
+
* @param locationId location id
|
|
46
|
+
* @returns Promise of services
|
|
47
|
+
*/
|
|
48
|
+
getAppointmentServices(locationId: any): Promise<unknown>;
|
|
49
|
+
sortBookings(bookings: any): void;
|
|
50
|
+
getAppointmentRequests(accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
51
|
+
getWaitlist(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
52
|
+
getFutureWaitlist(filter?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
53
|
+
getAppointmentToday(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
54
|
+
getAppointmentFuture(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
55
|
+
getWaitlistHistory(params?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
56
|
+
getAppointmentHistory(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
57
|
+
getAppointmentHistoryCount(): import("rxjs").Observable<ArrayBuffer>;
|
|
58
|
+
getAppointmentAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
59
|
+
getConsumerAppointmentAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
60
|
+
getWaitlistAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
61
|
+
getConsumerWaitlistAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
62
|
+
removeBooking(id: string, bookingType: string, accountID: any, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
63
|
+
getVirtualServiceInput(selectedService: any, callingModes: any, commObj: any): {};
|
|
64
|
+
getServicesByDepartment(selectedDeptId: any): any;
|
|
65
|
+
getServicesByUser(selectedUserId: any): any;
|
|
66
|
+
getGlobalServices(deptId?: any): any[];
|
|
67
|
+
getAppointmentByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
68
|
+
getServicesByLocationId(locid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
69
|
+
getLocationsByServiceId(serviceId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
70
|
+
getWaitlistServices(locationId: any): Promise<unknown>;
|
|
71
|
+
getAvailableDatessByLocationService(locid: any, servid: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
72
|
+
getServicebyLocationId(locationId: any): Promise<unknown>;
|
|
73
|
+
/**
|
|
74
|
+
* returns Available dates for calendar
|
|
75
|
+
* @param locid location id
|
|
76
|
+
* @param servid service id
|
|
77
|
+
* @param accountid account id
|
|
78
|
+
*/
|
|
79
|
+
getSchedulesbyLocationandServiceIdavailability(locid: any, servid: any, accountid: any): Promise<unknown>;
|
|
80
|
+
getQueuesbyLocationandServiceIdavailability(locid: any, servid: any, accountid: any): any[];
|
|
81
|
+
getQueuesbyLocationandServiceIdAvailableDates(locid: any, servid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
82
|
+
validateVirtualCallInfo(callingModes: any, selectedService: any, commObj: any): boolean;
|
|
83
|
+
getRescheduledInfo(bookingId: any, accountId: any, bookingMode: any): Promise<unknown>;
|
|
84
|
+
addApptAdvancePayment(param: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
85
|
+
addWaitlistAdvancePayment(param: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
86
|
+
getCheckinByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
87
|
+
getSlotsByLocationServiceandDate(locid: any, servid: any, pdate: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @param locid Location Id
|
|
91
|
+
* @returns services of location
|
|
92
|
+
*/
|
|
93
|
+
getQueuesbyLocationServiceAndDate(locid: any, servid: any, pdate: any, accountid: any): Promise<unknown>;
|
|
94
|
+
getQueuesbyLocationandServiceId(locid: any, servid: any, pdate?: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
95
|
+
getConvenientFeeOfProvider(provid: any, data?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
96
|
+
getApptCoupons(servId: any, locId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
97
|
+
getCheckinCoupons(servId: any, locId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
98
|
+
getServiceById(serviceId: any, type: any): any;
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BookingService, never>;
|
|
100
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BookingService>;
|
|
101
|
+
}
|
package/lib/common.service.d.ts
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
import { SharedService } from './shared.service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CommonService {
|
|
3
|
-
|
|
4
|
+
private sharedService;
|
|
5
|
+
constructor(sharedService: SharedService);
|
|
4
6
|
groupBy(xs: any, key: any): any;
|
|
7
|
+
isValid(evt: any): boolean;
|
|
8
|
+
isNumericwithoutdot(evt: any): boolean;
|
|
9
|
+
isNumber(evt: any): boolean;
|
|
5
10
|
isNumeric(evt: any): boolean;
|
|
11
|
+
isNumericSign(evt: any): boolean;
|
|
6
12
|
showlogoicon(logo: any): any;
|
|
13
|
+
getDistanceFromLatLonInKm(lat1: any, lon1: any, lat2: any, lon2: any): number;
|
|
14
|
+
deg2rad(deg: any): number;
|
|
15
|
+
getCurrentLocation(): Promise<unknown>;
|
|
16
|
+
sortVfields(dataF: any): any;
|
|
17
|
+
b64toBlobforSign(b64Data: any): Blob;
|
|
7
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
|
|
8
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
9
20
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { FormMessageDisplayService } from '../form-message/form-message-display.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ConfirmBoxComponent implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<ConfirmBoxComponent>;
|
|
8
|
+
data: any;
|
|
9
|
+
private formBuilder;
|
|
10
|
+
fed_service: FormMessageDisplayService;
|
|
11
|
+
ok_btn_cap: any;
|
|
12
|
+
cancel_btn_cap: any;
|
|
13
|
+
newDateFormat: string;
|
|
14
|
+
send_message_cap: any;
|
|
15
|
+
select_reason_cap: any;
|
|
16
|
+
messgae_cap: any;
|
|
17
|
+
amForm: FormGroup;
|
|
18
|
+
api_error: any;
|
|
19
|
+
api_success: any;
|
|
20
|
+
cancel_reasonobj: any;
|
|
21
|
+
cancel_reason: string;
|
|
22
|
+
cancel_reason_key: string;
|
|
23
|
+
default_message_arr: any;
|
|
24
|
+
def_msg: string;
|
|
25
|
+
deptName: any;
|
|
26
|
+
showError: boolean;
|
|
27
|
+
okCancelBtn: boolean;
|
|
28
|
+
cancel_reasons: any;
|
|
29
|
+
rep_username: string;
|
|
30
|
+
rep_service: string;
|
|
31
|
+
rep_date: string;
|
|
32
|
+
rep_time: string;
|
|
33
|
+
rep_provname: string;
|
|
34
|
+
constructor(dialogRef: MatDialogRef<ConfirmBoxComponent>, data: any, formBuilder: FormBuilder, fed_service: FormMessageDisplayService);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
onClick(data: any): void;
|
|
37
|
+
selectReason(cancel_reason: any): void;
|
|
38
|
+
replacedMessage(): string;
|
|
39
|
+
resetApiErrors(): void;
|
|
40
|
+
onSubmit(form_data: any): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmBoxComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmBoxComponent, "app-confirm-box", never, {}, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./confirm-box.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "primeng/accordion";
|
|
7
|
+
import * as i6 from "@angular/material/chips";
|
|
8
|
+
import * as i7 from "@angular/material/checkbox";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "../form-message/form-message-display.module";
|
|
11
|
+
import * as i10 from "primeng/inputtextarea";
|
|
12
|
+
export declare class ConfirmBoxModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmBoxModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmBoxModule, [typeof i1.ConfirmBoxComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.FormsModule, typeof i5.AccordionModule, typeof i6.MatChipsModule, typeof i7.MatCheckboxModule, typeof i8.MatButtonModule, typeof i9.FormMessageDisplayModule, typeof i4.ReactiveFormsModule, typeof i10.InputTextareaModule], [typeof i1.ConfirmBoxComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmBoxModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ServiceMeta } from "./service-meta";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ConsumerService {
|
|
4
|
+
private servicemeta;
|
|
5
|
+
orderdata: any;
|
|
6
|
+
constructor(servicemeta: ServiceMeta);
|
|
7
|
+
setOrderDetails(data: any): void;
|
|
8
|
+
getOrderDetails(): any;
|
|
9
|
+
getProviderConsumer(): import("rxjs").Observable<ArrayBuffer>;
|
|
10
|
+
updateSPConsumer(post_data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
11
|
+
getFavProvider(): import("rxjs").Observable<ArrayBuffer>;
|
|
12
|
+
removeProviderfromFavourite(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
13
|
+
doDeleteFavProvider(fav: any, cthis?: any): Promise<unknown>;
|
|
14
|
+
deleteFavProvider(id: any): Promise<unknown>;
|
|
15
|
+
addProvidertoFavourite(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
16
|
+
changePasswordProfile(data: any, origin?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
17
|
+
consumertelegramChat(countryCode: any, loginId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
18
|
+
getConsumerRateService(params: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
19
|
+
updateConsumerRateService(params: any, data: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
20
|
+
postConsumerRateService(params: any, data: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
21
|
+
getWaitlist(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
22
|
+
getWaitlistFuture(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
23
|
+
addConsumerWaitlistAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
24
|
+
addWaitlistAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
25
|
+
getConsumerWaitlistAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
26
|
+
getWaitlistToday(): import("rxjs").Observable<ArrayBuffer>;
|
|
27
|
+
getAppointmentFuture(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
28
|
+
getApptlist(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
29
|
+
getAppointmentToday(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
30
|
+
addConsumerAppointmentAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
31
|
+
addAppointmentAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
32
|
+
getConsumerAppointmentAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
33
|
+
getConsumerFutOrders(): import("rxjs").Observable<ArrayBuffer>;
|
|
34
|
+
getConsumerOrders(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
35
|
+
getConsumerDonations(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
36
|
+
getConsumerWaitlistMeetingDetails(uuid: any, mode: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
37
|
+
getConsumerApptMeetingDetails(uuid: any, mode: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
38
|
+
getProfile(consumerId: any): Promise<unknown>;
|
|
39
|
+
getTelegramstat(): import("rxjs").Observable<ArrayBuffer>;
|
|
40
|
+
enableTelegramNoti(status: any): import("rxjs").Observable<ArrayBuffer>;
|
|
41
|
+
getMyProfile(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
42
|
+
updateProfile(data: any, origin: any): import("rxjs").Observable<ArrayBuffer>;
|
|
43
|
+
updateSPConsumerProfile(data: any, origin: any): import("rxjs").Observable<ArrayBuffer>;
|
|
44
|
+
addMembers(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
45
|
+
editMember(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
46
|
+
getConsumerPayments(filter?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
47
|
+
getOrderByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
48
|
+
getCheckinByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
49
|
+
getAppointmentByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
50
|
+
getConsumerDonationByUid(uid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
51
|
+
getConsumerPaymentById(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
52
|
+
getMembers(providerCustomerID: any): import("rxjs").Observable<ArrayBuffer>;
|
|
53
|
+
deleteMember(memberId: any, parentID: any): import("rxjs").Observable<ArrayBuffer>;
|
|
54
|
+
getWaitlistHistory(params?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
55
|
+
getHistoryWaitlistCount(params?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
56
|
+
getWaitlistBill(params: any, uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
57
|
+
getPaymentDetail(params: any, uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
58
|
+
getAppointmentHistory(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
59
|
+
getAppointmentHistoryCount(): import("rxjs").Observable<ArrayBuffer>;
|
|
60
|
+
getOrderHistory(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
61
|
+
getPaymentModesofProvider(provid: any, serviceId: any, purpose?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
62
|
+
consumerPayment(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
63
|
+
consumerPayment_invocie(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
64
|
+
applyCoupon(jCouponCode: any, checkinId: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
65
|
+
getConsumerCommunications(provider_id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
66
|
+
getWtlistHistory(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
67
|
+
getWaitlistQuestionnaireByUid(uid: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
68
|
+
getApptHistory(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
69
|
+
getApptQuestionnaireByUid(uid: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
70
|
+
getAppointmentDetail(uuid: any, params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
71
|
+
getJaldeeCashandJcredit(): import("rxjs").Observable<ArrayBuffer>;
|
|
72
|
+
getRemainingPrepaymentAmount(jcash?: any, jcredit?: any, advanceamount?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
73
|
+
PayByJaldeewallet(postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
74
|
+
getWaitlistDetail(uuid: any, params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
75
|
+
generateDonationLink(accountid: any, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
76
|
+
addCustomerDonation(postData: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
77
|
+
getDonationLinkUuid(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
78
|
+
addConsumerWaitlistNote(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
79
|
+
getDonationQuestionnaire(serviceId: any, account_id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
80
|
+
submitDonationQuestionnaire(uuid: any, body: any, account_id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
81
|
+
consumerDonationQnrUploadStatusUpdate(uid: any, account: any, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
82
|
+
validateConsumerQuestionnaire(body: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
83
|
+
validateConsumerOneTimeQuestionnaire(body: any, accountId: any, providerConsumerId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
84
|
+
getProviderCustomerOnetimeInfo(providerConsumerID: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
85
|
+
submitCustomerOnetimeInfo(body: any, userId: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
86
|
+
submitConsumerApptServiceOption(body: any, uuid: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
87
|
+
rescheduleConsumerApptmnt(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
88
|
+
addCustomerAppointment(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
89
|
+
getConvenientFeeOfProvider(provid: any, data?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
90
|
+
addApptAdvancePayment(param: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
91
|
+
getConsumerQuestionnaire(serviceId: any, consumerId: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
92
|
+
getServiceoptionsAppt(servid: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
93
|
+
getAppointmentReschedulePricelist(serviceid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
94
|
+
getSlotsByLocationServiceandDate(locid: any, servid: any, pdate: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
95
|
+
getAvailableDatessByLocationService(locid: any, servid: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
96
|
+
getServicesforAppontmntByLocationId(locid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
97
|
+
rescheduleConsumerWaitlist(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
98
|
+
getQueuesbyLocationandServiceIdAvailableDates(locid: any, servid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
99
|
+
addCheckin(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
100
|
+
submitConsumerWaitlistServiceOption(body: any, uuid: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
101
|
+
getPartysizeDetails(domain: any, subdomain: any): import("rxjs").Observable<ArrayBuffer>;
|
|
102
|
+
addWaitlistAdvancePayment(param: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
103
|
+
getServiceoptionsWaitlist(servid: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
104
|
+
getQueuesbyLocationandServiceId(locid: any, servid: any, pdate?: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
105
|
+
getServicesByLocationId(locid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
106
|
+
getOrderQuestionnaireByUid(uid: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
107
|
+
getStoreContact(accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
108
|
+
getConsumerCatalogs(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
109
|
+
getAvailableDatesForHome(catalogid: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
110
|
+
getAvailableDatesForPickup(catalogid: any, accountid?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
111
|
+
updateConsumeraddress(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
112
|
+
CreateConsumerOrder(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
113
|
+
CreateConsumerEmail(uuid: any, accountid: any, post_Data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
114
|
+
getConsumerOrderQuestionnaire(catelogId: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
115
|
+
getConsumeraddress(): import("rxjs").Observable<ArrayBuffer>;
|
|
116
|
+
getCartdetails(accountid: any, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
117
|
+
getUserApptTime(prov_arr: any): import("rxjs").Observable<ArrayBuffer>;
|
|
118
|
+
getOrderSettings(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
119
|
+
addConsumertoProviderNote(message: any, filter: any): import("rxjs").Observable<ArrayBuffer>;
|
|
120
|
+
telegramChat(countryCode: any, phNumber: any): import("rxjs").Observable<ArrayBuffer>;
|
|
121
|
+
getMembership(accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
122
|
+
addConsumerAppointmentNote(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
123
|
+
addConsumerOrderNote(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
124
|
+
addConsumerOrderNotecomm(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
125
|
+
addConsumerDonationNote(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
126
|
+
deactiveAccount(user: any): import("rxjs").Observable<ArrayBuffer>;
|
|
127
|
+
getCatalogById(catalogs: any, catalogId: any): any;
|
|
128
|
+
getCatalogItemById(catalog: any, catalogItemId: any): any;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @param orders
|
|
132
|
+
* @param item
|
|
133
|
+
* @returns
|
|
134
|
+
*/
|
|
135
|
+
getItemQty(orders: any, itemId: any): number;
|
|
136
|
+
getApptRequestList(accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
137
|
+
postAppointmentRequest(accountid: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
138
|
+
getPrescriptions(): import("rxjs").Observable<ArrayBuffer>;
|
|
139
|
+
submitItemOptions(itemId: any, orderId: any, accountId: any, postData: any): import("rxjs").Observable<ArrayBuffer>;
|
|
140
|
+
getServiceoptionsOrder(itemId: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
141
|
+
removeProfilePhoto(consumerId: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
142
|
+
addProfilePhoto(customerId: number, post_data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
143
|
+
getDocument(): import("rxjs").Observable<ArrayBuffer>;
|
|
144
|
+
getItemsListWithItemOptions(catalogId: any, account: any): import("rxjs").Observable<ArrayBuffer>;
|
|
145
|
+
videoaudioS3Upload(url: any, file: any): import("rxjs").Observable<ArrayBuffer>;
|
|
146
|
+
getApptCoupons(servId: any, locId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
147
|
+
getCheckinCoupons(servId: any, locId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
148
|
+
getCheckinbyEncId(encId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
149
|
+
getApptbyEncId(encId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
150
|
+
getOrderbyEncId(encId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
151
|
+
getSorderbyEncId(encId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
152
|
+
getIvrQuestionnaireByUid(uid: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
153
|
+
getivrByConsumerUUID(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
154
|
+
Paymentlinkcheck(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
155
|
+
getIdTerminologies(domain: any, subDomain: any): import("rxjs").Observable<ArrayBuffer>;
|
|
156
|
+
linkPayment_invoic(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
157
|
+
linkSoPayment_invoic(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
158
|
+
getInvoiceDetailsById(accId: any, uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
159
|
+
getSoInvoiceDetailsById(accId: any, uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
160
|
+
uploadFilesToS3(data: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
161
|
+
videoaudioS3UploadStatusUpdate(status: any, id: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
162
|
+
getApptBill(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
163
|
+
getWaitBill(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
164
|
+
getInvoiceDetailsByuuid(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
165
|
+
getInvoice(accountId: any, invoiceUid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
166
|
+
getConsentForm(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
167
|
+
getconsentFormQuestionaire(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
168
|
+
submitQuestionnaire(body: any, uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
169
|
+
verifySign(uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
170
|
+
verifyQnr(uuid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
171
|
+
isProviderReady(post_data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
172
|
+
updateAnalytics(body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
173
|
+
getUsersByLocation(locationId: any, uniqueId: any, listOfUrls: any): import("rxjs").Observable<ArrayBuffer>;
|
|
174
|
+
getInbox(usertype: any): import("rxjs").Observable<ArrayBuffer>;
|
|
175
|
+
readProviderMessages(providerId: any, messageIds: any, accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConsumerService, never>;
|
|
177
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConsumerService>;
|
|
178
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class EnvironmentService {
|
|
3
|
+
constructor();
|
|
4
|
+
private environment;
|
|
5
|
+
setEnvironment(environment: any): void;
|
|
6
|
+
getEnvironment(key: string): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class ErrrorMessageModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrrorMessageModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrrorMessageModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ErrrorMessageModule>;
|
|
7
|
+
}
|
package/lib/file-service.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { SharedService } from './shared.service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class FileService {
|
|
4
|
+
private sharedService;
|
|
3
5
|
IMAGE_FORMATS: string[];
|
|
4
6
|
FILETYPES_UPLOAD: string[];
|
|
7
|
+
cdnPath: string;
|
|
5
8
|
imageSize: number;
|
|
6
9
|
FILE_MAX_SIZE: number;
|
|
7
|
-
constructor();
|
|
10
|
+
constructor(sharedService: SharedService);
|
|
8
11
|
/**
|
|
9
12
|
* Method returns supported formats of files which has to be uploaded
|
|
10
13
|
* @param source image/file
|
|
@@ -18,7 +21,7 @@ export declare class FileService {
|
|
|
18
21
|
getMaximumImageSize(): number;
|
|
19
22
|
imageValidation(file: any, source?: any): any;
|
|
20
23
|
getImage(url: any, fileObj: any): any;
|
|
21
|
-
getImageByType(type: any):
|
|
24
|
+
getImageByType(type: any): string;
|
|
22
25
|
filesSelected(event: any, selectedMessage: any): Promise<unknown>;
|
|
23
26
|
filessSelected(event: any, selectedMessage: any): Promise<unknown>;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FieldErrorDisplayComponent {
|
|
3
|
+
errorMsg: string | undefined;
|
|
4
|
+
displayError: boolean | undefined;
|
|
5
|
+
errorMsgs: string | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldErrorDisplayComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldErrorDisplayComponent, "app-field-error-display", never, { "errorMsg": { "alias": "errorMsg"; "required": false; }; "displayError": { "alias": "displayError"; "required": false; }; "errorMsgs": { "alias": "errorMsgs"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./field-error-display/field-error-display.component";
|
|
3
|
+
import * as i2 from "./form-success-display/form-success-display.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
export declare class FormMessageDisplayModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormMessageDisplayModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormMessageDisplayModule, [typeof i1.FieldErrorDisplayComponent, typeof i2.FormSuccessDisplayComponent], [typeof i3.CommonModule, typeof i4.RouterModule], [typeof i1.FieldErrorDisplayComponent, typeof i2.FormSuccessDisplayComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormMessageDisplayModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormMessageDisplayService {
|
|
4
|
+
isFieldValid(form: any, field: string): any;
|
|
5
|
+
displayFieldCss(form: UntypedFormGroup, field: string): {
|
|
6
|
+
'has-error': any;
|
|
7
|
+
'has-feedback': any;
|
|
8
|
+
};
|
|
9
|
+
validateAllFormFields(formGroup: UntypedFormGroup): void;
|
|
10
|
+
getErrorMessage(form: any, field: string, errorMsgs: any): any;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormMessageDisplayService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormMessageDisplayService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormSuccessDisplayComponent {
|
|
3
|
+
successMsg: string | undefined;
|
|
4
|
+
displayMsg: boolean | undefined;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormSuccessDisplayComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormSuccessDisplayComponent, "app-form-success-display", never, { "successMsg": { "alias": "successMsg"; "required": false; }; "displayMsg": { "alias": "displayMsg"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ServiceMeta } from "./service-meta";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MediaService {
|
|
4
|
+
private serviceMeta;
|
|
5
|
+
constructor(serviceMeta: ServiceMeta);
|
|
6
|
+
getMediaDevices(): Promise<unknown>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
|
|
9
|
+
}
|
package/lib/order.service.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export declare class OrderService {
|
|
|
28
28
|
searchSpItem(accountId: any, value: any): import("rxjs").Observable<ArrayBuffer>;
|
|
29
29
|
getQnrOrder(itemId: string): import("rxjs").Observable<ArrayBuffer>;
|
|
30
30
|
submitQnrOrder(body: any, uuid: string): import("rxjs").Observable<ArrayBuffer>;
|
|
31
|
+
getShipmentDetails(orderId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
32
|
+
getInvoiceByOrderYnwuuid(accountId: any, orderUid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
33
|
+
getOrders(filter: any): import("rxjs").Observable<ArrayBuffer>;
|
|
34
|
+
getRequireOTPForAddingToCart(accountId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
|
|
32
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
|
|
33
37
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { SharedService } from '../../shared.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaymentModesComponent implements OnInit {
|
|
5
|
+
private sharedService;
|
|
6
|
+
cashPay: any;
|
|
7
|
+
paymentModes: any;
|
|
8
|
+
modeSelected: EventEmitter<any>;
|
|
9
|
+
constructor(sharedService: SharedService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
getImageSrc(mode: any): string;
|
|
12
|
+
paymentModeSelected(event: any): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentModesComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentModesComponent, "app-payment-modes", never, { "cashPay": { "alias": "cashPay"; "required": false; }; "paymentModes": { "alias": "paymentModes"; "required": false; }; }, { "modeSelected": "modeSelected"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./payment-modes.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/radio";
|
|
5
|
+
export declare class PaymentModesModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentModesModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentModesModule, [typeof i1.PaymentModesComponent], [typeof i2.CommonModule, typeof i3.MatRadioModule], [typeof i1.PaymentModesComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PaymentModesModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class PaymentsModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentsModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentsModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PaymentsModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceMeta } from "./service-meta";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PaytmService {
|
|
4
|
+
private servicemeta;
|
|
5
|
+
paymentModes: string[];
|
|
6
|
+
constructor(servicemeta: ServiceMeta);
|
|
7
|
+
initializePayment(pData: any, accountId: any, referrer: any): void;
|
|
8
|
+
loadPayTMScript(pData: any, isfrom: any): HTMLScriptElement;
|
|
9
|
+
updateResult(payload: any, accountId?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
10
|
+
updatePaytmPay(payload: any, accountId?: any): Promise<unknown>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaytmService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaytmService>;
|
|
13
|
+
}
|