@openbox/shared-types 0.2.31 → 0.2.33

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 (139) hide show
  1. package/lib/customers/Branches/CreateSingle/Request.d.ts +1 -1
  2. package/lib/customers/Branches/GetMany/Response.d.ts +1 -1
  3. package/lib/customers/Branches/GetSingle/Response.d.ts +1 -1
  4. package/lib/customers/Branches/UpdateSingle/Request.d.ts +1 -1
  5. package/lib/customers/Branches/UpdateSingleDefault/Request.d.ts +1 -1
  6. package/lib/customers/Branches/customers.branches.types.d.ts +23 -0
  7. package/lib/{system/Cities/system.cities.interfaces.js → customers/Branches/customers.branches.types.js} +1 -1
  8. package/lib/customers/Branches/customers.branches.types.js.map +1 -0
  9. package/lib/customers/Customers/CreateSingle/Request.d.ts +1 -1
  10. package/lib/customers/Customers/GetMany/Response.d.ts +3 -3
  11. package/lib/customers/Customers/GetSingle/Response.d.ts +1 -1
  12. package/lib/customers/Customers/UpdateSingle/Request.d.ts +1 -1
  13. package/lib/customers/Customers/{customers.interfaces.d.ts → customers.types.d.ts} +4 -2
  14. package/lib/{services/Services/services.interface.js → customers/Customers/customers.types.js} +1 -1
  15. package/lib/customers/Customers/customers.types.js.map +1 -0
  16. package/lib/customers/Customers/index.d.ts +1 -0
  17. package/lib/customers/Customers/index.js +1 -0
  18. package/lib/customers/Customers/index.js.map +1 -1
  19. package/lib/invoices/Calculation/GetSingle/Response.d.ts +2 -2
  20. package/lib/invoices/Invoices/invoices.interfaces.d.ts +2 -2
  21. package/lib/services/SellingTypes/GetSingle/Response.d.ts +1 -1
  22. package/lib/services/SellingTypes/{services.selling-types.interface.d.ts → services.selling-types.types.d.ts} +1 -1
  23. package/lib/{system/Countries/system.countries.interfaces.js → services/SellingTypes/services.selling-types.types.js} +1 -1
  24. package/lib/services/SellingTypes/services.selling-types.types.js.map +1 -0
  25. package/lib/services/Services/CreateSingle/Request.d.ts +1 -1
  26. package/lib/services/Services/GetMany/Response.d.ts +1 -1
  27. package/lib/services/Services/GetSingle/Response.d.ts +1 -1
  28. package/lib/services/Services/UpdateSingle/Request.d.ts +1 -1
  29. package/lib/services/Services/{services.interface.d.ts → services.types.d.ts} +1 -1
  30. package/lib/{customers/Customers/customers.interfaces.js → services/Services/services.types.js} +1 -1
  31. package/lib/services/Services/services.types.js.map +1 -0
  32. package/lib/system/Cities/GetSingle/Response.d.ts +1 -1
  33. package/lib/system/Cities/{system.cities.interfaces.d.ts → system.cities.types.d.ts} +1 -1
  34. package/lib/system/{Logs/system.logs.interfaces.js → Cities/system.cities.types.js} +1 -1
  35. package/lib/system/Cities/system.cities.types.js.map +1 -0
  36. package/lib/system/Countries/GetSingle/Response.d.ts +1 -1
  37. package/lib/system/Countries/system.countries.types.js +3 -0
  38. package/lib/system/Countries/system.countries.types.js.map +1 -0
  39. package/lib/system/Directory/CreateSingle/Request.d.ts +1 -1
  40. package/lib/system/Directory/GetMany/Request.d.ts +1 -1
  41. package/lib/system/Directory/GetMany/Response.d.ts +1 -1
  42. package/lib/system/Directory/UpdateSingle/Request.d.ts +1 -1
  43. package/lib/system/Directory/{system.directory.interfaces.d.ts → system.directory.types.d.ts} +2 -2
  44. package/lib/system/Directory/system.directory.types.js +3 -0
  45. package/lib/system/Directory/system.directory.types.js.map +1 -0
  46. package/lib/system/Genders/system.genders.types.js +3 -0
  47. package/lib/system/Genders/system.genders.types.js.map +1 -0
  48. package/lib/system/Logs/system.logs.types.js +3 -0
  49. package/lib/system/Logs/system.logs.types.js.map +1 -0
  50. package/lib/system/NaturalTypes/GetSingle/Response.d.ts +1 -1
  51. package/lib/system/NaturalTypes/system.natural-types.types.js +3 -0
  52. package/lib/system/NaturalTypes/system.natural-types.types.js.map +1 -0
  53. package/lib/system/PersonTypes/GetSingle/Response.d.ts +1 -1
  54. package/lib/system/{Genders/system.genders.interfaces.js → PersonTypes/system.person-types.types.js} +1 -1
  55. package/lib/system/PersonTypes/system.person-types.types.js.map +1 -0
  56. package/lib/system/SellingTypes/GetSingle/Response.d.ts +1 -1
  57. package/lib/system/SellingTypes/system.selling-types.types.js +3 -0
  58. package/lib/system/SellingTypes/system.selling-types.types.js.map +1 -0
  59. package/lib/system/States/GetSingle/Response.d.ts +1 -1
  60. package/lib/system/States/{system.states.interfaces.d.ts → system.states.types.d.ts} +1 -1
  61. package/lib/system/States/system.states.types.js +3 -0
  62. package/lib/system/States/system.states.types.js.map +1 -0
  63. package/lib/system/TaxerTypes/GetSingle/Response.d.ts +1 -1
  64. package/lib/system/TaxerTypes/system.taxer-types.types.js +3 -0
  65. package/lib/system/TaxerTypes/system.taxer-types.types.js.map +1 -0
  66. package/package.json +1 -1
  67. package/src/customers/Branches/CreateSingle/Request.ts +1 -1
  68. package/src/customers/Branches/GetMany/Response.ts +1 -1
  69. package/src/customers/Branches/GetSingle/Response.ts +1 -1
  70. package/src/customers/Branches/UpdateSingle/Request.ts +1 -1
  71. package/src/customers/Branches/UpdateSingleDefault/Request.ts +1 -1
  72. package/src/customers/Branches/customers.branches.types.ts +35 -0
  73. package/src/customers/Customers/CreateSingle/Request.ts +1 -1
  74. package/src/customers/Customers/GetMany/Response.ts +3 -3
  75. package/src/customers/Customers/GetSingle/Response.ts +1 -1
  76. package/src/customers/Customers/UpdateSingle/Request.ts +1 -1
  77. package/src/customers/Customers/{customers.interfaces.ts → customers.types.ts} +4 -2
  78. package/src/customers/Customers/index.ts +1 -0
  79. package/src/invoices/Calculation/GetSingle/Response.ts +2 -2
  80. package/src/invoices/Invoices/invoices.interfaces.ts +2 -2
  81. package/src/services/SellingTypes/GetSingle/Response.ts +1 -1
  82. package/src/services/SellingTypes/{services.selling-types.interface.ts → services.selling-types.types.ts} +1 -1
  83. package/src/services/Services/CreateSingle/Request.ts +1 -1
  84. package/src/services/Services/GetMany/Response.ts +1 -1
  85. package/src/services/Services/GetSingle/Response.ts +1 -1
  86. package/src/services/Services/UpdateSingle/Request.ts +1 -1
  87. package/src/services/Services/{services.interface.ts → services.types.ts} +1 -1
  88. package/src/system/Cities/GetSingle/Response.ts +1 -1
  89. package/src/system/Cities/{system.cities.interfaces.ts → system.cities.types.ts} +1 -1
  90. package/src/system/Countries/GetSingle/Response.ts +1 -1
  91. package/src/system/Directory/CreateSingle/Request.ts +1 -1
  92. package/src/system/Directory/GetMany/Request.ts +1 -1
  93. package/src/system/Directory/GetMany/Response.ts +1 -1
  94. package/src/system/Directory/UpdateSingle/Request.ts +1 -1
  95. package/src/system/Directory/{system.directory.interfaces.ts → system.directory.types.ts} +2 -2
  96. package/src/system/NaturalTypes/GetSingle/Response.ts +1 -1
  97. package/src/system/PersonTypes/GetSingle/Response.ts +1 -1
  98. package/src/system/SellingTypes/GetSingle/Response.ts +1 -1
  99. package/src/system/States/GetSingle/Response.ts +1 -1
  100. package/src/system/States/{system.states.interfaces.ts → system.states.types.ts} +1 -1
  101. package/src/system/TaxerTypes/GetSingle/Response.ts +1 -1
  102. package/lib/customers/Branches/customers.branches.interfaces.d.ts +0 -29
  103. package/lib/customers/Branches/customers.branches.interfaces.js +0 -3
  104. package/lib/customers/Branches/customers.branches.interfaces.js.map +0 -1
  105. package/lib/customers/Customers/customers.interfaces.js.map +0 -1
  106. package/lib/services/SellingTypes/services.selling-types.interface.js +0 -3
  107. package/lib/services/SellingTypes/services.selling-types.interface.js.map +0 -1
  108. package/lib/services/Services/services.interface.js.map +0 -1
  109. package/lib/system/Cities/system.cities.interfaces.js.map +0 -1
  110. package/lib/system/Countries/system.countries.interfaces.js.map +0 -1
  111. package/lib/system/Directory/system.directory.interfaces.js +0 -3
  112. package/lib/system/Directory/system.directory.interfaces.js.map +0 -1
  113. package/lib/system/Genders/system.genders.interfaces.js.map +0 -1
  114. package/lib/system/Logs/system.logs.interfaces.js.map +0 -1
  115. package/lib/system/NaturalTypes/system.natural-types.interfaces.js +0 -3
  116. package/lib/system/NaturalTypes/system.natural-types.interfaces.js.map +0 -1
  117. package/lib/system/PersonTypes/system.person-types.interfaces.js +0 -3
  118. package/lib/system/PersonTypes/system.person-types.interfaces.js.map +0 -1
  119. package/lib/system/SellingTypes/system.selling-types.interface.js +0 -3
  120. package/lib/system/SellingTypes/system.selling-types.interface.js.map +0 -1
  121. package/lib/system/States/system.states.interfaces.js +0 -3
  122. package/lib/system/States/system.states.interfaces.js.map +0 -1
  123. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js +0 -3
  124. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js.map +0 -1
  125. package/src/customers/Branches/customers.branches.interfaces.ts +0 -35
  126. /package/lib/system/Countries/{system.countries.interfaces.d.ts → system.countries.types.d.ts} +0 -0
  127. /package/lib/system/Genders/{system.genders.interfaces.d.ts → system.genders.types.d.ts} +0 -0
  128. /package/lib/system/Logs/{system.logs.interfaces.d.ts → system.logs.types.d.ts} +0 -0
  129. /package/lib/system/NaturalTypes/{system.natural-types.interfaces.d.ts → system.natural-types.types.d.ts} +0 -0
  130. /package/lib/system/PersonTypes/{system.person-types.interfaces.d.ts → system.person-types.types.d.ts} +0 -0
  131. /package/lib/system/SellingTypes/{system.selling-types.interface.d.ts → system.selling-types.types.d.ts} +0 -0
  132. /package/lib/system/TaxerTypes/{system.taxer-types.interfaces.d.ts → system.taxer-types.types.d.ts} +0 -0
  133. /package/src/system/Countries/{system.countries.interfaces.ts → system.countries.types.ts} +0 -0
  134. /package/src/system/Genders/{system.genders.interfaces.ts → system.genders.types.ts} +0 -0
  135. /package/src/system/Logs/{system.logs.interfaces.ts → system.logs.types.ts} +0 -0
  136. /package/src/system/NaturalTypes/{system.natural-types.interfaces.ts → system.natural-types.types.ts} +0 -0
  137. /package/src/system/PersonTypes/{system.person-types.interfaces.ts → system.person-types.types.ts} +0 -0
  138. /package/src/system/SellingTypes/{system.selling-types.interface.ts → system.selling-types.types.ts} +0 -0
  139. /package/src/system/TaxerTypes/{system.taxer-types.interfaces.ts → system.taxer-types.types.ts} +0 -0
@@ -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';
3
- export type CustomerGetManyResponse = GetManyResponse & {
4
- data: Array<CustomersResponse>;
2
+ import { CustomersResponse } from '../customers.types';
3
+ export type CustomersGetManyResponse = GetManyResponse & {
4
+ data: Array<Pick<CustomersResponse, 'id' | 'name' | 'personType' | 'nit' | 'nrc' | 'active'>>;
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,9 +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.types';
6
7
  export type Customers = {
7
8
  id: string;
8
- name: string;
9
+ name?: string;
9
10
  name1?: string;
10
11
  name2?: string;
11
12
  name3?: string;
@@ -29,8 +30,9 @@ export type Customers = {
29
30
  personType: SystemPersonTypeGetSingleResponse;
30
31
  customerType: SystemSellingTypeGetSingleResponse;
31
32
  customerTypeNatural: SystemNaturalTypesGetSingleResponse;
33
+ branch?: CustomersBranchesResponse;
32
34
  };
33
- export type CustomersRequest = Omit<Customers, 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural'> & {
35
+ export type CustomersRequest = Omit<Customers, 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural' | 'branch'> & {
34
36
  customerTaxerType: number;
35
37
  personType: number;
36
38
  customerType: number;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=services.interface.js.map
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":""}
@@ -10,4 +10,5 @@ export * from './UpdateManyStatuses/Request';
10
10
  export * from './UpdateManyStatuses/Response';
11
11
  export * from './UpdateSingle/Request';
12
12
  export * from './UpdateSingle/Response';
13
+ export * from './UpdateSingleStatus/Request';
13
14
  export * from './UpdateSingleStatus/Response';
@@ -26,5 +26,6 @@ __exportStar(require("./UpdateManyStatuses/Request"), exports);
26
26
  __exportStar(require("./UpdateManyStatuses/Response"), exports);
27
27
  __exportStar(require("./UpdateSingle/Request"), exports);
28
28
  __exportStar(require("./UpdateSingle/Response"), exports);
29
+ __exportStar(require("./UpdateSingleStatus/Request"), exports);
29
30
  __exportStar(require("./UpdateSingleStatus/Response"), exports);
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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,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"}
@@ -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;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.interfaces.js.map
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;
@@ -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=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.31",
3
+ "version": "0.2.33",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,3 +1,3 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces'
1
+ import { CustomersBranchesRequest } from '../customers.branches.types'
2
2
 
3
3
  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
 
4
4
  export type CustomersBranchesGetManyResponse = GetManyResponse & {
5
5
  data: Array<CustomersBranchesResponse>
@@ -1,3 +1,3 @@
1
- import { CustomersBranchesResponse } from '../customers.branches.interfaces'
1
+ import { CustomersBranchesResponse } from '../customers.branches.types'
2
2
 
3
3
  export type CustomersBranchesGetSingleResponse = CustomersBranchesResponse
@@ -1,3 +1,3 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces'
1
+ import { CustomersBranchesRequest } from '../customers.branches.types'
2
2
 
3
3
  export type CustomersBranchesUpdateSingleRequest = Partial<CustomersBranchesRequest>
@@ -1,3 +1,3 @@
1
- import { CustomersBranchesRequest } from '../customers.branches.interfaces'
1
+ import { CustomersBranchesRequest } from '../customers.branches.types'
2
2
 
3
3
  export type CustomersBranchesUpdateSingleDefaultRequest = Pick<CustomersBranchesRequest, 'default'>
@@ -0,0 +1,35 @@
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
+
6
+ // export type CustomerBranchesContactInfo = {
7
+ // phones: Array<string>
8
+ // emails: Array<string>
9
+ // }
10
+
11
+ export type CustomersBranches = {
12
+ id: string
13
+ name: string
14
+ // contactName: string
15
+ // contactInfo: CustomerBranchesContactInfo
16
+ address1: string
17
+ address2?: string
18
+ zipcode?: string
19
+ default?: boolean
20
+ customer: CustomersResponse
21
+ city: SystemCitiesResponse
22
+ country: SystemCountriesResponse
23
+ state: SystemStatesResponse
24
+ }
25
+
26
+ export type CustomersBranchesRequest = Omit<
27
+ CustomersBranches,
28
+ 'id' | 'city' | 'country' | 'state' | 'customer'
29
+ > & {
30
+ customer: string
31
+ city: number
32
+ country: number
33
+ state: number
34
+ }
35
+ export type CustomersBranchesResponse = CustomersBranches
@@ -1,3 +1,3 @@
1
- import { CustomersRequest } from '../customers.interfaces'
1
+ import { CustomersRequest } from '../customers.types'
2
2
 
3
3
  export type CustomersCreateSingleRequest = CustomersRequest
@@ -1,6 +1,6 @@
1
1
  import { GetManyResponse } from '../../../interfaces'
2
- import { CustomersResponse } from '../customers.interfaces'
2
+ import { CustomersResponse } from '../customers.types'
3
3
 
4
- export type CustomerGetManyResponse = GetManyResponse & {
5
- data: Array<CustomersResponse>
4
+ export type CustomersGetManyResponse = GetManyResponse & {
5
+ data: Array<Pick<CustomersResponse, 'id' | 'name' | 'personType' | 'nit' | 'nrc' | 'active'>>
6
6
  }
@@ -1,3 +1,3 @@
1
- import { CustomersResponse } from '../customers.interfaces'
1
+ import { CustomersResponse } from '../customers.types'
2
2
 
3
3
  export type CustomersGetSingleResponse = CustomersResponse
@@ -1,3 +1,3 @@
1
- import { CustomersRequest } from '../customers.interfaces'
1
+ import { CustomersRequest } from '../customers.types'
2
2
 
3
3
  export type CustomersUpdateSingleRequest = Omit<Partial<CustomersRequest>, 'branch'>
@@ -3,10 +3,11 @@ 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.types'
6
7
 
7
8
  export type Customers = {
8
9
  id: string
9
- name: string
10
+ name?: string
10
11
  name1?: string
11
12
  name2?: string
12
13
  name3?: string
@@ -30,10 +31,11 @@ export type Customers = {
30
31
  personType: SystemPersonTypeGetSingleResponse
31
32
  customerType: SystemSellingTypeGetSingleResponse
32
33
  customerTypeNatural: SystemNaturalTypesGetSingleResponse
34
+ branch?: CustomersBranchesResponse
33
35
  }
34
36
  export type CustomersRequest = Omit<
35
37
  Customers,
36
- 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural'
38
+ 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural' | 'branch'
37
39
  > & {
38
40
  customerTaxerType: number
39
41
  personType: number
@@ -10,4 +10,5 @@ export * from './UpdateManyStatuses/Request'
10
10
  export * from './UpdateManyStatuses/Response'
11
11
  export * from './UpdateSingle/Request'
12
12
  export * from './UpdateSingle/Response'
13
+ export * from './UpdateSingleStatus/Request'
13
14
  export * from './UpdateSingleStatus/Response'
@@ -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
 
4
4
  export type InvoicesCalculationsDetailsResponse = {
5
5
  id: string
@@ -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 {
@@ -1,3 +1,3 @@
1
- import { ServicesSellingTypesResponse } from '../services.selling-types.interface'
1
+ import { ServicesSellingTypesResponse } from '../services.selling-types.types'
2
2
 
3
3
  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
 
3
3
  export type ServicesSellingTypes = Omit<
4
4
  SystemSellingTypes,
@@ -1,3 +1,3 @@
1
- import { ServicesRequest } from '../services.interface'
1
+ import { ServicesRequest } from '../services.types'
2
2
 
3
3
  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
 
4
4
  export type ServicesGetManyResponse = GetManyResponse & {
5
5
  data: Array<ServicesResponse & { index: number }>
@@ -1,3 +1,3 @@
1
- import { ServicesResponse } from '../services.interface'
1
+ import { ServicesResponse } from '../services.types'
2
2
 
3
3
  export type ServicesGetSingleResponse = ServicesResponse
@@ -1,3 +1,3 @@
1
- import { ServicesRequest } from '../services.interface'
1
+ import { ServicesRequest } from '../services.types'
2
2
 
3
3
  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
 
3
3
  export type Services = {
4
4
  id: string
@@ -1,3 +1,3 @@
1
- import { SystemCitiesResponse } from '../system.cities.interfaces'
1
+ import { SystemCitiesResponse } from '../system.cities.types'
2
2
 
3
3
  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
 
3
3
  export type SystemCities = {
4
4
  id: number
@@ -1,3 +1,3 @@
1
- import { SystemCountriesResponse } from '../system.countries.interfaces'
1
+ import { SystemCountriesResponse } from '../system.countries.types'
2
2
 
3
3
  export type SystemCountriesGetSingleReponse = SystemCountriesResponse
@@ -1,3 +1,3 @@
1
- import { SystemDirectoryRequest } from '../system.directory.interfaces'
1
+ import { SystemDirectoryRequest } from '../system.directory.types'
2
2
 
3
3
  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
 
4
4
  export type SystemDirectoryGetManyRequest = GetManyRequest & {
5
5
  types?: Array<SystemDirectoryType>
@@ -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
 
4
4
  export type SystemDirectoryGetManyResponse = GetManyResponse & {
5
5
  data: Array<SystemDirectoryResponse & { index: number }>
@@ -1,3 +1,3 @@
1
- import { SystemDirectoryRequest } from '../system.directory.interfaces'
1
+ import { SystemDirectoryRequest } from '../system.directory.types'
2
2
 
3
3
  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
 
5
5
  export type SystemDirectoryType = 'phone' | 'cellphone' | 'email'
@@ -1,3 +1,3 @@
1
- import { SystemNaturalTypesResponse } from '../system.natural-types.interfaces'
1
+ import { SystemNaturalTypesResponse } from '../system.natural-types.types'
2
2
 
3
3
  export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse
@@ -1,3 +1,3 @@
1
- import { SystemPersonTypesResponse } from '../system.person-types.interfaces'
1
+ import { SystemPersonTypesResponse } from '../system.person-types.types'
2
2
 
3
3
  export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse
@@ -1,3 +1,3 @@
1
- import { SystemSellingTypesResponse } from '../system.selling-types.interface'
1
+ import { SystemSellingTypesResponse } from '../system.selling-types.types'
2
2
 
3
3
  export type SystemSellingTypeGetSingleResponse = SystemSellingTypesResponse
@@ -1,3 +1,3 @@
1
- import { SystemStatesResponse } from '../system.states.interfaces'
1
+ import { SystemStatesResponse } from '../system.states.types'
2
2
 
3
3
  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
 
3
3
  export type SystemStates = {
4
4
  id: number
@@ -1,3 +1,3 @@
1
- import { SystemTaxerTypesResponse } from '../system.taxer-types.interfaces'
1
+ import { SystemTaxerTypesResponse } from '../system.taxer-types.types'
2
2
 
3
3
  export type SystemTaxerTypesGetSingleResponse = SystemTaxerTypesResponse
@@ -1,29 +0,0 @@
1
- import { SystemCities } from '../../system/Cities/system.cities.interfaces';
2
- import { SystemCountries } from '../../system/Countries/system.countries.interfaces';
3
- import { SystemStates } from '../../system/States/system.states.interfaces';
4
- import { Customers } from '../Customers/customers.interfaces';
5
- export type CustomerBranchesContactInfo = {
6
- phones: Array<string>;
7
- emails: Array<string>;
8
- };
9
- export type CustomersBranches = {
10
- id: string;
11
- name: string;
12
- contactName: string;
13
- contactInfo: CustomerBranchesContactInfo;
14
- address1: string;
15
- address2?: string;
16
- zipcode?: string;
17
- default?: boolean;
18
- customer: Customers;
19
- city: SystemCities;
20
- country: SystemCountries;
21
- state: SystemStates;
22
- };
23
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state' | 'customer'> & {
24
- customer: string;
25
- city: number;
26
- country: number;
27
- state: number;
28
- };
29
- export type CustomersBranchesResponse = CustomersBranches;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.branches.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.branches.interfaces.js","sourceRoot":"","sources":["../../../src/customers/Branches/customers.branches.interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.interfaces.js","sourceRoot":"","sources":["../../../src/customers/Customers/customers.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=services.selling-types.interface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.selling-types.interface.js","sourceRoot":"","sources":["../../../src/services/SellingTypes/services.selling-types.interface.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.interface.js","sourceRoot":"","sources":["../../../src/services/Services/services.interface.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.cities.interfaces.js","sourceRoot":"","sources":["../../../src/system/Cities/system.cities.interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.countries.interfaces.js","sourceRoot":"","sources":["../../../src/system/Countries/system.countries.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.directory.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.directory.interfaces.js","sourceRoot":"","sources":["../../../src/system/Directory/system.directory.interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.genders.interfaces.js","sourceRoot":"","sources":["../../../src/system/Genders/system.genders.interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.logs.interfaces.js","sourceRoot":"","sources":["../../../src/system/Logs/system.logs.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.natural-types.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.natural-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/system.natural-types.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.person-types.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.person-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/system.person-types.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.selling-types.interface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.selling-types.interface.js","sourceRoot":"","sources":["../../../src/system/SellingTypes/system.selling-types.interface.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.states.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.states.interfaces.js","sourceRoot":"","sources":["../../../src/system/States/system.states.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.taxer-types.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.taxer-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/system.taxer-types.interfaces.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
1
- import { SystemCities } from '../../system/Cities/system.cities.interfaces'
2
- import { SystemCountries } from '../../system/Countries/system.countries.interfaces'
3
- import { SystemStates } from '../../system/States/system.states.interfaces'
4
- import { Customers } from '../Customers/customers.interfaces'
5
-
6
- export type CustomerBranchesContactInfo = {
7
- phones: Array<string>
8
- emails: Array<string>
9
- }
10
-
11
- export type CustomersBranches = {
12
- id: string
13
- name: string
14
- contactName: string
15
- contactInfo: CustomerBranchesContactInfo
16
- address1: string
17
- address2?: string
18
- zipcode?: string
19
- default?: boolean
20
- customer: Customers
21
- city: SystemCities
22
- country: SystemCountries
23
- state: SystemStates
24
- }
25
-
26
- export type CustomersBranchesRequest = Omit<
27
- CustomersBranches,
28
- 'id' | 'city' | 'country' | 'state' | 'customer'
29
- > & {
30
- customer: string
31
- city: number
32
- country: number
33
- state: number
34
- }
35
- export type CustomersBranchesResponse = CustomersBranches