@fiado/type-kit 1.0.51 → 1.0.53

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