@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,31 @@
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
+
7
+ export interface CustomersGetSingle {
8
+ id: string
9
+ name: string
10
+ shortName: string
11
+ isProvider: boolean
12
+ isCustomer: boolean
13
+ dui: string | null
14
+ nrc: string | null
15
+ nit: string | null
16
+ giro: string | null
17
+ isActiveCustomer: boolean
18
+ isActiveProvider: boolean
19
+ isUsedCustomer: boolean
20
+ isUsedProvider: boolean
21
+ createdAt: string
22
+ personType: SystemPersonTypeMany
23
+ customerTypeNatural: SystemTypeNaturalMany | null
24
+ customerType: SystemSellingTypeMany
25
+ customerTaxerType: SystemTaxerTypesMany
26
+ branch: CustomerBranchesMany
27
+ }
28
+
29
+ export interface CustomersGetSingleResponse {
30
+ data: CustomersGetSingle
31
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomerUpdateManyStatusesRequest {
2
+ ids: string[]
3
+ status: string
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface CustomersUpdateManyStatusesResponse {
2
+ message: string
3
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomersUpdateSingleResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,21 @@
1
+ import { CustomerBranchesUpdateSingle } from '../../Branches'
2
+
3
+ export interface CustomersUpdateSingleRequest {
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?: CustomerBranchesUpdateSingle
21
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomersUpdateSingleStatusResponse {
2
+ id: string
3
+ message: string
4
+ }
@@ -0,0 +1,32 @@
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 {
9
+ CustomersGetSingle,
10
+ CustomersGetSingleResponse,
11
+ } from './GetSingle/Response'
12
+ import { CustomerUpdateManyStatusesRequest } from './UpdateManyStatuses/Request'
13
+ import { CustomersUpdateManyStatusesResponse } from './UpdateManyStatuses/Response'
14
+ import { CustomersUpdateSingleResponse } from './UpdateSingle/Response'
15
+ import { CustomersUpdateSingleStatusResponse } from './UpdateSingleStatus/Response'
16
+
17
+ export {
18
+ CustomersDeleteSingleResponse,
19
+ CustomersCreateSingleResponse,
20
+ CustomersGetSingle,
21
+ CustomersGetSingleResponse,
22
+ CustomersUpdateSingleResponse,
23
+ CustomersUpdateSingleStatusResponse,
24
+ CustomersUpdateManyStatusesResponse,
25
+ CustomersDeleteManyResponse,
26
+ CustomersCreateSingleRequest,
27
+ CustomersGetManyRequest,
28
+ CustomerGetMany,
29
+ CustomerGetManyResponse,
30
+ CustomersDeleteManyRequest,
31
+ CustomerUpdateManyStatusesRequest,
32
+ }
@@ -0,0 +1,57 @@
1
+ import {
2
+ CustomerBranchesCreateMany,
3
+ CustomerBranchesCreateManyRequest,
4
+ CustomerBranchesDeleteSingleResponse,
5
+ CustomerBranchesGetManyRequest,
6
+ CustomerBranchesMany,
7
+ CustomerBranchesManyResponse,
8
+ CustomerBranchesUpdateDefaultRequest,
9
+ CustomerBranchesUpdateDefaultResponse,
10
+ CustomerBranchesUpdateSingle,
11
+ CustomerBranchesUpdateSingleRequest,
12
+ CustomerBranchesUpdateSingleResponse,
13
+ } from './Branches'
14
+ import {
15
+ CustomerGetMany,
16
+ CustomerGetManyResponse,
17
+ CustomersCreateSingleRequest,
18
+ CustomersCreateSingleResponse,
19
+ CustomersDeleteManyRequest,
20
+ CustomersDeleteManyResponse,
21
+ CustomersDeleteSingleResponse,
22
+ CustomersGetManyRequest,
23
+ CustomersGetSingle,
24
+ CustomersGetSingleResponse,
25
+ CustomersUpdateManyStatusesResponse,
26
+ CustomersUpdateSingleResponse,
27
+ CustomersUpdateSingleStatusResponse,
28
+ CustomerUpdateManyStatusesRequest,
29
+ } from './Customers'
30
+
31
+ export {
32
+ CustomersDeleteSingleResponse,
33
+ CustomersCreateSingleResponse,
34
+ CustomersGetSingle,
35
+ CustomersGetSingleResponse,
36
+ CustomersUpdateSingleResponse,
37
+ CustomersUpdateSingleStatusResponse,
38
+ CustomersUpdateManyStatusesResponse,
39
+ CustomersDeleteManyResponse,
40
+ CustomersCreateSingleRequest,
41
+ CustomersGetManyRequest,
42
+ CustomerGetMany,
43
+ CustomerGetManyResponse,
44
+ CustomersDeleteManyRequest,
45
+ CustomerUpdateManyStatusesRequest,
46
+ CustomerBranchesMany,
47
+ CustomerBranchesManyResponse,
48
+ CustomerBranchesCreateMany,
49
+ CustomerBranchesCreateManyRequest,
50
+ CustomerBranchesDeleteSingleResponse,
51
+ CustomerBranchesGetManyRequest,
52
+ CustomerBranchesUpdateSingle,
53
+ CustomerBranchesUpdateSingleRequest,
54
+ CustomerBranchesUpdateDefaultRequest,
55
+ CustomerBranchesUpdateDefaultResponse,
56
+ CustomerBranchesUpdateSingleResponse,
57
+ }
package/src/index.ts CHANGED
@@ -21,6 +21,33 @@ import {
21
21
  LoggedUserInfoWorkspaceCompany,
22
22
  WorkspaceChanged,
23
23
  } from './auth'
24
+ import {
25
+ CustomerBranchesCreateMany,
26
+ CustomerBranchesCreateManyRequest,
27
+ CustomerBranchesDeleteSingleResponse,
28
+ CustomerBranchesGetManyRequest,
29
+ CustomerBranchesMany,
30
+ CustomerBranchesManyResponse,
31
+ CustomerBranchesUpdateDefaultRequest,
32
+ CustomerBranchesUpdateDefaultResponse,
33
+ CustomerBranchesUpdateSingle,
34
+ CustomerBranchesUpdateSingleRequest,
35
+ CustomerBranchesUpdateSingleResponse,
36
+ CustomerGetMany,
37
+ CustomerGetManyResponse,
38
+ CustomersCreateSingleRequest,
39
+ CustomersCreateSingleResponse,
40
+ CustomersDeleteManyRequest,
41
+ CustomersDeleteManyResponse,
42
+ CustomersDeleteSingleResponse,
43
+ CustomersGetManyRequest,
44
+ CustomersGetSingle,
45
+ CustomersGetSingleResponse,
46
+ CustomersUpdateManyStatusesResponse,
47
+ CustomersUpdateSingleResponse,
48
+ CustomersUpdateSingleStatusResponse,
49
+ CustomerUpdateManyStatusesRequest,
50
+ } from './customers'
24
51
  import {
25
52
  ServicesCreateSingleRequest,
26
53
  ServicesCreateSingleResponse,
@@ -41,6 +68,22 @@ import {
41
68
  ServicesUpdateSingleStatusRequest,
42
69
  ServicesUpdateSingleStatusResponse,
43
70
  } from './services'
71
+ import {
72
+ SystemCityMany,
73
+ SystemCityManyResponse,
74
+ SystemCountryMany,
75
+ SystemCountryManyResponse,
76
+ SystemPersonTypeMany,
77
+ SystemPersonTypeManyResponse,
78
+ SystemSellingTypeMany,
79
+ SystemSellingTypeManyResponse,
80
+ SystemStateMany,
81
+ SystemStateManyResponse,
82
+ SystemTaxerTypesMany,
83
+ SystemTaxerTypesManyResponse,
84
+ SystemTypeNaturalMany,
85
+ SystemTypeNaturalManyResponse,
86
+ } from './System'
44
87
 
45
88
  export {
46
89
  ServicesSellingTypeMany,
@@ -82,4 +125,43 @@ export {
82
125
  LoggedUserInfoWorkspaceBranch,
83
126
  LoggedUserInfoWorkspace,
84
127
  ServicesSellingTypeManyResponse,
128
+ CustomerBranchesMany,
129
+ CustomerBranchesManyResponse,
130
+ SystemCityMany,
131
+ SystemCityManyResponse,
132
+ SystemCountryMany,
133
+ SystemCountryManyResponse,
134
+ SystemPersonTypeMany,
135
+ SystemPersonTypeManyResponse,
136
+ SystemSellingTypeMany,
137
+ SystemSellingTypeManyResponse,
138
+ SystemStateMany,
139
+ SystemStateManyResponse,
140
+ SystemTaxerTypesMany,
141
+ SystemTaxerTypesManyResponse,
142
+ SystemTypeNaturalMany,
143
+ SystemTypeNaturalManyResponse,
144
+ CustomersDeleteSingleResponse,
145
+ CustomersCreateSingleResponse,
146
+ CustomersGetSingle,
147
+ CustomersGetSingleResponse,
148
+ CustomersUpdateSingleResponse,
149
+ CustomersUpdateSingleStatusResponse,
150
+ CustomersUpdateManyStatusesResponse,
151
+ CustomersDeleteManyResponse,
152
+ CustomersCreateSingleRequest,
153
+ CustomersGetManyRequest,
154
+ CustomerGetMany,
155
+ CustomerGetManyResponse,
156
+ CustomersDeleteManyRequest,
157
+ CustomerUpdateManyStatusesRequest,
158
+ CustomerBranchesCreateMany,
159
+ CustomerBranchesCreateManyRequest,
160
+ CustomerBranchesDeleteSingleResponse,
161
+ CustomerBranchesGetManyRequest,
162
+ CustomerBranchesUpdateSingle,
163
+ CustomerBranchesUpdateSingleRequest,
164
+ CustomerBranchesUpdateDefaultRequest,
165
+ CustomerBranchesUpdateDefaultResponse,
166
+ CustomerBranchesUpdateSingleResponse,
85
167
  }