@openbox/shared-types 0.2.32 → 0.2.34

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 (165) hide show
  1. package/lib/accounting/Catalogs/CreateMany/Request.d.ts +2 -2
  2. package/lib/accounting/Catalogs/CreateMany/Response.d.ts +2 -2
  3. package/lib/accounting/Catalogs/CreateSingle/Request.d.ts +2 -0
  4. package/lib/{services/Services/services.interface.js → accounting/Catalogs/CreateSingle/Request.js} +1 -1
  5. package/lib/accounting/Catalogs/CreateSingle/Request.js.map +1 -0
  6. package/lib/accounting/Catalogs/CreateSingle/Response.d.ts +2 -0
  7. package/lib/{customers/Customers/customers.interfaces.js → accounting/Catalogs/CreateSingle/Response.js} +1 -1
  8. package/lib/accounting/Catalogs/CreateSingle/Response.js.map +1 -0
  9. package/lib/accounting/Catalogs/DeleteSingle/Response.d.ts +2 -2
  10. package/lib/accounting/Catalogs/GetMany/Request.d.ts +2 -2
  11. package/lib/accounting/Catalogs/GetMany/Response.d.ts +7 -2
  12. package/lib/accounting/Catalogs/UpdateSingle/Request.d.ts +2 -2
  13. package/lib/accounting/Catalogs/UpdateSingle/Response.d.ts +2 -2
  14. package/lib/accounting/Catalogs/catalog.types.d.ts +15 -0
  15. package/lib/{system/Logs/system.logs.interfaces.js → accounting/Catalogs/catalog.types.js} +1 -1
  16. package/lib/accounting/Catalogs/catalog.types.js.map +1 -0
  17. package/lib/accounting/Catalogs/index.d.ts +2 -0
  18. package/lib/accounting/Catalogs/index.js +2 -0
  19. package/lib/accounting/Catalogs/index.js.map +1 -1
  20. package/lib/customers/Branches/CreateSingle/Request.d.ts +1 -1
  21. package/lib/customers/Branches/GetMany/Response.d.ts +1 -1
  22. package/lib/customers/Branches/GetSingle/Response.d.ts +1 -1
  23. package/lib/customers/Branches/UpdateSingle/Request.d.ts +1 -1
  24. package/lib/customers/Branches/UpdateSingleDefault/Request.d.ts +1 -1
  25. package/lib/customers/Branches/customers.branches.types.d.ts +23 -0
  26. package/lib/{system/Cities/system.cities.interfaces.js → customers/Branches/customers.branches.types.js} +1 -1
  27. package/lib/customers/Branches/customers.branches.types.js.map +1 -0
  28. package/lib/customers/Customers/CreateSingle/Request.d.ts +1 -1
  29. package/lib/customers/Customers/GetMany/Response.d.ts +2 -2
  30. package/lib/customers/Customers/GetSingle/Response.d.ts +1 -1
  31. package/lib/customers/Customers/UpdateSingle/Request.d.ts +1 -1
  32. package/lib/customers/Customers/{customers.interfaces.d.ts → customers.types.d.ts} +2 -2
  33. package/lib/customers/Customers/customers.types.js +3 -0
  34. package/lib/customers/Customers/customers.types.js.map +1 -0
  35. package/lib/invoices/Calculation/GetSingle/Response.d.ts +2 -2
  36. package/lib/invoices/Invoices/invoices.interfaces.d.ts +2 -2
  37. package/lib/services/SellingTypes/GetSingle/Response.d.ts +1 -1
  38. package/lib/services/SellingTypes/{services.selling-types.interface.d.ts → services.selling-types.types.d.ts} +1 -1
  39. package/lib/{system/Countries/system.countries.interfaces.js → services/SellingTypes/services.selling-types.types.js} +1 -1
  40. package/lib/services/SellingTypes/services.selling-types.types.js.map +1 -0
  41. package/lib/services/Services/CreateSingle/Request.d.ts +1 -1
  42. package/lib/services/Services/GetMany/Response.d.ts +1 -1
  43. package/lib/services/Services/GetSingle/Response.d.ts +1 -1
  44. package/lib/services/Services/UpdateSingle/Request.d.ts +1 -1
  45. package/lib/services/Services/{services.interface.d.ts → services.types.d.ts} +1 -1
  46. package/lib/services/Services/services.types.js +3 -0
  47. package/lib/services/Services/services.types.js.map +1 -0
  48. package/lib/system/Cities/GetSingle/Response.d.ts +1 -1
  49. package/lib/system/Cities/{system.cities.interfaces.d.ts → system.cities.types.d.ts} +1 -1
  50. package/lib/system/Cities/system.cities.types.js +3 -0
  51. package/lib/system/Cities/system.cities.types.js.map +1 -0
  52. package/lib/system/Countries/GetSingle/Response.d.ts +1 -1
  53. package/lib/system/Countries/system.countries.types.js +3 -0
  54. package/lib/system/Countries/system.countries.types.js.map +1 -0
  55. package/lib/system/Directory/CreateSingle/Request.d.ts +1 -1
  56. package/lib/system/Directory/GetMany/Request.d.ts +1 -1
  57. package/lib/system/Directory/GetMany/Response.d.ts +1 -1
  58. package/lib/system/Directory/UpdateSingle/Request.d.ts +1 -1
  59. package/lib/system/Directory/{system.directory.interfaces.d.ts → system.directory.types.d.ts} +2 -2
  60. package/lib/system/Directory/system.directory.types.js +3 -0
  61. package/lib/system/Directory/system.directory.types.js.map +1 -0
  62. package/lib/system/Genders/system.genders.types.js +3 -0
  63. package/lib/system/Genders/system.genders.types.js.map +1 -0
  64. package/lib/system/Logs/system.logs.types.js +3 -0
  65. package/lib/system/Logs/system.logs.types.js.map +1 -0
  66. package/lib/system/NaturalTypes/GetSingle/Response.d.ts +1 -1
  67. package/lib/system/NaturalTypes/system.natural-types.types.js +3 -0
  68. package/lib/system/NaturalTypes/system.natural-types.types.js.map +1 -0
  69. package/lib/system/PersonTypes/GetSingle/Response.d.ts +1 -1
  70. package/lib/system/{Genders/system.genders.interfaces.js → PersonTypes/system.person-types.types.js} +1 -1
  71. package/lib/system/PersonTypes/system.person-types.types.js.map +1 -0
  72. package/lib/system/SellingTypes/GetSingle/Response.d.ts +1 -1
  73. package/lib/system/SellingTypes/system.selling-types.types.js +3 -0
  74. package/lib/system/SellingTypes/system.selling-types.types.js.map +1 -0
  75. package/lib/system/States/GetSingle/Response.d.ts +1 -1
  76. package/lib/system/States/{system.states.interfaces.d.ts → system.states.types.d.ts} +1 -1
  77. package/lib/system/States/system.states.types.js +3 -0
  78. package/lib/system/States/system.states.types.js.map +1 -0
  79. package/lib/system/TaxerTypes/GetSingle/Response.d.ts +1 -1
  80. package/lib/system/TaxerTypes/system.taxer-types.types.js +3 -0
  81. package/lib/system/TaxerTypes/system.taxer-types.types.js.map +1 -0
  82. package/package.json +1 -1
  83. package/src/accounting/Catalogs/CreateMany/Request.ts +3 -1
  84. package/src/accounting/Catalogs/CreateMany/Response.ts +3 -1
  85. package/src/accounting/Catalogs/CreateSingle/Request.ts +3 -0
  86. package/src/accounting/Catalogs/CreateSingle/Response.ts +3 -0
  87. package/src/accounting/Catalogs/DeleteSingle/Response.ts +3 -1
  88. package/src/accounting/Catalogs/GetMany/Request.ts +3 -1
  89. package/src/accounting/Catalogs/GetMany/Response.ts +6 -1
  90. package/src/accounting/Catalogs/UpdateSingle/Request.ts +3 -1
  91. package/src/accounting/Catalogs/UpdateSingle/Response.ts +3 -1
  92. package/src/accounting/Catalogs/catalog.types.ts +19 -0
  93. package/src/accounting/Catalogs/index.ts +2 -0
  94. package/src/customers/Branches/CreateSingle/Request.ts +1 -1
  95. package/src/customers/Branches/GetMany/Response.ts +1 -1
  96. package/src/customers/Branches/GetSingle/Response.ts +1 -1
  97. package/src/customers/Branches/UpdateSingle/Request.ts +1 -1
  98. package/src/customers/Branches/UpdateSingleDefault/Request.ts +1 -1
  99. package/src/customers/Branches/customers.branches.types.ts +35 -0
  100. package/src/customers/Customers/CreateSingle/Request.ts +1 -1
  101. package/src/customers/Customers/GetMany/Response.ts +2 -2
  102. package/src/customers/Customers/GetSingle/Response.ts +1 -1
  103. package/src/customers/Customers/UpdateSingle/Request.ts +1 -1
  104. package/src/customers/Customers/{customers.interfaces.ts → customers.types.ts} +2 -2
  105. package/src/invoices/Calculation/GetSingle/Response.ts +2 -2
  106. package/src/invoices/Invoices/invoices.interfaces.ts +2 -2
  107. package/src/services/SellingTypes/GetSingle/Response.ts +1 -1
  108. package/src/services/SellingTypes/{services.selling-types.interface.ts → services.selling-types.types.ts} +1 -1
  109. package/src/services/Services/CreateSingle/Request.ts +1 -1
  110. package/src/services/Services/GetMany/Response.ts +1 -1
  111. package/src/services/Services/GetSingle/Response.ts +1 -1
  112. package/src/services/Services/UpdateSingle/Request.ts +1 -1
  113. package/src/services/Services/{services.interface.ts → services.types.ts} +1 -1
  114. package/src/system/Cities/GetSingle/Response.ts +1 -1
  115. package/src/system/Cities/{system.cities.interfaces.ts → system.cities.types.ts} +1 -1
  116. package/src/system/Countries/GetSingle/Response.ts +1 -1
  117. package/src/system/Directory/CreateSingle/Request.ts +1 -1
  118. package/src/system/Directory/GetMany/Request.ts +1 -1
  119. package/src/system/Directory/GetMany/Response.ts +1 -1
  120. package/src/system/Directory/UpdateSingle/Request.ts +1 -1
  121. package/src/system/Directory/{system.directory.interfaces.ts → system.directory.types.ts} +2 -2
  122. package/src/system/NaturalTypes/GetSingle/Response.ts +1 -1
  123. package/src/system/PersonTypes/GetSingle/Response.ts +1 -1
  124. package/src/system/SellingTypes/GetSingle/Response.ts +1 -1
  125. package/src/system/States/GetSingle/Response.ts +1 -1
  126. package/src/system/States/{system.states.interfaces.ts → system.states.types.ts} +1 -1
  127. package/src/system/TaxerTypes/GetSingle/Response.ts +1 -1
  128. package/lib/customers/Branches/customers.branches.interfaces.d.ts +0 -29
  129. package/lib/customers/Branches/customers.branches.interfaces.js +0 -3
  130. package/lib/customers/Branches/customers.branches.interfaces.js.map +0 -1
  131. package/lib/customers/Customers/customers.interfaces.js.map +0 -1
  132. package/lib/services/SellingTypes/services.selling-types.interface.js +0 -3
  133. package/lib/services/SellingTypes/services.selling-types.interface.js.map +0 -1
  134. package/lib/services/Services/services.interface.js.map +0 -1
  135. package/lib/system/Cities/system.cities.interfaces.js.map +0 -1
  136. package/lib/system/Countries/system.countries.interfaces.js.map +0 -1
  137. package/lib/system/Directory/system.directory.interfaces.js +0 -3
  138. package/lib/system/Directory/system.directory.interfaces.js.map +0 -1
  139. package/lib/system/Genders/system.genders.interfaces.js.map +0 -1
  140. package/lib/system/Logs/system.logs.interfaces.js.map +0 -1
  141. package/lib/system/NaturalTypes/system.natural-types.interfaces.js +0 -3
  142. package/lib/system/NaturalTypes/system.natural-types.interfaces.js.map +0 -1
  143. package/lib/system/PersonTypes/system.person-types.interfaces.js +0 -3
  144. package/lib/system/PersonTypes/system.person-types.interfaces.js.map +0 -1
  145. package/lib/system/SellingTypes/system.selling-types.interface.js +0 -3
  146. package/lib/system/SellingTypes/system.selling-types.interface.js.map +0 -1
  147. package/lib/system/States/system.states.interfaces.js +0 -3
  148. package/lib/system/States/system.states.interfaces.js.map +0 -1
  149. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js +0 -3
  150. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js.map +0 -1
  151. package/src/customers/Branches/customers.branches.interfaces.ts +0 -35
  152. /package/lib/system/Countries/{system.countries.interfaces.d.ts → system.countries.types.d.ts} +0 -0
  153. /package/lib/system/Genders/{system.genders.interfaces.d.ts → system.genders.types.d.ts} +0 -0
  154. /package/lib/system/Logs/{system.logs.interfaces.d.ts → system.logs.types.d.ts} +0 -0
  155. /package/lib/system/NaturalTypes/{system.natural-types.interfaces.d.ts → system.natural-types.types.d.ts} +0 -0
  156. /package/lib/system/PersonTypes/{system.person-types.interfaces.d.ts → system.person-types.types.d.ts} +0 -0
  157. /package/lib/system/SellingTypes/{system.selling-types.interface.d.ts → system.selling-types.types.d.ts} +0 -0
  158. /package/lib/system/TaxerTypes/{system.taxer-types.interfaces.d.ts → system.taxer-types.types.d.ts} +0 -0
  159. /package/src/system/Countries/{system.countries.interfaces.ts → system.countries.types.ts} +0 -0
  160. /package/src/system/Genders/{system.genders.interfaces.ts → system.genders.types.ts} +0 -0
  161. /package/src/system/Logs/{system.logs.interfaces.ts → system.logs.types.ts} +0 -0
  162. /package/src/system/NaturalTypes/{system.natural-types.interfaces.ts → system.natural-types.types.ts} +0 -0
  163. /package/src/system/PersonTypes/{system.person-types.interfaces.ts → system.person-types.types.ts} +0 -0
  164. /package/src/system/SellingTypes/{system.selling-types.interface.ts → system.selling-types.types.ts} +0 -0
  165. /package/src/system/TaxerTypes/{system.taxer-types.interfaces.ts → system.taxer-types.types.ts} +0 -0
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsCreateManyRequest {
2
- }
1
+ import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>;
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsCreateManyResponse {
2
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type ServicesCreateManyResponse = ManyResponse;
@@ -0,0 +1,2 @@
1
+ import { AccountingCatalogsRequest } from '../catalog.types';
2
+ export type AccountingCatalogsCreateSingleRequest = AccountingCatalogsRequest;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=services.interface.js.map
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsCreateSingleResponse = SingleResponse;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.interfaces.js.map
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsDeleteSingleResponse {
2
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsDeleteSingleResponse = SingleResponse;
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsGetManyRequest {
2
- }
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type AccountingCatalogsGetManyRequest = GetManyRequest;
@@ -1,2 +1,7 @@
1
- export interface AccountingCatalogsGetManyResponse {
2
- }
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { AccountingCatalogsResponse } from '../catalog.types';
3
+ export type AccountingCatalogsGetManyResponse = GetManyResponse & {
4
+ data: Array<AccountingCatalogsResponse & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsUpdateSingleRequest {
2
- }
1
+ import { AccountingCatalogsRequest } from '../catalog.types';
2
+ export type AccountingCatalogsUpdateSingleRequest = Partial<AccountingCatalogsRequest>;
@@ -1,2 +1,2 @@
1
- export interface AccountingCatalogsUpdateSingleResponse {
2
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsUpdateSingleResponse = SingleResponse;
@@ -0,0 +1,15 @@
1
+ export type AccountingCatalogs = {
2
+ id: string;
3
+ code: string;
4
+ name: string;
5
+ description?: string;
6
+ level: number;
7
+ isParent: boolean;
8
+ isAcreedora: boolean;
9
+ isBalance: boolean;
10
+ parentCatalog: AccountingCatalogs;
11
+ };
12
+ export type AccountingCatalogsRequest = Omit<AccountingCatalogs, 'id' | 'level' | 'isParent' | 'parentCatalog'> & {
13
+ parentCatalog: string;
14
+ };
15
+ export type AccountingCatalogsResponse = AccountingCatalogs;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.logs.interfaces.js.map
3
+ //# sourceMappingURL=catalog.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.types.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/catalog.types.ts"],"names":[],"mappings":""}
@@ -1,5 +1,7 @@
1
1
  export * from './CreateMany/Request';
2
2
  export * from './CreateMany/Response';
3
+ export * from './CreateSingle/Request';
4
+ export * from './CreateSingle/Response';
3
5
  export * from './DeleteSingle/Response';
4
6
  export * from './GetMany/Request';
5
7
  export * from './GetMany/Response';
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateMany/Request"), exports);
18
18
  __exportStar(require("./CreateMany/Response"), exports);
19
+ __exportStar(require("./CreateSingle/Request"), exports);
20
+ __exportStar(require("./CreateSingle/Response"), exports);
19
21
  __exportStar(require("./DeleteSingle/Response"), exports);
20
22
  __exportStar(require("./GetMany/Request"), exports);
21
23
  __exportStar(require("./GetMany/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
@@ -1,2 +1,2 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces';
1
+ import { CustomersBranchesRequest } from '../customers.branches.types';
2
2
  export type CustomersBranchesCreateSingleRequest = CustomersBranchesRequest;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { CustomersBranchesResponse } from '../customers.branches.interfaces';
2
+ import { CustomersBranchesResponse } from '../customers.branches.types';
3
3
  export type CustomersBranchesGetManyResponse = GetManyResponse & {
4
4
  data: Array<CustomersBranchesResponse>;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { CustomersBranchesResponse } from '../customers.branches.interfaces';
1
+ import { CustomersBranchesResponse } from '../customers.branches.types';
2
2
  export type CustomersBranchesGetSingleResponse = CustomersBranchesResponse;
@@ -1,2 +1,2 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces';
1
+ import { CustomersBranchesRequest } from '../customers.branches.types';
2
2
  export type CustomersBranchesUpdateSingleRequest = Partial<CustomersBranchesRequest>;
@@ -1,2 +1,2 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces';
1
+ import { CustomersBranchesRequest } from '../customers.branches.types';
2
2
  export type CustomersBranchesUpdateSingleDefaultRequest = Pick<CustomersBranchesRequest, 'default'>;
@@ -0,0 +1,23 @@
1
+ import { SystemCitiesResponse } from '../../system/Cities/system.cities.types';
2
+ import { SystemCountriesResponse } from '../../system/Countries/system.countries.types';
3
+ import { SystemStatesResponse } from '../../system/States/system.states.types';
4
+ import { CustomersResponse } from '../Customers/customers.types';
5
+ export type CustomersBranches = {
6
+ id: string;
7
+ name: string;
8
+ address1: string;
9
+ address2?: string;
10
+ zipcode?: string;
11
+ default?: boolean;
12
+ customer: CustomersResponse;
13
+ city: SystemCitiesResponse;
14
+ country: SystemCountriesResponse;
15
+ state: SystemStatesResponse;
16
+ };
17
+ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state' | 'customer'> & {
18
+ customer: string;
19
+ city: number;
20
+ country: number;
21
+ state: number;
22
+ };
23
+ export type CustomersBranchesResponse = CustomersBranches;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.cities.interfaces.js.map
3
+ //# sourceMappingURL=customers.branches.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.branches.types.js","sourceRoot":"","sources":["../../../src/customers/Branches/customers.branches.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { CustomersRequest } from '../customers.interfaces';
1
+ import { CustomersRequest } from '../customers.types';
2
2
  export type CustomersCreateSingleRequest = CustomersRequest;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { CustomersResponse } from '../customers.interfaces';
2
+ import { CustomersResponse } from '../customers.types';
3
3
  export type CustomersGetManyResponse = GetManyResponse & {
4
- data: Array<Pick<CustomersResponse, 'id' | 'name' | 'personType' | 'nit' | 'nrc' | 'active'>>;
4
+ data: Array<CustomersResponse>;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { CustomersResponse } from '../customers.interfaces';
1
+ import { CustomersResponse } from '../customers.types';
2
2
  export type CustomersGetSingleResponse = CustomersResponse;
@@ -1,2 +1,2 @@
1
- import { CustomersRequest } from '../customers.interfaces';
1
+ import { CustomersRequest } from '../customers.types';
2
2
  export type CustomersUpdateSingleRequest = Omit<Partial<CustomersRequest>, 'branch'>;
@@ -3,10 +3,10 @@ import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetS
3
3
  import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
4
4
  import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response';
5
5
  import { CustomersBranchesCreateSingleRequest } from '../Branches';
6
- import { CustomersBranchesResponse } from '../Branches/customers.branches.interfaces';
6
+ import { CustomersBranchesResponse } from '../Branches/customers.branches.types';
7
7
  export type Customers = {
8
8
  id: string;
9
- name: string;
9
+ name?: string;
10
10
  name1?: string;
11
11
  name2?: string;
12
12
  name3?: string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customers.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.types.js","sourceRoot":"","sources":["../../../src/customers/Customers/customers.types.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import { ServicesSellingTypesResponse } from '../../../services/SellingTypes/services.selling-types.interface';
2
- import { ServicesResponse } from '../../../services/Services/services.interface';
1
+ import { ServicesSellingTypesResponse } from '../../../services/SellingTypes/services.selling-types.types';
2
+ import { ServicesResponse } from '../../../services/Services/services.types';
3
3
  export type InvoicesCalculationsDetailsResponse = {
4
4
  id: string;
5
5
  quantity: number;
@@ -1,5 +1,5 @@
1
- import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.interfaces';
2
- import { CustomersResponse } from '../../customers/Customers/customers.interfaces';
1
+ import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
2
+ import { CustomersResponse } from '../../customers/Customers/customers.types';
3
3
  import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response';
4
4
  import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
5
5
  import { InvoicesCalculationsDetailsResponse, InvoicesCalculationsTotalsResponse } from '../Calculation';
@@ -1,2 +1,2 @@
1
- import { ServicesSellingTypesResponse } from '../services.selling-types.interface';
1
+ import { ServicesSellingTypesResponse } from '../services.selling-types.types';
2
2
  export type ServicesSellingTypesGetSingleResponse = ServicesSellingTypesResponse;
@@ -1,4 +1,4 @@
1
- import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.interface';
1
+ import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
2
2
  export type ServicesSellingTypes = Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>;
3
3
  export type ServicesSellingTypesRequest = Omit<ServicesSellingTypes, 'id'>;
4
4
  export type ServicesSellingTypesResponse = Omit<ServicesSellingTypes, 'isGravada'>;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.countries.interfaces.js.map
3
+ //# sourceMappingURL=services.selling-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.selling-types.types.js","sourceRoot":"","sources":["../../../src/services/SellingTypes/services.selling-types.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { ServicesRequest } from '../services.interface';
1
+ import { ServicesRequest } from '../services.types';
2
2
  export type ServicesCreateSingleRequest = ServicesRequest;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { ServicesResponse } from '../services.interface';
2
+ import { ServicesResponse } from '../services.types';
3
3
  export type ServicesGetManyResponse = GetManyResponse & {
4
4
  data: Array<ServicesResponse & {
5
5
  index: number;
@@ -1,2 +1,2 @@
1
- import { ServicesResponse } from '../services.interface';
1
+ import { ServicesResponse } from '../services.types';
2
2
  export type ServicesGetSingleResponse = ServicesResponse;
@@ -1,2 +1,2 @@
1
- import { ServicesRequest } from '../services.interface';
1
+ import { ServicesRequest } from '../services.types';
2
2
  export type ServicesUpdateSingleRequest = Partial<ServicesRequest>;
@@ -1,4 +1,4 @@
1
- import { ServicesSellingTypes } from '../SellingTypes/services.selling-types.interface';
1
+ import { ServicesSellingTypes } from '../SellingTypes/services.selling-types.types';
2
2
  export type Services = {
3
3
  id: string;
4
4
  name: string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=services.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.types.js","sourceRoot":"","sources":["../../../src/services/Services/services.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemCitiesResponse } from '../system.cities.interfaces';
1
+ import { SystemCitiesResponse } from '../system.cities.types';
2
2
  export type SystemCitiesGetSingleResponse = SystemCitiesResponse;
@@ -1,4 +1,4 @@
1
- import { SystemStates } from '../States/system.states.interfaces';
1
+ import { SystemStates } from '../States/system.states.types';
2
2
  export type SystemCities = {
3
3
  id: number;
4
4
  name: string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.cities.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.cities.types.js","sourceRoot":"","sources":["../../../src/system/Cities/system.cities.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemCountriesResponse } from '../system.countries.interfaces';
1
+ import { SystemCountriesResponse } from '../system.countries.types';
2
2
  export type SystemCountriesGetSingleReponse = SystemCountriesResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.countries.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.countries.types.js","sourceRoot":"","sources":["../../../src/system/Countries/system.countries.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemDirectoryRequest } from '../system.directory.interfaces';
1
+ import { SystemDirectoryRequest } from '../system.directory.types';
2
2
  export type SystemDirectoryCreateSingleRequest = SystemDirectoryRequest;
@@ -1,5 +1,5 @@
1
1
  import { GetManyRequest } from '../../../interfaces';
2
- import { SystemDirectoryType } from '../system.directory.interfaces';
2
+ import { SystemDirectoryType } from '../system.directory.types';
3
3
  export type SystemDirectoryGetManyRequest = GetManyRequest & {
4
4
  types?: Array<SystemDirectoryType>;
5
5
  hasWhatsapp?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { SystemDirectoryResponse } from '../system.directory.interfaces';
2
+ import { SystemDirectoryResponse } from '../system.directory.types';
3
3
  export type SystemDirectoryGetManyResponse = GetManyResponse & {
4
4
  data: Array<SystemDirectoryResponse & {
5
5
  index: number;
@@ -1,2 +1,2 @@
1
- import { SystemDirectoryRequest } from '../system.directory.interfaces';
1
+ import { SystemDirectoryRequest } from '../system.directory.types';
2
2
  export type SystemDirectoryUpdateSingleRequest = Partial<SystemDirectoryRequest>;
@@ -1,5 +1,5 @@
1
- import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.interfaces';
2
- import { CustomersResponse } from '../../customers/Customers/customers.interfaces';
1
+ import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
2
+ import { CustomersResponse } from '../../customers/Customers/customers.types';
3
3
  import { InvoicesSellersResponse } from '../../invoices/Sellers/invoices.sellers.interface';
4
4
  export type SystemDirectoryType = 'phone' | 'cellphone' | 'email';
5
5
  type SystemDirectoryEntityType = 'warehouse' | 'company' | 'customer' | 'customerBranch' | 'invoicesSeller' | 'legalJurisdiction' | 'appointee' | 'assignee';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.directory.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.directory.types.js","sourceRoot":"","sources":["../../../src/system/Directory/system.directory.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.genders.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.genders.types.js","sourceRoot":"","sources":["../../../src/system/Genders/system.genders.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.logs.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.logs.types.js","sourceRoot":"","sources":["../../../src/system/Logs/system.logs.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemNaturalTypesResponse } from '../system.natural-types.interfaces';
1
+ import { SystemNaturalTypesResponse } from '../system.natural-types.types';
2
2
  export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.natural-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.natural-types.types.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/system.natural-types.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemPersonTypesResponse } from '../system.person-types.interfaces';
1
+ import { SystemPersonTypesResponse } from '../system.person-types.types';
2
2
  export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.genders.interfaces.js.map
3
+ //# sourceMappingURL=system.person-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.person-types.types.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/system.person-types.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemSellingTypesResponse } from '../system.selling-types.interface';
1
+ import { SystemSellingTypesResponse } from '../system.selling-types.types';
2
2
  export type SystemSellingTypeGetSingleResponse = SystemSellingTypesResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.selling-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.selling-types.types.js","sourceRoot":"","sources":["../../../src/system/SellingTypes/system.selling-types.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemStatesResponse } from '../system.states.interfaces';
1
+ import { SystemStatesResponse } from '../system.states.types';
2
2
  export type SystemStatesGetSingleResponse = SystemStatesResponse;
@@ -1,4 +1,4 @@
1
- import { SystemCountries } from '../Countries/system.countries.interfaces';
1
+ import { SystemCountries } from '../Countries/system.countries.types';
2
2
  export type SystemStates = {
3
3
  id: number;
4
4
  name: string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.states.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.states.types.js","sourceRoot":"","sources":["../../../src/system/States/system.states.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { SystemTaxerTypesResponse } from '../system.taxer-types.interfaces';
1
+ import { SystemTaxerTypesResponse } from '../system.taxer-types.types';
2
2
  export type SystemTaxerTypesGetSingleResponse = SystemTaxerTypesResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.taxer-types.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.taxer-types.types.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/system.taxer-types.types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.32",
3
+ "version": "0.2.34",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsCreateManyRequest {}
1
+ import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsCreateManyResponse {}
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type ServicesCreateManyResponse = ManyResponse
@@ -0,0 +1,3 @@
1
+ import { AccountingCatalogsRequest } from '../catalog.types'
2
+
3
+ export type AccountingCatalogsCreateSingleRequest = AccountingCatalogsRequest
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsCreateSingleResponse = SingleResponse
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsDeleteSingleResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsDeleteSingleResponse = SingleResponse
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsGetManyRequest {}
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsGetManyRequest = GetManyRequest
@@ -1 +1,6 @@
1
- export interface AccountingCatalogsGetManyResponse {}
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { AccountingCatalogsResponse } from '../catalog.types'
3
+
4
+ export type AccountingCatalogsGetManyResponse = GetManyResponse & {
5
+ data: Array<AccountingCatalogsResponse & { index: number }>
6
+ }
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsUpdateSingleRequest {}
1
+ import { AccountingCatalogsRequest } from '../catalog.types'
2
+
3
+ export type AccountingCatalogsUpdateSingleRequest = Partial<AccountingCatalogsRequest>
@@ -1 +1,3 @@
1
- export interface AccountingCatalogsUpdateSingleResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsUpdateSingleResponse = SingleResponse