@experteam-mx/ngx-services 20.0.5 → 20.0.6

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 (175) hide show
  1. package/fesm2022/experteam-mx-ngx-services.mjs +102 -82
  2. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  3. package/index.d.ts +44 -1
  4. package/package.json +2 -2
  5. package/esm2022/experteam-mx-ngx-services.mjs +0 -5
  6. package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
  7. package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
  8. package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
  9. package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
  10. package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
  11. package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
  12. package/esm2022/lib/apis/api-catalogs.service.mjs +0 -635
  13. package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
  14. package/esm2022/lib/apis/api-composition.service.mjs +0 -55
  15. package/esm2022/lib/apis/api-customs.service.mjs +0 -157
  16. package/esm2022/lib/apis/api-discounts.service.mjs +0 -243
  17. package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
  18. package/esm2022/lib/apis/api-events.service.mjs +0 -53
  19. package/esm2022/lib/apis/api-external-pickups.service.mjs +0 -74
  20. package/esm2022/lib/apis/api-inventories.service.mjs +0 -208
  21. package/esm2022/lib/apis/api-invoices.service.mjs +0 -398
  22. package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
  23. package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
  24. package/esm2022/lib/apis/api-quote.service.mjs +0 -87
  25. package/esm2022/lib/apis/api-reports.service.mjs +0 -172
  26. package/esm2022/lib/apis/api-security.service.mjs +0 -245
  27. package/esm2022/lib/apis/api-services.service.mjs +0 -93
  28. package/esm2022/lib/apis/api-shipments.service.mjs +0 -116
  29. package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
  30. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
  31. package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
  32. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
  33. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
  34. package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
  35. package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
  36. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
  37. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
  38. package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
  39. package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
  40. package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
  41. package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
  42. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
  43. package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
  44. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
  45. package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
  46. package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
  47. package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
  48. package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
  49. package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
  50. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
  51. package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
  52. package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
  53. package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
  54. package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
  55. package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
  56. package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
  57. package/esm2022/lib/apis/models/api-external-pickups.types.mjs +0 -2
  58. package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
  59. package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
  60. package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
  61. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
  62. package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
  63. package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
  64. package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
  65. package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
  66. package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
  67. package/esm2022/lib/apis/models/api-quote.interfaces.mjs +0 -2
  68. package/esm2022/lib/apis/models/api-quote.types.mjs +0 -2
  69. package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
  70. package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
  71. package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
  72. package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
  73. package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
  74. package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
  75. package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
  76. package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
  77. package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
  78. package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
  79. package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
  80. package/esm2022/lib/apis/models/api.models.mjs +0 -2
  81. package/esm2022/lib/cypher/crypto.service.mjs +0 -93
  82. package/esm2022/lib/helpers/files.mjs +0 -9
  83. package/esm2022/lib/helpers/http.mjs +0 -66
  84. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
  85. package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
  86. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
  87. package/esm2022/lib/ngx-services.models.mjs +0 -11
  88. package/esm2022/lib/ngx-services.module.mjs +0 -33
  89. package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
  90. package/esm2022/public-api.mjs +0 -93
  91. package/lib/apis/api-billing-do.service.d.ts +0 -24
  92. package/lib/apis/api-billing-gt.service.d.ts +0 -38
  93. package/lib/apis/api-billing-mx.service.d.ts +0 -39
  94. package/lib/apis/api-billing-pa.service.d.ts +0 -68
  95. package/lib/apis/api-billing-sv.service.d.ts +0 -55
  96. package/lib/apis/api-cash-operations.service.d.ts +0 -62
  97. package/lib/apis/api-catalogs.service.d.ts +0 -464
  98. package/lib/apis/api-companies.service.d.ts +0 -714
  99. package/lib/apis/api-composition.service.d.ts +0 -35
  100. package/lib/apis/api-customs.service.d.ts +0 -110
  101. package/lib/apis/api-discounts.service.d.ts +0 -167
  102. package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
  103. package/lib/apis/api-events.service.d.ts +0 -33
  104. package/lib/apis/api-external-pickups.service.d.ts +0 -46
  105. package/lib/apis/api-inventories.service.d.ts +0 -145
  106. package/lib/apis/api-invoices.service.d.ts +0 -280
  107. package/lib/apis/api-notifications.service.d.ts +0 -70
  108. package/lib/apis/api-open-items.service.d.ts +0 -41
  109. package/lib/apis/api-quote.service.d.ts +0 -65
  110. package/lib/apis/api-reports.service.d.ts +0 -120
  111. package/lib/apis/api-security.service.d.ts +0 -162
  112. package/lib/apis/api-services.service.d.ts +0 -61
  113. package/lib/apis/api-shipments.service.d.ts +0 -77
  114. package/lib/apis/api-supplies.service.d.ts +0 -93
  115. package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
  116. package/lib/apis/models/api-billing-do.types.d.ts +0 -5
  117. package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
  118. package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
  119. package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
  120. package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
  121. package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
  122. package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
  123. package/lib/apis/models/api-billing.models.d.ts +0 -27
  124. package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
  125. package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
  126. package/lib/apis/models/api-catalog.enum.d.ts +0 -7
  127. package/lib/apis/models/api-catalog.interfaces.d.ts +0 -219
  128. package/lib/apis/models/api-catalog.types.d.ts +0 -220
  129. package/lib/apis/models/api-companies.interfaces.d.ts +0 -341
  130. package/lib/apis/models/api-companies.types.d.ts +0 -458
  131. package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
  132. package/lib/apis/models/api-composition.types.d.ts +0 -9
  133. package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
  134. package/lib/apis/models/api-customs.types.d.ts +0 -90
  135. package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
  136. package/lib/apis/models/api-discounts.types.d.ts +0 -89
  137. package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
  138. package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
  139. package/lib/apis/models/api-events.enum.d.ts +0 -5
  140. package/lib/apis/models/api-events.interfaces.d.ts +0 -21
  141. package/lib/apis/models/api-events.types.d.ts +0 -14
  142. package/lib/apis/models/api-external-pickups.types.d.ts +0 -31
  143. package/lib/apis/models/api-inventories.enum.d.ts +0 -18
  144. package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
  145. package/lib/apis/models/api-inventories.types.d.ts +0 -62
  146. package/lib/apis/models/api-invoices.interfaces.d.ts +0 -267
  147. package/lib/apis/models/api-invoices.types.d.ts +0 -195
  148. package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
  149. package/lib/apis/models/api-notifications.types.d.ts +0 -34
  150. package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
  151. package/lib/apis/models/api-open-items.types.d.ts +0 -58
  152. package/lib/apis/models/api-quote.interfaces.d.ts +0 -13
  153. package/lib/apis/models/api-quote.types.d.ts +0 -17
  154. package/lib/apis/models/api-reports.interfaces.d.ts +0 -347
  155. package/lib/apis/models/api-reports.types.d.ts +0 -59
  156. package/lib/apis/models/api-security.interfaces.d.ts +0 -68
  157. package/lib/apis/models/api-security.types.d.ts +0 -72
  158. package/lib/apis/models/api-services.interfaces.d.ts +0 -43
  159. package/lib/apis/models/api-services.types.d.ts +0 -57
  160. package/lib/apis/models/api-shipments.enums.d.ts +0 -6
  161. package/lib/apis/models/api-shipments.interfaces.d.ts +0 -41
  162. package/lib/apis/models/api-shipments.types.d.ts +0 -121
  163. package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
  164. package/lib/apis/models/api-supplies.types.d.ts +0 -50
  165. package/lib/apis/models/api.models.d.ts +0 -36
  166. package/lib/cypher/crypto.service.d.ts +0 -15
  167. package/lib/helpers/files.d.ts +0 -2
  168. package/lib/helpers/http.d.ts +0 -38
  169. package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
  170. package/lib/interceptors/api-token.interceptor.d.ts +0 -11
  171. package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
  172. package/lib/ngx-services.models.d.ts +0 -63
  173. package/lib/ngx-services.module.d.ts +0 -16
  174. package/lib/websockets/web-sockets.service.d.ts +0 -49
  175. package/public-api.d.ts +0 -83
@@ -1,347 +0,0 @@
1
- import { OperationType } from './api-catalog.interfaces';
2
- import { ActiveLessLaravelModel, ActiveLessSymfonyModel, ApiModel, LaravelModel, Translations } from './api.models';
3
- export interface CollectionPayment extends LaravelModel {
4
- _id: number;
5
- country_code: string;
6
- country_id: number;
7
- country_name: string;
8
- company_id: number;
9
- company_name: string;
10
- company_country_id: number;
11
- installation_id: number;
12
- installation_number: number;
13
- location_facility_code: string;
14
- location_id: number;
15
- location_location_code: string;
16
- location_name: string;
17
- user_id: number;
18
- user_username: string;
19
- document_type_id: number;
20
- document_type: DocumentTypeReports;
21
- document_category_id: number;
22
- document_category: DocumentCategoryReports;
23
- receipt_number: string;
24
- customer_name: string;
25
- account: string;
26
- amount: number;
27
- currency_id: number;
28
- currency_code: string;
29
- operation_type_id: number;
30
- operation_type: OperationType;
31
- }
32
- export interface DocumentTypeReports extends LaravelModel {
33
- _id: number;
34
- name: string;
35
- code: string;
36
- movement_type: number;
37
- local_code: string;
38
- translations: Translations;
39
- }
40
- export interface DocumentCategoryReports extends LaravelModel {
41
- _id: number;
42
- name: string;
43
- is_electronic: true;
44
- taxable: number;
45
- created_at: string;
46
- updated_at: string;
47
- translations: Translations;
48
- }
49
- export interface ShipmentReports {
50
- authorization_numbers: string[];
51
- commercial_invoice: boolean;
52
- company_name: string;
53
- country_id: number;
54
- country_name: string;
55
- currency_code: string;
56
- customer_identification_number: string | null;
57
- customer_identification_type_id: number | null;
58
- document_id: number;
59
- id: number;
60
- installation_id: number;
61
- installation_number: number;
62
- invoice_document_id: number | null;
63
- is_document: boolean;
64
- is_manual: boolean;
65
- itn_number: string | null;
66
- location_id: number;
67
- location_name: string;
68
- price_override_approver_name: string | null;
69
- price_override_reason_name: string | null;
70
- product_subtotal: number;
71
- product_tax: number;
72
- question_description: string | null;
73
- receiver_company_name: string;
74
- receiver_full_name: string;
75
- send_to_api_inventories: boolean;
76
- shipment_id: number;
77
- shipment_pieces_tracking_numbers: string[];
78
- shipment_status_code: string;
79
- shipment_status_description: string;
80
- shipment_status_id: number;
81
- shipment_status_translations: Translations;
82
- shipment_tags: ShipmentTag[];
83
- shipment_tracking_number: string;
84
- shipment_type: string;
85
- shipment_value: string;
86
- shipper_account: string;
87
- shipper_address_line1: string;
88
- shipper_address_line2: string | null;
89
- shipper_address_line3: string | null;
90
- shipper_city_name: string;
91
- shipper_company_name: string;
92
- shipper_email: string;
93
- shipper_full_name: string;
94
- shipper_full_phone_number: string;
95
- shipper_identification_number: string | null;
96
- shipper_phone_number: string;
97
- shipper_postal_code: string;
98
- shipper_state_name: string | null;
99
- subtotal: number;
100
- tax: number;
101
- total: number;
102
- tracking: string | null;
103
- updated_at: string;
104
- user_id: number;
105
- user_username: string;
106
- additional_documents: {
107
- country_id: number;
108
- include_indemnity_letter: boolean;
109
- shipment_content_type_id: number;
110
- shipment_scope_id: number;
111
- };
112
- document_payments: {
113
- payment: {
114
- countryPaymentType: {
115
- code: string;
116
- };
117
- };
118
- }[];
119
- }
120
- export interface ShipmentLandingReport extends ActiveLessLaravelModel {
121
- authorization_numbers: string[] | null;
122
- commercial_invoice: boolean | null;
123
- company_country_id: number;
124
- company_id: number;
125
- company_name: string;
126
- country_id: number;
127
- country_name: string;
128
- currency_code: string | null;
129
- document_id: number;
130
- hasCreditCardPayment: boolean;
131
- installation_id: number;
132
- installation_number: number;
133
- invoice_document_id: number | null;
134
- is_document: boolean;
135
- is_manual: boolean;
136
- itn_number: string | null;
137
- location_code: string;
138
- location_facility_code: string;
139
- location_id: number;
140
- location_name: string;
141
- price_override_approver_name: string | null;
142
- price_override_reason_name: string | null;
143
- product_global_name: string;
144
- product_local_name: string;
145
- question_description: string | null;
146
- receiver_address_line1: string;
147
- receiver_address_line2: string | null;
148
- receiver_address_line3: string | null;
149
- receiver_city_name: string;
150
- receiver_company_name: string;
151
- receiver_country_name: string;
152
- receiver_county_name: string | null;
153
- receiver_email: string | null;
154
- receiver_full_name: string;
155
- receiver_full_phone_number: string | null;
156
- receiver_identification_number: string | null;
157
- receiver_postal_code: string | null;
158
- receiver_state_name: string;
159
- send_to_api_inventories: boolean;
160
- shipment_description: string;
161
- shipment_group_id: number;
162
- shipment_group_name: string;
163
- shipment_pieces_tracking_numbers: string[];
164
- shipment_status_code: string;
165
- shipment_status_id: number;
166
- shipment_status_name_EN: string;
167
- shipment_status_name_ES: string;
168
- shipment_status_name_FR: string;
169
- shipment_status_name_PT: string;
170
- shipment_tags: ShipmentTag[];
171
- shipment_tracking_number: string;
172
- shipment_type: string;
173
- shipment_value: number;
174
- shipper_account: string;
175
- shipper_address_line1: string;
176
- shipper_address_line2: string | null;
177
- shipper_address_line3: string | null;
178
- shipper_city_name: string | null;
179
- shipper_company_name: string;
180
- shipper_country_name: string;
181
- shipper_county_name: string | null;
182
- shipper_email: string | null;
183
- shipper_full_name: string;
184
- shipper_full_phone_number: string;
185
- shipper_identification_number: string | null;
186
- shipper_phone_number: string | null;
187
- shipper_postal_code: string | null;
188
- shipper_state_name: string | null;
189
- tracking: string | null;
190
- user_id: number;
191
- user_username: string;
192
- additional_documents: {
193
- country_id: number;
194
- include_indemnity_letter: boolean;
195
- shipment_content_type_id: number;
196
- shipment_scope_id: number;
197
- } | null;
198
- }
199
- export interface ShipmentTag extends ActiveLessSymfonyModel {
200
- name: string;
201
- code: string;
202
- translations: Translations;
203
- }
204
- export interface ReportExternalShipment extends ActiveLessLaravelModel {
205
- account_number: string;
206
- collection_date: string;
207
- document_id: number | null;
208
- document_number: string | null;
209
- external_shipment_addresses: ReportExternalShipmentAddress[];
210
- external_shipment_file_id: number;
211
- external_shipment_status_id: number;
212
- external_shipment_status_name: string;
213
- external_shipment_status_translations: Translations;
214
- installation_id: number;
215
- subtotal: number;
216
- tax: number;
217
- total: number;
218
- tracking_number: string;
219
- user_id: number;
220
- customer_full_name: string;
221
- customer_email: string | null;
222
- customer_phone_code: string | null;
223
- customer_phone_number: string | null;
224
- }
225
- export interface ReportExternalShipmentAddress extends ApiModel {
226
- address_line_1: string;
227
- address_line_2: string;
228
- city_name: string;
229
- company_name: string;
230
- country_id: number;
231
- email: string;
232
- full_name: string;
233
- identification_number: string | null;
234
- identification_type_id: number | null;
235
- phone_number: string;
236
- postal_code: string;
237
- role_type: string;
238
- service_area_code: string;
239
- }
240
- export interface PromotionCodeDiscount extends ApiModel {
241
- country_id: number;
242
- company_country_id: number;
243
- location_id: number;
244
- installation_id: number;
245
- user_id: number;
246
- user_username: string;
247
- updated_at: Date | string;
248
- tracking_number: string;
249
- product_id: number;
250
- product_global_code: string;
251
- product_global_name: string;
252
- origin_facility_code: string;
253
- destination_facility_code: string;
254
- origin_company_name: string;
255
- origin_full_name: string;
256
- promotion_code: string;
257
- discount_percentage: number;
258
- product_subtotals: ProductSubtotal[];
259
- }
260
- export interface ProductSubtotal {
261
- country_reference_currency_id: number;
262
- currency_id: number;
263
- currency_code: string;
264
- value: number;
265
- shipment_total: number;
266
- discount_amount: number;
267
- }
268
- export interface WithdrawalAmount {
269
- country_reference_currency_id: number;
270
- currency_id: number;
271
- currency_code: string;
272
- value: number | null;
273
- }
274
- export interface PartialWithdrawal extends ActiveLessLaravelModel {
275
- country_id: number;
276
- company_country_id: number;
277
- location_id: number;
278
- installation_id: number;
279
- opening_user_id: number;
280
- opening_user_username: string;
281
- opening_user_name: string;
282
- opening_reference_user_id: number;
283
- opening_reference_user_username: string;
284
- opening_reference_user_name: string;
285
- receipt_number: string;
286
- amounts: WithdrawalAmount[];
287
- }
288
- export interface Invoice extends ActiveLessLaravelModel {
289
- complete_document_number: string;
290
- tracking_numbers: string[];
291
- local_currency_total_amount: number;
292
- identification_type_name: string;
293
- identification_number: string;
294
- customer_full_name: string;
295
- customer_address: string;
296
- customer_email: string;
297
- customer_extra_fields: {
298
- field: string;
299
- value: string;
300
- }[];
301
- document_type_name: string;
302
- document_type_name_ES: string;
303
- document_type_name_EN: string;
304
- document_category_name: string;
305
- document_category_name_ES: string;
306
- document_category_name_EN: string;
307
- document_status_id: number;
308
- document_status_code: string;
309
- transaction_type: string;
310
- installation_id: number;
311
- location_id: number;
312
- company_country_id: number;
313
- country_id: number;
314
- customer_phone_code: string;
315
- customer_phone_number: string;
316
- customer_city_name: string;
317
- customer_county_name: string;
318
- shipment_id: number;
319
- }
320
- export interface Sales extends ActiveLessLaravelModel {
321
- company_country_id: number;
322
- country_document_type_id: number;
323
- country_id: number;
324
- customer_address_line1: string;
325
- customer_email: string;
326
- customer_name: string;
327
- customer_phone: string;
328
- document_full_number: string;
329
- document_sap_full_number: string;
330
- document_status_name: string;
331
- document_status: number;
332
- document_type_name_EN: string;
333
- document_type_name_ES: string;
334
- document_type_name_FR: string;
335
- document_type_name_PT: string;
336
- document_type_name: string;
337
- exempt: number;
338
- identification_number: string;
339
- identification_type_id: number;
340
- identification_type_name: string;
341
- installation_id: number;
342
- location_id: number;
343
- subtotal: number;
344
- tax: number;
345
- total: number;
346
- user_id: number;
347
- }
@@ -1,59 +0,0 @@
1
- import { CollectionPayment, Invoice, PartialWithdrawal, PromotionCodeDiscount, ReportExternalShipment, Sales, ShipmentLandingReport, ShipmentReports } from './api-reports.interfaces';
2
- import { Session } from './api-security.interfaces';
3
- import { QueryParams } from './api.models';
4
- export type CollectionPaymentsOut = {
5
- collection_payments: CollectionPayment[];
6
- total: number;
7
- };
8
- export type ShipmentsReportOut = {
9
- shipments: ShipmentReports[];
10
- total: number;
11
- };
12
- export type ShipmentsLandingReportOut = {
13
- shipments_landing: ShipmentLandingReport[];
14
- total: number;
15
- };
16
- export type ExternalShipmentsOut = {
17
- external_shipments: ReportExternalShipment[];
18
- total: number;
19
- };
20
- export type PromotionCodeDiscountsOut = {
21
- total: number;
22
- promotion_code_discounts: PromotionCodeDiscount[];
23
- } | {
24
- transaction_id: string;
25
- };
26
- export type FileCheckOut = {
27
- report_file: {
28
- user_id: number;
29
- role_type_level: number;
30
- type: string;
31
- status: number;
32
- progress: number;
33
- file_size: number;
34
- file_name: string | null;
35
- report_request: QueryParams;
36
- transaction_id: string;
37
- headers: {
38
- [key: string]: string;
39
- };
40
- user_session: Session;
41
- role_company_country_id: number;
42
- updated_at: string;
43
- created_at: string;
44
- id: string;
45
- };
46
- };
47
- export type PartialWithdrawalsOut = {
48
- partial_withdrawals: PartialWithdrawal[];
49
- total: number;
50
- };
51
- export type InvoicesOut = {
52
- invoices: Invoice[];
53
- total: number;
54
- };
55
- export type SalesBookReportOut = {
56
- sale_books: Sales[];
57
- total: number;
58
- transaction_id?: string;
59
- };
@@ -1,68 +0,0 @@
1
- import { LaravelModel } from './api.models';
2
- import { Pivot } from './api-security.types';
3
- export interface Session extends LaravelModel {
4
- model_type: string;
5
- model_id: number;
6
- status: string;
7
- last_activity: string;
8
- user_agent: string;
9
- gmt_offset: string;
10
- opening_id: number;
11
- user_id: number;
12
- installation_id: number;
13
- locale: string | null;
14
- decimal_point: number;
15
- country_id: number;
16
- company_id: number;
17
- company_country_id: number;
18
- location_id: number;
19
- country_reference_currency_id: number;
20
- location_employee_id: number;
21
- }
22
- export interface Role extends LaravelModel {
23
- name: string;
24
- guard_name: string;
25
- company_country_id: number;
26
- role_type_id: number;
27
- regional_country_id: number | null;
28
- role_type: RoleType;
29
- permissions?: Permission[];
30
- }
31
- export interface RoleType extends LaravelModel {
32
- name: string;
33
- level: number;
34
- }
35
- export interface Permission extends LaravelModel {
36
- name: string;
37
- guard_name: string;
38
- description: string;
39
- is_default: boolean;
40
- pivot: Pivot;
41
- }
42
- export interface User extends LaravelModel {
43
- name: string;
44
- username: string;
45
- model_type: string;
46
- model_id: number;
47
- auth_type: string;
48
- language_id: number;
49
- email: string;
50
- roles: Role[];
51
- }
52
- export interface UserMe extends Omit<User, 'roles'> {
53
- permissions: string[];
54
- session: Session | null;
55
- role: Role;
56
- }
57
- export interface Module extends LaravelModel {
58
- name: string;
59
- code: string;
60
- module_type_id: number;
61
- module_type: ModuleType;
62
- permissions: Permission[];
63
- require_default_permission?: boolean;
64
- }
65
- export interface ModuleType extends LaravelModel {
66
- name: string;
67
- description: string;
68
- }
@@ -1,72 +0,0 @@
1
- import { Module, Role, RoleType, Session, User, UserMe } from './api-security.interfaces';
2
- export type AuthLoginIn = {
3
- username: string;
4
- password: string;
5
- role?: number;
6
- system_name?: string;
7
- };
8
- export type AuthLoginOut = {
9
- access_token: string;
10
- token_type: string;
11
- expires_in: number;
12
- };
13
- export type AuthUserLoginIn = {
14
- username: string;
15
- };
16
- export type SessionIn = {
17
- modelType: string;
18
- modelId: number;
19
- token?: string;
20
- };
21
- export type SessionOut = {
22
- session: Session;
23
- };
24
- export type PutUsersIn = {
25
- user: User;
26
- };
27
- export type PutUsersOut = {
28
- user: User;
29
- };
30
- export type GetUserOut = {
31
- user: User;
32
- };
33
- export type GetUsersOut = {
34
- users: User[];
35
- total: number;
36
- };
37
- export type AuthMeOut = {
38
- user: UserMe;
39
- };
40
- export type ChangeLanguageIn = {
41
- languageId: number;
42
- };
43
- export type RolesOut = {
44
- roles: Role[];
45
- total: number;
46
- };
47
- export type Pivot = {
48
- role_id: number;
49
- permission_id: number;
50
- } | {
51
- module_id: string;
52
- permission_id: string;
53
- };
54
- export type RoleOut = {
55
- role: Role;
56
- };
57
- export type RoleIn = {
58
- name: string;
59
- role_type_id: number;
60
- company_country_id: number;
61
- regional_country_id?: number[] | null;
62
- is_active: boolean;
63
- permissions?: string[];
64
- };
65
- export type RoleTypesOut = {
66
- role_types: RoleType[];
67
- total: number;
68
- };
69
- export type ModulesOut = {
70
- modules: Module[];
71
- total: number;
72
- };
@@ -1,43 +0,0 @@
1
- import { SymfonyModel } from './api.models';
2
- export interface ServiceArea extends SymfonyModel {
3
- serviceAreaCodeName: string;
4
- referenceDataCode: string;
5
- serviceAreaCode: string;
6
- serviceAreaName: string;
7
- serviceAreaStatusCode: string;
8
- serviceAreaStatusCodeDescription: string;
9
- iataCode: string;
10
- iataAirportName: string;
11
- countryCode: string;
12
- countryName: string;
13
- timezoneCode: string;
14
- timezoneCodeName: string;
15
- offNetServiceIndicator: string;
16
- offNetServiceIndicatorDescription: string;
17
- effectiveDate: string;
18
- }
19
- export interface Facility extends SymfonyModel {
20
- facilityIdentifier: string;
21
- facilityCode: string;
22
- serviceAreaCode: string;
23
- serviceAreaName: string;
24
- facilityName: string;
25
- countryCode: string;
26
- countryName: string;
27
- facilityStatusCode: string;
28
- facilityCompanyName: string;
29
- facilityTypeIndicator: string;
30
- cityName: string;
31
- addressLine1: string;
32
- postcode: string;
33
- addressLongitude: string;
34
- addressLatitude: string;
35
- stateProvinceCode: string;
36
- stateProvinceName: string;
37
- regionCode: string;
38
- regionName: string;
39
- facilityWeightUnitOfMeasure: string;
40
- facilityDimensionUnitOfMeasure: string;
41
- facilityPrintIndicator: string;
42
- effectiveDate: string;
43
- }
@@ -1,57 +0,0 @@
1
- import { Facility, ServiceArea } from './api-services.interfaces';
2
- export type ServiceAreaIn = {
3
- countryCodes: string[];
4
- };
5
- export type ServiceAreasOut = {
6
- serviceAreas: ServiceArea[];
7
- total: number;
8
- };
9
- export type ValidateFacilityOut = {
10
- facility: Facility;
11
- transactionId: string;
12
- };
13
- export type ValidateFacilityIn = {
14
- facilityIdentifier: string;
15
- };
16
- export type EmailErrorIn = {
17
- transactionId: string;
18
- details: string;
19
- extraFields: {
20
- [key: string]: string;
21
- };
22
- };
23
- export type PromotionIn = {
24
- code: string;
25
- destinationCountryCode: string;
26
- shipmentDatetime: string;
27
- shipper: {
28
- countryCode: string;
29
- accountNumber: string;
30
- };
31
- };
32
- export type PromotionOut = {
33
- promotion: {
34
- accountNumber: string;
35
- };
36
- transactionId: string;
37
- };
38
- export type ValidateNIPOut = {
39
- nip: {
40
- valid: string;
41
- message: string;
42
- };
43
- };
44
- export type ValidateNIPIn = {
45
- accountValue: string;
46
- nip: string;
47
- user: number;
48
- };
49
- export type ValidateIdentificationBROut = {
50
- identification: {
51
- valid: boolean;
52
- };
53
- };
54
- export type ValidateIdentificationBRIn = {
55
- identification_number: string;
56
- validate_state_tax: boolean;
57
- };
@@ -1,6 +0,0 @@
1
- export declare enum CustomerType {
2
- SHIPPER = "SP",
3
- CONSIGNEE = "RV",
4
- IMPORTER = "IP",
5
- EXPORTER = "EP"
6
- }
@@ -1,41 +0,0 @@
1
- import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
2
- import { ShipmentContentType } from './api-catalog.interfaces';
3
- export interface ShipmentEmployeeCustomers extends ActiveLessSymfonyModel {
4
- trackingNumber: string;
5
- employeeCustomerId: number;
6
- shipment: {
7
- id: number;
8
- } | null;
9
- }
10
- export interface ExportType extends SymfonyModel {
11
- code: string;
12
- name: string;
13
- }
14
- export interface DestinationCountry extends ActiveLessSymfonyModel {
15
- code: string;
16
- name: string;
17
- }
18
- export interface EmbassyShipment extends SymfonyModel {
19
- id: number;
20
- countryId: number;
21
- name: string;
22
- destinationCountry: DestinationCountry;
23
- destinationCityName: string | null;
24
- destinationPostalCode: string | null;
25
- destinationCountyName: string | null;
26
- contentDescription: string | null;
27
- shipmentContentType: ShipmentContentType;
28
- piecesNumber: number | null;
29
- destinationCompanyName: string | null;
30
- destinationFullName: string | null;
31
- destinationAddressLine1: string | null;
32
- destinationAddressLine2: string | null;
33
- destinationAddressLine3: string | null;
34
- destinationPhoneCode: string | null;
35
- destinationPhoneNumber: string | null;
36
- destinationEmail: string | null;
37
- businessPartyTraderTypeId: number | null;
38
- isActive: boolean;
39
- createdAt: string;
40
- updatedAt: string;
41
- }