@openbox/shared-types 0.1.77 → 0.1.79

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 (167) hide show
  1. package/lib/System/Cities/GetMany/Response.d.ts +7 -0
  2. package/lib/System/Cities/GetMany/Response.js +3 -0
  3. package/lib/System/Cities/GetMany/Response.js.map +1 -0
  4. package/lib/System/Cities/index.d.ts +2 -0
  5. package/lib/System/Cities/index.js +3 -0
  6. package/lib/System/Cities/index.js.map +1 -0
  7. package/lib/System/Countries/GetMany/Response.d.ts +7 -0
  8. package/lib/System/Countries/GetMany/Response.js +3 -0
  9. package/lib/System/Countries/GetMany/Response.js.map +1 -0
  10. package/lib/System/Countries/index.d.ts +2 -0
  11. package/lib/System/Countries/index.js +3 -0
  12. package/lib/System/Countries/index.js.map +1 -0
  13. package/lib/System/PersonTypes/GetMany/Response.d.ts +7 -0
  14. package/lib/System/PersonTypes/GetMany/Response.js +3 -0
  15. package/lib/System/PersonTypes/GetMany/Response.js.map +1 -0
  16. package/lib/System/PersonTypes/index.d.ts +2 -0
  17. package/lib/System/PersonTypes/index.js +3 -0
  18. package/lib/System/PersonTypes/index.js.map +1 -0
  19. package/lib/System/SellingTypes/GetMany/Response.d.ts +10 -0
  20. package/lib/System/SellingTypes/GetMany/Response.js +3 -0
  21. package/lib/System/SellingTypes/GetMany/Response.js.map +1 -0
  22. package/lib/System/SellingTypes/index.d.ts +2 -0
  23. package/lib/System/SellingTypes/index.js +3 -0
  24. package/lib/System/SellingTypes/index.js.map +1 -0
  25. package/lib/System/States/GetMany/Response.d.ts +7 -0
  26. package/lib/System/States/GetMany/Response.js +3 -0
  27. package/lib/System/States/GetMany/Response.js.map +1 -0
  28. package/lib/System/States/index.d.ts +2 -0
  29. package/lib/System/States/index.js +3 -0
  30. package/lib/System/States/index.js.map +1 -0
  31. package/lib/System/TaxerTypes/GetMany/Response.d.ts +7 -0
  32. package/lib/System/TaxerTypes/GetMany/Response.js +3 -0
  33. package/lib/System/TaxerTypes/GetMany/Response.js.map +1 -0
  34. package/lib/System/TaxerTypes/index.d.ts +2 -0
  35. package/lib/System/TaxerTypes/index.js +3 -0
  36. package/lib/System/TaxerTypes/index.js.map +1 -0
  37. package/lib/System/TypeNaturals/GetMany/Response.d.ts +7 -0
  38. package/lib/System/TypeNaturals/GetMany/Response.js +3 -0
  39. package/lib/System/TypeNaturals/GetMany/Response.js.map +1 -0
  40. package/lib/System/TypeNaturals/index.d.ts +2 -0
  41. package/lib/System/TypeNaturals/index.js +3 -0
  42. package/lib/System/TypeNaturals/index.js.map +1 -0
  43. package/lib/System/index.d.ts +8 -0
  44. package/lib/System/index.js +3 -0
  45. package/lib/System/index.js.map +1 -0
  46. package/lib/customers/Branches/CreateMany/Request.d.ts +14 -0
  47. package/lib/customers/Branches/CreateMany/Request.js +3 -0
  48. package/lib/customers/Branches/CreateMany/Request.js.map +1 -0
  49. package/lib/customers/Branches/CreateMany/Response.d.ts +4 -0
  50. package/lib/customers/Branches/CreateMany/Response.js +3 -0
  51. package/lib/customers/Branches/CreateMany/Response.js.map +1 -0
  52. package/lib/customers/Branches/DeleteSingle/Response.d.ts +4 -0
  53. package/lib/customers/Branches/DeleteSingle/Response.js +3 -0
  54. package/lib/customers/Branches/DeleteSingle/Response.js.map +1 -0
  55. package/lib/customers/Branches/GetMany/Request.d.ts +8 -0
  56. package/lib/customers/Branches/GetMany/Request.js +3 -0
  57. package/lib/customers/Branches/GetMany/Request.js.map +1 -0
  58. package/lib/customers/Branches/GetMany/Response.d.ts +21 -0
  59. package/lib/customers/Branches/GetMany/Response.js +3 -0
  60. package/lib/customers/Branches/GetMany/Response.js.map +1 -0
  61. package/lib/customers/Branches/GetSingle/Response.d.ts +19 -0
  62. package/lib/customers/Branches/GetSingle/Response.js +3 -0
  63. package/lib/customers/Branches/GetSingle/Response.js.map +1 -0
  64. package/lib/customers/Branches/UpdateDefault/Request.d.ts +8 -0
  65. package/lib/customers/Branches/UpdateDefault/Request.js +3 -0
  66. package/lib/customers/Branches/UpdateDefault/Request.js.map +1 -0
  67. package/lib/customers/Branches/UpdateDefault/Response.d.ts +4 -0
  68. package/lib/customers/Branches/UpdateDefault/Response.js +3 -0
  69. package/lib/customers/Branches/UpdateDefault/Response.js.map +1 -0
  70. package/lib/customers/Branches/UpdateSingle/Request.d.ts +14 -0
  71. package/lib/customers/Branches/UpdateSingle/Request.js +3 -0
  72. package/lib/customers/Branches/UpdateSingle/Request.js.map +1 -0
  73. package/lib/customers/Branches/UpdateSingle/Response.d.ts +4 -0
  74. package/lib/customers/Branches/UpdateSingle/Response.js +3 -0
  75. package/lib/customers/Branches/UpdateSingle/Response.js.map +1 -0
  76. package/lib/customers/Branches/index.d.ts +9 -0
  77. package/lib/customers/Branches/index.js +3 -0
  78. package/lib/customers/Branches/index.js.map +1 -0
  79. package/lib/customers/Customers/CreateSingle/Response.d.ts +4 -0
  80. package/lib/customers/Customers/CreateSingle/Response.js +3 -0
  81. package/lib/customers/Customers/CreateSingle/Response.js.map +1 -0
  82. package/lib/customers/Customers/CreateSingle/Resquest.d.ts +20 -0
  83. package/lib/customers/Customers/CreateSingle/Resquest.js +3 -0
  84. package/lib/customers/Customers/CreateSingle/Resquest.js.map +1 -0
  85. package/lib/customers/Customers/DeleteMany/Request.d.ts +3 -0
  86. package/lib/customers/Customers/DeleteMany/Request.js +3 -0
  87. package/lib/customers/Customers/DeleteMany/Request.js.map +1 -0
  88. package/lib/customers/Customers/DeleteMany/Response.d.ts +3 -0
  89. package/lib/customers/Customers/DeleteMany/Response.js +3 -0
  90. package/lib/customers/Customers/DeleteMany/Response.js.map +1 -0
  91. package/lib/customers/Customers/DeleteSingle/Response.d.ts +4 -0
  92. package/lib/customers/Customers/DeleteSingle/Response.js +3 -0
  93. package/lib/customers/Customers/DeleteSingle/Response.js.map +1 -0
  94. package/lib/customers/Customers/GetMany/Request.d.ts +9 -0
  95. package/lib/customers/Customers/GetMany/Request.js +3 -0
  96. package/lib/customers/Customers/GetMany/Request.js.map +1 -0
  97. package/lib/customers/Customers/GetMany/Response.d.ts +26 -0
  98. package/lib/customers/Customers/GetMany/Response.js +3 -0
  99. package/lib/customers/Customers/GetMany/Response.js.map +1 -0
  100. package/lib/customers/Customers/GetSingle/Response.d.ts +29 -0
  101. package/lib/customers/Customers/GetSingle/Response.js +3 -0
  102. package/lib/customers/Customers/GetSingle/Response.js.map +1 -0
  103. package/lib/customers/Customers/UpdateManyStatuses/Request.d.ts +4 -0
  104. package/lib/customers/Customers/UpdateManyStatuses/Request.js +3 -0
  105. package/lib/customers/Customers/UpdateManyStatuses/Request.js.map +1 -0
  106. package/lib/customers/Customers/UpdateManyStatuses/Response.d.ts +3 -0
  107. package/lib/customers/Customers/UpdateManyStatuses/Response.js +3 -0
  108. package/lib/customers/Customers/UpdateManyStatuses/Response.js.map +1 -0
  109. package/lib/customers/Customers/UpdateSingle/Response.d.ts +4 -0
  110. package/lib/customers/Customers/UpdateSingle/Response.js +3 -0
  111. package/lib/customers/Customers/UpdateSingle/Response.js.map +1 -0
  112. package/lib/customers/Customers/UpdateSingle/Resquest.d.ts +20 -0
  113. package/lib/customers/Customers/UpdateSingle/Resquest.js +3 -0
  114. package/lib/customers/Customers/UpdateSingle/Resquest.js.map +1 -0
  115. package/lib/customers/Customers/UpdateSingleStatus/Response.d.ts +4 -0
  116. package/lib/customers/Customers/UpdateSingleStatus/Response.js +3 -0
  117. package/lib/customers/Customers/UpdateSingleStatus/Response.js.map +1 -0
  118. package/lib/customers/Customers/index.d.ts +13 -0
  119. package/lib/customers/Customers/index.js +3 -0
  120. package/lib/customers/Customers/index.js.map +1 -0
  121. package/lib/customers/index.d.ts +3 -0
  122. package/lib/customers/index.js +3 -0
  123. package/lib/customers/index.js.map +1 -0
  124. package/lib/index.d.ts +3 -1
  125. package/package.json +5 -1
  126. package/src/System/Cities/GetMany/Response.ts +8 -0
  127. package/src/System/Cities/index.ts +3 -0
  128. package/src/System/Countries/GetMany/Response.ts +8 -0
  129. package/src/System/Countries/index.ts +6 -0
  130. package/src/System/PersonTypes/GetMany/Response.ts +8 -0
  131. package/src/System/PersonTypes/index.ts +6 -0
  132. package/src/System/SellingTypes/GetMany/Response.ts +11 -0
  133. package/src/System/SellingTypes/index.ts +6 -0
  134. package/src/System/States/GetMany/Response.ts +8 -0
  135. package/src/System/States/index.ts +3 -0
  136. package/src/System/TaxerTypes/GetMany/Response.ts +8 -0
  137. package/src/System/TaxerTypes/index.ts +6 -0
  138. package/src/System/TypeNaturals/GetMany/Response.ts +8 -0
  139. package/src/System/TypeNaturals/index.ts +6 -0
  140. package/src/System/index.ts +36 -0
  141. package/src/customers/Branches/CreateMany/Request.ts +15 -0
  142. package/src/customers/Branches/CreateMany/Response.ts +4 -0
  143. package/src/customers/Branches/DeleteSingle/Response.ts +4 -0
  144. package/src/customers/Branches/GetMany/Request.ts +8 -0
  145. package/src/customers/Branches/GetMany/Response.ts +20 -0
  146. package/src/customers/Branches/GetSingle/Response.ts +22 -0
  147. package/src/customers/Branches/UpdateDefault/Request.ts +8 -0
  148. package/src/customers/Branches/UpdateDefault/Response.ts +4 -0
  149. package/src/customers/Branches/UpdateSingle/Request.ts +15 -0
  150. package/src/customers/Branches/UpdateSingle/Response.ts +4 -0
  151. package/src/customers/Branches/index.ts +31 -0
  152. package/src/customers/Customers/CreateSingle/Response.ts +4 -0
  153. package/src/customers/Customers/CreateSingle/Resquest.ts +21 -0
  154. package/src/customers/Customers/DeleteMany/Request.ts +3 -0
  155. package/src/customers/Customers/DeleteMany/Response.ts +3 -0
  156. package/src/customers/Customers/DeleteSingle/Response.ts +4 -0
  157. package/src/customers/Customers/GetMany/Request.ts +9 -0
  158. package/src/customers/Customers/GetMany/Response.ts +33 -0
  159. package/src/customers/Customers/GetSingle/Response.ts +31 -0
  160. package/src/customers/Customers/UpdateManyStatuses/Request.ts +4 -0
  161. package/src/customers/Customers/UpdateManyStatuses/Response.ts +3 -0
  162. package/src/customers/Customers/UpdateSingle/Response.ts +4 -0
  163. package/src/customers/Customers/UpdateSingle/Resquest.ts +21 -0
  164. package/src/customers/Customers/UpdateSingleStatus/Response.ts +4 -0
  165. package/src/customers/Customers/index.ts +32 -0
  166. package/src/customers/index.ts +57 -0
  167. package/src/index.ts +82 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { SystemPersonTypeMany } from '../../../System/PersonTypes/GetMany/Response';
2
+ import { SystemSellingTypeMany } from '../../../System/SellingTypes/GetMany/Response';
3
+ import { SystemTaxerTypesMany } from '../../../System/TaxerTypes/GetMany/Response';
4
+ import { SystemTypeNaturalMany } from '../../../System/TypeNaturals/GetMany/Response';
5
+ import { CustomerBranchesMany } from '../../Branches/GetMany/Response';
6
+ export interface CustomersGetSingle {
7
+ id: string;
8
+ name: string;
9
+ shortName: string;
10
+ isProvider: boolean;
11
+ isCustomer: boolean;
12
+ dui: string | null;
13
+ nrc: string | null;
14
+ nit: string | null;
15
+ giro: string | null;
16
+ isActiveCustomer: boolean;
17
+ isActiveProvider: boolean;
18
+ isUsedCustomer: boolean;
19
+ isUsedProvider: boolean;
20
+ createdAt: string;
21
+ personType: SystemPersonTypeMany;
22
+ customerTypeNatural: SystemTypeNaturalMany | null;
23
+ customerType: SystemSellingTypeMany;
24
+ customerTaxerType: SystemTaxerTypesMany;
25
+ branch: CustomerBranchesMany;
26
+ }
27
+ export interface CustomersGetSingleResponse {
28
+ data: CustomersGetSingle;
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface CustomerUpdateManyStatusesRequest {
2
+ ids: string[];
3
+ status: string;
4
+ }
@@ -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/customers/Customers/UpdateManyStatuses/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface CustomersUpdateManyStatusesResponse {
2
+ message: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateManyStatuses/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface CustomersUpdateSingleResponse {
2
+ id: string;
3
+ message: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { CustomerBranchesUpdateSingle } from '../../Branches';
2
+ export interface CustomersUpdateSingleRequest {
3
+ name?: string;
4
+ shortName?: string;
5
+ isProvider?: boolean;
6
+ isCustomer?: boolean;
7
+ dui?: string;
8
+ nrc?: string;
9
+ nit?: string;
10
+ giro?: string;
11
+ isActiveCustomer?: boolean;
12
+ isActiveProvider?: boolean;
13
+ isUsedCustomer?: boolean;
14
+ isUsedProvider?: boolean;
15
+ customerTaxerType?: string;
16
+ personType?: string;
17
+ customerType?: string;
18
+ customerTypeNatural?: string;
19
+ branch?: CustomerBranchesUpdateSingle;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Resquest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Resquest.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Resquest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface CustomersUpdateSingleStatusResponse {
2
+ id: string;
3
+ message: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingleStatus/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { CustomersCreateSingleResponse } from './CreateSingle/Response';
2
+ import { CustomersCreateSingleRequest } from './CreateSingle/Resquest';
3
+ import { CustomersDeleteManyRequest } from './DeleteMany/Request';
4
+ import { CustomersDeleteManyResponse } from './DeleteMany/Response';
5
+ import { CustomersDeleteSingleResponse } from './DeleteSingle/Response';
6
+ import { CustomersGetManyRequest } from './GetMany/Request';
7
+ import { CustomerGetMany, CustomerGetManyResponse } from './GetMany/Response';
8
+ import { CustomersGetSingle, CustomersGetSingleResponse } from './GetSingle/Response';
9
+ import { CustomerUpdateManyStatusesRequest } from './UpdateManyStatuses/Request';
10
+ import { CustomersUpdateManyStatusesResponse } from './UpdateManyStatuses/Response';
11
+ import { CustomersUpdateSingleResponse } from './UpdateSingle/Response';
12
+ import { CustomersUpdateSingleStatusResponse } from './UpdateSingleStatus/Response';
13
+ export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Customers/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse } from './Branches';
2
+ import { CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './Customers';
3
+ export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":""}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfile, LoggedUserInfoProfileAccess, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoWorkspace, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspaceCompany, WorkspaceChanged } from './auth';
2
+ import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse, CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './customers';
2
3
  import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSellingTypeMany, ServicesSellingTypeManyResponse, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './services';
3
- export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfile, LoggedUserInfoWorkspaceCompany, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspace, ServicesSellingTypeManyResponse, };
4
+ import { SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse } from './System';
5
+ export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfile, LoggedUserInfoWorkspaceCompany, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspace, ServicesSellingTypeManyResponse, CustomerBranchesMany, CustomerBranchesManyResponse, SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse, CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
7
7
  "author": "Openbox Development Team",
8
8
  "license": "ISC",
9
+ "engines": {
10
+ "node": "v16.19.0",
11
+ "yarn": "v1.22.19"
12
+ },
9
13
  "scripts": {
10
14
  "prebuild": "rimraf lib",
11
15
  "build": "npm run prebuild && tsc",
@@ -0,0 +1,8 @@
1
+ export interface SystemCityMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemCityManyResponse {
7
+ data: SystemCityMany[]
8
+ }
@@ -0,0 +1,3 @@
1
+ import { SystemCityMany, SystemCityManyResponse } from './GetMany/Response'
2
+
3
+ export { SystemCityMany, SystemCityManyResponse }
@@ -0,0 +1,8 @@
1
+ export interface SystemCountryMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemCountryManyResponse {
7
+ data: SystemCountryMany[]
8
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ SystemCountryMany,
3
+ SystemCountryManyResponse,
4
+ } from './GetMany/Response'
5
+
6
+ export { SystemCountryMany, SystemCountryManyResponse }
@@ -0,0 +1,8 @@
1
+ export interface SystemPersonTypeMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemPersonTypeManyResponse {
7
+ data: SystemPersonTypeMany[]
8
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ SystemPersonTypeMany,
3
+ SystemPersonTypeManyResponse,
4
+ } from './GetMany/Response'
5
+
6
+ export { SystemPersonTypeMany, SystemPersonTypeManyResponse }
@@ -0,0 +1,11 @@
1
+ export interface SystemSellingTypeMany {
2
+ id: number
3
+ name: string
4
+ includeInServices: boolean
5
+ includeInCustomers: boolean
6
+ isGravada: boolean
7
+ }
8
+
9
+ export interface SystemSellingTypeManyResponse {
10
+ data: SystemSellingTypeMany[]
11
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ SystemSellingTypeMany,
3
+ SystemSellingTypeManyResponse,
4
+ } from './GetMany/Response'
5
+
6
+ export { SystemSellingTypeMany, SystemSellingTypeManyResponse }
@@ -0,0 +1,8 @@
1
+ export interface SystemStateMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemStateManyResponse {
7
+ data: SystemStateMany[]
8
+ }
@@ -0,0 +1,3 @@
1
+ import { SystemStateMany, SystemStateManyResponse } from './GetMany/Response'
2
+
3
+ export { SystemStateMany, SystemStateManyResponse }
@@ -0,0 +1,8 @@
1
+ export interface SystemTaxerTypesMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemTaxerTypesManyResponse {
7
+ data: SystemTaxerTypesMany[]
8
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ SystemTaxerTypesMany,
3
+ SystemTaxerTypesManyResponse,
4
+ } from './GetMany/Response'
5
+
6
+ export { SystemTaxerTypesMany, SystemTaxerTypesManyResponse }
@@ -0,0 +1,8 @@
1
+ export interface SystemTypeNaturalMany {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export interface SystemTypeNaturalManyResponse {
7
+ data: SystemTypeNaturalMany[]
8
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ SystemTypeNaturalMany,
3
+ SystemTypeNaturalManyResponse,
4
+ } from './GetMany/Response'
5
+
6
+ export { SystemTypeNaturalMany, SystemTypeNaturalManyResponse }
@@ -0,0 +1,36 @@
1
+ import { SystemCityMany, SystemCityManyResponse } from './Cities'
2
+ import { SystemCountryMany, SystemCountryManyResponse } from './Countries'
3
+ import {
4
+ SystemPersonTypeMany,
5
+ SystemPersonTypeManyResponse,
6
+ } from './PersonTypes'
7
+ import {
8
+ SystemSellingTypeMany,
9
+ SystemSellingTypeManyResponse,
10
+ } from './SellingTypes'
11
+ import { SystemStateMany, SystemStateManyResponse } from './States'
12
+ import {
13
+ SystemTaxerTypesMany,
14
+ SystemTaxerTypesManyResponse,
15
+ } from './TaxerTypes'
16
+ import {
17
+ SystemTypeNaturalMany,
18
+ SystemTypeNaturalManyResponse,
19
+ } from './TypeNaturals'
20
+
21
+ export {
22
+ SystemTypeNaturalMany,
23
+ SystemTypeNaturalManyResponse,
24
+ SystemTaxerTypesMany,
25
+ SystemTaxerTypesManyResponse,
26
+ SystemSellingTypeMany,
27
+ SystemSellingTypeManyResponse,
28
+ SystemPersonTypeMany,
29
+ SystemPersonTypeManyResponse,
30
+ SystemCityMany,
31
+ SystemCityManyResponse,
32
+ SystemCountryMany,
33
+ SystemCountryManyResponse,
34
+ SystemStateMany,
35
+ SystemStateManyResponse,
36
+ }
@@ -0,0 +1,15 @@
1
+ export interface CustomerBranchesCreateMany {
2
+ name: string
3
+ contactName?: string
4
+ contactInfo?: string
5
+ default: boolean
6
+ address1: string
7
+ address2?: string
8
+ country: string
9
+ state: string
10
+ city: string
11
+ }
12
+
13
+ export interface CustomerBranchesCreateManyRequest {
14
+ branches: CustomerBranchesCreateMany[]
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesCreateManyResponse {
2
+ ids: string[]
3
+ message: string
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesDeleteSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,8 @@
1
+ export interface CustomerBranchesGetManyRequest {
2
+ limit?: number
3
+ page?: number
4
+ search?: string
5
+ prop?: string
6
+ order?: string
7
+ active?: boolean
8
+ }
@@ -0,0 +1,20 @@
1
+ import { SystemCityMany } from '../../../System/Cities'
2
+ import { SystemCountryMany } from '../../../System/Countries'
3
+ import { SystemStateMany } from '../../../System/States'
4
+
5
+ export interface CustomerBranchesMany {
6
+ id: string
7
+ name: string
8
+ contactName: string
9
+ contactInfo: { phone: string[]; emails: [] }
10
+ address1: string
11
+ address2: string
12
+ default: boolean
13
+ city: SystemCityMany
14
+ country: SystemCountryMany
15
+ state: SystemStateMany
16
+ }
17
+
18
+ export interface CustomerBranchesManyResponse {
19
+ data: CustomerBranchesMany[]
20
+ }
@@ -0,0 +1,22 @@
1
+ import {
2
+ SystemCityMany,
3
+ SystemCountryMany,
4
+ SystemStateMany,
5
+ } from '../../../System'
6
+
7
+ export interface CustomerBranchesSingle {
8
+ id: string
9
+ name: string
10
+ contactName: string
11
+ contactInfo: { phone: string[]; emails: [] }
12
+ address1: string
13
+ address2: string
14
+ default: boolean
15
+ city: SystemCityMany
16
+ country: SystemCountryMany
17
+ state: SystemStateMany
18
+ }
19
+
20
+ export interface CustomerBranchesSingleResponse {
21
+ data: CustomerBranchesSingle
22
+ }
@@ -0,0 +1,8 @@
1
+ export interface CustomerBranchesUpdateDefaultRequest {
2
+ limit?: number
3
+ page?: number
4
+ search?: string
5
+ prop?: string
6
+ order?: string
7
+ active?: boolean
8
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesUpdateDefaultResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,15 @@
1
+ export interface CustomerBranchesUpdateSingle {
2
+ name?: string
3
+ contactName?: string
4
+ contactInfo?: string
5
+ default?: boolean
6
+ address1?: string
7
+ address2?: string
8
+ country?: string
9
+ state?: string
10
+ city?: string
11
+ }
12
+
13
+ export interface CustomerBranchesUpdateSingleRequest {
14
+ branch: CustomerBranchesUpdateSingle
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomerBranchesUpdateSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,31 @@
1
+ import {
2
+ CustomerBranchesCreateMany,
3
+ CustomerBranchesCreateManyRequest,
4
+ } from './CreateMany/Request'
5
+ import { CustomerBranchesDeleteSingleResponse } from './DeleteSingle/Response'
6
+ import { CustomerBranchesGetManyRequest } from './GetMany/Request'
7
+ import {
8
+ CustomerBranchesMany,
9
+ CustomerBranchesManyResponse,
10
+ } from './GetMany/Response'
11
+ import { CustomerBranchesUpdateDefaultRequest } from './UpdateDefault/Request'
12
+ import { CustomerBranchesUpdateDefaultResponse } from './UpdateDefault/Response'
13
+ import {
14
+ CustomerBranchesUpdateSingle,
15
+ CustomerBranchesUpdateSingleRequest,
16
+ } from './UpdateSingle/Request'
17
+ import { CustomerBranchesUpdateSingleResponse } from './UpdateSingle/Response'
18
+
19
+ export {
20
+ CustomerBranchesMany,
21
+ CustomerBranchesManyResponse,
22
+ CustomerBranchesGetManyRequest,
23
+ CustomerBranchesUpdateSingle,
24
+ CustomerBranchesUpdateSingleRequest,
25
+ CustomerBranchesUpdateSingleResponse,
26
+ CustomerBranchesDeleteSingleResponse,
27
+ CustomerBranchesCreateMany,
28
+ CustomerBranchesCreateManyRequest,
29
+ CustomerBranchesUpdateDefaultResponse,
30
+ CustomerBranchesUpdateDefaultRequest,
31
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomersCreateSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,21 @@
1
+ import { CustomerBranchesCreateMany } from '../../Branches'
2
+
3
+ export interface CustomersCreateSingleRequest {
4
+ name: string
5
+ shortName: string
6
+ isProvider: boolean
7
+ isCustomer: boolean
8
+ dui?: string
9
+ nrc?: string
10
+ nit?: string
11
+ giro?: string
12
+ isActiveCustomer?: boolean
13
+ isActiveProvider?: boolean
14
+ isUsedCustomer?: boolean
15
+ isUsedProvider?: boolean
16
+ customerTaxerType: string
17
+ personType: string
18
+ customerType: string
19
+ customerTypeNatural?: string
20
+ branch: CustomerBranchesCreateMany
21
+ }
@@ -0,0 +1,3 @@
1
+ export interface CustomersDeleteManyRequest {
2
+ ids: string[]
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface CustomersDeleteManyResponse {
2
+ message: string
3
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomersDeleteSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,9 @@
1
+ export interface CustomersGetManyRequest {
2
+ limit?: number
3
+ page?: number
4
+ search?: string
5
+ prop?: string
6
+ order?: string
7
+ active?: boolean
8
+ branch?: boolean
9
+ }
@@ -0,0 +1,33 @@
1
+ import {
2
+ SystemPersonTypeMany,
3
+ SystemSellingTypeMany,
4
+ SystemTaxerTypesMany,
5
+ SystemTypeNaturalMany,
6
+ } from '../../../System'
7
+ import { CustomerBranchesMany } from '../../Branches'
8
+
9
+ export interface CustomerGetMany {
10
+ id: string
11
+ name: string
12
+ shortName: string
13
+ isProvider: boolean
14
+ isCustomer: boolean
15
+ dui: string | null
16
+ nrc: string | null
17
+ nit: string | null
18
+ giro: string | null
19
+ isActiveCustomer: boolean
20
+ isActiveProvider: boolean
21
+ isUsedCustomer: boolean
22
+ isUsedProvider: boolean
23
+ createdAt: string
24
+ personType: SystemPersonTypeMany
25
+ customerTypeNatural: SystemTypeNaturalMany | null
26
+ customerType: SystemSellingTypeMany
27
+ customerTaxerType: SystemTaxerTypesMany
28
+ branch: CustomerBranchesMany
29
+ }
30
+
31
+ export interface CustomerGetManyResponse {
32
+ data: CustomerGetMany[]
33
+ }