simpo-component-library 2.2.223 → 2.2.225

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.
@@ -1,20 +1,25 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { RestService } from '../../services/rest.service';
3
+ import { EventsService } from '../../services/events.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class PaymentConfirmationComponent {
5
6
  dialogRef: MatDialogRef<PaymentConfirmationComponent>;
6
7
  data: any;
7
8
  private restService;
8
- constructor(dialogRef: MatDialogRef<PaymentConfirmationComponent>, data: any, restService: RestService);
9
+ private _eventService;
10
+ constructor(dialogRef: MatDialogRef<PaymentConfirmationComponent>, data: any, restService: RestService, _eventService: EventsService);
9
11
  propertyDetails: any;
10
12
  sqFeetArea: number;
11
13
  payload: any;
14
+ investorDetails: any;
15
+ tokenRequest: any;
12
16
  ngOnInit(): void;
13
17
  close(): void;
14
18
  addOrRemoveProperty(): void;
15
19
  addSqFeet(): void;
16
20
  removeSqFeet(): void;
17
21
  purchaseProperty(): void;
22
+ getInvestorDetails(): void;
18
23
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentConfirmationComponent, never>;
19
24
  static ɵcmp: i0.ɵɵComponentDeclaration<PaymentConfirmationComponent, "simpo-payment-confirmation", never, {}, {}, never, never, true, never>;
20
25
  }
@@ -0,0 +1,16 @@
1
+ import { RestService } from '../../services/rest.service';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class VerifyPropertyPaymentComponent {
5
+ private restService;
6
+ private router;
7
+ paymentStatus: 'ONGOING' | 'SUCCESS' | 'FAILED';
8
+ private API_COUNT;
9
+ private MAX_API_COUNT;
10
+ constructor(restService: RestService, router: Router);
11
+ ngOnInit(): void;
12
+ checkPaymentStatus(): void;
13
+ redirectToPage(pageUrl: string): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<VerifyPropertyPaymentComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<VerifyPropertyPaymentComponent, "simpo-verify-property-payment", never, {}, {}, never, never, true, never>;
16
+ }
@@ -11,9 +11,11 @@ export declare class RestService implements OnDestroy {
11
11
  private readonly eventService;
12
12
  private BASE_URL;
13
13
  private ECOMMERCE_URL;
14
+ private PAYMENT_URL;
14
15
  private CMIS_URL;
15
16
  private environmentTypeSubscriber;
16
17
  kycDetails: any;
18
+ investorDetail: any;
17
19
  constructor(http: HttpClient, eventService: EventsService);
18
20
  ngOnDestroy(): void;
19
21
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -91,8 +93,9 @@ export declare class RestService implements OnDestroy {
91
93
  verifyPan(request: any): Observable<Object>;
92
94
  sendAadharOtp(request: any): Observable<Object>;
93
95
  verifyAadharOtp(request: any): Observable<Object>;
94
- getInvesterById(): Observable<Object>;
95
- purchaseProperty(payload: any): Observable<Object>;
96
+ getInvesterById(): Observable<any>;
97
+ createPropertyPaymentToken(payload: any): Observable<Object>;
98
+ verifyPropertyPaymentStatus(): Observable<Object>;
96
99
  getKycDetails(): Observable<any>;
97
100
  getFieldsToDisplay(fieldsList: any[]): any;
98
101
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
@@ -222,5 +222,6 @@ export declare const svgData: {
222
222
  };
223
223
  };
224
224
  export declare enum StorageKeys {
225
- INVESTOR_ID = "investorId"
225
+ INVESTOR_ID = "investorId",
226
+ ORDER_ID = "orderId"
226
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.2.223",
3
+ "version": "2.2.225",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -39,6 +39,7 @@ export * from './lib/sections/property-list/property-list.component';
39
39
  export * from './lib/sections/property-detail/property-detail.component';
40
40
  export * from './lib/sections/signup-signin/signup-signin.component';
41
41
  export * from './lib/sections/profile-section/profile-section.component';
42
+ export * from './lib/sections/verify-property-payment/verify-property-payment.component';
42
43
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
43
44
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
44
45
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file