@experteam-mx/ngx-services 18.9.21 → 20.0.0-beta

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 (180) hide show
  1. package/README.md +80 -24
  2. package/fesm2022/experteam-mx-ngx-services.mjs +576 -433
  3. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  4. package/index.d.ts +7667 -3
  5. package/package.json +6 -8
  6. package/esm2022/experteam-mx-ngx-services.mjs +0 -5
  7. package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
  8. package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
  9. package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
  10. package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
  11. package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
  12. package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
  13. package/esm2022/lib/apis/api-catalogs.service.mjs +0 -616
  14. package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
  15. package/esm2022/lib/apis/api-composition.service.mjs +0 -55
  16. package/esm2022/lib/apis/api-customs.service.mjs +0 -157
  17. package/esm2022/lib/apis/api-discounts.service.mjs +0 -242
  18. package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
  19. package/esm2022/lib/apis/api-events.service.mjs +0 -53
  20. package/esm2022/lib/apis/api-external-ops.service.mjs +0 -87
  21. package/esm2022/lib/apis/api-inventories.service.mjs +0 -208
  22. package/esm2022/lib/apis/api-invoices.service.mjs +0 -453
  23. package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
  24. package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
  25. package/esm2022/lib/apis/api-quote.service.mjs +0 -87
  26. package/esm2022/lib/apis/api-reports.service.mjs +0 -172
  27. package/esm2022/lib/apis/api-security.service.mjs +0 -245
  28. package/esm2022/lib/apis/api-services.service.mjs +0 -103
  29. package/esm2022/lib/apis/api-shipments.service.mjs +0 -116
  30. package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
  31. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
  32. package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
  33. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
  34. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
  35. package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
  36. package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
  37. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
  38. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
  39. package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
  40. package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
  41. package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
  42. package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
  43. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
  44. package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
  45. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
  46. package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
  47. package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
  48. package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
  49. package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
  50. package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
  51. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
  52. package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
  53. package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
  54. package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
  55. package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
  56. package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
  57. package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
  58. package/esm2022/lib/apis/models/api-external-ops.interfaces.mjs +0 -2
  59. package/esm2022/lib/apis/models/api-external-ops.types.mjs +0 -2
  60. package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
  61. package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
  62. package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
  63. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
  64. package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
  65. package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
  66. package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
  67. package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
  68. package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
  69. package/esm2022/lib/apis/models/api-quote.interfaces.mjs +0 -2
  70. package/esm2022/lib/apis/models/api-quote.types.mjs +0 -2
  71. package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
  72. package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
  73. package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
  74. package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
  75. package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
  76. package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
  77. package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
  78. package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
  79. package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
  80. package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
  81. package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
  82. package/esm2022/lib/apis/models/api.models.mjs +0 -2
  83. package/esm2022/lib/cypher/crypto.service.mjs +0 -93
  84. package/esm2022/lib/helpers/files.mjs +0 -9
  85. package/esm2022/lib/helpers/http.mjs +0 -66
  86. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
  87. package/esm2022/lib/interceptors/api-key.interceptor.mjs +0 -48
  88. package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
  89. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
  90. package/esm2022/lib/ngx-services.models.mjs +0 -11
  91. package/esm2022/lib/ngx-services.module.mjs +0 -33
  92. package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
  93. package/esm2022/public-api.mjs +0 -94
  94. package/lib/apis/api-billing-do.service.d.ts +0 -24
  95. package/lib/apis/api-billing-gt.service.d.ts +0 -38
  96. package/lib/apis/api-billing-mx.service.d.ts +0 -39
  97. package/lib/apis/api-billing-pa.service.d.ts +0 -68
  98. package/lib/apis/api-billing-sv.service.d.ts +0 -55
  99. package/lib/apis/api-cash-operations.service.d.ts +0 -62
  100. package/lib/apis/api-catalogs.service.d.ts +0 -451
  101. package/lib/apis/api-companies.service.d.ts +0 -714
  102. package/lib/apis/api-composition.service.d.ts +0 -35
  103. package/lib/apis/api-customs.service.d.ts +0 -110
  104. package/lib/apis/api-discounts.service.d.ts +0 -166
  105. package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
  106. package/lib/apis/api-events.service.d.ts +0 -33
  107. package/lib/apis/api-external-ops.service.d.ts +0 -54
  108. package/lib/apis/api-inventories.service.d.ts +0 -145
  109. package/lib/apis/api-invoices.service.d.ts +0 -317
  110. package/lib/apis/api-notifications.service.d.ts +0 -70
  111. package/lib/apis/api-open-items.service.d.ts +0 -41
  112. package/lib/apis/api-quote.service.d.ts +0 -65
  113. package/lib/apis/api-reports.service.d.ts +0 -120
  114. package/lib/apis/api-security.service.d.ts +0 -162
  115. package/lib/apis/api-services.service.d.ts +0 -67
  116. package/lib/apis/api-shipments.service.d.ts +0 -77
  117. package/lib/apis/api-supplies.service.d.ts +0 -93
  118. package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
  119. package/lib/apis/models/api-billing-do.types.d.ts +0 -5
  120. package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
  121. package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
  122. package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
  123. package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
  124. package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
  125. package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
  126. package/lib/apis/models/api-billing.models.d.ts +0 -27
  127. package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
  128. package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
  129. package/lib/apis/models/api-catalog.enum.d.ts +0 -7
  130. package/lib/apis/models/api-catalog.interfaces.d.ts +0 -211
  131. package/lib/apis/models/api-catalog.types.d.ts +0 -213
  132. package/lib/apis/models/api-companies.interfaces.d.ts +0 -346
  133. package/lib/apis/models/api-companies.types.d.ts +0 -461
  134. package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
  135. package/lib/apis/models/api-composition.types.d.ts +0 -9
  136. package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
  137. package/lib/apis/models/api-customs.types.d.ts +0 -90
  138. package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
  139. package/lib/apis/models/api-discounts.types.d.ts +0 -89
  140. package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
  141. package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
  142. package/lib/apis/models/api-events.enum.d.ts +0 -5
  143. package/lib/apis/models/api-events.interfaces.d.ts +0 -21
  144. package/lib/apis/models/api-events.types.d.ts +0 -14
  145. package/lib/apis/models/api-external-ops.interfaces.d.ts +0 -21
  146. package/lib/apis/models/api-external-ops.types.d.ts +0 -35
  147. package/lib/apis/models/api-inventories.enum.d.ts +0 -18
  148. package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
  149. package/lib/apis/models/api-inventories.types.d.ts +0 -62
  150. package/lib/apis/models/api-invoices.interfaces.d.ts +0 -277
  151. package/lib/apis/models/api-invoices.types.d.ts +0 -236
  152. package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
  153. package/lib/apis/models/api-notifications.types.d.ts +0 -34
  154. package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
  155. package/lib/apis/models/api-open-items.types.d.ts +0 -58
  156. package/lib/apis/models/api-quote.interfaces.d.ts +0 -13
  157. package/lib/apis/models/api-quote.types.d.ts +0 -17
  158. package/lib/apis/models/api-reports.interfaces.d.ts +0 -353
  159. package/lib/apis/models/api-reports.types.d.ts +0 -59
  160. package/lib/apis/models/api-security.interfaces.d.ts +0 -68
  161. package/lib/apis/models/api-security.types.d.ts +0 -72
  162. package/lib/apis/models/api-services.interfaces.d.ts +0 -49
  163. package/lib/apis/models/api-services.types.d.ts +0 -67
  164. package/lib/apis/models/api-shipments.enums.d.ts +0 -6
  165. package/lib/apis/models/api-shipments.interfaces.d.ts +0 -41
  166. package/lib/apis/models/api-shipments.types.d.ts +0 -121
  167. package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
  168. package/lib/apis/models/api-supplies.types.d.ts +0 -50
  169. package/lib/apis/models/api.models.d.ts +0 -36
  170. package/lib/cypher/crypto.service.d.ts +0 -15
  171. package/lib/helpers/files.d.ts +0 -2
  172. package/lib/helpers/http.d.ts +0 -38
  173. package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
  174. package/lib/interceptors/api-key.interceptor.d.ts +0 -35
  175. package/lib/interceptors/api-token.interceptor.d.ts +0 -11
  176. package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
  177. package/lib/ngx-services.models.d.ts +0 -63
  178. package/lib/ngx-services.module.d.ts +0 -16
  179. package/lib/websockets/web-sockets.service.d.ts +0 -49
  180. package/public-api.d.ts +0 -84
@@ -1,461 +0,0 @@
1
- import { Account, AccountCategory, AccountType, BoardingProcess, Company, CompanyCountry, CompanyCountryTax, CountryExchange, CountryReference, CountryReferenceCurrency, CountryReferenceExtraCharge, CountryReferenceProduct, Employee, EmployeeCustomerDhl, ExtraChargeEntity, Installation, Location, LocationEmployee, Parameter, ParameterConfig, ProductEntity, SupplyEntity, System, TDXAccountSetting, WorkflowConfig } from './api-companies.interfaces';
2
- import { QueryParams } from './api.models';
3
- export type LocationEmployeesOut = {
4
- location_employees: LocationEmployee[];
5
- total: number;
6
- };
7
- export type LocationEmployeeBatchIn = {
8
- store_update: {
9
- location_id: number;
10
- employee_id: number;
11
- is_active: boolean;
12
- }[];
13
- };
14
- export type LocationEmployeeOut = {
15
- location_employee: LocationEmployee;
16
- };
17
- export type InstallationsOut = {
18
- installations: Installation[];
19
- total: number;
20
- };
21
- export type InstallationIn = {
22
- system_id: number;
23
- mac_address: string;
24
- ip_address: string;
25
- location_id: number;
26
- number: number;
27
- customer_screen: boolean;
28
- epod_capture: boolean;
29
- cx_survey: boolean;
30
- customer_flow: boolean;
31
- promotional_content: boolean;
32
- };
33
- export type InstallationOut = {
34
- installation: Installation;
35
- };
36
- export type LocationsOut = {
37
- locations: Location[];
38
- total: number;
39
- };
40
- export type LocationIn = {
41
- name: string;
42
- contact_name: string;
43
- email: string;
44
- facility_code: string;
45
- location_code: string;
46
- state_name: string;
47
- state_id: number;
48
- state_code: string;
49
- city_name: string;
50
- zip_code: string;
51
- county_name: string;
52
- address1: string;
53
- address2: string;
54
- address3: string;
55
- service_area_code: string;
56
- iata_code: string;
57
- phone_number: string;
58
- phone_code: string;
59
- is_active: boolean;
60
- gmt_offset: string;
61
- company_country_id: number;
62
- country_zone_id: number;
63
- country_region_id: number;
64
- management_area_id: number;
65
- route_number: string;
66
- locker_enabled: boolean;
67
- queue_manager_enabled: boolean;
68
- commission_account: string;
69
- type: string;
70
- facility_id: number;
71
- service_point_id: number;
72
- default_account_id: number;
73
- extra_fields: {
74
- [key: string]: string | number | boolean | null;
75
- };
76
- };
77
- export type LocationOut = {
78
- location: Location;
79
- };
80
- export type SupplyEntitiesIn = {
81
- model_type: string;
82
- model_id: number;
83
- check_all?: boolean;
84
- supply_entities: {
85
- id: number;
86
- is_active: boolean;
87
- }[];
88
- };
89
- export type SupplyEntitiesOut = {
90
- supply_entities: SupplyEntity[];
91
- total: number;
92
- };
93
- export type EmployeesOut = {
94
- employees: Employee[];
95
- total: number;
96
- };
97
- export type EmployeeIn = {
98
- auth_type: string;
99
- company_id: number;
100
- country_id: number;
101
- email: string;
102
- last_name: string;
103
- name: string;
104
- username: string;
105
- number: string;
106
- external: boolean;
107
- phone_code: string;
108
- phone_number: string;
109
- is_active: boolean;
110
- password: string;
111
- roles: string[];
112
- };
113
- export type EmployeeOut = {
114
- employee: Employee;
115
- };
116
- export type CompanyCountriesOut = {
117
- company_countries: CompanyCountry[];
118
- total: number;
119
- };
120
- export type CompanyCountryIn = {
121
- company_id: number;
122
- country_id: number;
123
- is_active: boolean;
124
- headquarters_city_code: string | null;
125
- lp_code: string | null;
126
- contact_name: string;
127
- contact_email: string;
128
- contact_phone_code: string;
129
- contact_phone_number: string;
130
- state: string | null;
131
- city: string | null;
132
- zip_code: string | null;
133
- county_name: string | null;
134
- address1: string;
135
- address2: string | null;
136
- address3: string | null;
137
- };
138
- export type CompanyCountryOut = {
139
- company_country: CompanyCountry;
140
- };
141
- export type CountryReferenceCurrencyIn = {
142
- is_local: boolean;
143
- can_transact: boolean;
144
- code: string;
145
- name: string;
146
- is_default: boolean;
147
- is_declared_insured: boolean;
148
- is_active: boolean;
149
- };
150
- export type CountryReferenceCurrencyOut = {
151
- country_reference_currency: CountryReferenceCurrency;
152
- };
153
- export type CountryReferenceCurrenciesOut = {
154
- country_reference_currencies: CountryReferenceCurrency[];
155
- total: number;
156
- };
157
- export type CompanyCountryTaxesOut = {
158
- company_country_taxes: CompanyCountryTax[];
159
- total: number;
160
- };
161
- export type ExchangeIn = {
162
- country_reference_currency_id: number;
163
- valid_since: string;
164
- valid_until?: string;
165
- value: string;
166
- type: string;
167
- is_active: boolean;
168
- };
169
- export type ExchangesOut = {
170
- exchanges: CountryExchange[];
171
- total: number;
172
- };
173
- export type ExchangeOut = {
174
- exchange: CountryExchange;
175
- };
176
- export type AccountsOut = {
177
- accounts: Account[];
178
- total: number;
179
- };
180
- export type AccountIn = {
181
- number: string;
182
- description: string;
183
- account_type_id: number;
184
- country_id: number;
185
- };
186
- export type AccountOut = {
187
- account: Account;
188
- };
189
- export type AccountEntitiesIn = {
190
- model_type: string;
191
- model_id: number;
192
- account_entities: {
193
- id: number;
194
- is_active: boolean;
195
- }[];
196
- };
197
- export type AccountEntitiesOut = {
198
- account_entities: Account[];
199
- total: number;
200
- };
201
- export type AccountCategoriesOut = {
202
- account_categories: AccountCategory[];
203
- total: number;
204
- };
205
- export type AccountTypeIn = {
206
- name: string;
207
- account_category_id: number;
208
- };
209
- export type AccountTypeOut = {
210
- account_type: AccountType;
211
- };
212
- export type AccountTypesOut = {
213
- account_types: AccountType[];
214
- total: number;
215
- };
216
- export type ParametersOut = {
217
- parameters: Parameter[];
218
- total: number;
219
- };
220
- export type ParametersValuesIn = {
221
- paramNames: string[];
222
- };
223
- export type ParametersValuesOut = {
224
- parameters: Parameter[];
225
- total: number;
226
- };
227
- export type ParametersByLevelIn = {
228
- name: string;
229
- model_type: string;
230
- model_id: number;
231
- }[];
232
- export type ParameterValueIn = {
233
- paramName: string;
234
- };
235
- export type ParameterValueOut = {
236
- value: string | boolean | number | {
237
- [key: string]: (string | boolean | number)[];
238
- };
239
- };
240
- export type CountryReferencesOut = {
241
- country_references: CountryReference[];
242
- };
243
- export type CountryReferenceIn = {
244
- decimal_point: number;
245
- decimal_separator: string;
246
- thousands_separator: string;
247
- use_billing: boolean;
248
- use_payments: boolean;
249
- currency_id: number;
250
- is_active: boolean;
251
- locale: string;
252
- language_id: number;
253
- restricted_import_countries: number[];
254
- max_quantity_document_piece: number;
255
- max_quantity_package_piece: number;
256
- weight_restriction_piece: number;
257
- restriction_shipment: number;
258
- restriction_dimension: number;
259
- max_declared_value: number;
260
- territories: number[];
261
- some_openings: boolean;
262
- };
263
- export type CountryReferenceOut = {
264
- country_reference: CountryReference;
265
- };
266
- export type CountryReferenceExtraChargeIn = {
267
- local_availability: boolean;
268
- mandatory: boolean;
269
- selected: boolean;
270
- shipment_scopes: number[];
271
- shipment_content_types: number[];
272
- value_local: number;
273
- value_usd: number;
274
- country_id: number;
275
- extra_charge_id: number;
276
- };
277
- export type CountryReferenceExtraChargeOut = {
278
- country_reference_extra_charge: CountryReferenceExtraCharge;
279
- };
280
- export type WorkflowsOut = {
281
- workflow: {
282
- page: string;
283
- enabled: boolean;
284
- }[];
285
- system_configuration: object;
286
- };
287
- export type EmployeesCustomersOut = {
288
- employee_customers: EmployeeCustomerDhl[];
289
- total: number;
290
- };
291
- export type EmployeeCustomersOut = {
292
- employee_customer: EmployeeCustomerDhl;
293
- };
294
- export type EmployeeCustomersIn = {
295
- identification_type_id: number;
296
- identification_type_value: string;
297
- name: string;
298
- last_name: string;
299
- address: string;
300
- phone_code: string;
301
- phone_number: string;
302
- phone_full?: {
303
- [key: string]: string;
304
- };
305
- email: string;
306
- country_id: number;
307
- employee_id: number | null;
308
- is_active: boolean;
309
- };
310
- export type BoardingProcessIn = {
311
- boarding_process: BoardingProcess;
312
- };
313
- export type BoardingProcessIdIn = {
314
- boarding_process_id: number;
315
- message: string;
316
- };
317
- export type SystemsOut = {
318
- systems: System[];
319
- total: number;
320
- };
321
- export type SystemIn = {
322
- name: string;
323
- type: string;
324
- can_workflow_config?: boolean;
325
- configuration: {
326
- [key: string]: string;
327
- };
328
- };
329
- export type SystemOut = {
330
- system: System;
331
- };
332
- export type SystemEntitiesIn = {
333
- model_type: string;
334
- model_id: number;
335
- system_entities: {
336
- id: number;
337
- is_active: boolean;
338
- }[];
339
- };
340
- export type SystemEntitiesOut = {
341
- system_entities: System[];
342
- total: number;
343
- };
344
- export type WorkflowConfigsBatchIn = {
345
- store: {
346
- system_id: number;
347
- model_type: string;
348
- model_id: number;
349
- page_id: number;
350
- enabled: boolean;
351
- }[];
352
- update: {
353
- system_id: number;
354
- model_type: string;
355
- model_id: number;
356
- page_id: number;
357
- enabled: boolean;
358
- }[];
359
- };
360
- export type WorkflowConfigsOut = {
361
- workflow_configs: WorkflowConfig[];
362
- total: number;
363
- };
364
- export type CompanyIn = {
365
- name: string;
366
- contact_name: string;
367
- contact_email: string;
368
- contact_phone_code: string;
369
- contact_phone_number: string;
370
- state: string | null;
371
- city: string | null;
372
- county_name: string | null;
373
- zip_code: string | null;
374
- address1: string;
375
- address2: string | null;
376
- address3: string | null;
377
- is_active: boolean;
378
- };
379
- export type CompanyOut = {
380
- company: Company;
381
- };
382
- export type ProductEntitiesIn = {
383
- model_type: string;
384
- model_id: number;
385
- product_entities: {
386
- id: number;
387
- is_active: boolean;
388
- }[];
389
- };
390
- export type ProductEntitiesOut = {
391
- product_entities: ProductEntity[];
392
- total: number;
393
- };
394
- export type CountryReferenceProductsOut = {
395
- country_reference_products: CountryReferenceProduct[];
396
- total: number;
397
- };
398
- export type CountryReferenceProductIn = {
399
- anti_drug_letter: boolean;
400
- business_letter: boolean;
401
- country_id: number;
402
- max_declared_value: number;
403
- max_weight: number;
404
- min_weight: number;
405
- packaging: boolean;
406
- product_id: number;
407
- shipment_content_types: number[];
408
- shipment_groups: number[];
409
- shipment_scopes: number[];
410
- local_name: string;
411
- insurance: number;
412
- };
413
- export type CountryReferenceProductOut = {
414
- country_reference_product: CountryReferenceProduct;
415
- };
416
- export type ExtraChargeEntitiesIn = {
417
- model_type?: string;
418
- model_id?: number;
419
- extracharge_entities: {
420
- id: number;
421
- is_active: boolean;
422
- }[];
423
- check_all?: boolean;
424
- };
425
- export type ExtraChargeEntitiesOut = {
426
- extracharge_entities: ExtraChargeEntity[];
427
- total: number;
428
- };
429
- export type ParameterConfigsOut = {
430
- parameter_configs: ParameterConfig[];
431
- total: number;
432
- };
433
- export type ParameterConfigIn = {
434
- level: string;
435
- parameter_id: number;
436
- model_type: string;
437
- model_id: number;
438
- name: string;
439
- value: string;
440
- };
441
- export type ParameterConfigOut = {
442
- parameter_config: ParameterConfig;
443
- total: number;
444
- };
445
- export type TDXAccountsSettingsOut = {
446
- tdx_account_settings: TDXAccountSetting[];
447
- total: number;
448
- };
449
- export type TDXAccountSettingsOut = {
450
- tdx_account_settings: TDXAccountSetting;
451
- };
452
- export type TDXAccountSettingsIn = {
453
- id?: number;
454
- location_id: number;
455
- account_id: number;
456
- product_id: number;
457
- is_active: boolean;
458
- };
459
- export type LocationEmployeesIn = {
460
- token: string;
461
- } & QueryParams;
@@ -1,272 +0,0 @@
1
- import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
2
- import { CustomerType } from './api-shipments.enums';
3
- import { Supply } from './api-supplies.interfaces';
4
- export interface ShipmentComposition extends SymfonyModel {
5
- currencyCode: string;
6
- extraCharges: ExtraChargeComposition[];
7
- globalProductCode: string;
8
- globalProductName: string;
9
- localProductCode: string;
10
- localProductName: string;
11
- trackingNumber: string;
12
- contentDescription: string;
13
- realWeight: number;
14
- piecesNumber: number;
15
- productSubtotal: number;
16
- productTax: number;
17
- productTotal: number;
18
- declaredValue: number;
19
- insuredValue: number;
20
- accountNumber: string;
21
- userId: number;
22
- installationId: number;
23
- companyCountryId: number;
24
- productId: number;
25
- countryReferenceCurrencyId: number;
26
- commercialExchangeRate: number;
27
- ibsExchangeRate: number;
28
- shipmentStatusId: number;
29
- shipmentAddresses: ShipmentAddresses[];
30
- shipmentPieces: ShipmentPieces[];
31
- shipmentCompanyCountryExtraCharges: ShipmentCompanyCountryExtraCharges[];
32
- shipmentGsop: ShipmentGsop;
33
- additionalData: AdditionalData;
34
- transactionId: string;
35
- requiresPayment: boolean;
36
- originServiceAreaCode: string;
37
- originFacilityCode: string;
38
- destinationServiceAreaCode: string;
39
- destinationFacilityCode: string;
40
- productTaxes: string[];
41
- isInspected: boolean;
42
- extraFields: {
43
- [key: string]: string | number | boolean;
44
- };
45
- shipmentContentTypeId: number;
46
- commercialInvoice: CommercialInvoice;
47
- shipmentScopeId: number;
48
- shipmentGroupId: number;
49
- product: string[];
50
- declaredCurrency: string;
51
- insuredCurrency: string;
52
- deliveryDateTime: string;
53
- date: string;
54
- promotionCode: string;
55
- priceOverrideApproverId: number;
56
- priceOverrideReasonId: number;
57
- customs: Customs;
58
- exportReasonId: number;
59
- exportReason: string[];
60
- shipmentBookPickup: ShipmentBookPickup;
61
- questionId: number;
62
- isInsured: boolean;
63
- itnNumber: string;
64
- einNumber: string;
65
- otherAccountNumber: string;
66
- dutiesAndTaxesAccountNumber: string;
67
- discountId: string;
68
- discountReference: string;
69
- totalPublishedValue: number;
70
- totalPartnerAccountValue: number;
71
- isMarketingConsent: boolean;
72
- isTermCondition: boolean;
73
- isDocument: boolean;
74
- isCash: boolean;
75
- isPriceOverride: boolean;
76
- isProforma: boolean;
77
- isPromotionCode: boolean;
78
- isRetailRate: boolean;
79
- isOtherOrigin: boolean;
80
- isOccurs: boolean;
81
- isDutiesAndTaxes: boolean;
82
- }
83
- export interface ExtraChargeComposition {
84
- globalServiceCode: string;
85
- localServiceCode: string;
86
- globalServiceName: string;
87
- localServiceName: string;
88
- subtotal: number;
89
- tax: number;
90
- total: number;
91
- taxes: Tax[];
92
- }
93
- export interface Tax {
94
- code: string;
95
- percent: number;
96
- baseAmount: number;
97
- amount: number;
98
- }
99
- export interface ShipmentAddresses extends SymfonyModel {
100
- index: number;
101
- identificationTypeId: number;
102
- identificationNumber: string;
103
- companyName: string;
104
- fullName: string;
105
- email: string;
106
- phoneCode: string;
107
- phoneNumber: string;
108
- postalCode: string;
109
- stateCode: string;
110
- countyName: string;
111
- cityName: string;
112
- addressLine1: string;
113
- addressLine2: string;
114
- addressLine3: string;
115
- countryId: number;
116
- identificationType: IdentificationTypeComposition;
117
- roleType: CustomerType;
118
- }
119
- export interface IdentificationTypeComposition extends SymfonyModel {
120
- name: string;
121
- companyCountryId: number;
122
- }
123
- export interface ShipmentPieces extends ActiveLessSymfonyModel {
124
- number: number;
125
- height: number;
126
- length: number;
127
- width: number;
128
- realWeight: number;
129
- volumetricWeight: number;
130
- dataIdentifier: string;
131
- trackingNumber: string;
132
- licensePlateBarCode: string;
133
- shipmentPieceCompanyCountrySupplies: ShipmentPieceCompanyCountrySupplies[];
134
- }
135
- export interface ShipmentPieceCompanyCountrySupplies extends ActiveLessSymfonyModel {
136
- supplyId: number;
137
- quantity: number;
138
- subtotal: number;
139
- taxBase: number;
140
- taxPercent: number;
141
- tax: number;
142
- total: number;
143
- description: string;
144
- supply: Supply;
145
- }
146
- export interface CommercialInvoice extends ActiveLessSymfonyModel {
147
- documentTypeId: number;
148
- tradingTransactionTypeId: number;
149
- documentFunctionId: number;
150
- number: string;
151
- remarks: string;
152
- items: Item[];
153
- documentType: DocumentTypeComposition;
154
- tradingTransactionType: TradingTransactionType;
155
- documentFunction: DocumentFunction;
156
- }
157
- export interface Item extends ActiveLessSymfonyModel {
158
- description: string;
159
- quantity: number;
160
- quantityUnitId: number;
161
- subtotal: number;
162
- manufactureCountryCode: string;
163
- realWeight: number;
164
- commodityId: number;
165
- quantityUnit: QuantityUnit;
166
- manufactureCountry: ManufactureCountry;
167
- commodity: Commodity;
168
- }
169
- export interface QuantityUnit extends SymfonyModel {
170
- code: string;
171
- name: string;
172
- }
173
- export interface ManufactureCountry {
174
- id: string;
175
- code: string;
176
- name: string;
177
- locationType: string[];
178
- unit: string[];
179
- timezone: string;
180
- hasImportService: boolean;
181
- isActive: boolean;
182
- regions: string[];
183
- zones: string[];
184
- isoCode: string;
185
- }
186
- export interface Commodity extends SymfonyModel {
187
- code: string;
188
- name: string;
189
- countryId: number;
190
- }
191
- export interface DocumentTypeComposition extends SymfonyModel {
192
- code: string;
193
- name: string;
194
- description: string;
195
- }
196
- export interface TradingTransactionType extends SymfonyModel {
197
- code: string;
198
- name: string;
199
- description: string;
200
- }
201
- export interface DocumentFunction extends SymfonyModel {
202
- code: string;
203
- name: string;
204
- }
205
- export interface ShipmentGsop extends ActiveLessSymfonyModel {
206
- productContentCode: string;
207
- originServiceAreaCode: string;
208
- destinationServiceAreaCode: string;
209
- internalServiceCode: string;
210
- awbBarCode: string;
211
- dhlRoutingBarCode: string;
212
- }
213
- export interface ShipmentCompanyCountryExtraCharges extends ActiveLessSymfonyModel {
214
- subtotal: number;
215
- tax: number;
216
- total: number;
217
- extraChargeId: number;
218
- extraChargeCode: string;
219
- }
220
- export interface AdditionalData {
221
- awbTypeCode: string;
222
- countryCode: string;
223
- shipmentTypeCode: string;
224
- productGlobalCode: string;
225
- productLocalCode: string;
226
- currencyCode: string;
227
- userUsername: string;
228
- locationFacilityCode: string;
229
- }
230
- export interface Customs {
231
- criteria: Criteria;
232
- rules: Rules[];
233
- }
234
- export interface Criteria {
235
- origin: string;
236
- destination: string;
237
- dutiable: boolean;
238
- declaredValue: number;
239
- }
240
- export interface Rules {
241
- id: number;
242
- level: string;
243
- attributes: Attributes[];
244
- }
245
- export interface Attributes {
246
- id: number;
247
- field: string;
248
- dhlCode: string;
249
- values: Values;
250
- }
251
- export interface Values {
252
- shipment: string;
253
- customer: CustomerComposition;
254
- invoiceHeader: string;
255
- invoiceItem: string[];
256
- }
257
- export interface CustomerComposition {
258
- SP: string;
259
- RV: string;
260
- }
261
- export interface ShipmentBookPickup extends ActiveLessSymfonyModel {
262
- pickupDate: string;
263
- readyByTime: string;
264
- closeTime: string;
265
- confirmationNumber: string;
266
- packageLocationId: number;
267
- remarks: string;
268
- packageLocation: PackageLocation;
269
- }
270
- export interface PackageLocation extends SymfonyModel {
271
- name: string;
272
- }