simpo-component-library 1.6.57 → 1.6.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ export declare class PincodeLocation {
2
+ name: string | undefined;
3
+ description: string | undefined;
4
+ state: string | undefined;
5
+ country: string | undefined;
6
+ pincode: string | undefined;
7
+ block: string | undefined;
8
+ region: string | undefined;
9
+ division: string | undefined;
10
+ district: string | undefined;
11
+ circle: string | undefined;
12
+ constructor(json?: {
13
+ [key: string]: string;
14
+ });
15
+ }
@@ -0,0 +1,19 @@
1
+ export declare class PinCodeLocationInter {
2
+ postCode: string | undefined;
3
+ country: string | undefined;
4
+ countryAbr: string | undefined;
5
+ places: Places[] | undefined;
6
+ constructor(json?: {
7
+ [key: string]: any;
8
+ });
9
+ }
10
+ export declare class Places {
11
+ placeName: string | undefined;
12
+ longitude: string | undefined;
13
+ latitude: string | undefined;
14
+ state: string | undefined;
15
+ stateAbr: string | undefined;
16
+ constructor(json?: {
17
+ [key: string]: string;
18
+ });
19
+ }
@@ -4,6 +4,7 @@ import { Observable } from "rxjs";
4
4
  import { EventsService } from "../../public-api";
5
5
  import { Review } from "../ecommerce/styles/review.modal";
6
6
  import { DeviceInfo } from "../ecommerce/styles/user.modal";
7
+ import { PincodeLocation } from "../ecommerce/styles/PincodeLocation.model";
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class RestService implements OnDestroy {
9
10
  private readonly http;
@@ -49,6 +50,8 @@ export declare class RestService implements OnDestroy {
49
50
  createPaymentToken(payload: any): Observable<Object>;
50
51
  refundPayment(orderId: string, payload: any): Observable<Object>;
51
52
  checkPaymentStatus(payload: any): Observable<Object>;
53
+ getLocationByPinCode(pincode: string): Observable<PincodeLocation>;
54
+ getLocationByPinCodeInternational(pincode: string): Observable<Object>;
52
55
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
53
56
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.57",
3
+ "version": "1.6.61",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file