@openbox/shared-types 0.1.80 → 0.1.82

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.
@@ -5,9 +5,9 @@ export interface CustomerBranchesCreateMany {
5
5
  default: boolean;
6
6
  address1: string;
7
7
  address2?: string;
8
- country: string;
9
- state: string;
10
- city: string;
8
+ country: number;
9
+ state: number;
10
+ city: number;
11
11
  }
12
12
  export interface CustomerBranchesCreateManyRequest {
13
13
  branches: CustomerBranchesCreateMany[];
@@ -12,9 +12,9 @@ export interface CustomersCreateSingleRequest {
12
12
  isActiveProvider?: boolean;
13
13
  isUsedCustomer?: boolean;
14
14
  isUsedProvider?: boolean;
15
- customerTaxerType: string;
16
- personType: string;
17
- customerType: string;
18
- customerTypeNatural?: string;
15
+ customerTaxerType: number;
16
+ personType: number;
17
+ customerType: number;
18
+ customerTypeNatural?: number;
19
19
  branch: CustomerBranchesCreateMany;
20
20
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Resquest.js.map
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -12,9 +12,9 @@ export interface CustomersUpdateSingleRequest {
12
12
  isActiveProvider?: boolean;
13
13
  isUsedCustomer?: boolean;
14
14
  isUsedProvider?: boolean;
15
- customerTaxerType?: string;
16
- personType?: string;
17
- customerType?: string;
18
- customerTypeNatural?: string;
15
+ customerTaxerType?: number;
16
+ personType?: number;
17
+ customerType?: number;
18
+ customerTypeNatural?: number;
19
19
  branch?: CustomerBranchesUpdateSingle;
20
20
  }
@@ -1,5 +1,5 @@
1
+ import { CustomersCreateSingleRequest } from './CreateSingle/Request';
1
2
  import { CustomersCreateSingleResponse } from './CreateSingle/Response';
2
- import { CustomersCreateSingleRequest } from './CreateSingle/Resquest';
3
3
  import { CustomersDeleteManyRequest } from './DeleteMany/Request';
4
4
  import { CustomersDeleteManyResponse } from './DeleteMany/Response';
5
5
  import { CustomersDeleteSingleResponse } from './DeleteSingle/Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.80",
3
+ "version": "0.1.82",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -5,9 +5,9 @@ export interface CustomerBranchesCreateMany {
5
5
  default: boolean
6
6
  address1: string
7
7
  address2?: string
8
- country: string
9
- state: string
10
- city: string
8
+ country: number
9
+ state: number
10
+ city: number
11
11
  }
12
12
 
13
13
  export interface CustomerBranchesCreateManyRequest {
@@ -13,9 +13,9 @@ export interface CustomersCreateSingleRequest {
13
13
  isActiveProvider?: boolean
14
14
  isUsedCustomer?: boolean
15
15
  isUsedProvider?: boolean
16
- customerTaxerType: string
17
- personType: string
18
- customerType: string
19
- customerTypeNatural?: string
16
+ customerTaxerType: number
17
+ personType: number
18
+ customerType: number
19
+ customerTypeNatural?: number
20
20
  branch: CustomerBranchesCreateMany
21
21
  }
@@ -13,9 +13,9 @@ export interface CustomersUpdateSingleRequest {
13
13
  isActiveProvider?: boolean
14
14
  isUsedCustomer?: boolean
15
15
  isUsedProvider?: boolean
16
- customerTaxerType?: string
17
- personType?: string
18
- customerType?: string
19
- customerTypeNatural?: string
16
+ customerTaxerType?: number
17
+ personType?: number
18
+ customerType?: number
19
+ customerTypeNatural?: number
20
20
  branch?: CustomerBranchesUpdateSingle
21
21
  }
@@ -1,5 +1,5 @@
1
+ import { CustomersCreateSingleRequest } from './CreateSingle/Request'
1
2
  import { CustomersCreateSingleResponse } from './CreateSingle/Response'
2
- import { CustomersCreateSingleRequest } from './CreateSingle/Resquest'
3
3
  import { CustomersDeleteManyRequest } from './DeleteMany/Request'
4
4
  import { CustomersDeleteManyResponse } from './DeleteMany/Response'
5
5
  import { CustomersDeleteSingleResponse } from './DeleteSingle/Response'
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resquest.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CreateSingle/Resquest.ts"],"names":[],"mappings":""}