@experteam-mx/ngx-services 20.0.0 → 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 +125 -14
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +285 -2
- 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,219 @@
|
|
|
1
|
+
import { ViewSectionOption } from './api-catalog.enum';
|
|
2
|
+
import { SymfonyModel, Translations } from './api.models';
|
|
3
|
+
export interface Country extends SymfonyModel {
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
codeAndName: string;
|
|
7
|
+
isoCode: string;
|
|
8
|
+
codePhone: string;
|
|
9
|
+
locale: string;
|
|
10
|
+
locationType: LocationType;
|
|
11
|
+
unit: Unit;
|
|
12
|
+
timezone: string;
|
|
13
|
+
hasImportService: boolean;
|
|
14
|
+
phoneDigits: number;
|
|
15
|
+
locationTypeFields: LocationTypeFields;
|
|
16
|
+
postalCodeSuffixRegex: string;
|
|
17
|
+
decimalPoint: number;
|
|
18
|
+
max_quantity_document_piece: number;
|
|
19
|
+
max_quantity_package_piece: number;
|
|
20
|
+
weight_restriction_piece: number;
|
|
21
|
+
restriction_shipment: number;
|
|
22
|
+
restriction_dimension: number;
|
|
23
|
+
max_declared_value: number;
|
|
24
|
+
decimal_separator: string;
|
|
25
|
+
thousands_separator: string;
|
|
26
|
+
label_printer_name: string;
|
|
27
|
+
receipt_printer_name: string;
|
|
28
|
+
others_printer_name: string;
|
|
29
|
+
territories: number[];
|
|
30
|
+
use_billing?: boolean;
|
|
31
|
+
translations: Translations;
|
|
32
|
+
}
|
|
33
|
+
export interface LocationType extends SymfonyModel {
|
|
34
|
+
code: string;
|
|
35
|
+
name: string;
|
|
36
|
+
priority: number;
|
|
37
|
+
}
|
|
38
|
+
export interface Unit extends SymfonyModel {
|
|
39
|
+
name: string;
|
|
40
|
+
weight: string;
|
|
41
|
+
dimension: string;
|
|
42
|
+
}
|
|
43
|
+
export interface LocationTypeFields {
|
|
44
|
+
city: City;
|
|
45
|
+
postalCode: PostalCode;
|
|
46
|
+
suburb: Suburb;
|
|
47
|
+
}
|
|
48
|
+
export interface City {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
required: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface PostalCode {
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
required: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface Suburb {
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
required: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface Language extends SymfonyModel {
|
|
61
|
+
code: string;
|
|
62
|
+
name: string;
|
|
63
|
+
}
|
|
64
|
+
export interface State extends SymfonyModel {
|
|
65
|
+
country: Country;
|
|
66
|
+
code: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}
|
|
69
|
+
export interface Currency extends SymfonyModel {
|
|
70
|
+
code: string;
|
|
71
|
+
name: string;
|
|
72
|
+
symbol: string;
|
|
73
|
+
}
|
|
74
|
+
export interface IdentificationType extends SymfonyModel {
|
|
75
|
+
code: string;
|
|
76
|
+
countryId: number;
|
|
77
|
+
identificationType: number | null;
|
|
78
|
+
name: string;
|
|
79
|
+
viewSection?: Record<ViewSectionOption, boolean>;
|
|
80
|
+
regex: string[] | null;
|
|
81
|
+
isExternalValidation: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface OperationType extends SymfonyModel {
|
|
84
|
+
code: string;
|
|
85
|
+
name: string;
|
|
86
|
+
translations?: Translations;
|
|
87
|
+
}
|
|
88
|
+
export interface BoardingProcessStatus {
|
|
89
|
+
id: number;
|
|
90
|
+
code: string;
|
|
91
|
+
createdAt: string;
|
|
92
|
+
updatedAt: string;
|
|
93
|
+
}
|
|
94
|
+
export interface ExtraCharge extends SymfonyModel {
|
|
95
|
+
code: string;
|
|
96
|
+
name: string;
|
|
97
|
+
isDiscount: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface PostalLocation extends SymfonyModel {
|
|
100
|
+
city: string | null;
|
|
101
|
+
postalCode: string | null;
|
|
102
|
+
suburb: string | null;
|
|
103
|
+
stateCode: string | null;
|
|
104
|
+
iata: string;
|
|
105
|
+
state: State | null;
|
|
106
|
+
}
|
|
107
|
+
export interface Region extends SymfonyModel {
|
|
108
|
+
code: string;
|
|
109
|
+
name: string;
|
|
110
|
+
country: Country;
|
|
111
|
+
}
|
|
112
|
+
export interface Zone extends SymfonyModel {
|
|
113
|
+
code: string;
|
|
114
|
+
name: string;
|
|
115
|
+
country: Country;
|
|
116
|
+
}
|
|
117
|
+
export interface ManagementArea extends SymfonyModel {
|
|
118
|
+
name: string;
|
|
119
|
+
country: Country;
|
|
120
|
+
}
|
|
121
|
+
export interface CancellationReason extends SymfonyModel {
|
|
122
|
+
code: string;
|
|
123
|
+
name: string;
|
|
124
|
+
eventReasonCode: string;
|
|
125
|
+
countryId: number;
|
|
126
|
+
}
|
|
127
|
+
export interface Currency extends SymfonyModel {
|
|
128
|
+
code: string;
|
|
129
|
+
name: string;
|
|
130
|
+
symbol: string;
|
|
131
|
+
}
|
|
132
|
+
export interface Unit extends SymfonyModel {
|
|
133
|
+
name: string;
|
|
134
|
+
weight: string;
|
|
135
|
+
dimension: string;
|
|
136
|
+
}
|
|
137
|
+
export interface ShipmentScope extends SymfonyModel {
|
|
138
|
+
code: string;
|
|
139
|
+
name: string;
|
|
140
|
+
}
|
|
141
|
+
export interface ShipmentContentType extends SymfonyModel {
|
|
142
|
+
code: string;
|
|
143
|
+
name: string;
|
|
144
|
+
}
|
|
145
|
+
export interface GenericFolio extends SymfonyModel {
|
|
146
|
+
countryId: number;
|
|
147
|
+
code: string;
|
|
148
|
+
customer: string;
|
|
149
|
+
accountNumber: string;
|
|
150
|
+
content: string;
|
|
151
|
+
packaging: true;
|
|
152
|
+
destinationFullName: string;
|
|
153
|
+
destinationAddressLine1: string;
|
|
154
|
+
destinationAddressLine2: string;
|
|
155
|
+
destinationAddressLine3: string;
|
|
156
|
+
destinationCountryId: number;
|
|
157
|
+
destinationCountryCode: string;
|
|
158
|
+
destinationPostalCode: string;
|
|
159
|
+
destinationCityName: string;
|
|
160
|
+
destinationCountyName: string;
|
|
161
|
+
destinationStateCode: string;
|
|
162
|
+
destinationPhoneCode: string;
|
|
163
|
+
destinationPhoneNumber: string;
|
|
164
|
+
destinationEmail: string;
|
|
165
|
+
countryReferenceProductIds: number[];
|
|
166
|
+
productLocalCodes: string;
|
|
167
|
+
}
|
|
168
|
+
export interface Product extends SymfonyModel {
|
|
169
|
+
globalCode: number;
|
|
170
|
+
localCode: string;
|
|
171
|
+
globalName: string;
|
|
172
|
+
localName: string;
|
|
173
|
+
isDocument: string;
|
|
174
|
+
restrictedAccounts: {
|
|
175
|
+
id: string;
|
|
176
|
+
number: string;
|
|
177
|
+
isActive: boolean;
|
|
178
|
+
}[];
|
|
179
|
+
discounts: [];
|
|
180
|
+
}
|
|
181
|
+
export interface ShipmentIncomeType extends SymfonyModel {
|
|
182
|
+
countryId: number;
|
|
183
|
+
code: string;
|
|
184
|
+
name: string;
|
|
185
|
+
}
|
|
186
|
+
export interface UniqueFolio extends SymfonyModel {
|
|
187
|
+
code: number;
|
|
188
|
+
customer: string;
|
|
189
|
+
content: string;
|
|
190
|
+
kad: string | null;
|
|
191
|
+
executive: string;
|
|
192
|
+
}
|
|
193
|
+
export interface ShipmentGroup extends SymfonyModel {
|
|
194
|
+
code: string;
|
|
195
|
+
name: string;
|
|
196
|
+
}
|
|
197
|
+
export interface ShipmentStatus extends SymfonyModel {
|
|
198
|
+
code: string;
|
|
199
|
+
description: string;
|
|
200
|
+
}
|
|
201
|
+
export interface Question extends SymfonyModel {
|
|
202
|
+
description: string;
|
|
203
|
+
type: string;
|
|
204
|
+
questionOrder: number;
|
|
205
|
+
countryId: number;
|
|
206
|
+
isRequiredValue: boolean;
|
|
207
|
+
}
|
|
208
|
+
export interface Holiday extends SymfonyModel {
|
|
209
|
+
date: string;
|
|
210
|
+
description: string;
|
|
211
|
+
country: Country;
|
|
212
|
+
}
|
|
213
|
+
export interface BusinessPartyTraderType extends SymfonyModel {
|
|
214
|
+
code: string;
|
|
215
|
+
name: string;
|
|
216
|
+
description: string | null;
|
|
217
|
+
category: string | null;
|
|
218
|
+
esbCode: string;
|
|
219
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { ViewSectionOption } from './api-catalog.enum';
|
|
2
|
+
import { BusinessPartyTraderType, CancellationReason, Country, Currency, ExtraCharge, GenericFolio, Holiday, IdentificationType, Language, ManagementArea, OperationType, PostalLocation, 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 PostalLocationsOut = {
|
|
48
|
+
total: number;
|
|
49
|
+
postalLocations: PostalLocation[];
|
|
50
|
+
};
|
|
51
|
+
export type RegionsOut = {
|
|
52
|
+
total: number;
|
|
53
|
+
regions: Region[];
|
|
54
|
+
};
|
|
55
|
+
export type ZonesOut = {
|
|
56
|
+
total: number;
|
|
57
|
+
zones: Zone[];
|
|
58
|
+
};
|
|
59
|
+
export type ManagementAreasOut = {
|
|
60
|
+
total: number;
|
|
61
|
+
regions: ManagementArea[];
|
|
62
|
+
};
|
|
63
|
+
export type CancellationReasonsOut = {
|
|
64
|
+
total: number;
|
|
65
|
+
cancellationReasons: CancellationReason[];
|
|
66
|
+
};
|
|
67
|
+
export type CancellationReasonIn = {
|
|
68
|
+
code: string;
|
|
69
|
+
name: string;
|
|
70
|
+
eventReasonCode: string | null;
|
|
71
|
+
isActive: boolean;
|
|
72
|
+
countryId: number;
|
|
73
|
+
};
|
|
74
|
+
export type CancellationReasonOut = {
|
|
75
|
+
cancellationReason: CancellationReason;
|
|
76
|
+
};
|
|
77
|
+
export type CurrenciesOut = {
|
|
78
|
+
total: number;
|
|
79
|
+
currencies: Currency[];
|
|
80
|
+
};
|
|
81
|
+
export type LanguagesOut = {
|
|
82
|
+
total: number;
|
|
83
|
+
languages: Language[];
|
|
84
|
+
};
|
|
85
|
+
export type UnitsOut = {
|
|
86
|
+
total: number;
|
|
87
|
+
units: Unit[];
|
|
88
|
+
};
|
|
89
|
+
export type ShipmentScopesOut = {
|
|
90
|
+
total: number;
|
|
91
|
+
shipmentScopes: ShipmentScope[];
|
|
92
|
+
};
|
|
93
|
+
export type ShipmentContentTypesOut = {
|
|
94
|
+
total: number;
|
|
95
|
+
shipmentContentTypes: ShipmentContentType[];
|
|
96
|
+
};
|
|
97
|
+
export type ExtraChargeIn = {
|
|
98
|
+
code: string;
|
|
99
|
+
name: string;
|
|
100
|
+
isDiscount: boolean;
|
|
101
|
+
};
|
|
102
|
+
export type ExtraChargeOut = {
|
|
103
|
+
extraCharge: ExtraCharge;
|
|
104
|
+
};
|
|
105
|
+
export type GenericFoliosOut = {
|
|
106
|
+
total: number;
|
|
107
|
+
genericFolios: GenericFolio[];
|
|
108
|
+
};
|
|
109
|
+
export type GenericFolioIn = {
|
|
110
|
+
accountNumber: string;
|
|
111
|
+
code: string;
|
|
112
|
+
content: string;
|
|
113
|
+
countryReferenceProductIds: number[];
|
|
114
|
+
customer: string;
|
|
115
|
+
destinationAddressLine1: string;
|
|
116
|
+
destinationAddressLine2: string;
|
|
117
|
+
destinationAddressLine3: string;
|
|
118
|
+
destinationCityName?: string;
|
|
119
|
+
destinationCountryId: number;
|
|
120
|
+
destinationCountyName?: string;
|
|
121
|
+
destinationEmail: string;
|
|
122
|
+
destinationFullName: string;
|
|
123
|
+
destinationPhoneCode: string;
|
|
124
|
+
destinationPhoneNumber: string;
|
|
125
|
+
destinationPostalCode?: string;
|
|
126
|
+
destinationStateCode?: string;
|
|
127
|
+
isActive: boolean;
|
|
128
|
+
packaging: boolean;
|
|
129
|
+
countryId: number;
|
|
130
|
+
};
|
|
131
|
+
export type GenericFolioOut = {
|
|
132
|
+
genericFolio: GenericFolio;
|
|
133
|
+
};
|
|
134
|
+
export type ProductIn = {
|
|
135
|
+
globalCode: number;
|
|
136
|
+
localCode: string;
|
|
137
|
+
globalName: string;
|
|
138
|
+
localName: string;
|
|
139
|
+
isDocument: boolean;
|
|
140
|
+
};
|
|
141
|
+
export type ProductOut = {
|
|
142
|
+
product: Product;
|
|
143
|
+
};
|
|
144
|
+
export type ShipmentIncomeTypesOut = {
|
|
145
|
+
total: number;
|
|
146
|
+
shipmentIncomeTypes: ShipmentIncomeType[];
|
|
147
|
+
};
|
|
148
|
+
export type ShipmentIncomeTypeIn = {
|
|
149
|
+
countryId: number;
|
|
150
|
+
code: string;
|
|
151
|
+
name: string;
|
|
152
|
+
isActive: boolean;
|
|
153
|
+
};
|
|
154
|
+
export type ShipmentIncomeTypeOut = {
|
|
155
|
+
shipmentIncomeType: ShipmentIncomeType;
|
|
156
|
+
};
|
|
157
|
+
export type UniqueFolioIn = {
|
|
158
|
+
code: number;
|
|
159
|
+
customer: string;
|
|
160
|
+
content: string;
|
|
161
|
+
kad: string | null;
|
|
162
|
+
executive: string;
|
|
163
|
+
isActive: boolean;
|
|
164
|
+
};
|
|
165
|
+
export type UniqueFolioOut = {
|
|
166
|
+
uniqueFolio: UniqueFolio;
|
|
167
|
+
};
|
|
168
|
+
export type UniqueFoliosOut = {
|
|
169
|
+
total: number;
|
|
170
|
+
uniqueFolios: UniqueFolio[];
|
|
171
|
+
};
|
|
172
|
+
export type ShipmentGroupsOut = {
|
|
173
|
+
shipmentGroups: ShipmentGroup[];
|
|
174
|
+
total: number;
|
|
175
|
+
};
|
|
176
|
+
export type ShipmentStatusesOut = {
|
|
177
|
+
shipmentStatuses: ShipmentStatus[];
|
|
178
|
+
total: number;
|
|
179
|
+
};
|
|
180
|
+
export type QuestionsOut = {
|
|
181
|
+
questions: Question[];
|
|
182
|
+
total: number;
|
|
183
|
+
};
|
|
184
|
+
export type QuestionOut = {
|
|
185
|
+
question: Question;
|
|
186
|
+
};
|
|
187
|
+
export type QuestionIn = {
|
|
188
|
+
description: string;
|
|
189
|
+
type: 'marketing';
|
|
190
|
+
questionOrder: number;
|
|
191
|
+
isActive: boolean;
|
|
192
|
+
countryId: number;
|
|
193
|
+
isRequiredValue: boolean;
|
|
194
|
+
};
|
|
195
|
+
export type HolidaysOut = {
|
|
196
|
+
holidays: Holiday[];
|
|
197
|
+
total: number;
|
|
198
|
+
};
|
|
199
|
+
export type HolidayOut = {
|
|
200
|
+
holiday: Holiday;
|
|
201
|
+
};
|
|
202
|
+
export type HolidayIn = {
|
|
203
|
+
date: string;
|
|
204
|
+
description: string;
|
|
205
|
+
countryId: number;
|
|
206
|
+
isActive: boolean;
|
|
207
|
+
};
|
|
208
|
+
export type IdentificationTypeNumberValidationIn = {
|
|
209
|
+
identificationTypeId: number;
|
|
210
|
+
identificationNumber: string;
|
|
211
|
+
section: string;
|
|
212
|
+
};
|
|
213
|
+
export type IdentificationTypeNumberValidationOut = {};
|
|
214
|
+
export type BusinessPartyTraderTypesOut = {
|
|
215
|
+
total: number;
|
|
216
|
+
businessPartyTraderTypes: BusinessPartyTraderType[];
|
|
217
|
+
};
|