@openbox/shared-types 0.2.36 → 0.2.37

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,6 +1,3 @@
1
- import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
2
- import { CustomersResponse } from '../../customers/Customers/customers.types';
3
- import { InvoicesSellersResponse } from '../../invoices/Sellers/invoices.sellers.interface';
4
1
  export type SystemDirectoryType = 'phone' | 'cellphone' | 'email';
5
2
  type SystemDirectoryEntityType = 'warehouse' | 'company' | 'customer' | 'customerBranch' | 'invoicesSeller' | 'legalJurisdiction' | 'appointee' | 'assignee';
6
3
  export type SystemDirectory = {
@@ -8,9 +5,6 @@ export type SystemDirectory = {
8
5
  type: SystemDirectoryType;
9
6
  value: string;
10
7
  hasWhatsapp?: boolean;
11
- customer: CustomersResponse;
12
- customerBranch: CustomersBranchesResponse;
13
- invoicesSellers: InvoicesSellersResponse;
14
8
  };
15
9
  export type SystemDirectoryRequest = Omit<SystemDirectory, 'id' | 'customer' | 'customerBranch' | 'invoicesSellers'> & {
16
10
  entityType: SystemDirectoryEntityType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,7 +1,3 @@
1
- import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types'
2
- import { CustomersResponse } from '../../customers/Customers/customers.types'
3
- import { InvoicesSellersResponse } from '../../invoices/Sellers/invoices.sellers.interface'
4
-
5
1
  export type SystemDirectoryType = 'phone' | 'cellphone' | 'email'
6
2
 
7
3
  type SystemDirectoryEntityType =
@@ -23,9 +19,9 @@ export type SystemDirectory = {
23
19
  // appointee: LegalAppointeesEntity
24
20
  // assignee: LegalAssigneesEntity
25
21
  // legalJurisdiction: LegalJurisdictionsEntity
26
- customer: CustomersResponse
27
- customerBranch: CustomersBranchesResponse
28
- invoicesSellers: InvoicesSellersResponse
22
+ // customer: CustomersResponse
23
+ // customerBranch: CustomersBranchesResponse
24
+ // invoicesSellers: InvoicesSellersResponse
29
25
  }
30
26
 
31
27
  export type SystemDirectoryRequest = Omit<