@openbox/shared-types 0.2.34 → 0.2.36

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,7 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
2
  import { CustomersResponse } from '../customers.types';
3
3
  export type CustomersGetManyResponse = GetManyResponse & {
4
- data: Array<CustomersResponse>;
4
+ data: Array<CustomersResponse & {
5
+ index: number;
6
+ }>;
5
7
  };
@@ -0,0 +1,4 @@
1
+ import { CustomersPersonTypesGetSingleResponse } from '../GetSingle/Response';
2
+ export type CustomersPersonTypesGetManyResponse = {
3
+ data: Array<CustomersPersonTypesGetSingleResponse>;
4
+ };
@@ -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/customers/PersonTypes/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { CustomersPersonTypesResponse } from '../customers.person-types.types';
2
+ export type CustomersPersonTypesGetSingleResponse = CustomersPersonTypesResponse;
@@ -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/customers/PersonTypes/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
2
+ export type CustomersPersonTypes = SystemPersonTypes;
3
+ export type CustomersPersonTypesRequest = Omit<CustomersPersonTypes, 'id'>;
4
+ export type CustomersPersonTypesResponse = CustomersPersonTypes;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customers.person-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.person-types.types.js","sourceRoot":"","sources":["../../../src/customers/PersonTypes/customers.person-types.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetMany/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -1,2 +1,3 @@
1
1
  export * from './Branches';
2
2
  export * from './Customers';
3
+ export * from './PersonTypes';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Branches"), exports);
18
18
  __exportStar(require("./Customers"), exports);
19
+ __exportStar(require("./PersonTypes"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,gDAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.34",
3
+ "version": "0.2.36",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -2,5 +2,5 @@ import { GetManyResponse } from '../../../interfaces'
2
2
  import { CustomersResponse } from '../customers.types'
3
3
 
4
4
  export type CustomersGetManyResponse = GetManyResponse & {
5
- data: Array<CustomersResponse>
5
+ data: Array<CustomersResponse & { index: number }>
6
6
  }
@@ -0,0 +1,5 @@
1
+ import { CustomersPersonTypesGetSingleResponse } from '../GetSingle/Response'
2
+
3
+ export type CustomersPersonTypesGetManyResponse = {
4
+ data: Array<CustomersPersonTypesGetSingleResponse>
5
+ }
@@ -0,0 +1,3 @@
1
+ import { CustomersPersonTypesResponse } from '../customers.person-types.types'
2
+
3
+ export type CustomersPersonTypesGetSingleResponse = CustomersPersonTypesResponse
@@ -0,0 +1,6 @@
1
+ import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
2
+
3
+ export type CustomersPersonTypes = SystemPersonTypes
4
+
5
+ export type CustomersPersonTypesRequest = Omit<CustomersPersonTypes, 'id'>
6
+ export type CustomersPersonTypesResponse = CustomersPersonTypes
@@ -0,0 +1,2 @@
1
+ export * from './GetMany/Response'
2
+ export * from './GetSingle/Response'
@@ -1,2 +1,3 @@
1
1
  export * from './Branches'
2
2
  export * from './Customers'
3
+ export * from './PersonTypes'