@openbox/shared-types 0.2.2 → 0.2.4

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
- import { InvoicesSellersUpdateSingleRequest } from '../UpdateSingleStatus/Request';
1
+ import { InvoicesSellersUpdateSingleStatusRequest } from '../UpdateSingleStatus/Request';
2
2
  export interface InvoicesSellersUpdateManyRequest {
3
- data: InvoicesSellersUpdateSingleRequest[];
3
+ data: InvoicesSellersUpdateSingleStatusRequest[];
4
4
  }
@@ -1,2 +1,2 @@
1
1
  import { InvoicesSellersRequest } from '../sellers.interface';
2
- export type InvoicesSellersUpdateSingleRequest = Pick<InvoicesSellersRequest, 'active'>;
2
+ export type InvoicesSellersUpdateSingleStatusRequest = Pick<InvoicesSellersRequest, 'active'>;
@@ -11,7 +11,7 @@ export type Services = {
11
11
  incRenta5?: boolean;
12
12
  sellingType: ServicesSellingTypes;
13
13
  };
14
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed'> & {
14
+ export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
15
15
  sellingType: number;
16
16
  };
17
17
  export type ServicesResponse = Services;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,5 +1,5 @@
1
- import { InvoicesSellersUpdateSingleRequest } from '../UpdateSingleStatus/Request'
1
+ import { InvoicesSellersUpdateSingleStatusRequest } from '../UpdateSingleStatus/Request'
2
2
 
3
3
  export interface InvoicesSellersUpdateManyRequest {
4
- data: InvoicesSellersUpdateSingleRequest[]
4
+ data: InvoicesSellersUpdateSingleStatusRequest[]
5
5
  }
@@ -1,3 +1,3 @@
1
1
  import { InvoicesSellersRequest } from '../sellers.interface'
2
2
 
3
- export type InvoicesSellersUpdateSingleRequest = Pick<InvoicesSellersRequest, 'active'>
3
+ export type InvoicesSellersUpdateSingleStatusRequest = Pick<InvoicesSellersRequest, 'active'>
@@ -13,7 +13,7 @@ export type Services = {
13
13
  sellingType: ServicesSellingTypes
14
14
  }
15
15
 
16
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed'> & {
16
+ export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
17
17
  sellingType: number
18
18
  }
19
19
  export type ServicesResponse = Services