@experteam-mx/ngx-services 20.0.0-beta.4 → 20.0.1
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.
- package/README.md +24 -24
- package/esm2022/experteam-mx-ngx-services.mjs +5 -0
- package/esm2022/lib/apis/api-billing-do.service.mjs +41 -0
- package/esm2022/lib/apis/api-billing-gt.service.mjs +61 -0
- package/esm2022/lib/apis/api-billing-mx.service.mjs +62 -0
- package/esm2022/lib/apis/api-billing-pa.service.mjs +105 -0
- package/esm2022/lib/apis/api-billing-sv.service.mjs +83 -0
- package/esm2022/lib/apis/api-cash-operations.service.mjs +93 -0
- package/esm2022/lib/apis/api-catalogs.service.mjs +626 -0
- package/esm2022/lib/apis/api-companies.service.mjs +1031 -0
- package/esm2022/lib/apis/api-composition.service.mjs +55 -0
- package/esm2022/lib/apis/api-customs.service.mjs +157 -0
- package/esm2022/lib/apis/api-discounts.service.mjs +243 -0
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +75 -0
- package/esm2022/lib/apis/api-events.service.mjs +53 -0
- package/esm2022/lib/apis/api-external-pickups.service.mjs +74 -0
- package/esm2022/lib/apis/api-inventories.service.mjs +208 -0
- package/esm2022/lib/apis/api-invoices.service.mjs +398 -0
- package/esm2022/lib/apis/api-notifications.service.mjs +104 -0
- package/esm2022/lib/apis/api-open-items.service.mjs +62 -0
- package/esm2022/lib/apis/api-reports.service.mjs +172 -0
- package/esm2022/lib/apis/api-security.service.mjs +245 -0
- package/esm2022/lib/apis/api-services.service.mjs +93 -0
- package/esm2022/lib/apis/api-shipments.service.mjs +116 -0
- package/esm2022/lib/apis/api-supplies.service.mjs +133 -0
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing.models.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +9 -0
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.enum.mjs +7 -0
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +22 -0
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +8 -0
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api.models.mjs +2 -0
- package/esm2022/lib/cypher/crypto.service.mjs +93 -0
- package/esm2022/lib/helpers/files.mjs +9 -0
- package/esm2022/lib/helpers/http.mjs +66 -0
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +24 -0
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +28 -0
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +37 -0
- package/esm2022/lib/ngx-services.models.mjs +11 -0
- package/esm2022/lib/ngx-services.module.mjs +33 -0
- package/esm2022/lib/websockets/web-sockets.service.mjs +115 -0
- package/esm2022/public-api.mjs +90 -0
- package/fesm2022/experteam-mx-ngx-services.mjs +126 -5
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +287 -4
- package/lib/apis/api-billing-do.service.d.ts +24 -0
- package/lib/apis/api-billing-gt.service.d.ts +38 -0
- package/lib/apis/api-billing-mx.service.d.ts +39 -0
- package/lib/apis/api-billing-pa.service.d.ts +68 -0
- package/lib/apis/api-billing-sv.service.d.ts +55 -0
- package/lib/apis/api-cash-operations.service.d.ts +62 -0
- package/lib/apis/api-catalogs.service.d.ts +458 -0
- package/lib/apis/api-companies.service.d.ts +714 -0
- package/lib/apis/api-composition.service.d.ts +35 -0
- package/lib/apis/api-customs.service.d.ts +110 -0
- package/lib/apis/api-discounts.service.d.ts +167 -0
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +49 -0
- package/lib/apis/api-events.service.d.ts +33 -0
- package/lib/apis/api-external-pickups.service.d.ts +46 -0
- package/lib/apis/api-inventories.service.d.ts +145 -0
- package/lib/apis/api-invoices.service.d.ts +280 -0
- package/lib/apis/api-notifications.service.d.ts +70 -0
- package/lib/apis/api-open-items.service.d.ts +41 -0
- package/lib/apis/api-reports.service.d.ts +120 -0
- package/lib/apis/api-security.service.d.ts +162 -0
- package/lib/apis/api-services.service.d.ts +61 -0
- package/lib/apis/api-shipments.service.d.ts +77 -0
- package/lib/apis/api-supplies.service.d.ts +93 -0
- package/lib/apis/models/api-billing-do.interfaces.d.ts +6 -0
- package/lib/apis/models/api-billing-do.types.d.ts +5 -0
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +21 -0
- package/lib/apis/models/api-billing-mx.types.d.ts +13 -0
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +26 -0
- package/lib/apis/models/api-billing-pa.types.d.ts +16 -0
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +22 -0
- package/lib/apis/models/api-billing-sv.types.d.ts +21 -0
- package/lib/apis/models/api-billing.models.d.ts +27 -0
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +40 -0
- package/lib/apis/models/api-cash-operations.types.d.ts +30 -0
- package/lib/apis/models/api-catalog.enum.d.ts +7 -0
- package/lib/apis/models/api-catalog.interfaces.d.ts +219 -0
- package/lib/apis/models/api-catalog.types.d.ts +217 -0
- package/lib/apis/models/api-companies.interfaces.d.ts +341 -0
- package/lib/apis/models/api-companies.types.d.ts +457 -0
- package/lib/apis/models/api-composition.interfaces.d.ts +272 -0
- package/lib/apis/models/api-composition.types.d.ts +9 -0
- package/lib/apis/models/api-customs.interfaces.d.ts +125 -0
- package/lib/apis/models/api-customs.types.d.ts +90 -0
- package/lib/apis/models/api-discounts.interfaces.d.ts +78 -0
- package/lib/apis/models/api-discounts.types.d.ts +89 -0
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +45 -0
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +30 -0
- package/lib/apis/models/api-events.enum.d.ts +5 -0
- package/lib/apis/models/api-events.interfaces.d.ts +21 -0
- package/lib/apis/models/api-events.types.d.ts +14 -0
- package/lib/apis/models/api-external-pickups.types.d.ts +31 -0
- package/lib/apis/models/api-inventories.enum.d.ts +18 -0
- package/lib/apis/models/api-inventories.interfaces.d.ts +40 -0
- package/lib/apis/models/api-inventories.types.d.ts +62 -0
- package/lib/apis/models/api-invoices.interfaces.d.ts +267 -0
- package/lib/apis/models/api-invoices.types.d.ts +195 -0
- package/lib/apis/models/api-notifications.interfaces.d.ts +36 -0
- package/lib/apis/models/api-notifications.types.d.ts +34 -0
- package/lib/apis/models/api-open-items.interfaces.d.ts +32 -0
- package/lib/apis/models/api-open-items.types.d.ts +58 -0
- package/lib/apis/models/api-reports.interfaces.d.ts +342 -0
- package/lib/apis/models/api-reports.types.d.ts +59 -0
- package/lib/apis/models/api-security.interfaces.d.ts +68 -0
- package/lib/apis/models/api-security.types.d.ts +72 -0
- package/lib/apis/models/api-services.interfaces.d.ts +43 -0
- package/lib/apis/models/api-services.types.d.ts +57 -0
- package/lib/apis/models/api-shipments.enums.d.ts +6 -0
- package/lib/apis/models/api-shipments.interfaces.d.ts +41 -0
- package/lib/apis/models/api-shipments.types.d.ts +121 -0
- package/lib/apis/models/api-supplies.interfaces.d.ts +40 -0
- package/lib/apis/models/api-supplies.types.d.ts +50 -0
- package/lib/apis/models/api.models.d.ts +36 -0
- package/lib/cypher/crypto.service.d.ts +15 -0
- package/lib/helpers/files.d.ts +2 -0
- package/lib/helpers/http.d.ts +38 -0
- package/lib/interceptors/api-headers.interceptor.d.ts +12 -0
- package/lib/interceptors/api-token.interceptor.d.ts +11 -0
- package/lib/interceptors/http-caching.interceptor.d.ts +12 -0
- package/lib/ngx-services.models.d.ts +62 -0
- package/lib/ngx-services.module.d.ts +16 -0
- package/lib/websockets/web-sockets.service.d.ts +49 -0
- package/package.json +1 -1
- package/public-api.d.ts +80 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { ActiveLessLaravelModel, LaravelModel } from './api.models';
|
|
2
|
+
import { BoardingProcessStatus, Country, Currency, IdentificationType, Product, State } from './api-catalog.interfaces';
|
|
3
|
+
export interface Account extends LaravelModel {
|
|
4
|
+
number: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
account_type_id: number;
|
|
7
|
+
account_type: AccountType;
|
|
8
|
+
country_id: number;
|
|
9
|
+
domestic_approved: boolean;
|
|
10
|
+
is_default: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface AccountCategory extends LaravelModel {
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface AccountType extends LaravelModel {
|
|
16
|
+
name: string;
|
|
17
|
+
account_category_id: number;
|
|
18
|
+
account_category?: AccountCategory;
|
|
19
|
+
}
|
|
20
|
+
export interface Company extends LaravelModel {
|
|
21
|
+
id: number;
|
|
22
|
+
created_at: string;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
name: string;
|
|
25
|
+
contact_name: string;
|
|
26
|
+
contact_email: string;
|
|
27
|
+
contact_phone: string;
|
|
28
|
+
state: string;
|
|
29
|
+
city: string;
|
|
30
|
+
county_name: string;
|
|
31
|
+
zip_code: string;
|
|
32
|
+
address1: string;
|
|
33
|
+
address2: string;
|
|
34
|
+
address3: string;
|
|
35
|
+
is_active: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface CompanyCountry extends LaravelModel {
|
|
38
|
+
company_id: number;
|
|
39
|
+
country_id: number;
|
|
40
|
+
headquarters_city_code: string;
|
|
41
|
+
lp_code: string;
|
|
42
|
+
company: Company;
|
|
43
|
+
contact_name: string;
|
|
44
|
+
contact_email: string;
|
|
45
|
+
contact_phone_code: string;
|
|
46
|
+
contact_phone_number: string;
|
|
47
|
+
state: string;
|
|
48
|
+
city: string;
|
|
49
|
+
zip_code: string;
|
|
50
|
+
county_name: string;
|
|
51
|
+
address1: string;
|
|
52
|
+
address2: string;
|
|
53
|
+
address3: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CompanyCountryTax extends LaravelModel {
|
|
56
|
+
code: string;
|
|
57
|
+
name: string;
|
|
58
|
+
percentage: number;
|
|
59
|
+
company_country_id: number;
|
|
60
|
+
shipment_scopes: number[];
|
|
61
|
+
base_percentage: number;
|
|
62
|
+
tax_type: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CountryCurrencyRate extends CountryReferenceCurrency {
|
|
65
|
+
rate: string;
|
|
66
|
+
}
|
|
67
|
+
export interface CountryReference extends LaravelModel {
|
|
68
|
+
language_id: number;
|
|
69
|
+
decimal_point: number;
|
|
70
|
+
decimal_separator: string;
|
|
71
|
+
thousands_separator: string;
|
|
72
|
+
use_billing: boolean;
|
|
73
|
+
use_payments: boolean;
|
|
74
|
+
restricted_import_countries: number[];
|
|
75
|
+
currency_id: number;
|
|
76
|
+
max_quantity_document_piece: number;
|
|
77
|
+
max_quantity_package_piece: number;
|
|
78
|
+
weight_restriction_piece: number;
|
|
79
|
+
restriction_shipment: number;
|
|
80
|
+
restriction_dimension: number;
|
|
81
|
+
max_declared_value: number;
|
|
82
|
+
territories: number[];
|
|
83
|
+
some_openings: boolean;
|
|
84
|
+
locale: string;
|
|
85
|
+
country_id: number;
|
|
86
|
+
label_printer_name: string;
|
|
87
|
+
receipt_printer_name: string;
|
|
88
|
+
others_printer_name: string;
|
|
89
|
+
country: Country;
|
|
90
|
+
}
|
|
91
|
+
export interface CountryReferenceCurrency extends LaravelModel {
|
|
92
|
+
country_id: number;
|
|
93
|
+
currency_id: number;
|
|
94
|
+
is_local: boolean;
|
|
95
|
+
can_transact: boolean;
|
|
96
|
+
code: string;
|
|
97
|
+
name: string;
|
|
98
|
+
is_default: boolean;
|
|
99
|
+
is_declared_insured: boolean;
|
|
100
|
+
currency: Currency;
|
|
101
|
+
}
|
|
102
|
+
export interface CountryReferenceExtraCharge extends LaravelModel {
|
|
103
|
+
country_id: number;
|
|
104
|
+
extra_charge_id: number;
|
|
105
|
+
local_availability: boolean;
|
|
106
|
+
mandatory: boolean;
|
|
107
|
+
selected: boolean;
|
|
108
|
+
shipment_scopes: number[];
|
|
109
|
+
shipment_content_types: number[];
|
|
110
|
+
value_local: number;
|
|
111
|
+
value_usd: number;
|
|
112
|
+
}
|
|
113
|
+
export interface ExtraChargeEntity extends LaravelModel {
|
|
114
|
+
code: string;
|
|
115
|
+
name: string;
|
|
116
|
+
}
|
|
117
|
+
export interface Employee extends LaravelModel {
|
|
118
|
+
name: string;
|
|
119
|
+
last_name: string;
|
|
120
|
+
number: string;
|
|
121
|
+
email: string;
|
|
122
|
+
username: string;
|
|
123
|
+
company_id: number;
|
|
124
|
+
country_id: number;
|
|
125
|
+
external: boolean;
|
|
126
|
+
phone_code: string;
|
|
127
|
+
phone_number: string;
|
|
128
|
+
locations: Location[];
|
|
129
|
+
company: Company;
|
|
130
|
+
}
|
|
131
|
+
export interface Exchange extends LaravelModel {
|
|
132
|
+
company_country_currency_id: number;
|
|
133
|
+
valid_since: string;
|
|
134
|
+
valid_until: string | null;
|
|
135
|
+
value: string;
|
|
136
|
+
type: string;
|
|
137
|
+
}
|
|
138
|
+
export interface CountryExchange extends Exchange {
|
|
139
|
+
currency: Currency;
|
|
140
|
+
country_reference_currency: CountryReferenceCurrency;
|
|
141
|
+
}
|
|
142
|
+
export interface Installation extends LaravelModel {
|
|
143
|
+
system_id: number;
|
|
144
|
+
mac_address: string;
|
|
145
|
+
ip_address: string;
|
|
146
|
+
location_id: number;
|
|
147
|
+
number: number;
|
|
148
|
+
system: System;
|
|
149
|
+
customer_screen: boolean;
|
|
150
|
+
epod_capture: boolean;
|
|
151
|
+
cx_survey: boolean;
|
|
152
|
+
customer_flow: boolean;
|
|
153
|
+
promotional_content: boolean;
|
|
154
|
+
}
|
|
155
|
+
export interface Location extends LaravelModel {
|
|
156
|
+
accounts: Account[];
|
|
157
|
+
address1: string;
|
|
158
|
+
address2: string;
|
|
159
|
+
address3: string;
|
|
160
|
+
billing_code: string | null;
|
|
161
|
+
city_name: string;
|
|
162
|
+
commission_account: string | null;
|
|
163
|
+
company_country: CompanyCountry;
|
|
164
|
+
company_country_id: number;
|
|
165
|
+
contact_name: string | null;
|
|
166
|
+
country_region: null;
|
|
167
|
+
country_region_id: number | null;
|
|
168
|
+
country_zone: null;
|
|
169
|
+
country_zone_id: number | null;
|
|
170
|
+
county_name: string;
|
|
171
|
+
default_account_id: number | null;
|
|
172
|
+
email: string | null;
|
|
173
|
+
etools_auto_billing_enabled: boolean;
|
|
174
|
+
extra_fields: {
|
|
175
|
+
[key: string]: string | number | boolean | null;
|
|
176
|
+
};
|
|
177
|
+
facility_code: string;
|
|
178
|
+
facility_id: number;
|
|
179
|
+
gmt_offset: string;
|
|
180
|
+
google_maps_id: string;
|
|
181
|
+
iata_code: string;
|
|
182
|
+
is_occurs: boolean;
|
|
183
|
+
location_code: string | null;
|
|
184
|
+
locker_enabled: boolean;
|
|
185
|
+
management_area: null;
|
|
186
|
+
management_area_id: number | null;
|
|
187
|
+
name: string;
|
|
188
|
+
phone_code: string;
|
|
189
|
+
phone_number: string;
|
|
190
|
+
queue_manager_enabled: boolean;
|
|
191
|
+
route_number: string;
|
|
192
|
+
service_area_code: string;
|
|
193
|
+
service_point_id: string;
|
|
194
|
+
state: State;
|
|
195
|
+
state_code: string | null;
|
|
196
|
+
state_id: number;
|
|
197
|
+
state_name: string;
|
|
198
|
+
supervisor: Employee;
|
|
199
|
+
type: string;
|
|
200
|
+
zip_code: string;
|
|
201
|
+
}
|
|
202
|
+
export interface LocationEmployee extends LaravelModel {
|
|
203
|
+
location_id: number;
|
|
204
|
+
employee_id: number;
|
|
205
|
+
is_active: boolean;
|
|
206
|
+
is_supervisor: boolean;
|
|
207
|
+
employee: Employee;
|
|
208
|
+
location: Location;
|
|
209
|
+
}
|
|
210
|
+
export interface Parameter extends LaravelModel {
|
|
211
|
+
name: string;
|
|
212
|
+
type: string;
|
|
213
|
+
regex: string;
|
|
214
|
+
description: string;
|
|
215
|
+
value: string | number | boolean | null | {
|
|
216
|
+
[key: string]: (string | number | boolean | null)[];
|
|
217
|
+
};
|
|
218
|
+
parameter_type_id: number;
|
|
219
|
+
}
|
|
220
|
+
export interface ParameterConfig {
|
|
221
|
+
id: number;
|
|
222
|
+
level: number;
|
|
223
|
+
model_type: string | null;
|
|
224
|
+
model_id: number | null;
|
|
225
|
+
parameter_id: number;
|
|
226
|
+
name: string;
|
|
227
|
+
value: string | number | boolean | null | {
|
|
228
|
+
[key: string]: (string | number | boolean | null)[];
|
|
229
|
+
};
|
|
230
|
+
parameter: Parameter;
|
|
231
|
+
}
|
|
232
|
+
export interface WorkflowConfig {
|
|
233
|
+
id: number;
|
|
234
|
+
system_id: number;
|
|
235
|
+
level: string;
|
|
236
|
+
model_type: string;
|
|
237
|
+
model_id: number;
|
|
238
|
+
name: string;
|
|
239
|
+
page_id: number;
|
|
240
|
+
page_name: string;
|
|
241
|
+
enabled: boolean;
|
|
242
|
+
}
|
|
243
|
+
export interface EmployeeCustomerDhl extends LaravelModel {
|
|
244
|
+
identification_type_id: number;
|
|
245
|
+
identification_type_value: string;
|
|
246
|
+
name: string;
|
|
247
|
+
last_name: string;
|
|
248
|
+
address: string;
|
|
249
|
+
phone_code: string;
|
|
250
|
+
phone_number: string;
|
|
251
|
+
email: string;
|
|
252
|
+
country_id: number;
|
|
253
|
+
employee_id: number | null;
|
|
254
|
+
identification_type: IdentificationType;
|
|
255
|
+
}
|
|
256
|
+
export interface BoardingProcess {
|
|
257
|
+
id: number;
|
|
258
|
+
boarding_process_type_id: number;
|
|
259
|
+
status_id: number;
|
|
260
|
+
is_finished: boolean;
|
|
261
|
+
start_date_time: string;
|
|
262
|
+
end_date_time: string;
|
|
263
|
+
created_at: string;
|
|
264
|
+
updated_at: string;
|
|
265
|
+
status: BoardingProcessStatus;
|
|
266
|
+
boarding_process_histories: BoardingProcessHistory[];
|
|
267
|
+
}
|
|
268
|
+
export interface BoardingProcessHistory {
|
|
269
|
+
id: number;
|
|
270
|
+
boarding_process_id: number;
|
|
271
|
+
status_id: number;
|
|
272
|
+
messages: string[];
|
|
273
|
+
created_at: string;
|
|
274
|
+
updated_at: string;
|
|
275
|
+
}
|
|
276
|
+
export interface System extends LaravelModel {
|
|
277
|
+
name: string;
|
|
278
|
+
type: string;
|
|
279
|
+
configuration: {
|
|
280
|
+
[key: string]: string;
|
|
281
|
+
};
|
|
282
|
+
can_workflow_config: boolean;
|
|
283
|
+
}
|
|
284
|
+
export interface CountryReferenceProduct extends LaravelModel {
|
|
285
|
+
country_id: number;
|
|
286
|
+
product_id: number;
|
|
287
|
+
local_name: string;
|
|
288
|
+
min_weight: number;
|
|
289
|
+
max_weight: number;
|
|
290
|
+
insurance: number;
|
|
291
|
+
business_letter: boolean;
|
|
292
|
+
packaging: boolean;
|
|
293
|
+
anti_drug_letter: boolean;
|
|
294
|
+
max_declared_value: number;
|
|
295
|
+
shipment_groups: number[];
|
|
296
|
+
shipment_scopes: number[];
|
|
297
|
+
shipment_content_types: number[];
|
|
298
|
+
is_prepaid_dropoff: boolean;
|
|
299
|
+
product: Product;
|
|
300
|
+
}
|
|
301
|
+
export interface ProductEntity extends LaravelModel {
|
|
302
|
+
global_code: string;
|
|
303
|
+
local_code: string;
|
|
304
|
+
global_name: string;
|
|
305
|
+
local_name: string;
|
|
306
|
+
}
|
|
307
|
+
export interface TDXAccountSetting extends LaravelModel {
|
|
308
|
+
location_id: number;
|
|
309
|
+
account_id: number;
|
|
310
|
+
product_id: number;
|
|
311
|
+
product_global_code_name: string;
|
|
312
|
+
product_local_code_name: string;
|
|
313
|
+
account: AccountToTDX;
|
|
314
|
+
}
|
|
315
|
+
export interface AccountToTDX extends ActiveLessLaravelModel {
|
|
316
|
+
number: string;
|
|
317
|
+
description: string | null;
|
|
318
|
+
account_type_id: number;
|
|
319
|
+
country_id: number;
|
|
320
|
+
}
|
|
321
|
+
export interface SupplyEntity extends LaravelModel {
|
|
322
|
+
name: string;
|
|
323
|
+
description: null | string;
|
|
324
|
+
country_id: number;
|
|
325
|
+
enabled_for_dropoff: boolean;
|
|
326
|
+
supply_type: SupplyEntityType;
|
|
327
|
+
supply_packing: SupplyEntityPacking;
|
|
328
|
+
}
|
|
329
|
+
export interface SupplyEntityType extends LaravelModel {
|
|
330
|
+
name: string;
|
|
331
|
+
}
|
|
332
|
+
export interface SupplyEntityPacking {
|
|
333
|
+
value: number;
|
|
334
|
+
weight: number;
|
|
335
|
+
height: number;
|
|
336
|
+
depth: number;
|
|
337
|
+
width: number;
|
|
338
|
+
emobile_code: null | string;
|
|
339
|
+
created_at: string;
|
|
340
|
+
updated_at: string;
|
|
341
|
+
}
|