@openbox/shared-types 0.4.63 → 0.4.65

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,2 +1 @@
1
- export * from './GetCurrent';
2
1
  export * from './management.branch.type';
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./GetCurrent"), exports);
18
17
  __exportStar(require("./management.branch.type"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Branch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,2DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Branch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC"}
@@ -1,6 +1,6 @@
1
1
  import { SystemDirectoryUpdateSingleRequest, SystemSvFieldsRequest } from '../../../system';
2
2
  import { ManagementCompany } from '../management.company.type';
3
- export type ManagementCompanyUpdateCurrentRequest = Omit<ManagementCompany, 'id' | 'branch' | 'companyType' | 'naturalType' | 'svFields'> & {
3
+ export type ManagementCompanyUpdateCurrentRequest = Omit<ManagementCompany, 'id' | 'contacts' | 'branch' | 'companyType' | 'naturalType' | 'svFields'> & {
4
4
  companyType: number;
5
5
  naturalType?: number;
6
6
  svFields: Required<Omit<SystemSvFieldsRequest, 'dui'>> & {
@@ -1,7 +1,7 @@
1
1
  import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
2
2
  import { CustomersResponse } from '../../customers/Customers/customers.types';
3
3
  export type SystemDirectoryType = 'phone' | 'cellphone' | 'email';
4
- export type SystemDirectoryEntityType = 'warehouse' | 'company' | 'customer' | 'customerBranch' | 'invoicesSeller' | 'legalJurisdiction' | 'appointee' | 'assignee';
4
+ export type SystemDirectoryEntityType = 'warehouse' | 'company' | 'companyBranch' | 'customer' | 'customerBranch' | 'invoicesSeller' | 'legalJurisdiction' | 'appointee' | 'assignee';
5
5
  export type SystemDirectory = {
6
6
  id: string;
7
7
  type: SystemDirectoryType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.63",
3
+ "version": "0.4.65",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -6,6 +6,7 @@ export type SystemDirectoryType = 'phone' | 'cellphone' | 'email'
6
6
  export type SystemDirectoryEntityType =
7
7
  | 'warehouse'
8
8
  | 'company'
9
+ | 'companyBranch'
9
10
  | 'customer'
10
11
  | 'customerBranch'
11
12
  | 'invoicesSeller'
@@ -1,2 +1 @@
1
- export * from './GetCurrent'
2
1
  export * from './management.branch.type'
@@ -3,7 +3,7 @@ import { ManagementCompany } from '../management.company.type'
3
3
 
4
4
  export type ManagementCompanyUpdateCurrentRequest = Omit<
5
5
  ManagementCompany,
6
- 'id' | 'branch' | 'companyType' | 'naturalType' | 'svFields'
6
+ 'id' | 'contacts' | 'branch' | 'companyType' | 'naturalType' | 'svFields'
7
7
  > & {
8
8
  companyType: number
9
9
  naturalType?: number
@@ -1,2 +0,0 @@
1
- import { ManagementBranch } from '../management.branch.type';
2
- export type ManagementBranchGetCurrent = ManagementBranch;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/management/Branch/GetCurrent/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { ManagementBranch } from '../management.branch.type'
2
-
3
- export type ManagementBranchGetCurrent = ManagementBranch