@fiado/type-kit 1.0.50 → 1.0.52

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,4 +1,8 @@
1
1
  import { AddressResponse } from "./AddressResponse";
2
+ import { OfficeDetails } from "./OfficeDetails";
2
3
  export declare type AddressShippingCardResponse = {
3
- addresses: AddressResponse[];
4
+ addresses: {
5
+ address: AddressResponse;
6
+ closeOffice: OfficeDetails;
7
+ };
4
8
  };
@@ -3,10 +3,26 @@ export type OfficeDetails = {
3
3
  code: string;
4
4
  name: string;
5
5
  ownerName: string;
6
- fullAddress: string;
6
+ fullAddress: AddressDetail;
7
7
  latitude: string;
8
8
  longitude: string;
9
9
  distance: number;
10
10
  phoneNumber: string;
11
11
  OperationSchedule: OperationSchedule[];
12
12
  };
13
+ export type AddressDetail = {
14
+ fullAddress: string;
15
+ address1: string;
16
+ address2: string;
17
+ city: string;
18
+ neighorhood: string;
19
+ state: string;
20
+ zipCode: string;
21
+ reference: string;
22
+ betweenRoadName1: string;
23
+ betweenRoadName2: string;
24
+ externalNumber: string;
25
+ internalNumber: string;
26
+ roadTypeCode: string;
27
+ roadTypeAbbName: string;
28
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,6 +1,11 @@
1
1
  import { AddressResponse } from "./AddressResponse";
2
+ import { OfficeDetails } from "./OfficeDetails";
2
3
 
3
4
 
4
5
  export declare type AddressShippingCardResponse = {
5
- addresses: AddressResponse[];
6
+ addresses:
7
+ {
8
+ address:AddressResponse,
9
+ closeOffice:OfficeDetails
10
+ }
6
11
  };
@@ -1,15 +1,32 @@
1
1
  import { OperationSchedule } from "./OperationSchedule"
2
2
 
3
3
 
4
-
5
4
  export type OfficeDetails = {
6
- code:string
7
- name:string
8
- ownerName:string
9
- fullAddress:string
5
+ code: string
6
+ name: string
7
+ ownerName: string
8
+ fullAddress: AddressDetail
10
9
  latitude: string
11
10
  longitude: string
12
11
  distance: number
13
- phoneNumber:string
12
+ phoneNumber: string
14
13
  OperationSchedule: OperationSchedule[]
14
+ }
15
+
16
+ export type AddressDetail = {
17
+
18
+ fullAddress: string
19
+ address1: string,
20
+ address2: string,
21
+ city: string,
22
+ neighorhood: string,
23
+ state: string,
24
+ zipCode: string,
25
+ reference: string,
26
+ betweenRoadName1: string,
27
+ betweenRoadName2: string,
28
+ externalNumber: string,
29
+ internalNumber: string,
30
+ roadTypeCode: string,
31
+ roadTypeAbbName: string,
15
32
  }