@openbox/shared-types 0.2.16 → 0.2.18

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.
@@ -12,9 +12,9 @@ export interface CustomersBranches {
12
12
  contactName: string;
13
13
  contactInfo: CustomerBranchesContactInfo;
14
14
  address1: string;
15
- address2: string;
16
- zipcode: string;
17
- default: boolean;
15
+ address2?: string;
16
+ zipcode?: string;
17
+ default?: boolean;
18
18
  customer: Customers;
19
19
  city: SystemCities;
20
20
  country: SystemCountries;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesZonesCreateSingleRequest } from '../CreateSingle/Request';
2
- export interface InvoicesZonesCreateManyRequest {
3
- data: InvoicesZonesCreateSingleRequest[];
4
- }
2
+ export type InvoicesZonesCreateManyRequest = Array<InvoicesZonesCreateSingleRequest>;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesZonesResponse } from '../interfaces';
2
- export interface InvoicesZonesGetSingleResponse {
3
- data: InvoicesZonesResponse;
4
- }
2
+ export type InvoicesZonesGetSingleResponse = InvoicesZonesResponse;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesZonesUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export interface InvoicesZonesUpdateManyRequest {
3
- data: InvoicesZonesUpdateSingleRequest[];
4
- }
2
+ export type InvoicesZonesUpdateManyRequest = Array<InvoicesZonesUpdateSingleRequest>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -14,9 +14,9 @@ export interface CustomersBranches {
14
14
  contactName: string
15
15
  contactInfo: CustomerBranchesContactInfo
16
16
  address1: string
17
- address2: string
18
- zipcode: string
19
- default: boolean
17
+ address2?: string
18
+ zipcode?: string
19
+ default?: boolean
20
20
  customer: Customers
21
21
  city: SystemCities
22
22
  country: SystemCountries
@@ -1,5 +1,3 @@
1
1
  import { InvoicesZonesCreateSingleRequest } from '../CreateSingle/Request'
2
2
 
3
- export interface InvoicesZonesCreateManyRequest {
4
- data: InvoicesZonesCreateSingleRequest[]
5
- }
3
+ export type InvoicesZonesCreateManyRequest = Array<InvoicesZonesCreateSingleRequest>
@@ -1,5 +1,3 @@
1
1
  import { InvoicesZonesResponse } from '../interfaces'
2
2
 
3
- export interface InvoicesZonesGetSingleResponse {
4
- data: InvoicesZonesResponse
5
- }
3
+ export type InvoicesZonesGetSingleResponse = InvoicesZonesResponse
@@ -1,5 +1,3 @@
1
1
  import { InvoicesZonesUpdateSingleRequest } from '../UpdateSingle/Request'
2
2
 
3
- export interface InvoicesZonesUpdateManyRequest {
4
- data: InvoicesZonesUpdateSingleRequest[]
5
- }
3
+ export type InvoicesZonesUpdateManyRequest = Array<InvoicesZonesUpdateSingleRequest>