@experteam-mx/ngx-services 18.9.13 → 20.0.0-beta.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/fesm2022/experteam-mx-ngx-services.mjs +80 -80
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +6703 -3
- package/package.json +6 -8
- package/esm2022/experteam-mx-ngx-services.mjs +0 -5
- package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
- package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
- package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
- package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
- package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
- package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
- package/esm2022/lib/apis/api-catalogs.service.mjs +0 -593
- package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
- package/esm2022/lib/apis/api-composition.service.mjs +0 -55
- package/esm2022/lib/apis/api-customs.service.mjs +0 -157
- package/esm2022/lib/apis/api-discounts.service.mjs +0 -243
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
- package/esm2022/lib/apis/api-events.service.mjs +0 -53
- package/esm2022/lib/apis/api-external-pickups.service.mjs +0 -74
- package/esm2022/lib/apis/api-inventories.service.mjs +0 -194
- package/esm2022/lib/apis/api-invoices.service.mjs +0 -398
- package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
- package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
- package/esm2022/lib/apis/api-reports.service.mjs +0 -128
- package/esm2022/lib/apis/api-security.service.mjs +0 -245
- package/esm2022/lib/apis/api-services.service.mjs +0 -103
- package/esm2022/lib/apis/api-shipments.service.mjs +0 -87
- package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api.models.mjs +0 -2
- package/esm2022/lib/cypher/crypto.service.mjs +0 -93
- package/esm2022/lib/helpers/files.mjs +0 -9
- package/esm2022/lib/helpers/http.mjs +0 -66
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
- package/esm2022/lib/ngx-services.models.mjs +0 -11
- package/esm2022/lib/ngx-services.module.mjs +0 -33
- package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
- package/esm2022/public-api.mjs +0 -89
- package/lib/apis/api-billing-do.service.d.ts +0 -24
- package/lib/apis/api-billing-gt.service.d.ts +0 -38
- package/lib/apis/api-billing-mx.service.d.ts +0 -39
- package/lib/apis/api-billing-pa.service.d.ts +0 -68
- package/lib/apis/api-billing-sv.service.d.ts +0 -55
- package/lib/apis/api-cash-operations.service.d.ts +0 -62
- package/lib/apis/api-catalogs.service.d.ts +0 -433
- package/lib/apis/api-companies.service.d.ts +0 -714
- package/lib/apis/api-composition.service.d.ts +0 -35
- package/lib/apis/api-customs.service.d.ts +0 -110
- package/lib/apis/api-discounts.service.d.ts +0 -167
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
- package/lib/apis/api-events.service.d.ts +0 -33
- package/lib/apis/api-external-pickups.service.d.ts +0 -46
- package/lib/apis/api-inventories.service.d.ts +0 -134
- package/lib/apis/api-invoices.service.d.ts +0 -280
- package/lib/apis/api-notifications.service.d.ts +0 -70
- package/lib/apis/api-open-items.service.d.ts +0 -41
- package/lib/apis/api-reports.service.d.ts +0 -82
- package/lib/apis/api-security.service.d.ts +0 -162
- package/lib/apis/api-services.service.d.ts +0 -67
- package/lib/apis/api-shipments.service.d.ts +0 -58
- package/lib/apis/api-supplies.service.d.ts +0 -93
- package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
- package/lib/apis/models/api-billing-do.types.d.ts +0 -5
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
- package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
- package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
- package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
- package/lib/apis/models/api-billing.models.d.ts +0 -27
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
- package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
- package/lib/apis/models/api-catalog.enum.d.ts +0 -7
- package/lib/apis/models/api-catalog.interfaces.d.ts +0 -204
- package/lib/apis/models/api-catalog.types.d.ts +0 -203
- package/lib/apis/models/api-companies.interfaces.d.ts +0 -341
- package/lib/apis/models/api-companies.types.d.ts +0 -457
- package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
- package/lib/apis/models/api-composition.types.d.ts +0 -9
- package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
- package/lib/apis/models/api-customs.types.d.ts +0 -90
- package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
- package/lib/apis/models/api-discounts.types.d.ts +0 -89
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
- package/lib/apis/models/api-events.enum.d.ts +0 -5
- package/lib/apis/models/api-events.interfaces.d.ts +0 -21
- package/lib/apis/models/api-events.types.d.ts +0 -14
- package/lib/apis/models/api-external-pickups.types.d.ts +0 -31
- package/lib/apis/models/api-inventories.enum.d.ts +0 -18
- package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
- package/lib/apis/models/api-inventories.types.d.ts +0 -56
- package/lib/apis/models/api-invoices.interfaces.d.ts +0 -267
- package/lib/apis/models/api-invoices.types.d.ts +0 -195
- package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
- package/lib/apis/models/api-notifications.types.d.ts +0 -34
- package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
- package/lib/apis/models/api-open-items.types.d.ts +0 -58
- package/lib/apis/models/api-reports.interfaces.d.ts +0 -233
- package/lib/apis/models/api-reports.types.d.ts +0 -50
- package/lib/apis/models/api-security.interfaces.d.ts +0 -68
- package/lib/apis/models/api-security.types.d.ts +0 -72
- package/lib/apis/models/api-services.interfaces.d.ts +0 -49
- package/lib/apis/models/api-services.types.d.ts +0 -67
- package/lib/apis/models/api-shipments.enums.d.ts +0 -6
- package/lib/apis/models/api-shipments.interfaces.d.ts +0 -12
- package/lib/apis/models/api-shipments.types.d.ts +0 -93
- package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
- package/lib/apis/models/api-supplies.types.d.ts +0 -50
- package/lib/apis/models/api.models.d.ts +0 -36
- package/lib/cypher/crypto.service.d.ts +0 -15
- package/lib/helpers/files.d.ts +0 -2
- package/lib/helpers/http.d.ts +0 -38
- package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
- package/lib/interceptors/api-token.interceptor.d.ts +0 -11
- package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
- package/lib/ngx-services.models.d.ts +0 -62
- package/lib/ngx-services.module.d.ts +0 -16
- package/lib/websockets/web-sockets.service.d.ts +0 -49
- package/public-api.d.ts +0 -79
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { ViewSectionOption } from './api-catalog.enum';
|
|
2
|
-
import { CancellationReason, Country, Currency, ExtraCharge, GenericFolio, Holiday, IdentificationType, Language, ManagementArea, OperationType, Product, Question, Region, ShipmentContentType, ShipmentGroup, ShipmentIncomeType, ShipmentScope, ShipmentStatus, UniqueFolio, Unit, Zone } from './api-catalog.interfaces';
|
|
3
|
-
export type OperationTypesOut = {
|
|
4
|
-
total: number;
|
|
5
|
-
operationTypes: OperationType[];
|
|
6
|
-
};
|
|
7
|
-
export interface IdentificationTypesOut {
|
|
8
|
-
total: number;
|
|
9
|
-
identificationTypes: IdentificationType[];
|
|
10
|
-
}
|
|
11
|
-
export type IdentificationTypeOut = {
|
|
12
|
-
IdentificationType: IdentificationType;
|
|
13
|
-
};
|
|
14
|
-
export type IdentificationTypeIn = {
|
|
15
|
-
code: string;
|
|
16
|
-
countryId: number;
|
|
17
|
-
identificationType?: number | null;
|
|
18
|
-
name: string;
|
|
19
|
-
viewSection: Record<ViewSectionOption, boolean>;
|
|
20
|
-
regex: string[] | null;
|
|
21
|
-
isExternalValidation?: boolean;
|
|
22
|
-
isActive: boolean;
|
|
23
|
-
};
|
|
24
|
-
export type ExtraChargesOut = {
|
|
25
|
-
total: number;
|
|
26
|
-
extracharges: ExtraCharge[];
|
|
27
|
-
};
|
|
28
|
-
export type CountriesOut = {
|
|
29
|
-
total: number;
|
|
30
|
-
countries: Country[];
|
|
31
|
-
};
|
|
32
|
-
export type CountryIn = {
|
|
33
|
-
code: string;
|
|
34
|
-
name: string;
|
|
35
|
-
locationTypeId: number;
|
|
36
|
-
unitId: number;
|
|
37
|
-
timezone: string;
|
|
38
|
-
hasImportService: boolean;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
isoCode: string;
|
|
41
|
-
codePhone: string;
|
|
42
|
-
phoneDigits: number;
|
|
43
|
-
};
|
|
44
|
-
export type CountryOut = {
|
|
45
|
-
country: Country;
|
|
46
|
-
};
|
|
47
|
-
export type RegionsOut = {
|
|
48
|
-
total: number;
|
|
49
|
-
regions: Region[];
|
|
50
|
-
};
|
|
51
|
-
export type ZonesOut = {
|
|
52
|
-
total: number;
|
|
53
|
-
zones: Zone[];
|
|
54
|
-
};
|
|
55
|
-
export type ManagementAreasOut = {
|
|
56
|
-
total: number;
|
|
57
|
-
managementAreas: ManagementArea[];
|
|
58
|
-
};
|
|
59
|
-
export type CancellationReasonsOut = {
|
|
60
|
-
total: number;
|
|
61
|
-
cancellationReasons: CancellationReason[];
|
|
62
|
-
};
|
|
63
|
-
export type CancellationReasonIn = {
|
|
64
|
-
code: string;
|
|
65
|
-
name: string;
|
|
66
|
-
eventReasonCode: string | null;
|
|
67
|
-
isActive: boolean;
|
|
68
|
-
countryId: number;
|
|
69
|
-
};
|
|
70
|
-
export type CancellationReasonOut = {
|
|
71
|
-
cancellationReason: CancellationReason;
|
|
72
|
-
};
|
|
73
|
-
export type CurrenciesOut = {
|
|
74
|
-
total: number;
|
|
75
|
-
currencies: Currency[];
|
|
76
|
-
};
|
|
77
|
-
export type LanguagesOut = {
|
|
78
|
-
total: number;
|
|
79
|
-
languages: Language[];
|
|
80
|
-
};
|
|
81
|
-
export type UnitsOut = {
|
|
82
|
-
total: number;
|
|
83
|
-
units: Unit[];
|
|
84
|
-
};
|
|
85
|
-
export type ShipmentScopesOut = {
|
|
86
|
-
total: number;
|
|
87
|
-
shipmentScopes: ShipmentScope[];
|
|
88
|
-
};
|
|
89
|
-
export type ShipmentContentTypesOut = {
|
|
90
|
-
total: number;
|
|
91
|
-
shipmentContentTypes: ShipmentContentType[];
|
|
92
|
-
};
|
|
93
|
-
export type ExtraChargeIn = {
|
|
94
|
-
code: string;
|
|
95
|
-
name: string;
|
|
96
|
-
isDiscount: boolean;
|
|
97
|
-
};
|
|
98
|
-
export type ExtraChargeOut = {
|
|
99
|
-
extraCharge: ExtraCharge;
|
|
100
|
-
};
|
|
101
|
-
export type GenericFoliosOut = {
|
|
102
|
-
total: number;
|
|
103
|
-
genericFolios: GenericFolio[];
|
|
104
|
-
};
|
|
105
|
-
export type GenericFolioIn = {
|
|
106
|
-
accountNumber: string;
|
|
107
|
-
code: string;
|
|
108
|
-
content: string;
|
|
109
|
-
countryReferenceProductIds: number[];
|
|
110
|
-
customer: string;
|
|
111
|
-
destinationAddressLine1: string;
|
|
112
|
-
destinationAddressLine2: string;
|
|
113
|
-
destinationAddressLine3: string;
|
|
114
|
-
destinationCityName?: string;
|
|
115
|
-
destinationCountryId: number;
|
|
116
|
-
destinationCountyName?: string;
|
|
117
|
-
destinationEmail: string;
|
|
118
|
-
destinationFullName: string;
|
|
119
|
-
destinationPhoneCode: string;
|
|
120
|
-
destinationPhoneNumber: string;
|
|
121
|
-
destinationPostalCode?: string;
|
|
122
|
-
destinationStateCode?: string;
|
|
123
|
-
isActive: boolean;
|
|
124
|
-
packaging: boolean;
|
|
125
|
-
countryId: number;
|
|
126
|
-
};
|
|
127
|
-
export type GenericFolioOut = {
|
|
128
|
-
genericFolio: GenericFolio;
|
|
129
|
-
};
|
|
130
|
-
export type ProductIn = {
|
|
131
|
-
globalCode: number;
|
|
132
|
-
localCode: string;
|
|
133
|
-
globalName: string;
|
|
134
|
-
localName: string;
|
|
135
|
-
isDocument: boolean;
|
|
136
|
-
};
|
|
137
|
-
export type ProductOut = {
|
|
138
|
-
product: Product;
|
|
139
|
-
};
|
|
140
|
-
export type ShipmentIncomeTypesOut = {
|
|
141
|
-
total: number;
|
|
142
|
-
shipmentIncomeTypes: ShipmentIncomeType[];
|
|
143
|
-
};
|
|
144
|
-
export type ShipmentIncomeTypeIn = {
|
|
145
|
-
countryId: number;
|
|
146
|
-
code: string;
|
|
147
|
-
name: string;
|
|
148
|
-
isActive: boolean;
|
|
149
|
-
};
|
|
150
|
-
export type ShipmentIncomeTypeOut = {
|
|
151
|
-
shipmentIncomeType: ShipmentIncomeType;
|
|
152
|
-
};
|
|
153
|
-
export type UniqueFolioIn = {
|
|
154
|
-
code: number;
|
|
155
|
-
customer: string;
|
|
156
|
-
content: string;
|
|
157
|
-
kad: string | null;
|
|
158
|
-
executive: string;
|
|
159
|
-
isActive: boolean;
|
|
160
|
-
};
|
|
161
|
-
export type UniqueFolioOut = {
|
|
162
|
-
uniqueFolio: UniqueFolio;
|
|
163
|
-
};
|
|
164
|
-
export type UniqueFoliosOut = {
|
|
165
|
-
total: number;
|
|
166
|
-
uniqueFolios: UniqueFolio[];
|
|
167
|
-
};
|
|
168
|
-
export type ShipmentGroupsOut = {
|
|
169
|
-
shipmentGroups: ShipmentGroup[];
|
|
170
|
-
total: number;
|
|
171
|
-
};
|
|
172
|
-
export type ShipmentStatusesOut = {
|
|
173
|
-
shipmentStatuses: ShipmentStatus[];
|
|
174
|
-
total: number;
|
|
175
|
-
};
|
|
176
|
-
export type QuestionsOut = {
|
|
177
|
-
questions: Question[];
|
|
178
|
-
total: number;
|
|
179
|
-
};
|
|
180
|
-
export type QuestionOut = {
|
|
181
|
-
question: Question;
|
|
182
|
-
};
|
|
183
|
-
export type QuestionIn = {
|
|
184
|
-
description: string;
|
|
185
|
-
type: 'marketing';
|
|
186
|
-
questionOrder: number;
|
|
187
|
-
isActive: boolean;
|
|
188
|
-
countryId: number;
|
|
189
|
-
isRequiredValue: boolean;
|
|
190
|
-
};
|
|
191
|
-
export type HolidaysOut = {
|
|
192
|
-
holidays: Holiday[];
|
|
193
|
-
total: number;
|
|
194
|
-
};
|
|
195
|
-
export type HolidayOut = {
|
|
196
|
-
holiday: Holiday;
|
|
197
|
-
};
|
|
198
|
-
export type HolidayIn = {
|
|
199
|
-
date: string;
|
|
200
|
-
description: string;
|
|
201
|
-
countryId: number;
|
|
202
|
-
isActive: boolean;
|
|
203
|
-
};
|
|
@@ -1,341 +0,0 @@
|
|
|
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
|
-
}
|