@openbox/shared-types 0.4.73 → 0.4.75

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,5 +1,5 @@
1
- export type CustomersCheckExistingRequest = {
2
- name: boolean;
1
+ export type CustomersValidateExistenceRequest = {
2
+ name: string;
3
3
  dui?: string;
4
4
  nit?: string;
5
5
  nrc?: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/ValidateExistence/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export type CustomersValidateExistenceResponse = {
2
+ name: Array<{
3
+ id: string;
4
+ name: string;
5
+ }>;
6
+ documents: Array<{
7
+ id: string;
8
+ name: string;
9
+ }>;
10
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/ValidateExistence/Response.ts"],"names":[],"mappings":""}
@@ -1,5 +1,3 @@
1
- export * from './CheckExisting/Request';
2
- export * from './CheckExisting/Response';
3
1
  export * from './CreateSingle/Request';
4
2
  export * from './CreateSingle/Response';
5
3
  export * from './DeleteMany/Request';
@@ -14,3 +12,5 @@ export * from './UpdateSingle/Request';
14
12
  export * from './UpdateSingle/Response';
15
13
  export * from './UpdateSingleStatus/Request';
16
14
  export * from './UpdateSingleStatus/Response';
15
+ export * from './ValidateExistence/Request';
16
+ export * from './ValidateExistence/Response';
@@ -14,8 +14,6 @@ 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("./CheckExisting/Request"), exports);
18
- __exportStar(require("./CheckExisting/Response"), exports);
19
17
  __exportStar(require("./CreateSingle/Request"), exports);
20
18
  __exportStar(require("./CreateSingle/Response"), exports);
21
19
  __exportStar(require("./DeleteMany/Request"), exports);
@@ -30,4 +28,6 @@ __exportStar(require("./UpdateSingle/Request"), exports);
30
28
  __exportStar(require("./UpdateSingle/Response"), exports);
31
29
  __exportStar(require("./UpdateSingleStatus/Request"), exports);
32
30
  __exportStar(require("./UpdateSingleStatus/Response"), exports);
31
+ __exportStar(require("./ValidateExistence/Request"), exports);
32
+ __exportStar(require("./ValidateExistence/Response"), exports);
33
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,2DAAwC;AACxC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,8DAA2C;AAC3C,+DAA4C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.73",
3
+ "version": "0.4.75",
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
- export type CustomersCheckExistingRequest = {
2
- name: boolean
1
+ export type CustomersValidateExistenceRequest = {
2
+ name: string
3
3
  dui?: string
4
4
  nit?: string
5
5
  nrc?: string
@@ -0,0 +1,10 @@
1
+ export type CustomersValidateExistenceResponse = {
2
+ name: Array<{
3
+ id: string
4
+ name: string
5
+ }>
6
+ documents: Array<{
7
+ id: string
8
+ name: string
9
+ }>
10
+ }
@@ -1,5 +1,3 @@
1
- export * from './CheckExisting/Request'
2
- export * from './CheckExisting/Response'
3
1
  export * from './CreateSingle/Request'
4
2
  export * from './CreateSingle/Response'
5
3
  export * from './DeleteMany/Request'
@@ -14,3 +12,5 @@ export * from './UpdateSingle/Request'
14
12
  export * from './UpdateSingle/Response'
15
13
  export * from './UpdateSingleStatus/Request'
16
14
  export * from './UpdateSingleStatus/Response'
15
+ export * from './ValidateExistence/Request'
16
+ export * from './ValidateExistence/Response'
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CheckExisting/Request.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { CustomersGetSingleResponse } from '../GetSingle/Response';
2
- export type CustomersCheckExistingResponse = {
3
- data: Array<Pick<CustomersGetSingleResponse, 'id' | 'name'>>;
4
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CheckExisting/Response.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { CustomersGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type CustomersCheckExistingResponse = {
4
- data: Array<Pick<CustomersGetSingleResponse, 'id' | 'name'>>
5
- }