@experteam-mx/ngx-services 16.1.1 → 18.0.0

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 (72) hide show
  1. package/README.md +8 -8
  2. package/esm2022/lib/apis/api-companies.service.mjs +9 -7
  3. package/esm2022/lib/apis/api-security.service.mjs +15 -12
  4. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +2 -0
  5. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +1 -1
  6. package/esm2022/lib/apis/models/api-security.interfaces.mjs +1 -1
  7. package/esm2022/lib/apis/models/api.models.mjs +1 -1
  8. package/esm2022/lib/helpers/http.mjs +4 -2
  9. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +4 -4
  10. package/esm2022/lib/interceptors/api-token.interceptor.mjs +14 -8
  11. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +8 -7
  12. package/esm2022/lib/ngx-services.models.mjs +1 -1
  13. package/esm2022/lib/ngx-services.module.mjs +7 -11
  14. package/esm2022/public-api.mjs +2 -9
  15. package/fesm2022/experteam-mx-ngx-services.mjs +53 -165
  16. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  17. package/index.d.ts +5 -5
  18. package/lib/apis/api-companies.service.d.ts +163 -163
  19. package/lib/apis/api-security.service.d.ts +79 -79
  20. package/lib/apis/models/{api-catalogs.interfaces.d.ts → api-catalog.interfaces.d.ts} +71 -75
  21. package/lib/apis/models/api-companies.interfaces.d.ts +380 -380
  22. package/lib/apis/models/api-companies.types.d.ts +75 -75
  23. package/lib/apis/models/api-security.interfaces.d.ts +55 -55
  24. package/lib/apis/models/api-security.types.d.ts +30 -30
  25. package/lib/apis/models/api.models.d.ts +23 -23
  26. package/lib/helpers/http.d.ts +38 -38
  27. package/lib/interceptors/api-headers.interceptor.d.ts +16 -16
  28. package/lib/interceptors/api-token.interceptor.d.ts +21 -19
  29. package/lib/interceptors/http-caching.interceptor.d.ts +12 -12
  30. package/lib/ngx-services.models.d.ts +6 -9
  31. package/lib/ngx-services.module.d.ts +16 -17
  32. package/package.json +10 -16
  33. package/public-api.d.ts +12 -19
  34. package/esm2020/experteam-mx-ngx-services.mjs +0 -5
  35. package/esm2020/lib/apis/api-catalogs.service.mjs +0 -42
  36. package/esm2020/lib/apis/api-companies.service.mjs +0 -255
  37. package/esm2020/lib/apis/api-external-ops.service.mjs +0 -53
  38. package/esm2020/lib/apis/api-security.service.mjs +0 -128
  39. package/esm2020/lib/apis/models/api-catalogs.interfaces.mjs +0 -2
  40. package/esm2020/lib/apis/models/api-catalogs.types.mjs +0 -2
  41. package/esm2020/lib/apis/models/api-companies.interfaces.mjs +0 -2
  42. package/esm2020/lib/apis/models/api-companies.types.mjs +0 -2
  43. package/esm2020/lib/apis/models/api-external-ops.interfaces.mjs +0 -2
  44. package/esm2020/lib/apis/models/api-external-ops.types.mjs +0 -2
  45. package/esm2020/lib/apis/models/api-security.interfaces.mjs +0 -2
  46. package/esm2020/lib/apis/models/api-security.types.mjs +0 -2
  47. package/esm2020/lib/apis/models/api.models.mjs +0 -2
  48. package/esm2020/lib/helpers/http.mjs +0 -64
  49. package/esm2020/lib/interceptors/api-headers.interceptor.mjs +0 -34
  50. package/esm2020/lib/interceptors/api-key.interceptor.mjs +0 -38
  51. package/esm2020/lib/interceptors/api-token.interceptor.mjs +0 -35
  52. package/esm2020/lib/interceptors/http-caching.interceptor.mjs +0 -38
  53. package/esm2020/lib/ngx-services.models.mjs +0 -2
  54. package/esm2020/lib/ngx-services.module.mjs +0 -37
  55. package/esm2020/public-api.mjs +0 -27
  56. package/esm2022/lib/apis/api-catalogs.service.mjs +0 -42
  57. package/esm2022/lib/apis/api-external-ops.service.mjs +0 -53
  58. package/esm2022/lib/apis/models/api-catalogs.interfaces.mjs +0 -2
  59. package/esm2022/lib/apis/models/api-catalogs.types.mjs +0 -2
  60. package/esm2022/lib/apis/models/api-external-ops.interfaces.mjs +0 -2
  61. package/esm2022/lib/apis/models/api-external-ops.types.mjs +0 -2
  62. package/esm2022/lib/interceptors/api-key.interceptor.mjs +0 -38
  63. package/fesm2015/experteam-mx-ngx-services.mjs +0 -723
  64. package/fesm2015/experteam-mx-ngx-services.mjs.map +0 -1
  65. package/fesm2020/experteam-mx-ngx-services.mjs +0 -705
  66. package/fesm2020/experteam-mx-ngx-services.mjs.map +0 -1
  67. package/lib/apis/api-catalogs.service.d.ts +0 -26
  68. package/lib/apis/api-external-ops.service.d.ts +0 -34
  69. package/lib/apis/models/api-catalogs.types.d.ts +0 -5
  70. package/lib/apis/models/api-external-ops.interfaces.d.ts +0 -23
  71. package/lib/apis/models/api-external-ops.types.d.ts +0 -18
  72. package/lib/interceptors/api-key.interceptor.d.ts +0 -19
@@ -1,380 +1,380 @@
1
- import { LaravelModel } from './api.models';
2
- import { Currency, State } from './api-catalogs.interfaces';
3
- export interface Account extends LaravelModel {
4
- number: string;
5
- description: string;
6
- account_type_id: number;
7
- country_id: number;
8
- is_default: boolean;
9
- }
10
- export interface Company extends LaravelModel {
11
- id: number;
12
- created_at: string;
13
- updated_at: string;
14
- name: string;
15
- contact_name: string;
16
- contact_email: string;
17
- contact_phone: string;
18
- state: string;
19
- city: string;
20
- county_name: string;
21
- zip_code: string;
22
- address1: string;
23
- address2: string;
24
- address3: string;
25
- is_active: boolean;
26
- }
27
- export interface CompanyCountry extends LaravelModel {
28
- company_id: number;
29
- country_id: number;
30
- headquarters_city_code: string;
31
- lp_code: string;
32
- company: Company;
33
- contact_name: string;
34
- contact_email: string;
35
- contact_phone_code: string;
36
- contact_phone_number: string;
37
- state: string;
38
- city: string;
39
- zip_code: string;
40
- county_name: string;
41
- address1: string;
42
- address2: string;
43
- address3: string;
44
- }
45
- export interface CompanyCountryTax extends LaravelModel {
46
- code: string;
47
- name: string;
48
- percentage: number;
49
- company_country_id: number;
50
- shipment_scopes: number[];
51
- base_percentage: number;
52
- tax_type: string;
53
- }
54
- export interface CountryCurrencyRate extends CountryReferenceCurrency {
55
- rate: number;
56
- }
57
- export interface CountryReference extends LaravelModel {
58
- language_id: number;
59
- decimal_point: number;
60
- decimal_separator: string;
61
- thousands_separator: string;
62
- use_billing: boolean;
63
- use_payments: boolean;
64
- restricted_import_countries: number[];
65
- currency_id: number;
66
- max_quantity_document_piece: number;
67
- max_quantity_package_piece: number;
68
- weight_restriction_piece: number;
69
- restriction_shipment: number;
70
- restriction_dimension: number;
71
- max_declared_value: number;
72
- territories: number[];
73
- some_openings: boolean;
74
- locale: string;
75
- country_id: number;
76
- label_printer_name: string;
77
- receipt_printer_name: string;
78
- others_printer_name: string;
79
- }
80
- export interface CountryReferenceCurrency extends LaravelModel {
81
- country_id: number;
82
- currency_id: number;
83
- is_local: boolean;
84
- can_transact: boolean;
85
- code: string;
86
- name: string;
87
- is_default: boolean;
88
- is_declared_insured: boolean;
89
- currency: Currency;
90
- }
91
- export interface Employee extends LaravelModel {
92
- name: string;
93
- last_name: string;
94
- number: string;
95
- company_id: number;
96
- country_id: number;
97
- external: boolean;
98
- phone_code: string;
99
- phone_number: string;
100
- is_active: boolean;
101
- password: string;
102
- roles: string[];
103
- locations: Location[];
104
- }
105
- export interface Exchange extends LaravelModel {
106
- company_country_currency_id: number;
107
- valid_since: string;
108
- valid_until: string | null;
109
- value: number;
110
- type: string;
111
- }
112
- export interface Installation extends LaravelModel {
113
- system_id: number;
114
- mac_address: string;
115
- ip_address: string;
116
- location_id: number;
117
- }
118
- export interface Location extends LaravelModel {
119
- name: string;
120
- contact_name: string;
121
- email: string;
122
- facility_code: string;
123
- location_code: string;
124
- type: string;
125
- state_name: string;
126
- state_id: number;
127
- state_code: string;
128
- city_name: string;
129
- zip_code: string;
130
- county_name: string;
131
- address1: string;
132
- address2: string;
133
- address3: string;
134
- service_area_code: string;
135
- iata_code: string;
136
- phone_code: string;
137
- phone_number: string;
138
- gmt_offset: string;
139
- company_country_id: number;
140
- country_zone_id: number;
141
- country_region_id: number;
142
- management_area_id: number;
143
- google_maps_id: string;
144
- route_number: string;
145
- locker_enabled: boolean;
146
- queue_manager_enabled: boolean;
147
- commission_account: string;
148
- service_point_id: string;
149
- is_occurs: boolean;
150
- accounts: Account[];
151
- company_country: CompanyCountry;
152
- state: State;
153
- }
154
- export interface LocationEmployee extends LaravelModel {
155
- location_id: number;
156
- employee_id: number;
157
- is_active: boolean;
158
- is_supervisor: boolean;
159
- employee: Employee;
160
- location: Location;
161
- }
162
- export interface Parameter {
163
- name: string;
164
- value: any;
165
- status?: string;
166
- }
167
- export interface SupplyEntity extends LaravelModel {
168
- name: string;
169
- description: string;
170
- country_id: number;
171
- enabled_for_dropoff: boolean;
172
- supply_type: SupplyType;
173
- supply_packing: SupplyPacking;
174
- }
175
- export interface SupplyPacking extends LaravelModel {
176
- value: number;
177
- weight: number;
178
- height: number;
179
- depth: number;
180
- width: number;
181
- emobile_code: string | null;
182
- }
183
- export interface SupplyType extends LaravelModel {
184
- name: string;
185
- }
186
- export interface Workflow {
187
- page: string;
188
- enabled: boolean;
189
- }
190
- export interface LocationEmployee extends LaravelModel {
191
- location_id: number;
192
- employee_id: number;
193
- is_active: boolean;
194
- is_supervisor: boolean;
195
- employee: Employee;
196
- location: Location;
197
- }
198
- export interface Employee extends LaravelModel {
199
- name: string;
200
- last_name: string;
201
- number: string;
202
- company_id: number;
203
- country_id: number;
204
- external: boolean;
205
- phone_code: string;
206
- phone_number: string;
207
- is_active: boolean;
208
- password: string;
209
- roles: string[];
210
- locations: Location[];
211
- }
212
- export interface Location extends LaravelModel {
213
- name: string;
214
- contact_name: string;
215
- email: string;
216
- facility_code: string;
217
- location_code: string;
218
- type: string;
219
- state_name: string;
220
- state_id: number;
221
- state_code: string;
222
- city_name: string;
223
- zip_code: string;
224
- county_name: string;
225
- address1: string;
226
- address2: string;
227
- address3: string;
228
- service_area_code: string;
229
- iata_code: string;
230
- phone_code: string;
231
- phone_number: string;
232
- gmt_offset: string;
233
- company_country_id: number;
234
- country_zone_id: number;
235
- country_region_id: number;
236
- management_area_id: number;
237
- google_maps_id: string;
238
- route_number: string;
239
- locker_enabled: boolean;
240
- queue_manager_enabled: boolean;
241
- commission_account: string;
242
- service_point_id: string;
243
- is_occurs: boolean;
244
- accounts: Account[];
245
- company_country: CompanyCountry;
246
- state: State;
247
- }
248
- export interface Company extends LaravelModel {
249
- id: number;
250
- created_at: string;
251
- updated_at: string;
252
- name: string;
253
- contact_name: string;
254
- contact_email: string;
255
- contact_phone: string;
256
- state: string;
257
- city: string;
258
- county_name: string;
259
- zip_code: string;
260
- address1: string;
261
- address2: string;
262
- address3: string;
263
- is_active: boolean;
264
- }
265
- export interface CompanyCountry extends LaravelModel {
266
- company_id: number;
267
- country_id: number;
268
- headquarters_city_code: string;
269
- lp_code: string;
270
- company: Company;
271
- contact_name: string;
272
- contact_email: string;
273
- contact_phone_code: string;
274
- contact_phone_number: string;
275
- state: string;
276
- city: string;
277
- zip_code: string;
278
- county_name: string;
279
- address1: string;
280
- address2: string;
281
- address3: string;
282
- }
283
- export interface Installation extends LaravelModel {
284
- system_id: number;
285
- mac_address: string;
286
- ip_address: string;
287
- location_id: number;
288
- }
289
- export interface SupplyEntity extends LaravelModel {
290
- name: string;
291
- description: string;
292
- country_id: number;
293
- enabled_for_dropoff: boolean;
294
- supply_type: SupplyType;
295
- supply_packing: SupplyPacking;
296
- }
297
- export interface SupplyType extends LaravelModel {
298
- name: string;
299
- }
300
- export interface SupplyPacking extends LaravelModel {
301
- value: number;
302
- weight: number;
303
- height: number;
304
- depth: number;
305
- width: number;
306
- emobile_code: string | null;
307
- }
308
- export interface Employee extends LaravelModel {
309
- name: string;
310
- last_name: string;
311
- number: string;
312
- company_id: number;
313
- country_id: number;
314
- external: boolean;
315
- phone_code: string;
316
- phone_number: string;
317
- is_active: boolean;
318
- password: string;
319
- roles: string[];
320
- locations: Location[];
321
- }
322
- export interface CountryReferenceCurrency extends LaravelModel {
323
- country_id: number;
324
- currency_id: number;
325
- is_local: boolean;
326
- can_transact: boolean;
327
- code: string;
328
- name: string;
329
- is_default: boolean;
330
- is_declared_insured: boolean;
331
- currency: Currency;
332
- }
333
- export interface CompanyCountryTax extends LaravelModel {
334
- code: string;
335
- name: string;
336
- percentage: number;
337
- company_country_id: number;
338
- shipment_scopes: number[];
339
- base_percentage: number;
340
- tax_type: string;
341
- }
342
- export interface Exchange extends LaravelModel {
343
- company_country_currency_id: number;
344
- valid_since: string;
345
- valid_until: string | null;
346
- value: number;
347
- type: string;
348
- }
349
- export interface Parameter {
350
- name: string;
351
- value: any;
352
- status?: string;
353
- }
354
- export interface CountryReference extends LaravelModel {
355
- language_id: number;
356
- decimal_point: number;
357
- decimal_separator: string;
358
- thousands_separator: string;
359
- use_billing: boolean;
360
- use_payments: boolean;
361
- restricted_import_countries: number[];
362
- currency_id: number;
363
- max_quantity_document_piece: number;
364
- max_quantity_package_piece: number;
365
- weight_restriction_piece: number;
366
- restriction_shipment: number;
367
- restriction_dimension: number;
368
- max_declared_value: number;
369
- territories: number[];
370
- some_openings: boolean;
371
- locale: string;
372
- country_id: number;
373
- label_printer_name: string;
374
- receipt_printer_name: string;
375
- others_printer_name: string;
376
- }
377
- export interface Workflow {
378
- page: string;
379
- enabled: boolean;
380
- }
1
+ import { LaravelModel } from './api.models';
2
+ import { Currency, State } from './api-catalog.interfaces';
3
+ export interface Account extends LaravelModel {
4
+ number: string;
5
+ description: string;
6
+ account_type_id: number;
7
+ country_id: number;
8
+ is_default: boolean;
9
+ }
10
+ export interface Company extends LaravelModel {
11
+ id: number;
12
+ created_at: string;
13
+ updated_at: string;
14
+ name: string;
15
+ contact_name: string;
16
+ contact_email: string;
17
+ contact_phone: string;
18
+ state: string;
19
+ city: string;
20
+ county_name: string;
21
+ zip_code: string;
22
+ address1: string;
23
+ address2: string;
24
+ address3: string;
25
+ is_active: boolean;
26
+ }
27
+ export interface CompanyCountry extends LaravelModel {
28
+ company_id: number;
29
+ country_id: number;
30
+ headquarters_city_code: string;
31
+ lp_code: string;
32
+ company: Company;
33
+ contact_name: string;
34
+ contact_email: string;
35
+ contact_phone_code: string;
36
+ contact_phone_number: string;
37
+ state: string;
38
+ city: string;
39
+ zip_code: string;
40
+ county_name: string;
41
+ address1: string;
42
+ address2: string;
43
+ address3: string;
44
+ }
45
+ export interface CompanyCountryTax extends LaravelModel {
46
+ code: string;
47
+ name: string;
48
+ percentage: number;
49
+ company_country_id: number;
50
+ shipment_scopes: number[];
51
+ base_percentage: number;
52
+ tax_type: string;
53
+ }
54
+ export interface CountryCurrencyRate extends CountryReferenceCurrency {
55
+ rate: number;
56
+ }
57
+ export interface CountryReference extends LaravelModel {
58
+ language_id: number;
59
+ decimal_point: number;
60
+ decimal_separator: string;
61
+ thousands_separator: string;
62
+ use_billing: boolean;
63
+ use_payments: boolean;
64
+ restricted_import_countries: number[];
65
+ currency_id: number;
66
+ max_quantity_document_piece: number;
67
+ max_quantity_package_piece: number;
68
+ weight_restriction_piece: number;
69
+ restriction_shipment: number;
70
+ restriction_dimension: number;
71
+ max_declared_value: number;
72
+ territories: number[];
73
+ some_openings: boolean;
74
+ locale: string;
75
+ country_id: number;
76
+ label_printer_name: string;
77
+ receipt_printer_name: string;
78
+ others_printer_name: string;
79
+ }
80
+ export interface CountryReferenceCurrency extends LaravelModel {
81
+ country_id: number;
82
+ currency_id: number;
83
+ is_local: boolean;
84
+ can_transact: boolean;
85
+ code: string;
86
+ name: string;
87
+ is_default: boolean;
88
+ is_declared_insured: boolean;
89
+ currency: Currency;
90
+ }
91
+ export interface Employee extends LaravelModel {
92
+ name: string;
93
+ last_name: string;
94
+ number: string;
95
+ company_id: number;
96
+ country_id: number;
97
+ external: boolean;
98
+ phone_code: string;
99
+ phone_number: string;
100
+ is_active: boolean;
101
+ password: string;
102
+ roles: string[];
103
+ locations: Location[];
104
+ }
105
+ export interface Exchange extends LaravelModel {
106
+ company_country_currency_id: number;
107
+ valid_since: string;
108
+ valid_until: string | null;
109
+ value: number;
110
+ type: string;
111
+ }
112
+ export interface Installation extends LaravelModel {
113
+ system_id: number;
114
+ mac_address: string;
115
+ ip_address: string;
116
+ location_id: number;
117
+ }
118
+ export interface Location extends LaravelModel {
119
+ name: string;
120
+ contact_name: string;
121
+ email: string;
122
+ facility_code: string;
123
+ location_code: string;
124
+ type: string;
125
+ state_name: string;
126
+ state_id: number;
127
+ state_code: string;
128
+ city_name: string;
129
+ zip_code: string;
130
+ county_name: string;
131
+ address1: string;
132
+ address2: string;
133
+ address3: string;
134
+ service_area_code: string;
135
+ iata_code: string;
136
+ phone_code: string;
137
+ phone_number: string;
138
+ gmt_offset: string;
139
+ company_country_id: number;
140
+ country_zone_id: number;
141
+ country_region_id: number;
142
+ management_area_id: number;
143
+ google_maps_id: string;
144
+ route_number: string;
145
+ locker_enabled: boolean;
146
+ queue_manager_enabled: boolean;
147
+ commission_account: string;
148
+ service_point_id: string;
149
+ is_occurs: boolean;
150
+ accounts: Account[];
151
+ company_country: CompanyCountry;
152
+ state: State;
153
+ }
154
+ export interface LocationEmployee extends LaravelModel {
155
+ location_id: number;
156
+ employee_id: number;
157
+ is_active: boolean;
158
+ is_supervisor: boolean;
159
+ employee: Employee;
160
+ location: Location;
161
+ }
162
+ export interface Parameter {
163
+ name: string;
164
+ value: any;
165
+ status?: string;
166
+ }
167
+ export interface SupplyEntity extends LaravelModel {
168
+ name: string;
169
+ description: string;
170
+ country_id: number;
171
+ enabled_for_dropoff: boolean;
172
+ supply_type: SupplyType;
173
+ supply_packing: SupplyPacking;
174
+ }
175
+ export interface SupplyPacking extends LaravelModel {
176
+ value: number;
177
+ weight: number;
178
+ height: number;
179
+ depth: number;
180
+ width: number;
181
+ emobile_code: string | null;
182
+ }
183
+ export interface SupplyType extends LaravelModel {
184
+ name: string;
185
+ }
186
+ export interface Workflow {
187
+ page: string;
188
+ enabled: boolean;
189
+ }
190
+ export interface LocationEmployee extends LaravelModel {
191
+ location_id: number;
192
+ employee_id: number;
193
+ is_active: boolean;
194
+ is_supervisor: boolean;
195
+ employee: Employee;
196
+ location: Location;
197
+ }
198
+ export interface Employee extends LaravelModel {
199
+ name: string;
200
+ last_name: string;
201
+ number: string;
202
+ company_id: number;
203
+ country_id: number;
204
+ external: boolean;
205
+ phone_code: string;
206
+ phone_number: string;
207
+ is_active: boolean;
208
+ password: string;
209
+ roles: string[];
210
+ locations: Location[];
211
+ }
212
+ export interface Location extends LaravelModel {
213
+ name: string;
214
+ contact_name: string;
215
+ email: string;
216
+ facility_code: string;
217
+ location_code: string;
218
+ type: string;
219
+ state_name: string;
220
+ state_id: number;
221
+ state_code: string;
222
+ city_name: string;
223
+ zip_code: string;
224
+ county_name: string;
225
+ address1: string;
226
+ address2: string;
227
+ address3: string;
228
+ service_area_code: string;
229
+ iata_code: string;
230
+ phone_code: string;
231
+ phone_number: string;
232
+ gmt_offset: string;
233
+ company_country_id: number;
234
+ country_zone_id: number;
235
+ country_region_id: number;
236
+ management_area_id: number;
237
+ google_maps_id: string;
238
+ route_number: string;
239
+ locker_enabled: boolean;
240
+ queue_manager_enabled: boolean;
241
+ commission_account: string;
242
+ service_point_id: string;
243
+ is_occurs: boolean;
244
+ accounts: Account[];
245
+ company_country: CompanyCountry;
246
+ state: State;
247
+ }
248
+ export interface Company extends LaravelModel {
249
+ id: number;
250
+ created_at: string;
251
+ updated_at: string;
252
+ name: string;
253
+ contact_name: string;
254
+ contact_email: string;
255
+ contact_phone: string;
256
+ state: string;
257
+ city: string;
258
+ county_name: string;
259
+ zip_code: string;
260
+ address1: string;
261
+ address2: string;
262
+ address3: string;
263
+ is_active: boolean;
264
+ }
265
+ export interface CompanyCountry extends LaravelModel {
266
+ company_id: number;
267
+ country_id: number;
268
+ headquarters_city_code: string;
269
+ lp_code: string;
270
+ company: Company;
271
+ contact_name: string;
272
+ contact_email: string;
273
+ contact_phone_code: string;
274
+ contact_phone_number: string;
275
+ state: string;
276
+ city: string;
277
+ zip_code: string;
278
+ county_name: string;
279
+ address1: string;
280
+ address2: string;
281
+ address3: string;
282
+ }
283
+ export interface Installation extends LaravelModel {
284
+ system_id: number;
285
+ mac_address: string;
286
+ ip_address: string;
287
+ location_id: number;
288
+ }
289
+ export interface SupplyEntity extends LaravelModel {
290
+ name: string;
291
+ description: string;
292
+ country_id: number;
293
+ enabled_for_dropoff: boolean;
294
+ supply_type: SupplyType;
295
+ supply_packing: SupplyPacking;
296
+ }
297
+ export interface SupplyType extends LaravelModel {
298
+ name: string;
299
+ }
300
+ export interface SupplyPacking extends LaravelModel {
301
+ value: number;
302
+ weight: number;
303
+ height: number;
304
+ depth: number;
305
+ width: number;
306
+ emobile_code: string | null;
307
+ }
308
+ export interface Employee extends LaravelModel {
309
+ name: string;
310
+ last_name: string;
311
+ number: string;
312
+ company_id: number;
313
+ country_id: number;
314
+ external: boolean;
315
+ phone_code: string;
316
+ phone_number: string;
317
+ is_active: boolean;
318
+ password: string;
319
+ roles: string[];
320
+ locations: Location[];
321
+ }
322
+ export interface CountryReferenceCurrency extends LaravelModel {
323
+ country_id: number;
324
+ currency_id: number;
325
+ is_local: boolean;
326
+ can_transact: boolean;
327
+ code: string;
328
+ name: string;
329
+ is_default: boolean;
330
+ is_declared_insured: boolean;
331
+ currency: Currency;
332
+ }
333
+ export interface CompanyCountryTax extends LaravelModel {
334
+ code: string;
335
+ name: string;
336
+ percentage: number;
337
+ company_country_id: number;
338
+ shipment_scopes: number[];
339
+ base_percentage: number;
340
+ tax_type: string;
341
+ }
342
+ export interface Exchange extends LaravelModel {
343
+ company_country_currency_id: number;
344
+ valid_since: string;
345
+ valid_until: string | null;
346
+ value: number;
347
+ type: string;
348
+ }
349
+ export interface Parameter {
350
+ name: string;
351
+ value: any;
352
+ status?: string;
353
+ }
354
+ export interface CountryReference extends LaravelModel {
355
+ language_id: number;
356
+ decimal_point: number;
357
+ decimal_separator: string;
358
+ thousands_separator: string;
359
+ use_billing: boolean;
360
+ use_payments: boolean;
361
+ restricted_import_countries: number[];
362
+ currency_id: number;
363
+ max_quantity_document_piece: number;
364
+ max_quantity_package_piece: number;
365
+ weight_restriction_piece: number;
366
+ restriction_shipment: number;
367
+ restriction_dimension: number;
368
+ max_declared_value: number;
369
+ territories: number[];
370
+ some_openings: boolean;
371
+ locale: string;
372
+ country_id: number;
373
+ label_printer_name: string;
374
+ receipt_printer_name: string;
375
+ others_printer_name: string;
376
+ }
377
+ export interface Workflow {
378
+ page: string;
379
+ enabled: boolean;
380
+ }