@openbox/shared-types 0.1.86 → 0.1.87

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
- export interface CustomerBranchesCreateMany {
1
+ export interface CustomerBranchesCreateSingleRequest {
2
2
  name: string;
3
3
  contactName?: string;
4
4
  contactInfo?: string;
@@ -9,6 +9,3 @@ export interface CustomerBranchesCreateMany {
9
9
  state: number;
10
10
  city: number;
11
11
  }
12
- export interface CustomerBranchesCreateManyRequest {
13
- branches: CustomerBranchesCreateMany[];
14
- }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/customers/Branches/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesCreateSingleResponse {
2
+ id: string;
3
+ message: string;
4
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/customers/Branches/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export * from './CreateMany/Request';
1
+ export * from './CreateSingle/Request';
2
2
  export * from './DeleteSingle/Response';
3
3
  export * from './GetMany/Request';
4
4
  export * from './GetMany/Response';
@@ -14,7 +14,7 @@ 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("./CreateMany/Request"), exports);
17
+ __exportStar(require("./CreateSingle/Request"), exports);
18
18
  __exportStar(require("./DeleteSingle/Response"), exports);
19
19
  __exportStar(require("./GetMany/Request"), exports);
20
20
  __exportStar(require("./GetMany/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,0DAAuC;AACvC,2DAAwC;AACxC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,0DAAuC;AACvC,2DAAwC;AACxC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC"}
@@ -1,4 +1,4 @@
1
- import { CustomerBranchesCreateMany } from '../../Branches';
1
+ import { CustomerBranchesCreateSingleRequest } from '../../Branches';
2
2
  export interface CustomersCreateSingleRequest {
3
3
  name: string;
4
4
  shortName: string;
@@ -16,5 +16,5 @@ export interface CustomersCreateSingleRequest {
16
16
  personType: number;
17
17
  customerType: number;
18
18
  customerTypeNatural?: number;
19
- branch: CustomerBranchesCreateMany;
19
+ branch: CustomerBranchesCreateSingleRequest;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.86",
3
+ "version": "0.1.87",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,4 @@
1
- export interface CustomerBranchesCreateMany {
1
+ export interface CustomerBranchesCreateSingleRequest {
2
2
  name: string
3
3
  contactName?: string
4
4
  contactInfo?: string
@@ -9,7 +9,3 @@ export interface CustomerBranchesCreateMany {
9
9
  state: number
10
10
  city: number
11
11
  }
12
-
13
- export interface CustomerBranchesCreateManyRequest {
14
- branches: CustomerBranchesCreateMany[]
15
- }
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesCreateSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -1,4 +1,4 @@
1
- export * from './CreateMany/Request'
1
+ export * from './CreateSingle/Request'
2
2
  export * from './DeleteSingle/Response'
3
3
  export * from './GetMany/Request'
4
4
  export * from './GetMany/Response'
@@ -1,4 +1,4 @@
1
- import { CustomerBranchesCreateMany } from '../../Branches'
1
+ import { CustomerBranchesCreateSingleRequest } from '../../Branches'
2
2
 
3
3
  export interface CustomersCreateSingleRequest {
4
4
  name: string
@@ -17,5 +17,5 @@ export interface CustomersCreateSingleRequest {
17
17
  personType: number
18
18
  customerType: number
19
19
  customerTypeNatural?: number
20
- branch: CustomerBranchesCreateMany
20
+ branch: CustomerBranchesCreateSingleRequest
21
21
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/customers/Branches/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export interface CustomerBranchesCreateManyResponse {
2
- ids: string[];
3
- message: string;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/customers/Branches/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export interface CustomerBranchesCreateManyResponse {
2
- ids: string[]
3
- message: string
4
- }