@openbox/shared-types 0.5.43 → 0.5.45

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.
@@ -0,0 +1,2 @@
1
+ import { ProvidersRequest } from '../providers.types';
2
+ export type ProvidersCreateSingleRequest = ProvidersRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/providers/Providers/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type ProvidersCreateSingleResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/providers/Providers/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,4 @@
1
1
  import { GetManyRequest } from '../../../interfaces';
2
- export type ProvidersGetManyRequest = GetManyRequest;
2
+ export type ProvidersGetManyRequest = GetManyRequest & {
3
+ active?: boolean;
4
+ };
@@ -1,3 +1,5 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
1
3
  export * from './GetMany/Request';
2
4
  export * from './GetMany/Response';
3
5
  export * from './GetSingle/Response';
@@ -14,6 +14,8 @@ 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("./CreateSingle/Request"), exports);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
17
19
  __exportStar(require("./GetMany/Request"), exports);
18
20
  __exportStar(require("./GetMany/Response"), exports);
19
21
  __exportStar(require("./GetSingle/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/Providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/Providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,oDAAiC"}
@@ -1,4 +1,3 @@
1
- import { ManagementCompany } from '../../management/Company/management.company.type';
2
1
  import { SystemDirectoryCreateSingleRequest, SystemSvFields, SystemSvFieldsRequest } from '../../system';
3
2
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
4
3
  import { SystemPersonTypeNaturalsGetSingleResponse } from '../../system/PersonTypeNaturals/GetSingle/Response';
@@ -7,7 +6,7 @@ import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/Ge
7
6
  import { ProvidersBranchesCreateSingleRequest } from '../Branches';
8
7
  export type Providers = {
9
8
  id: string;
10
- name: string;
9
+ name?: string;
11
10
  name1?: string;
12
11
  name2?: string;
13
12
  name3?: string;
@@ -16,14 +15,13 @@ export type Providers = {
16
15
  lastname3?: string;
17
16
  shortName: string;
18
17
  active?: boolean;
19
- company: ManagementCompany;
20
18
  svFields: SystemSvFields;
21
19
  directory: SystemDirectoryResponse[];
22
20
  personType: SystemPersonTypesGetSingleResponse;
23
21
  type: SystemSellingTypeGetSingleResponse;
24
22
  personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse;
25
23
  };
26
- export type ProvidersRequest = Omit<Providers, 'id' | 'company' | 'svFields' | 'directory' | 'personType' | 'type' | 'personTypeNatural'> & {
24
+ export type ProvidersRequest = Omit<Providers, 'id' | 'svFields' | 'directory' | 'personType' | 'type' | 'personTypeNatural'> & {
27
25
  company: string;
28
26
  svFields: SystemSvFieldsRequest;
29
27
  directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.43",
3
+ "version": "0.5.45",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",