@experteam-mx/ngx-services 18.5.10 → 18.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/apis/api-companies.service.mjs +672 -51
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-companies.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +671 -50
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-companies.service.d.ts +452 -9
- package/lib/apis/models/api-companies.interfaces.d.ts +97 -9
- package/lib/apis/models/api-companies.types.d.ts +332 -5
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Environment } from '../ngx-services.models';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import {
|
|
3
|
+
import { AccountCategoriesOut, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountsOut, AccountTypeIn, AccountTypeOut, AccountTypesOut, BoardingProcessIdIn, BoardingProcessIn, CompanyCountriesOut, CompanyCountryIn, CompanyCountryOut, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CountryReferenceCurrenciesOut, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, ExchangeIn, ExchangeOut, ExchangesOut, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, InstallationIn, InstallationOut, InstallationsOut, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesOut, LocationIn, LocationOut, LocationsOut, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, ParameterValueIn, ParameterValueOut, ProductEntitiesIn, ProductEntitiesOut, SupplyEntitiesIn, SupplyEntitiesOut, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut } from './models/api-companies.types';
|
|
4
4
|
import { QueryParams } from './models/api.models';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { CountryCurrencyRate, EmployeeCustomerDhl } from './models/api-companies.interfaces';
|
|
6
|
+
import { CountryCurrencyRate, CountryReferenceExtraCharge, EmployeeCustomerDhl } from './models/api-companies.interfaces';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ApiCompaniesService {
|
|
9
9
|
private environments;
|
|
@@ -29,6 +29,28 @@ export declare class ApiCompaniesService {
|
|
|
29
29
|
* @returns {Observable<InstallationOut>} An observable of the installation details.
|
|
30
30
|
*/
|
|
31
31
|
getInstallation(id: number): Observable<InstallationOut>;
|
|
32
|
+
/**
|
|
33
|
+
* Sends a post-installation request to the server and retrieves the installation details.
|
|
34
|
+
*
|
|
35
|
+
* @param {InstallationIn} body - The installation details to be sent in the request body.
|
|
36
|
+
* @return {Observable<InstallationOut>} An observable that emits the response containing installation output details.
|
|
37
|
+
*/
|
|
38
|
+
postInstallation(body: InstallationIn): Observable<InstallationOut>;
|
|
39
|
+
/**
|
|
40
|
+
* Updates an existing installation record by its ID.
|
|
41
|
+
*
|
|
42
|
+
* @param id The unique identifier of the installation to update.
|
|
43
|
+
* @param body The data payload containing the updated installation information.
|
|
44
|
+
* @return An observable that emits the updated installation data upon a successful update.
|
|
45
|
+
*/
|
|
46
|
+
putInstallation(id: number, body: InstallationIn): Observable<InstallationOut>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes an installation by its unique identifier.
|
|
49
|
+
*
|
|
50
|
+
* @param {number} id - The unique identifier of the installation to be deleted.
|
|
51
|
+
* @return {Observable<{}>} An observable that emits the response after the installation is deleted.
|
|
52
|
+
*/
|
|
53
|
+
deleteInstallation(id: number): Observable<{}>;
|
|
32
54
|
/**
|
|
33
55
|
* Retrieves a list of locations based on the provided query parameters.
|
|
34
56
|
*
|
|
@@ -43,13 +65,49 @@ export declare class ApiCompaniesService {
|
|
|
43
65
|
* @return {Observable<LocationOut>} An Observable containing the location details.
|
|
44
66
|
*/
|
|
45
67
|
getLocation(id: number): Observable<LocationOut>;
|
|
68
|
+
/**
|
|
69
|
+
* Sends a location object to the server and returns the created location data.
|
|
70
|
+
*
|
|
71
|
+
* @param {LocationIn} body - The location input object to be sent in the request body.
|
|
72
|
+
* @return {Observable<LocationOut>} An observable emitting the created location output object.
|
|
73
|
+
*/
|
|
74
|
+
postLocation(body: LocationIn): Observable<LocationOut>;
|
|
75
|
+
/**
|
|
76
|
+
* Updates the location information for the specified ID.
|
|
77
|
+
*
|
|
78
|
+
* @param {number} id - The unique identifier of the location to be updated.
|
|
79
|
+
* @param {LocationIn} body - The updated location data to be sent in the request body.
|
|
80
|
+
* @return {Observable<LocationOut>} An observable containing the updated location information.
|
|
81
|
+
*/
|
|
82
|
+
putLocation(id: number, body: LocationIn): Observable<LocationOut>;
|
|
83
|
+
/**
|
|
84
|
+
* Deletes a location by its unique identifier.
|
|
85
|
+
*
|
|
86
|
+
* @param {number} id - The unique identifier of the location to be deleted.
|
|
87
|
+
* @return {Observable<{}>} An observable that emits an empty object upon successful deletion.
|
|
88
|
+
*/
|
|
89
|
+
deleteLocation(id: number): Observable<{}>;
|
|
46
90
|
/**
|
|
47
91
|
* Retrieves a list of active supply entities.
|
|
48
92
|
*
|
|
49
93
|
* @param {QueryParams} params - The query parameters to filter supply entities.
|
|
50
|
-
* @return {Observable<
|
|
94
|
+
* @return {Observable<SupplyEntitiesOut>} Observable emitting supply entities data.
|
|
95
|
+
*/
|
|
96
|
+
getSupplyEntitiesActives(params: QueryParams): Observable<SupplyEntitiesOut>;
|
|
97
|
+
/**
|
|
98
|
+
* Retrieves supply entities based on the provided query parameters.
|
|
99
|
+
*
|
|
100
|
+
* @param {QueryParams} params - The query parameters used to filter and fetch the supply entities.
|
|
101
|
+
* @return {Observable<SupplyEntitiesOut>} An observable that emits the supply entities data.
|
|
102
|
+
*/
|
|
103
|
+
getSupplyEntities(params: QueryParams): Observable<SupplyEntitiesOut>;
|
|
104
|
+
/**
|
|
105
|
+
* Sends supply entities information to the server and receives the processed supply entities data in response.
|
|
106
|
+
*
|
|
107
|
+
* @param {SupplyEntitiesIn} body - The supply entities data to be sent to the server.
|
|
108
|
+
* @return {Observable<SupplyEntitiesOut>} An observable containing the processed supply entities data.
|
|
51
109
|
*/
|
|
52
|
-
|
|
110
|
+
putSupplyEntities(body: SupplyEntitiesIn): Observable<SupplyEntitiesOut>;
|
|
53
111
|
/**
|
|
54
112
|
* Fetches a list of employees based on the specified query parameters.
|
|
55
113
|
*
|
|
@@ -64,6 +122,28 @@ export declare class ApiCompaniesService {
|
|
|
64
122
|
* @return {Observable<EmployeeOut>} An observable that emits the employee's details.
|
|
65
123
|
*/
|
|
66
124
|
getEmployee(id: number): Observable<EmployeeOut>;
|
|
125
|
+
/**
|
|
126
|
+
* Sends a POST request to create a new employee record.
|
|
127
|
+
*
|
|
128
|
+
* @param {EmployeeIn} body - The data of the employee to be created.
|
|
129
|
+
* @return {Observable<EmployeeOut>} An observable containing the created employee data.
|
|
130
|
+
*/
|
|
131
|
+
postEmployee(body: EmployeeIn): Observable<EmployeeOut>;
|
|
132
|
+
/**
|
|
133
|
+
* Updates an existing employee record with the specified data.
|
|
134
|
+
*
|
|
135
|
+
* @param {number} id - The unique identifier of the employee to be updated.
|
|
136
|
+
* @param {EmployeeIn} body - The employee data to update the record with.
|
|
137
|
+
* @return {Observable<EmployeeOut>} An observable containing the updated employee data.
|
|
138
|
+
*/
|
|
139
|
+
putEmployee(id: number, body: EmployeeIn): Observable<EmployeeOut>;
|
|
140
|
+
/**
|
|
141
|
+
* Deletes an employee based on the provided ID.
|
|
142
|
+
*
|
|
143
|
+
* @param {number} id - The unique identifier of the employee to delete.
|
|
144
|
+
* @return {Observable<{}>} An observable containing the response data after the employee is deleted.
|
|
145
|
+
*/
|
|
146
|
+
deleteEmployee(id: number): Observable<{}>;
|
|
67
147
|
/**
|
|
68
148
|
* Retrieves the list of employees for a specified location based on provided query parameters.
|
|
69
149
|
*
|
|
@@ -71,6 +151,27 @@ export declare class ApiCompaniesService {
|
|
|
71
151
|
* @returns {Observable<LocationEmployeesOut>} An observable that emits the list of employees for the specified location.
|
|
72
152
|
*/
|
|
73
153
|
getLocationEmployees(params: QueryParams): Observable<LocationEmployeesOut>;
|
|
154
|
+
/**
|
|
155
|
+
* Fetches the location employee details for a given employee ID.
|
|
156
|
+
*
|
|
157
|
+
* @param {number} id - The unique identifier of the employee whose location details are to be retrieved.
|
|
158
|
+
* @return {Observable<LocationEmployeeOut>} An observable containing the location employee details.
|
|
159
|
+
*/
|
|
160
|
+
getLocationEmployee(id: number): Observable<LocationEmployeeOut>;
|
|
161
|
+
/**
|
|
162
|
+
* Deletes a specific location employee by their unique identifier.
|
|
163
|
+
*
|
|
164
|
+
* @param {number} id - The unique identifier of the employee to be deleted.
|
|
165
|
+
* @return {Observable<{}>} - An observable emitting the server's response after the deletion.
|
|
166
|
+
*/
|
|
167
|
+
deleteLocationEmployee(id: number): Observable<{}>;
|
|
168
|
+
/**
|
|
169
|
+
* Sends a batch of location-employee associations to the server for processing.
|
|
170
|
+
*
|
|
171
|
+
* @param {LocationEmployeeBatchIn} body - The object containing a batch of location-employee data to be posted.
|
|
172
|
+
* @return {Observable<EmployeeOut>} An observable emitting the processed employee data from the server's response.
|
|
173
|
+
*/
|
|
174
|
+
postLocationEmployeeBatch(body: LocationEmployeeBatchIn): Observable<EmployeeOut>;
|
|
74
175
|
/**
|
|
75
176
|
* Retrieves a list of countries where the company operates.
|
|
76
177
|
*
|
|
@@ -85,6 +186,28 @@ export declare class ApiCompaniesService {
|
|
|
85
186
|
* @return {Observable<CompanyCountryOut>} An observable containing the country information of the company.
|
|
86
187
|
*/
|
|
87
188
|
getCompanyCountry(id: number): Observable<CompanyCountryOut>;
|
|
189
|
+
/**
|
|
190
|
+
* Sends a request to update or create a company country entry on the server.
|
|
191
|
+
*
|
|
192
|
+
* @param {CompanyCountryIn} body The data object representing the company country information to be sent to the server.
|
|
193
|
+
* @return {Observable<CompanyCountryOut>} An observable containing the server response with the updated or created company country data.
|
|
194
|
+
*/
|
|
195
|
+
postCompanyCountry(body: CompanyCountryIn): Observable<CompanyCountryOut>;
|
|
196
|
+
/**
|
|
197
|
+
* Updates the country information for a specific company.
|
|
198
|
+
*
|
|
199
|
+
* @param {number} id - The unique identifier of the company whose country information needs to be updated.
|
|
200
|
+
* @param {CompanyCountryIn} body - The updated country information to be applied to the company.
|
|
201
|
+
* @return {Observable<CompanyCountryOut>} An observable that emits the updated company country information.
|
|
202
|
+
*/
|
|
203
|
+
putCompanyCountry(id: number, body: CompanyCountryIn): Observable<CompanyCountryOut>;
|
|
204
|
+
/**
|
|
205
|
+
* Deletes a company-country association by its unique identifier.
|
|
206
|
+
*
|
|
207
|
+
* @param {number} id - The unique identifier of the company-country record to be deleted.
|
|
208
|
+
* @return {Observable<{}>} An observable emitting the result of the delete operation.
|
|
209
|
+
*/
|
|
210
|
+
deleteCompanyCountry(id: number): Observable<{}>;
|
|
88
211
|
/**
|
|
89
212
|
* Fetches the reference currencies for a given country.
|
|
90
213
|
*
|
|
@@ -92,6 +215,13 @@ export declare class ApiCompaniesService {
|
|
|
92
215
|
* @return {Observable<CountryReferenceCurrenciesOut>} The observable containing the country reference currencies data.
|
|
93
216
|
*/
|
|
94
217
|
getCountryReferenceCurrencies(params: QueryParams): Observable<CountryReferenceCurrenciesOut>;
|
|
218
|
+
/**
|
|
219
|
+
* Retrieves the reference currency details for a specific country using its ID.
|
|
220
|
+
*
|
|
221
|
+
* @param {number} id - The unique identifier of the country.
|
|
222
|
+
* @return {Observable<CountryReferenceCurrencyOut>} An observable emitting the country's reference currency details.
|
|
223
|
+
*/
|
|
224
|
+
getCountryReferenceCurrency(id: number): Observable<CountryReferenceCurrencyOut>;
|
|
95
225
|
/**
|
|
96
226
|
* Retrieves a list of currencies for different countries along with their current exchange rates.
|
|
97
227
|
*
|
|
@@ -99,6 +229,45 @@ export declare class ApiCompaniesService {
|
|
|
99
229
|
* @return {Observable<CountryCurrencyRate[]>} An observable that emits an array of country currency rates.
|
|
100
230
|
*/
|
|
101
231
|
getCountryCurrenciesWithRate(params: QueryParams): Observable<CountryCurrencyRate[]>;
|
|
232
|
+
/**
|
|
233
|
+
* Updates the reference currency for a specified country.
|
|
234
|
+
*
|
|
235
|
+
* @param {number} id - The unique identifier of the country.
|
|
236
|
+
* @param {CountryReferenceCurrencyIn} body - The data for updating the country's reference currency.
|
|
237
|
+
* @return {Observable<CountryReferenceCurrencyOut>} An Observable emitting the updated country reference currency data.
|
|
238
|
+
*/
|
|
239
|
+
putCountryReferenceCurrency(id: number, body: CountryReferenceCurrencyIn): Observable<CountryReferenceCurrencyOut>;
|
|
240
|
+
/**
|
|
241
|
+
* Sends a POST request to create a country reference currency.
|
|
242
|
+
*
|
|
243
|
+
* @param {CountryReferenceCurrencyIn} body - The payload containing the country reference currency data.
|
|
244
|
+
* @return {Observable<CountryReferenceCurrencyOut>} An observable emitting the created country reference currency.
|
|
245
|
+
*/
|
|
246
|
+
postCountryReferenceCurrency(body: CountryReferenceCurrencyIn): Observable<CountryReferenceCurrencyOut>;
|
|
247
|
+
/**
|
|
248
|
+
* Sends a POST request to create or update a country reference extra charge.
|
|
249
|
+
*
|
|
250
|
+
* @param {CountryReferenceExtraChargeIn} body - The request payload containing details about the country reference extra charge.
|
|
251
|
+
* @return {Observable<CountryReferenceExtraChargeOut>} An observable containing the response with the created or updated country reference extra charge.
|
|
252
|
+
*/
|
|
253
|
+
postCountryReferenceExtraCharge(body: CountryReferenceExtraChargeIn): Observable<CountryReferenceExtraChargeOut>;
|
|
254
|
+
/**
|
|
255
|
+
* Updates a country reference extra charge by its ID.
|
|
256
|
+
*
|
|
257
|
+
* @param {number} id - The unique identifier of the country reference extra charge to be updated.
|
|
258
|
+
* @param {CountryReferenceExtraChargeIn} body - The data to update the country reference extra charge with.
|
|
259
|
+
* @return {Observable<CountryReferenceExtraChargeOut>} An observable that emits the updated country reference extra charge.
|
|
260
|
+
*/
|
|
261
|
+
putCountryReferenceExtraCharge(id: number, body: CountryReferenceExtraChargeIn): Observable<CountryReferenceExtraChargeOut>;
|
|
262
|
+
/**
|
|
263
|
+
* Enables or disables a country reference extra charge based on the provided parameters.
|
|
264
|
+
*
|
|
265
|
+
* @param {CountryReferenceExtraCharge} extraCharge - The country reference extra charge object to be updated.
|
|
266
|
+
* @param {boolean} [isActive] - Optional parameter to explicitly set the active status of the extra charge.
|
|
267
|
+
* If not provided, the current active status will be toggled.
|
|
268
|
+
* @return {Observable<EmployeeCustomersOut>} An Observable that emits the updated employee customers output.
|
|
269
|
+
*/
|
|
270
|
+
patchCountryReferenceExtraCharge(extraCharge: CountryReferenceExtraCharge, isActive?: boolean): Observable<EmployeeCustomersOut>;
|
|
102
271
|
/**
|
|
103
272
|
* Fetches exchange data based on the provided query parameters.
|
|
104
273
|
*
|
|
@@ -106,6 +275,21 @@ export declare class ApiCompaniesService {
|
|
|
106
275
|
* @return {Observable<ExchangesOut>} An observable containing the exchange data.
|
|
107
276
|
*/
|
|
108
277
|
getExchanges(params: QueryParams): Observable<ExchangesOut>;
|
|
278
|
+
/**
|
|
279
|
+
* Sends a POST request to create or update an exchange.
|
|
280
|
+
*
|
|
281
|
+
* @param {ExchangeIn} body - The request body containing the exchange data to be sent.
|
|
282
|
+
* @return {Observable<ExchangeOut>} An observable that emits the response containing the created or updated exchange data.
|
|
283
|
+
*/
|
|
284
|
+
postExchange(body: ExchangeIn): Observable<ExchangeOut>;
|
|
285
|
+
/**
|
|
286
|
+
* Updates an existing exchange with new data.
|
|
287
|
+
*
|
|
288
|
+
* @param {number} id - The unique identifier of the exchange to update.
|
|
289
|
+
* @param {ExchangeIn} body - The data to update the exchange with.
|
|
290
|
+
* @return {Observable<ExchangeOut>} An observable that emits the updated exchange data.
|
|
291
|
+
*/
|
|
292
|
+
putExchange(id: number, body: ExchangeIn): Observable<ExchangeOut>;
|
|
109
293
|
/**
|
|
110
294
|
* Retrieves the current exchanges based on the given query parameters.
|
|
111
295
|
*
|
|
@@ -121,13 +305,99 @@ export declare class ApiCompaniesService {
|
|
|
121
305
|
* @return {Observable<CompanyCountryTaxesOut>} An observable that emits the tax information.
|
|
122
306
|
*/
|
|
123
307
|
getCompanyCountryTaxes(params: QueryParams): Observable<CompanyCountryTaxesOut>;
|
|
308
|
+
/**
|
|
309
|
+
* Fetches account information based on the provided query parameters.
|
|
310
|
+
*
|
|
311
|
+
* @param {QueryParams} params - The query parameters for fetching account data.
|
|
312
|
+
* @return {Observable<AccountsOut>} An observable emitting the account data.
|
|
313
|
+
*/
|
|
314
|
+
getAccounts(params: QueryParams): Observable<AccountsOut>;
|
|
315
|
+
/**
|
|
316
|
+
* Fetches the account information for the specified account ID.
|
|
317
|
+
*
|
|
318
|
+
* @param {number} id - The unique identifier of the account to retrieve.
|
|
319
|
+
* @return {Observable<AccountOut>} An observable that emits the account details.
|
|
320
|
+
*/
|
|
321
|
+
getAccount(id: number): Observable<AccountOut>;
|
|
322
|
+
/**
|
|
323
|
+
* Creates a new account by sending account details in the body.
|
|
324
|
+
*
|
|
325
|
+
* @param {AccountIn} body - The account information to be sent in the request body.
|
|
326
|
+
* @return {Observable<AccountOut>} Observable that emits the created account details upon success.
|
|
327
|
+
*/
|
|
328
|
+
postAccount(body: AccountIn): Observable<AccountOut>;
|
|
329
|
+
/**
|
|
330
|
+
* Updates an account with the specified ID using the provided data.
|
|
331
|
+
*
|
|
332
|
+
* @param {number} id - The unique identifier of the account to be updated.
|
|
333
|
+
* @param {AccountIn} body - The data to update the account with.
|
|
334
|
+
* @return {Observable<AccountOut>} An observable emitting the updated account details.
|
|
335
|
+
*/
|
|
336
|
+
putAccount(id: number, body: AccountIn): Observable<AccountOut>;
|
|
337
|
+
/**
|
|
338
|
+
* Fetches account entity data from the server based on the provided query parameters.
|
|
339
|
+
*
|
|
340
|
+
* @param {QueryParams} params - The query parameters to be sent with the HTTP request.
|
|
341
|
+
* @return {Observable<AccountEntitiesOut>} An observable that emits the account entities data.
|
|
342
|
+
*/
|
|
343
|
+
getAccountEntities(params: QueryParams): Observable<AccountEntitiesOut>;
|
|
344
|
+
/**
|
|
345
|
+
* Updates an account entity using the provided details.
|
|
346
|
+
*
|
|
347
|
+
* @param {AccountEntitiesIn} body The account entity data to be updated.
|
|
348
|
+
* @return {Observable<AccountEntitiesOut>} An observable containing the updated account entity details.
|
|
349
|
+
*/
|
|
350
|
+
putAccountEntity(body: AccountEntitiesIn): Observable<AccountEntitiesOut>;
|
|
124
351
|
/**
|
|
125
352
|
* Retrieves the list of active account entities based on the provided query parameters.
|
|
126
353
|
*
|
|
127
354
|
* @param {QueryParams} params - The parameters to filter and query active account entities.
|
|
128
|
-
* @return {Observable<
|
|
355
|
+
* @return {Observable<AccountEntitiesOut>} An observable that emits the list of active account entities.
|
|
356
|
+
*/
|
|
357
|
+
getAccountEntitiesActives(params: QueryParams): Observable<AccountEntitiesOut>;
|
|
358
|
+
/**
|
|
359
|
+
* Fetches a list of account categories based on the provided query parameters.
|
|
360
|
+
*
|
|
361
|
+
* @param {QueryParams} params - The query parameters used to filter the account categories.
|
|
362
|
+
* @return {Observable<AccountCategoriesOut>} An observable that emits the fetched account categories data.
|
|
363
|
+
*/
|
|
364
|
+
getAccountCategories(params: QueryParams): Observable<AccountCategoriesOut>;
|
|
365
|
+
/**
|
|
366
|
+
* Retrieves a list of account types from the server.
|
|
367
|
+
*
|
|
368
|
+
* @param {QueryParams} params - The query parameters to filter or customize the request.
|
|
369
|
+
* @return {Observable<AccountTypesOut>} An observable emitting the account types data.
|
|
370
|
+
*/
|
|
371
|
+
getAccountTypes(params: QueryParams): Observable<AccountTypesOut>;
|
|
372
|
+
/**
|
|
373
|
+
* Retrieves the account type for the given account ID.
|
|
374
|
+
*
|
|
375
|
+
* @param {number} id - The unique identifier of the account.
|
|
376
|
+
* @return {Observable<AccountTypeOut>} An observable that emits the account type data.
|
|
129
377
|
*/
|
|
130
|
-
|
|
378
|
+
getAccountType(id: number): Observable<AccountTypeOut>;
|
|
379
|
+
/**
|
|
380
|
+
* Sends a POST request to create a new account type.
|
|
381
|
+
*
|
|
382
|
+
* @param {AccountTypeIn} body - The data for the account type to be created.
|
|
383
|
+
* @return {Observable<AccountTypeOut>} An observable that emits the created account type object.
|
|
384
|
+
*/
|
|
385
|
+
postAccountType(body: AccountTypeIn): Observable<AccountTypeOut>;
|
|
386
|
+
/**
|
|
387
|
+
* Updates an account type with the specified ID using the provided data.
|
|
388
|
+
*
|
|
389
|
+
* @param {number} id - The unique identifier of the account type to update.
|
|
390
|
+
* @param {AccountTypeIn} body - The data to update the account type with.
|
|
391
|
+
* @return {Observable<AccountTypeOut>} An observable containing the updated account type data.
|
|
392
|
+
*/
|
|
393
|
+
putAccountType(id: number, body: AccountTypeIn): Observable<AccountTypeOut>;
|
|
394
|
+
/**
|
|
395
|
+
* Retrieves parameters based on the provided query parameters.
|
|
396
|
+
*
|
|
397
|
+
* @param {QueryParams} params - The query parameters used to filter or fetch the desired parameters.
|
|
398
|
+
* @return {Observable<ParametersOut>} An observable that emits the fetched parameters.
|
|
399
|
+
*/
|
|
400
|
+
getParameters(params: QueryParams): Observable<ParametersOut>;
|
|
131
401
|
/**
|
|
132
402
|
* Retrieves the parameter values based on the provided parameter names.
|
|
133
403
|
*
|
|
@@ -135,7 +405,14 @@ export declare class ApiCompaniesService {
|
|
|
135
405
|
* @param {string[]} params.paramNames - An array of parameter names for which the values need to be fetched.
|
|
136
406
|
* @return {Observable<ParametersValuesOut>} An observable that emits the fetched parameter values.
|
|
137
407
|
*/
|
|
138
|
-
getParametersValues({ paramNames
|
|
408
|
+
getParametersValues({ paramNames }: ParametersValuesIn): Observable<ParametersValuesOut>;
|
|
409
|
+
/**
|
|
410
|
+
* Retrieves parameter values based on the provided level configuration.
|
|
411
|
+
*
|
|
412
|
+
* @param {ParametersByLevelIn} parameters - The input object containing the criteria or level details to retrieve the parameters.
|
|
413
|
+
* @return {Observable<ParametersValuesOut>} An observable that emits the parameter values fetched from the server.
|
|
414
|
+
*/
|
|
415
|
+
getParameterValueByModel(parameters: ParametersByLevelIn): Observable<ParametersValuesOut>;
|
|
139
416
|
/**
|
|
140
417
|
* Retrieves the value of a specified parameter.
|
|
141
418
|
*
|
|
@@ -158,6 +435,14 @@ export declare class ApiCompaniesService {
|
|
|
158
435
|
* @return {Observable<CountryReferenceOut>} An observable containing the country reference data.
|
|
159
436
|
*/
|
|
160
437
|
getCountryReference(id: number): Observable<CountryReferenceOut>;
|
|
438
|
+
/**
|
|
439
|
+
* Updates a country reference resource with the specified ID and data.
|
|
440
|
+
*
|
|
441
|
+
* @param {number} id - The unique identifier of the country reference to be updated.
|
|
442
|
+
* @param {CountryReferenceIn} body - The data to update the country reference with.
|
|
443
|
+
* @return {Observable<CountryReferenceOut>} An observable that emits the updated country reference object.
|
|
444
|
+
*/
|
|
445
|
+
putCountryReference(id: number, body: CountryReferenceIn): Observable<CountryReferenceOut>;
|
|
161
446
|
/**
|
|
162
447
|
* Fetches the list of workflows based on the provided query parameters.
|
|
163
448
|
*
|
|
@@ -202,12 +487,12 @@ export declare class ApiCompaniesService {
|
|
|
202
487
|
* If null or undefined, the active state will be toggled.
|
|
203
488
|
* @return {Observable<EmployeeCustomersOut>} An observable containing the updated employee customer output.
|
|
204
489
|
*/
|
|
205
|
-
|
|
490
|
+
patchEmployeeCustomers(employee: EmployeeCustomerDhl, isActive?: boolean): Observable<EmployeeCustomersOut>;
|
|
206
491
|
/**
|
|
207
492
|
* Submits a file containing employee customer data for a specific country to the server.
|
|
208
493
|
*
|
|
209
494
|
* @param {number} countryId - The identifier of the country for which the data is being uploaded.
|
|
210
|
-
* @param {File} file - The file
|
|
495
|
+
* @param {File} file - The file contains employee customer data to be uploaded.
|
|
211
496
|
* @return {Observable<BoardingProcessIdIn>} Observable that emits the processed boarding process ID on success.
|
|
212
497
|
*/
|
|
213
498
|
postEmployeeCustomersLoad(countryId: number, file: File): Observable<BoardingProcessIdIn>;
|
|
@@ -225,6 +510,164 @@ export declare class ApiCompaniesService {
|
|
|
225
510
|
* @return {Observable<BoardingProcessIn>} An observable containing the boarding process details.
|
|
226
511
|
*/
|
|
227
512
|
getBoardingProcess(id: number): Observable<BoardingProcessIn>;
|
|
513
|
+
/**
|
|
514
|
+
* Fetches a list of systems based on the provided query parameters.
|
|
515
|
+
*
|
|
516
|
+
* @param {QueryParams} params - The parameters used to filter the systems.
|
|
517
|
+
* @return {Observable<SystemsOut>} An observable that emits the retrieved systems data.
|
|
518
|
+
*/
|
|
519
|
+
getSystems(params: QueryParams): Observable<SystemsOut>;
|
|
520
|
+
/**
|
|
521
|
+
* Retrieves the system by the specified ID.
|
|
522
|
+
*
|
|
523
|
+
* @param {number} id - The unique identifier of the system to be retrieved.
|
|
524
|
+
* @return {Observable<SystemOut>} An observable that emits the requested system information.
|
|
525
|
+
*/
|
|
526
|
+
getSystem(id: number): Observable<SystemOut>;
|
|
527
|
+
/**
|
|
528
|
+
* Sends a POST request to create or update a system.
|
|
529
|
+
*
|
|
530
|
+
* @param {SystemIn} body - The data representing the system to be created or updated.
|
|
531
|
+
* @return {Observable<SystemOut>} An observable emitting the resulting system output after the API request succeeds.
|
|
532
|
+
*/
|
|
533
|
+
postSystem(body: SystemIn): Observable<SystemOut>;
|
|
534
|
+
/**
|
|
535
|
+
* Updates the system identified by the given ID with the provided request body and returns the updated system details.
|
|
536
|
+
*
|
|
537
|
+
* @param {number} id - The unique identifier of the system to be updated.
|
|
538
|
+
* @param {SystemIn} body - The payload containing the updated system details.
|
|
539
|
+
* @return {Observable<SystemOut>} An observable emitting the updated system data.
|
|
540
|
+
*/
|
|
541
|
+
putSystem(id: number, body: SystemIn): Observable<SystemOut>;
|
|
542
|
+
/**
|
|
543
|
+
* Retrieves a list of system entities based on the specified query parameters.
|
|
544
|
+
*
|
|
545
|
+
* @param {QueryParams} params - The query parameters used to filter or specify the system entities to retrieve.
|
|
546
|
+
* @return {Observable<SystemEntitiesOut>} An Observable that emits the retrieved system entities.
|
|
547
|
+
*/
|
|
548
|
+
getSystemEntities(params: QueryParams): Observable<SystemEntitiesOut>;
|
|
549
|
+
/**
|
|
550
|
+
* Updates the system entities by sending the provided data to the server.
|
|
551
|
+
*
|
|
552
|
+
* @param {SystemEntitiesIn} body - The data object representing the system entities to be updated.
|
|
553
|
+
* @return {Observable<SystemEntitiesOut>} An observable containing the updated system entities data.
|
|
554
|
+
*/
|
|
555
|
+
putSystemEntities(body: SystemEntitiesIn): Observable<SystemEntitiesOut>;
|
|
556
|
+
/**
|
|
557
|
+
* Retrieves workflow configurations based on the provided query parameters.
|
|
558
|
+
*
|
|
559
|
+
* @param {QueryParams} params - The query parameters to filter the workflow configurations.
|
|
560
|
+
* @return {Observable<WorkflowConfigsOut>} An observable emitting the workflow configurations.
|
|
561
|
+
*/
|
|
562
|
+
getWorkflowConfigs(params: QueryParams): Observable<WorkflowConfigsOut>;
|
|
563
|
+
/**
|
|
564
|
+
* Sends a batch of workflow configuration data to the server for processing.
|
|
565
|
+
*
|
|
566
|
+
* @param {WorkflowConfigsBatchIn} body - The input data containing a batch of workflow configurations to be sent.
|
|
567
|
+
* @return {Observable<WorkflowConfigsOut>} An observable that emits the processed batch of workflow configuration data as a response.
|
|
568
|
+
*/
|
|
569
|
+
postWorkflowConfigsBatch(body: WorkflowConfigsBatchIn): Observable<WorkflowConfigsOut>;
|
|
570
|
+
/**
|
|
571
|
+
* Sends a POST request to create a new company and returns the created company's details.
|
|
572
|
+
*
|
|
573
|
+
* @param {CompanyIn} body - The payload containing the details of the company to be created.
|
|
574
|
+
* @return {Observable<CompanyOut>} An Observable emitting the response with the created company's details.
|
|
575
|
+
*/
|
|
576
|
+
postCompany(body: CompanyIn): Observable<CompanyOut>;
|
|
577
|
+
/**
|
|
578
|
+
* Updates the details of an existing company using its ID.
|
|
579
|
+
*
|
|
580
|
+
* @param {number} id - The unique identifier of the company to update.
|
|
581
|
+
* @param {CompanyIn} body - The object containing the updated company data.
|
|
582
|
+
* @return {Observable<CompanyOut>} An observable that emits the updated company details.
|
|
583
|
+
*/
|
|
584
|
+
putCompany(id: number, body: CompanyIn): Observable<CompanyOut>;
|
|
585
|
+
/**
|
|
586
|
+
* Deletes a company by its unique identifier.
|
|
587
|
+
*
|
|
588
|
+
* @param {number} id - The unique identifier of the company to be deleted.
|
|
589
|
+
* @return {Observable<{}>} An observable that emits an empty object upon successful deletion or an error if the operation fails.
|
|
590
|
+
*/
|
|
591
|
+
deleteCompany(id: number): Observable<{}>;
|
|
592
|
+
/**
|
|
593
|
+
* Fetches product entities from the server based on the provided query parameters.
|
|
594
|
+
*
|
|
595
|
+
* @param {QueryParams} params The query parameters used to modify the request for product entities.
|
|
596
|
+
* @return {Observable<ProductEntitiesOut>} An observable that emits the product entities retrieved from the server.
|
|
597
|
+
*/
|
|
598
|
+
getProductEntities(params: QueryParams): Observable<ProductEntitiesOut>;
|
|
599
|
+
/**
|
|
600
|
+
* Sends a PUT request to update product entities and returns the updated entity.
|
|
601
|
+
*
|
|
602
|
+
* @param {ProductEntitiesIn} body - The payload containing the data to update the product entity.
|
|
603
|
+
* @return {Observable<ProductEntitiesOut>} Observable that emits the updated product entity.
|
|
604
|
+
*/
|
|
605
|
+
putProductEntities(body: ProductEntitiesIn): Observable<ProductEntitiesOut>;
|
|
606
|
+
/**
|
|
607
|
+
* Retrieves the country reference products based on the given query parameters.
|
|
608
|
+
*
|
|
609
|
+
* @param {QueryParams} params The query parameters used to filter and retrieve the country reference products.
|
|
610
|
+
* @return {Observable<CountryReferenceProductsOut>} An observable emitting the fetched country reference products data.
|
|
611
|
+
*/
|
|
612
|
+
getCountryReferenceProducts(params: QueryParams): Observable<CountryReferenceProductsOut>;
|
|
613
|
+
/**
|
|
614
|
+
* Sends a request to update or create country reference products.
|
|
615
|
+
*
|
|
616
|
+
* @param {CountryReferenceProductIn} body - The payload containing the details of the country reference products to post.
|
|
617
|
+
* @return {Observable<CountryReferenceProductOut>} An observable that emits the updated or created country reference product data.
|
|
618
|
+
*/
|
|
619
|
+
postCountryReferenceProducts(body: CountryReferenceProductIn): Observable<CountryReferenceProductOut>;
|
|
620
|
+
/**
|
|
621
|
+
* Updates a country reference product with the specified ID using the provided data.
|
|
622
|
+
*
|
|
623
|
+
* @param {number} id - The unique identifier of the country reference product to update.
|
|
624
|
+
* @param {CountryReferenceProductIn} body - The updated country reference product data to be sent in the request body.
|
|
625
|
+
* @return {Observable<CountryReferenceProductOut>} An observable emitting the updated country reference product.
|
|
626
|
+
*/
|
|
627
|
+
putCountryReferenceProducts(id: number, body: CountryReferenceProductIn): Observable<CountryReferenceProductOut>;
|
|
628
|
+
/**
|
|
629
|
+
* Fetches the extra charge entities from the server based on the provided query parameters.
|
|
630
|
+
*
|
|
631
|
+
* @param {QueryParams} params - An object containing the query parameters to filter the extra charge entities.
|
|
632
|
+
* @return {Observable<ExtraChargeEntitiesOut>} An observable that emits the extra charge entities retrieved from the server.
|
|
633
|
+
*/
|
|
634
|
+
getExtraChargeEntities(params: QueryParams): Observable<ExtraChargeEntitiesOut>;
|
|
635
|
+
/**
|
|
636
|
+
* Updates extra charge entities by sending the provided data to the server.
|
|
637
|
+
*
|
|
638
|
+
* @param {ExtraChargeEntitiesIn} body - The data to update the extra charge entities.
|
|
639
|
+
* @return {Observable<ExtraChargeEntitiesOut>} An observable that emits the updated extra charge entities.
|
|
640
|
+
*/
|
|
641
|
+
putExtraChargeEntities(body: ExtraChargeEntitiesIn): Observable<ExtraChargeEntitiesOut>;
|
|
642
|
+
/**
|
|
643
|
+
* Retrieves the parameter configurations based on the provided query parameters.
|
|
644
|
+
*
|
|
645
|
+
* @param {QueryParams} params - The query parameters to filter the parameter configurations.
|
|
646
|
+
* @return {Observable<ParameterConfigsOut>} An observable that emits the parameter configurations data.
|
|
647
|
+
*/
|
|
648
|
+
getParameterConfigs(params: QueryParams): Observable<ParameterConfigsOut>;
|
|
649
|
+
/**
|
|
650
|
+
* Submits a configuration for parameters to the server.
|
|
651
|
+
*
|
|
652
|
+
* @param {ParameterConfigIn} body - The input configuration object containing the parameters to be submitted.
|
|
653
|
+
* @return {Observable<ParameterConfigOut>} An observable emitting the server's response containing the updated parameter configuration.
|
|
654
|
+
*/
|
|
655
|
+
postParameterConfig(body: ParameterConfigIn): Observable<ParameterConfigOut>;
|
|
656
|
+
/**
|
|
657
|
+
* Updates the configuration of a parameter with the provided ID and input data.
|
|
658
|
+
*
|
|
659
|
+
* @param {number} id - The unique identifier of the parameter configuration to be updated.
|
|
660
|
+
* @param {ParameterConfigIn} body - The input data containing the updated configuration for the parameter.
|
|
661
|
+
* @return {Observable<ParameterConfigOut>} An observable that emits the updated parameter configuration.
|
|
662
|
+
*/
|
|
663
|
+
putParameterConfig(id: number, body: ParameterConfigIn): Observable<ParameterConfigOut>;
|
|
664
|
+
/**
|
|
665
|
+
* Deletes a parameter configuration specified by its ID.
|
|
666
|
+
*
|
|
667
|
+
* @param {number} id - The unique identifier of the parameter configuration to be deleted.
|
|
668
|
+
* @return {Observable<ParameterConfigOut>} An observable containing the deleted parameter configuration data.
|
|
669
|
+
*/
|
|
670
|
+
deleteParameterConfig(id: number): Observable<ParameterConfigOut>;
|
|
228
671
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiCompaniesService, never>;
|
|
229
672
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiCompaniesService>;
|
|
230
673
|
}
|