@openbox/shared-types 0.1.93 → 0.1.95

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,4 @@
1
1
  export interface CustomerBranchesContactInfo {
2
- phone: string[];
2
+ phones: string[];
3
3
  emails: string[];
4
4
  }
@@ -2,16 +2,12 @@ import { CustomerBranchesCreateSingleRequest } from '../../Branches';
2
2
  export interface CustomersCreateSingleRequest {
3
3
  name: string;
4
4
  shortName: string;
5
- isProvider: boolean;
6
- isCustomer: boolean;
7
5
  dui?: string;
8
6
  nrc?: string;
9
7
  nit?: string;
10
8
  giro?: string;
11
- isActiveCustomer?: boolean;
12
- isActiveProvider?: boolean;
13
- isUsedCustomer?: boolean;
14
- isUsedProvider?: boolean;
9
+ active?: boolean;
10
+ used?: boolean;
15
11
  customerTaxerType: number;
16
12
  personType: number;
17
13
  customerType: number;
@@ -1,2 +1,4 @@
1
1
  export interface InvoicesZonesDeleteSingleResponse {
2
+ id: string;
3
+ message: string;
2
4
  }
@@ -1,2 +1,8 @@
1
1
  export interface InvoicesZonesGetManyRequest {
2
+ limit: number;
3
+ page: number;
4
+ search: string;
5
+ prop: string;
6
+ order: string;
7
+ active: boolean;
2
8
  }
@@ -1,2 +1,8 @@
1
+ export interface InvoicesZonesMany {
2
+ id: string;
3
+ name: string;
4
+ active: boolean;
5
+ }
1
6
  export interface InvoicesZonesGetManyResponse {
7
+ data: InvoicesZonesMany[];
2
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.93",
3
+ "version": "0.1.95",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,4 @@
1
1
  export interface CustomerBranchesContactInfo {
2
- phone: string[]
2
+ phones: string[]
3
3
  emails: string[]
4
4
  }
@@ -3,16 +3,12 @@ import { CustomerBranchesCreateSingleRequest } from '../../Branches'
3
3
  export interface CustomersCreateSingleRequest {
4
4
  name: string
5
5
  shortName: string
6
- isProvider: boolean
7
- isCustomer: boolean
8
6
  dui?: string
9
7
  nrc?: string
10
8
  nit?: string
11
9
  giro?: string
12
- isActiveCustomer?: boolean
13
- isActiveProvider?: boolean
14
- isUsedCustomer?: boolean
15
- isUsedProvider?: boolean
10
+ active?: boolean
11
+ used?: boolean
16
12
  customerTaxerType: number
17
13
  personType: number
18
14
  customerType: number
@@ -1 +1,4 @@
1
- export interface InvoicesZonesDeleteSingleResponse {}
1
+ export interface InvoicesZonesDeleteSingleResponse {
2
+ id: string;
3
+ message: string
4
+ }
@@ -1 +1,8 @@
1
- export interface InvoicesZonesGetManyRequest {}
1
+ export interface InvoicesZonesGetManyRequest {
2
+ limit: number;
3
+ page: number;
4
+ search: string;
5
+ prop: string;
6
+ order: string;
7
+ active: boolean;
8
+ }
@@ -1 +1,8 @@
1
- export interface InvoicesZonesGetManyResponse {}
1
+ export interface InvoicesZonesMany {
2
+ id: string;
3
+ name: string;
4
+ active: boolean;
5
+ }
6
+ export interface InvoicesZonesGetManyResponse {
7
+ data: InvoicesZonesMany[]
8
+ }