@openbox/shared-types 0.2.87 → 0.2.89

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.
Files changed (37) hide show
  1. package/lib/invoices/Calculation/{GetSingle → Single}/Request.d.ts +1 -1
  2. package/lib/invoices/Calculation/Single/Request.js.map +1 -0
  3. package/lib/invoices/Calculation/{GetSingle → Single}/Response.d.ts +1 -1
  4. package/lib/invoices/Calculation/Single/Response.js.map +1 -0
  5. package/lib/invoices/Calculation/index.d.ts +2 -2
  6. package/lib/invoices/Calculation/index.js +2 -2
  7. package/lib/invoices/Calculation/index.js.map +1 -1
  8. package/lib/invoices/Details/invoices.details.type.d.ts +1 -1
  9. package/lib/invoices/Invoices/invoices.types.d.ts +2 -2
  10. package/lib/system/Logs/CreateSingle/Request.d.ts +7 -0
  11. package/lib/system/Logs/CreateSingle/Request.js +3 -0
  12. package/lib/system/Logs/CreateSingle/Request.js.map +1 -0
  13. package/lib/system/Logs/CreateSingle/Response.d.ts +2 -0
  14. package/lib/system/Logs/CreateSingle/Response.js +3 -0
  15. package/lib/system/Logs/CreateSingle/Response.js.map +1 -0
  16. package/lib/system/Logs/index.d.ts +3 -0
  17. package/lib/system/Logs/index.js +20 -0
  18. package/lib/system/Logs/index.js.map +1 -0
  19. package/lib/system/Logs/system.logs.types.d.ts +0 -1
  20. package/lib/system/index.d.ts +1 -0
  21. package/lib/system/index.js +1 -0
  22. package/lib/system/index.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/invoices/Calculation/{GetSingle → Single}/Request.ts +1 -1
  25. package/src/invoices/Calculation/{GetSingle → Single}/Response.ts +1 -1
  26. package/src/invoices/Calculation/index.ts +2 -2
  27. package/src/invoices/Details/invoices.details.type.ts +1 -1
  28. package/src/invoices/Invoices/invoices.types.ts +2 -2
  29. package/src/system/Logs/CreateSingle/Request.ts +8 -0
  30. package/src/system/Logs/CreateSingle/Response.ts +3 -0
  31. package/src/system/Logs/index.ts +3 -0
  32. package/src/system/Logs/system.logs.types.ts +0 -1
  33. package/src/system/index.ts +1 -0
  34. package/lib/invoices/Calculation/GetSingle/Request.js.map +0 -1
  35. package/lib/invoices/Calculation/GetSingle/Response.js.map +0 -1
  36. /package/lib/invoices/Calculation/{GetSingle → Single}/Request.js +0 -0
  37. /package/lib/invoices/Calculation/{GetSingle → Single}/Response.js +0 -0
@@ -8,7 +8,7 @@ export type InvoicesCalculationsDetailsRequest = {
8
8
  incRenta10: boolean;
9
9
  chargeDescription: string;
10
10
  };
11
- export type InvoicesCalculationGetSingleRequest = {
11
+ export type InvoicesCalculationSingleRequest = {
12
12
  document: string;
13
13
  customer: string;
14
14
  details: InvoicesCalculationsDetailsRequest[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/Single/Request.ts"],"names":[],"mappings":""}
@@ -27,7 +27,7 @@ export type InvoicesCalculationsTotalsResponse = {
27
27
  show: boolean;
28
28
  style: string[];
29
29
  };
30
- export type InvoicesCalculationGetSingleResponse = {
30
+ export type InvoicesCalculationSingleResponse = {
31
31
  details: InvoicesCalculationsDetailsResponse[];
32
32
  totals: InvoicesCalculationsTotalsResponse[];
33
33
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/Single/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export * from './GetSingle/Request';
2
- export * from './GetSingle/Response';
1
+ export * from './Single/Request';
2
+ export * from './Single/Response';
@@ -14,6 +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("./GetSingle/Request"), exports);
18
- __exportStar(require("./GetSingle/Response"), exports);
17
+ __exportStar(require("./Single/Request"), exports);
18
+ __exportStar(require("./Single/Response"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Calculation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Calculation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,oDAAiC"}
@@ -1,7 +1,7 @@
1
1
  import { Services } from '../../services/Services/services.types';
2
2
  import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
3
3
  import { Invoices } from '../Invoices';
4
- export type InvoicesDetailes = {
4
+ export type InvoicesDetails = {
5
5
  id: string;
6
6
  quantity: number;
7
7
  unitPrice: number;
@@ -2,7 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
2
2
  import { Customers } from '../../customers/Customers/customers.types';
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
5
- import { InvoicesDetailes } from '../Details/invoices.details.type';
5
+ import { InvoicesDetails } from '../Details/invoices.details.type';
6
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
7
7
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
8
8
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
@@ -50,5 +50,5 @@ export type Invoices = {
50
50
  personType: Pick<SystemPersonTypes, 'id' | 'name'>;
51
51
  customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
52
52
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
53
- invoiceDetails: InvoicesDetailes[];
53
+ invoiceDetails: InvoicesDetails[];
54
54
  };
@@ -0,0 +1,7 @@
1
+ import { SystemLogs } from '../system.logs.types';
2
+ export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id'> & {
3
+ user: string;
4
+ module: string;
5
+ company: string;
6
+ companyBranch: string;
7
+ };
@@ -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/system/Logs/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type SystemLogsCreateSingleResponse = 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/system/Logs/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
3
+ export * from './system.logs.types';
@@ -0,0 +1,20 @@
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("./CreateSingle/Request"), exports);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
19
+ __exportStar(require("./system.logs.types"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/Logs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,sDAAmC"}
@@ -7,4 +7,3 @@ export type SystemLogs = {
7
7
  action: 'create' | 'read' | 'update' | 'delete';
8
8
  status: 'success' | 'error';
9
9
  };
10
- export type SystemLogsResponse = SystemLogs;
@@ -1,6 +1,7 @@
1
1
  export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
+ export * from './Logs/';
4
5
  export * from './NaturalTypes';
5
6
  export * from './PersonTypes/';
6
7
  export * from './SellingTypes/';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Cities/"), exports);
18
18
  __exportStar(require("./Countries/"), exports);
19
19
  __exportStar(require("./Directory/"), exports);
20
+ __exportStar(require("./Logs/"), exports);
20
21
  __exportStar(require("./NaturalTypes"), exports);
21
22
  __exportStar(require("./PersonTypes/"), exports);
22
23
  __exportStar(require("./SellingTypes/"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -9,7 +9,7 @@ export type InvoicesCalculationsDetailsRequest = {
9
9
  chargeDescription: string
10
10
  }
11
11
 
12
- export type InvoicesCalculationGetSingleRequest = {
12
+ export type InvoicesCalculationSingleRequest = {
13
13
  document: string
14
14
  customer: string
15
15
  details: InvoicesCalculationsDetailsRequest[]
@@ -30,7 +30,7 @@ export type InvoicesCalculationsTotalsResponse = {
30
30
  style: string[]
31
31
  }
32
32
 
33
- export type InvoicesCalculationGetSingleResponse = {
33
+ export type InvoicesCalculationSingleResponse = {
34
34
  details: InvoicesCalculationsDetailsResponse[]
35
35
  totals: InvoicesCalculationsTotalsResponse[]
36
36
  }
@@ -1,2 +1,2 @@
1
- export * from './GetSingle/Request'
2
- export * from './GetSingle/Response'
1
+ export * from './Single/Request'
2
+ export * from './Single/Response'
@@ -2,7 +2,7 @@ import { Services } from '../../services/Services/services.types'
2
2
  import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
3
3
  import { Invoices } from '../Invoices'
4
4
 
5
- export type InvoicesDetailes = {
5
+ export type InvoicesDetails = {
6
6
  id: string
7
7
  quantity: number
8
8
  unitPrice: number
@@ -2,7 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
2
2
  import { Customers } from '../../customers/Customers/customers.types'
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
5
- import { InvoicesDetailes } from '../Details/invoices.details.type'
5
+ import { InvoicesDetails } from '../Details/invoices.details.type'
6
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
7
7
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
8
8
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
@@ -51,7 +51,7 @@ export type Invoices = {
51
51
  personType: Pick<SystemPersonTypes, 'id' | 'name'>
52
52
  customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
53
53
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
54
- invoiceDetails: InvoicesDetailes[]
54
+ invoiceDetails: InvoicesDetails[]
55
55
  // echarges: Echarges
56
56
  // accountingEntry: AccountingEntriesEntity
57
57
  // relatedDocument: InvoicesEntity
@@ -0,0 +1,8 @@
1
+ import { SystemLogs } from '../system.logs.types'
2
+
3
+ export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id'> & {
4
+ user: string
5
+ module: string
6
+ company: string
7
+ companyBranch: string
8
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type SystemLogsCreateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ export * from './CreateSingle/Request'
2
+ export * from './CreateSingle/Response'
3
+ export * from './system.logs.types'
@@ -11,4 +11,3 @@ export type SystemLogs = {
11
11
  // company: CompaniesEntity
12
12
  // companyBranch: CompaniesBranchesEntity
13
13
  }
14
- export type SystemLogsResponse = SystemLogs
@@ -1,6 +1,7 @@
1
1
  export * from './Cities/'
2
2
  export * from './Countries/'
3
3
  export * from './Directory/'
4
+ export * from './Logs/'
4
5
  export * from './NaturalTypes'
5
6
  export * from './PersonTypes/'
6
7
  export * from './SellingTypes/'
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/GetSingle/Request.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/GetSingle/Response.ts"],"names":[],"mappings":""}