@openbox/shared-types 0.1.99 → 0.2.2

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.
@@ -16,7 +16,7 @@ export interface CustomersBranches {
16
16
  country: SystemCountriesGetSingleReponse;
17
17
  state: SystemStatesGetSingleResponse;
18
18
  }
19
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id'> & {
19
+ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state'> & {
20
20
  city: number;
21
21
  country: number;
22
22
  state: number;
@@ -31,7 +31,7 @@ export interface Customers {
31
31
  customerType: SystemSellingTypeGetSingleResponse;
32
32
  customerTypeNatural: SystemNaturalTypesGetSingleResponse;
33
33
  }
34
- export type CustomersRequest = Omit<Customers, 'id'> & {
34
+ export type CustomersRequest = Omit<Customers, 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural'> & {
35
35
  customerTaxerType: number;
36
36
  personType: number;
37
37
  customerType: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.99",
3
+ "version": "0.2.2",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -23,7 +23,10 @@ export interface CustomersBranches {
23
23
  state: SystemStatesGetSingleResponse
24
24
  }
25
25
 
26
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id'> & {
26
+ export type CustomersBranchesRequest = Omit<
27
+ CustomersBranches,
28
+ 'id' | 'city' | 'country' | 'state'
29
+ > & {
27
30
  city: number
28
31
  country: number
29
32
  state: number
@@ -32,7 +32,10 @@ export interface Customers {
32
32
  customerType: SystemSellingTypeGetSingleResponse
33
33
  customerTypeNatural: SystemNaturalTypesGetSingleResponse
34
34
  }
35
- export type CustomersRequest = Omit<Customers, 'id'> & {
35
+ export type CustomersRequest = Omit<
36
+ Customers,
37
+ 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural'
38
+ > & {
36
39
  customerTaxerType: number
37
40
  personType: number
38
41
  customerType: number
@@ -1,3 +0,0 @@
1
- export interface AuthAuthRefreshTokenRequest {
2
- token: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/auth/Auth/RefreshToken/Request.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { JWTResponse } from '../ProcessLogin/Response';
2
- export interface AuthAuthRefreshTokenResponse {
3
- data: JWTResponse;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/auth/Auth/RefreshToken/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export interface AuthAuthRefreshTokenRequest {
2
- token: string
3
- }
@@ -1,5 +0,0 @@
1
- import { JWTResponse } from '../ProcessLogin/Response'
2
-
3
- export interface AuthAuthRefreshTokenResponse {
4
- data: JWTResponse
5
- }