@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.
Files changed (170) hide show
  1. package/README.md +24 -24
  2. package/esm2022/experteam-mx-ngx-services.mjs +5 -0
  3. package/esm2022/lib/apis/api-billing-do.service.mjs +41 -0
  4. package/esm2022/lib/apis/api-billing-gt.service.mjs +61 -0
  5. package/esm2022/lib/apis/api-billing-mx.service.mjs +62 -0
  6. package/esm2022/lib/apis/api-billing-pa.service.mjs +105 -0
  7. package/esm2022/lib/apis/api-billing-sv.service.mjs +83 -0
  8. package/esm2022/lib/apis/api-cash-operations.service.mjs +93 -0
  9. package/esm2022/lib/apis/api-catalogs.service.mjs +626 -0
  10. package/esm2022/lib/apis/api-companies.service.mjs +1031 -0
  11. package/esm2022/lib/apis/api-composition.service.mjs +55 -0
  12. package/esm2022/lib/apis/api-customs.service.mjs +157 -0
  13. package/esm2022/lib/apis/api-discounts.service.mjs +243 -0
  14. package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +75 -0
  15. package/esm2022/lib/apis/api-events.service.mjs +53 -0
  16. package/esm2022/lib/apis/api-external-pickups.service.mjs +74 -0
  17. package/esm2022/lib/apis/api-inventories.service.mjs +208 -0
  18. package/esm2022/lib/apis/api-invoices.service.mjs +398 -0
  19. package/esm2022/lib/apis/api-notifications.service.mjs +104 -0
  20. package/esm2022/lib/apis/api-open-items.service.mjs +62 -0
  21. package/esm2022/lib/apis/api-reports.service.mjs +172 -0
  22. package/esm2022/lib/apis/api-security.service.mjs +245 -0
  23. package/esm2022/lib/apis/api-services.service.mjs +93 -0
  24. package/esm2022/lib/apis/api-shipments.service.mjs +116 -0
  25. package/esm2022/lib/apis/api-supplies.service.mjs +133 -0
  26. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +2 -0
  27. package/esm2022/lib/apis/models/api-billing-do.types.mjs +2 -0
  28. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +2 -0
  29. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +2 -0
  30. package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +2 -0
  31. package/esm2022/lib/apis/models/api-billing-pa.types.mjs +2 -0
  32. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +2 -0
  33. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +2 -0
  34. package/esm2022/lib/apis/models/api-billing.models.mjs +2 -0
  35. package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +2 -0
  36. package/esm2022/lib/apis/models/api-cash-operations.types.mjs +2 -0
  37. package/esm2022/lib/apis/models/api-catalog.enum.mjs +9 -0
  38. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +2 -0
  39. package/esm2022/lib/apis/models/api-catalog.types.mjs +2 -0
  40. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +2 -0
  41. package/esm2022/lib/apis/models/api-companies.types.mjs +2 -0
  42. package/esm2022/lib/apis/models/api-composition.interfaces.mjs +2 -0
  43. package/esm2022/lib/apis/models/api-composition.types.mjs +2 -0
  44. package/esm2022/lib/apis/models/api-customs.interfaces.mjs +2 -0
  45. package/esm2022/lib/apis/models/api-customs.types.mjs +2 -0
  46. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +2 -0
  47. package/esm2022/lib/apis/models/api-discounts.types.mjs +2 -0
  48. package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +2 -0
  49. package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +2 -0
  50. package/esm2022/lib/apis/models/api-events.enum.mjs +7 -0
  51. package/esm2022/lib/apis/models/api-events.interfaces.mjs +2 -0
  52. package/esm2022/lib/apis/models/api-events.types.mjs +2 -0
  53. package/esm2022/lib/apis/models/api-external-pickups.types.mjs +2 -0
  54. package/esm2022/lib/apis/models/api-inventories.enum.mjs +22 -0
  55. package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +2 -0
  56. package/esm2022/lib/apis/models/api-inventories.types.mjs +2 -0
  57. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +2 -0
  58. package/esm2022/lib/apis/models/api-invoices.types.mjs +2 -0
  59. package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +2 -0
  60. package/esm2022/lib/apis/models/api-notifications.types.mjs +2 -0
  61. package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +2 -0
  62. package/esm2022/lib/apis/models/api-open-items.types.mjs +2 -0
  63. package/esm2022/lib/apis/models/api-reports.interfaces.mjs +2 -0
  64. package/esm2022/lib/apis/models/api-reports.types.mjs +2 -0
  65. package/esm2022/lib/apis/models/api-security.interfaces.mjs +2 -0
  66. package/esm2022/lib/apis/models/api-security.types.mjs +2 -0
  67. package/esm2022/lib/apis/models/api-services.interfaces.mjs +2 -0
  68. package/esm2022/lib/apis/models/api-services.types.mjs +2 -0
  69. package/esm2022/lib/apis/models/api-shipments.enums.mjs +8 -0
  70. package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +2 -0
  71. package/esm2022/lib/apis/models/api-shipments.types.mjs +2 -0
  72. package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +2 -0
  73. package/esm2022/lib/apis/models/api-supplies.types.mjs +2 -0
  74. package/esm2022/lib/apis/models/api.models.mjs +2 -0
  75. package/esm2022/lib/cypher/crypto.service.mjs +93 -0
  76. package/esm2022/lib/helpers/files.mjs +9 -0
  77. package/esm2022/lib/helpers/http.mjs +66 -0
  78. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +24 -0
  79. package/esm2022/lib/interceptors/api-token.interceptor.mjs +28 -0
  80. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +37 -0
  81. package/esm2022/lib/ngx-services.models.mjs +11 -0
  82. package/esm2022/lib/ngx-services.module.mjs +33 -0
  83. package/esm2022/lib/websockets/web-sockets.service.mjs +115 -0
  84. package/esm2022/public-api.mjs +90 -0
  85. package/fesm2022/experteam-mx-ngx-services.mjs +125 -14
  86. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  87. package/index.d.ts +285 -2
  88. package/lib/apis/api-billing-do.service.d.ts +24 -0
  89. package/lib/apis/api-billing-gt.service.d.ts +38 -0
  90. package/lib/apis/api-billing-mx.service.d.ts +39 -0
  91. package/lib/apis/api-billing-pa.service.d.ts +68 -0
  92. package/lib/apis/api-billing-sv.service.d.ts +55 -0
  93. package/lib/apis/api-cash-operations.service.d.ts +62 -0
  94. package/lib/apis/api-catalogs.service.d.ts +458 -0
  95. package/lib/apis/api-companies.service.d.ts +714 -0
  96. package/lib/apis/api-composition.service.d.ts +35 -0
  97. package/lib/apis/api-customs.service.d.ts +110 -0
  98. package/lib/apis/api-discounts.service.d.ts +167 -0
  99. package/lib/apis/api-e-tools-auto-billing.service.d.ts +49 -0
  100. package/lib/apis/api-events.service.d.ts +33 -0
  101. package/lib/apis/api-external-pickups.service.d.ts +46 -0
  102. package/lib/apis/api-inventories.service.d.ts +145 -0
  103. package/lib/apis/api-invoices.service.d.ts +280 -0
  104. package/lib/apis/api-notifications.service.d.ts +70 -0
  105. package/lib/apis/api-open-items.service.d.ts +41 -0
  106. package/lib/apis/api-reports.service.d.ts +120 -0
  107. package/lib/apis/api-security.service.d.ts +162 -0
  108. package/lib/apis/api-services.service.d.ts +61 -0
  109. package/lib/apis/api-shipments.service.d.ts +77 -0
  110. package/lib/apis/api-supplies.service.d.ts +93 -0
  111. package/lib/apis/models/api-billing-do.interfaces.d.ts +6 -0
  112. package/lib/apis/models/api-billing-do.types.d.ts +5 -0
  113. package/lib/apis/models/api-billing-mx.interfaces.d.ts +21 -0
  114. package/lib/apis/models/api-billing-mx.types.d.ts +13 -0
  115. package/lib/apis/models/api-billing-pa.interfaces.d.ts +26 -0
  116. package/lib/apis/models/api-billing-pa.types.d.ts +16 -0
  117. package/lib/apis/models/api-billing-sv.interfaces.d.ts +22 -0
  118. package/lib/apis/models/api-billing-sv.types.d.ts +21 -0
  119. package/lib/apis/models/api-billing.models.d.ts +27 -0
  120. package/lib/apis/models/api-cash-operations.interfaces.d.ts +40 -0
  121. package/lib/apis/models/api-cash-operations.types.d.ts +30 -0
  122. package/lib/apis/models/api-catalog.enum.d.ts +7 -0
  123. package/lib/apis/models/api-catalog.interfaces.d.ts +219 -0
  124. package/lib/apis/models/api-catalog.types.d.ts +217 -0
  125. package/lib/apis/models/api-companies.interfaces.d.ts +341 -0
  126. package/lib/apis/models/api-companies.types.d.ts +457 -0
  127. package/lib/apis/models/api-composition.interfaces.d.ts +272 -0
  128. package/lib/apis/models/api-composition.types.d.ts +9 -0
  129. package/lib/apis/models/api-customs.interfaces.d.ts +125 -0
  130. package/lib/apis/models/api-customs.types.d.ts +90 -0
  131. package/lib/apis/models/api-discounts.interfaces.d.ts +78 -0
  132. package/lib/apis/models/api-discounts.types.d.ts +89 -0
  133. package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +45 -0
  134. package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +30 -0
  135. package/lib/apis/models/api-events.enum.d.ts +5 -0
  136. package/lib/apis/models/api-events.interfaces.d.ts +21 -0
  137. package/lib/apis/models/api-events.types.d.ts +14 -0
  138. package/lib/apis/models/api-external-pickups.types.d.ts +31 -0
  139. package/lib/apis/models/api-inventories.enum.d.ts +18 -0
  140. package/lib/apis/models/api-inventories.interfaces.d.ts +40 -0
  141. package/lib/apis/models/api-inventories.types.d.ts +62 -0
  142. package/lib/apis/models/api-invoices.interfaces.d.ts +267 -0
  143. package/lib/apis/models/api-invoices.types.d.ts +195 -0
  144. package/lib/apis/models/api-notifications.interfaces.d.ts +36 -0
  145. package/lib/apis/models/api-notifications.types.d.ts +34 -0
  146. package/lib/apis/models/api-open-items.interfaces.d.ts +32 -0
  147. package/lib/apis/models/api-open-items.types.d.ts +58 -0
  148. package/lib/apis/models/api-reports.interfaces.d.ts +342 -0
  149. package/lib/apis/models/api-reports.types.d.ts +59 -0
  150. package/lib/apis/models/api-security.interfaces.d.ts +68 -0
  151. package/lib/apis/models/api-security.types.d.ts +72 -0
  152. package/lib/apis/models/api-services.interfaces.d.ts +43 -0
  153. package/lib/apis/models/api-services.types.d.ts +57 -0
  154. package/lib/apis/models/api-shipments.enums.d.ts +6 -0
  155. package/lib/apis/models/api-shipments.interfaces.d.ts +41 -0
  156. package/lib/apis/models/api-shipments.types.d.ts +121 -0
  157. package/lib/apis/models/api-supplies.interfaces.d.ts +40 -0
  158. package/lib/apis/models/api-supplies.types.d.ts +50 -0
  159. package/lib/apis/models/api.models.d.ts +36 -0
  160. package/lib/cypher/crypto.service.d.ts +15 -0
  161. package/lib/helpers/files.d.ts +2 -0
  162. package/lib/helpers/http.d.ts +38 -0
  163. package/lib/interceptors/api-headers.interceptor.d.ts +12 -0
  164. package/lib/interceptors/api-token.interceptor.d.ts +11 -0
  165. package/lib/interceptors/http-caching.interceptor.d.ts +12 -0
  166. package/lib/ngx-services.models.d.ts +62 -0
  167. package/lib/ngx-services.module.d.ts +16 -0
  168. package/lib/websockets/web-sockets.service.d.ts +49 -0
  169. package/package.json +1 -1
  170. package/public-api.d.ts +80 -0
@@ -0,0 +1,62 @@
1
+ import { Environment } from '../ngx-services.models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { QueryParams } from './models/api.models';
4
+ import { Observable } from 'rxjs';
5
+ import { CashValueSummaryOut, InstallationCountryReferenceCurrenciesOut, InstallationCountryReferenceCurrencyIn, InstallationCountryReferenceCurrencyOut, OpeningTransferenceIn, OpeningTransferenceOut, ReceiptFileOut } from './models/api-cash-operations.types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ApiCashOperationsService {
8
+ private environments;
9
+ private http;
10
+ constructor(environments: Environment, http: HttpClient);
11
+ /**
12
+ * Retrieves the URL for the cash operations API from the environment configurations.
13
+ *
14
+ * @return {string} The URL of the cash operations API.
15
+ */
16
+ get url(): string;
17
+ /**
18
+ * Creates a new installation country reference currency.
19
+ *
20
+ * @param {InstallationCountryReferenceCurrencyIn} body - The data for the new reference currency.
21
+ * @returns {Observable<InstallationCountryReferenceCurrencyOut>} The created reference currency.
22
+ */
23
+ postInstallationCountryReferenceCurrency(body: InstallationCountryReferenceCurrencyIn): Observable<InstallationCountryReferenceCurrencyOut>;
24
+ /**
25
+ * Updates an existing installation country reference currency.
26
+ *
27
+ * @param {number} id - The ID of the reference currency to update.
28
+ * @param {InstallationCountryReferenceCurrencyIn} body - The updated data for the reference currency.
29
+ * @returns {Observable<InstallationCountryReferenceCurrencyOut>} The updated reference currency.
30
+ */
31
+ putInstallationCountryReferenceCurrency(id: number, body: InstallationCountryReferenceCurrencyIn): Observable<InstallationCountryReferenceCurrencyOut>;
32
+ /**
33
+ * Retrieves a list of installation country reference currencies based on query parameters.
34
+ *
35
+ * @param {QueryParams} params - Query parameters for filtering the currencies.
36
+ * @returns {Observable<InstallationCountryReferenceCurrenciesOut>} The list of reference currencies.
37
+ */
38
+ getInstallationCompanyCountryCurrencies(params: QueryParams): Observable<InstallationCountryReferenceCurrenciesOut>;
39
+ /**
40
+ * Retrieves the cash value summary for a specific opening ID.
41
+ *
42
+ * @param {number} id - The ID of the opening for which to retrieve the cash value summary.
43
+ * @returns {Observable<CashValueSummaryOut>} An observable that emits the cash value summary data.
44
+ */
45
+ getOpeningCashValueSummary(id: number): Observable<CashValueSummaryOut>;
46
+ /**
47
+ * Creates a new opening transference record.
48
+ *
49
+ * @param {OpeningTransferenceIn} body - The data to create the new opening transference.
50
+ * @returns {Observable<OpeningTransferenceOut>} An observable that emits the newly created opening transference.
51
+ */
52
+ postOpeningTransferences(body: OpeningTransferenceIn): Observable<OpeningTransferenceOut>;
53
+ /**
54
+ * Retrieves the receipt file associated with the given opening transference ID.
55
+ *
56
+ * @param {number} id - The ID of the opening transference whose receipt is to be retrieved.
57
+ * @returns {Observable<ReceiptFileOut>} An observable that emits the receipt file data.
58
+ */
59
+ getOpeningTransferenceReceipt(id: number): Observable<ReceiptFileOut>;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiCashOperationsService, never>;
61
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiCashOperationsService>;
62
+ }
@@ -0,0 +1,458 @@
1
+ import { Environment } from '../ngx-services.models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Observable } from 'rxjs';
4
+ import { QueryParams } from './models/api.models';
5
+ import { BusinessPartyTraderTypesOut, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CountriesOut, CountryIn, CountryOut, CurrenciesOut, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, GenericFolioIn, GenericFolioOut, GenericFoliosOut, HolidayIn, HolidayOut, HolidaysOut, IdentificationTypeIn, IdentificationTypeNumberValidationIn, IdentificationTypeNumberValidationOut, IdentificationTypeOut, IdentificationTypesOut, LanguagesOut, ManagementAreasOut, OperationTypesOut, PostalLocationsOut, ProductIn, ProductOut, QuestionIn, QuestionOut, QuestionsOut, RegionsOut, ShipmentContentTypesOut, ShipmentGroupsOut, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentScopesOut, ShipmentStatusesOut, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, UnitsOut, ZonesOut } from './models/api-catalog.types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ApiCatalogsService {
8
+ private environments;
9
+ private http;
10
+ constructor(environments: Environment, http: HttpClient);
11
+ /**
12
+ * Retrieves the URL for the reports API from the environment configurations.
13
+ *
14
+ * @return {string} The URL of the reports API.
15
+ */
16
+ get url(): string;
17
+ /**
18
+ * Retrieves the list of collection payments
19
+ *
20
+ * @param {QueryParams} params - The query parameters used to fetch the operation types.
21
+ * @return {Observable<OperationTypesOut[]>} An observable that emits an array of operation type.
22
+ */
23
+ getOperationTypes(params: QueryParams): Observable<OperationTypesOut>;
24
+ /**
25
+ * Retrieves the list of identificatios types
26
+ *
27
+ * @param {QueryParams} params - The query parameters used to fetch the identification types.
28
+ * @return {Observable<IdentificationTypesOut[]>} An observable that emits an array of identification type.
29
+ */
30
+ getIdentificationTypes(params: QueryParams): Observable<IdentificationTypesOut>;
31
+ /**
32
+ * Retrieve a single identification type by its id.
33
+ *
34
+ * Sends an HTTP GET request to the indentification type endpoint and returns an Observable that emits
35
+ * the IdentificationTypeOut payload extracted from the API success envelope.
36
+ *
37
+ * @param id - The numeric identifier of the identification type to fetch.
38
+ * @returns An Observable that emits the requested IdentificationTypeOut. The Observable will error
39
+ * if the HTTP request fails (for example network issues or non-2xx responses).
40
+ */
41
+ getIdentificationType(id: number): Observable<IdentificationTypeOut>;
42
+ /**
43
+ * Sends a POST request to create a new identification type and returns the created resource.
44
+ *
45
+ * The request payload is sent as an object with a `body` property containing the provided
46
+ * IdentificationTypeIn value (i.e. { body: IdentificationTypeIn }). On success the HTTP response is expected
47
+ * to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
48
+ * object and emits it as a IdentificationTypeOut.
49
+ *
50
+ * @param body - The identification type payload to create (IdentificationTypeIn).
51
+ * @returns Observable<IdentificationTypeOut> that emits the created identification type on success.
52
+ */
53
+ postIdentificationtType(body: IdentificationTypeIn): Observable<IdentificationTypeOut>;
54
+ /**
55
+ * Update a identification type by its ID.
56
+ *
57
+ * Sends an HTTP PUT to `${this.url}/identification-types/${id}` with the provided payload.
58
+ * The request body is sent as an object with a `body` property containing the
59
+ * `IdentificationTypeIn` data. The server response is expected to be an `ApiSuccess<IdentificationTypeOut>`
60
+ * and this method returns an Observable that emits the unwrapped `IdentificationTypeOut`.
61
+ *
62
+ * @param id - The identifier of the identification type to update.
63
+ * @param body - The update payload for the identification type.
64
+ * @returns An Observable that emits the updated `IdentificationTypeOut` on success.
65
+ */
66
+ putIdentificationType(id: number, body: IdentificationTypeIn): Observable<IdentificationTypeOut>;
67
+ /**
68
+ * Delete a identification type by its ID.
69
+ *
70
+ * Sends an HTTP DELETE request to the backend endpoint `/identification-types/{id}` and
71
+ * returns an Observable that emits the API response's `data` payload (typically an empty object).
72
+ *
73
+ * The implementation maps an ApiSuccess wrapper to its `data` property before emitting.
74
+ *
75
+ * @param id - The numeric identifier of the identification type to delete.
76
+ * @returns An Observable that emits the deleted resource payload ({} expected) on success.
77
+ * The Observable will emit an error if the HTTP request fails.
78
+ */
79
+ deleteIdentificationType(id: number): Observable<{}>;
80
+ /**
81
+ * Sends a POST request to validate identification type number.
82
+ *
83
+ * The request payload is sent as an object with a `body` property containing the provided
84
+ * IdentificationTypeNumberValidationIn value (i.e. { body: IdentificationTypeNumberValidationIn }). On success the HTTP response is expected
85
+ * to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
86
+ * object and emits it as a IdentificationTypeNumberValidationOut.
87
+ *
88
+ * @param body - The identification type number validation payload to validate (IdentificationTypeNumberValidationIn).
89
+ * @returns Observable<IdentificationTypeNumberValidationOut> that emits the validate status.
90
+ */
91
+ postIdentificationtTypeNumberValidation(body: IdentificationTypeNumberValidationIn): Observable<IdentificationTypeNumberValidationOut>;
92
+ /**
93
+ * Fetches the extra charges based on the provided query parameters.
94
+ *
95
+ * @param {QueryParams} params - The query parameters to filter the results.
96
+ * @return {Observable<ExtraChargesOut>} An observable emitting the extra charges data.
97
+ */
98
+ getExtraCharges(params: QueryParams): Observable<ExtraChargesOut>;
99
+ /**
100
+ * Submits an extra charge request to the server and returns the created extra charge details.
101
+ *
102
+ * @param {ExtraChargeIn} body - The data for the extra charge to be created.
103
+ * @return {Observable<ExtraChargeOut>} An observable that emits the details of the created extra charge.
104
+ */
105
+ postExtraCharge(body: ExtraChargeIn): Observable<ExtraChargeOut>;
106
+ /**
107
+ * Updates an extra charge entity with new data and returns the updated entity.
108
+ *
109
+ * @param {number} id - The unique identifier of the extra charge to update.
110
+ * @param {ExtraChargeIn} body - The new data for the extra charge.
111
+ * @return {Observable<ExtraChargeOut>} An observable emitting the updated extra charge entity.
112
+ */
113
+ putExtraCharge(id: number, body: ExtraChargeIn): Observable<ExtraChargeOut>;
114
+ /**
115
+ * Fetches a list of countries from the API.
116
+ *
117
+ * @param {QueryParams} params - The query parameters to be passed to the API request.
118
+ * @return {Observable<CountriesOut>} An observable containing the list of countries.
119
+ */
120
+ getCountries(params: QueryParams): Observable<CountriesOut>;
121
+ /**
122
+ * Retrieves the details of a country based on its ID.
123
+ *
124
+ * @param {number} id - The identifier of the country to fetch.
125
+ * @return {Observable<CountryOut>} An observable that emits the country data.
126
+ */
127
+ getCountry(id: number): Observable<CountryOut>;
128
+ /**
129
+ * Updates the details of a specific country by its ID.
130
+ *
131
+ * @param {number} id - The unique identifier of the country to be updated.
132
+ * @param {CountryIn} body - The data to update the country with.
133
+ * @return {Observable<CountryOut>} An observable that emits the updated country data.
134
+ */
135
+ putCountry(id: number, body: CountryIn): Observable<CountryOut>;
136
+ /**
137
+ * Fetches postal location details based on the provided query parameters.
138
+ *
139
+ * @param {QueryParams} params - The query parameters to filter and fetch postal location data.
140
+ * @return {Observable<PostalLocationsOut>} An observable that emits the postal location details.
141
+ */
142
+ getPostalLocations(params: QueryParams): Observable<PostalLocationsOut>;
143
+ /**
144
+ * Fetches a list of regions based on the provided query parameters.
145
+ *
146
+ * @param {QueryParams} params - The query parameters used to filter the regions.
147
+ * @return {Observable<RegionsOut>} An observable that emits the list of regions.
148
+ */
149
+ getRegions(params: QueryParams): Observable<RegionsOut>;
150
+ /**
151
+ * Fetches the zones data based on the provided query parameters.
152
+ *
153
+ * @param {QueryParams} params - The query parameters used to filter the zones data.
154
+ * @return {Observable<ZonesOut>} An observable that emits the fetched zones data.
155
+ */
156
+ getZones(params: QueryParams): Observable<ZonesOut>;
157
+ /**
158
+ * Fetches the management areas based on the provided query parameters.
159
+ *
160
+ * @param {QueryParams} params - The query parameters to filter the management areas.
161
+ * @return {Observable<ManagementAreasOut>} An observable that emits the management areas data.
162
+ */
163
+ getManagementAreas(params: QueryParams): Observable<ManagementAreasOut>;
164
+ /**
165
+ * Retrieves cancellation reasons from the server based on the provided query parameters.
166
+ *
167
+ * @param {QueryParams} params - The query parameters to filter the cancellation reasons.
168
+ * @return {Observable<CancellationReasonsOut>} An observable containing the retrieved cancellation reasons.
169
+ */
170
+ getCancellationReasons(params: QueryParams): Observable<CancellationReasonsOut>;
171
+ /**
172
+ * Sends a cancellation reason to the server.
173
+ *
174
+ * @param {CancellationReasonIn} body - The cancellation reason object to be sent.
175
+ * @return {Observable<CancellationReasonOut>} An observable containing the server's response with the processed cancellation reason.
176
+ */
177
+ postCancellationReason(body: CancellationReasonIn): Observable<CancellationReasonOut>;
178
+ /**
179
+ * Updates the cancellation reason for the specified ID with the provided data.
180
+ *
181
+ * @param {number} id - The unique identifier of the cancellation reason to update.
182
+ * @param {CancellationReasonIn} body - The details of the cancellation reason to be updated.
183
+ * @return {Observable<CancellationReasonOut>} An observable containing the updated cancellation reason.
184
+ */
185
+ putCancellationReason(id: number, body: CancellationReasonIn): Observable<CancellationReasonOut>;
186
+ /**
187
+ * Retrieves a list of currencies based on the provided query parameters.
188
+ *
189
+ * @param {QueryParams} params - The query parameters to customize the currency retrieval request.
190
+ * @return {Observable<CurrenciesOut>} An observable that emits the retrieved currencies data.
191
+ */
192
+ getCurrencies(params: QueryParams): Observable<CurrenciesOut>;
193
+ /**
194
+ * Fetches the list of available languages based on the provided query parameters.
195
+ *
196
+ * @param {QueryParams} params - The query parameters to pass with the HTTP request.
197
+ * @return {Observable<LanguagesOut>} An observable that emits the available languages.
198
+ */
199
+ getLanguages(params: QueryParams): Observable<LanguagesOut>;
200
+ /**
201
+ * Fetches the available units from the API based on the provided query parameters.
202
+ *
203
+ * @param {QueryParams} params - The query parameters to filter the units being fetched.
204
+ * @return {Observable<UnitsOut>} An observable that emits the retrieved units data.
205
+ */
206
+ getUnits(params: QueryParams): Observable<UnitsOut>;
207
+ /**
208
+ * Retrieves the shipment scopes based on the provided query parameters.
209
+ *
210
+ * @param {QueryParams} params The query parameters to filter or modify the request for shipment scopes.
211
+ * @return {Observable<ShipmentScopesOut>} An observable that emits the shipment scopes data.
212
+ */
213
+ getShipmentScopes(params: QueryParams): Observable<ShipmentScopesOut>;
214
+ /**
215
+ * Fetches the available shipment content types based on the provided query parameters.
216
+ *
217
+ * @param {QueryParams} params - The query parameters to filter the shipment content types.
218
+ * @return {Observable<ShipmentContentTypesOut>} An observable that emits the shipment content types data.
219
+ */
220
+ getShipmentContentTypes(params: QueryParams): Observable<ShipmentContentTypesOut>;
221
+ /**
222
+ * Fetches a list of generic folios based on the given query parameters.
223
+ *
224
+ * @param {QueryParams} params - The query parameters used to filter the generic folios.
225
+ * @return {Observable<GenericFoliosOut>} An observable containing the fetched generic folios.
226
+ */
227
+ getGenericFolios(params: QueryParams): Observable<GenericFoliosOut>;
228
+ /**
229
+ * Sends a POST request to create or update a generic folio.
230
+ *
231
+ * @param {GenericFolioIn} body - The payload containing the details of the generic folio to be created or updated.
232
+ * @return {Observable<GenericFolioOut>} An observable containing the response data of the created or updated generic folio.
233
+ */
234
+ postGenericFolio(body: GenericFolioIn): Observable<GenericFolioOut>;
235
+ /**
236
+ * Updates a generic folio with the specified ID using the provided data.
237
+ *
238
+ * @param {number} id - The unique identifier of the generic folio to update.
239
+ * @param {GenericFolioIn} body - The data to update the generic folio with.
240
+ * @return {Observable<GenericFolioOut>} An observable containing the updated generic folio.
241
+ */
242
+ putGenericFolio(id: number, body: GenericFolioIn): Observable<GenericFolioOut>;
243
+ /**
244
+ * Sends a PUT request to update a Generic Folio resource with the specified ID and body data, and returns the updated resource.
245
+ *
246
+ * @param {number} id - The unique identifier of the Generic Folio to be updated.
247
+ * @param {Partial<GenericFolioIn>} body - The partial data representing the changes to be applied to the Generic Folio.
248
+ * @return {Observable<GenericFolioOut>} An observable containing the updated Generic Folio resource.
249
+ */
250
+ pathGenericFolio(id: number, body: Partial<GenericFolioIn>): Observable<GenericFolioOut>;
251
+ /**
252
+ * Sends a POST request to create a new product.
253
+ *
254
+ * @param {ProductIn} body - The product data to be sent in the request body.
255
+ * @return {Observable<ProductOut>} An observable emitting the created product data.
256
+ */
257
+ postProduct(body: ProductIn): Observable<ProductOut>;
258
+ /**
259
+ * Updates an existing product with the given ID using the provided data.
260
+ *
261
+ * @param {number} id - The unique identifier of the product to update.
262
+ * @param {ProductIn} body - The product data to update.
263
+ * @return {Observable<ProductOut>} An observable containing the updated product data.
264
+ */
265
+ putProduct(id: number, body: ProductIn): Observable<ProductOut>;
266
+ /**
267
+ * Retrieves a list of shipment income types based on the provided query parameters.
268
+ *
269
+ * @param {QueryParams} params - The query parameters to filter the shipment income types.
270
+ * @return {Observable<ShipmentIncomeTypesOut>} An observable containing the shipment income types data.
271
+ */
272
+ getShipmentIncomeTypes(params: QueryParams): Observable<ShipmentIncomeTypesOut>;
273
+ /**
274
+ * Sends a POST request to create a new shipment income type.
275
+ *
276
+ * @param {ShipmentIncomeTypeIn} body The payload containing the details of the shipment income type to be created.
277
+ * @return {Observable<ShipmentIncomeTypeOut>} An observable that emits the created shipment income type data.
278
+ */
279
+ postShipmentIncomeType(body: ShipmentIncomeTypeIn): Observable<ShipmentIncomeTypeOut>;
280
+ /**
281
+ * Updates the shipment income type with the specified ID.
282
+ *
283
+ * @param {number} id - The identifier of the shipment income type to update.
284
+ * @param {ShipmentIncomeTypeIn} body - The data to update the shipment income type with.
285
+ * @return {Observable<ShipmentIncomeTypeOut>} An observable emitting the updated shipment income type.
286
+ */
287
+ putShipmentIncomeType(id: number, body: ShipmentIncomeTypeIn): Observable<ShipmentIncomeTypeOut>;
288
+ /**
289
+ * Retrieves a list of unique folios based on the provided query parameters.
290
+ *
291
+ * @param {QueryParams} params - The query parameters used to filter and fetch unique folios.
292
+ * @return {Observable<UniqueFoliosOut>} An observable that emits the unique folios data.
293
+ */
294
+ getUniqueFolios(params: QueryParams): Observable<UniqueFoliosOut>;
295
+ /**
296
+ * Sends a POST request to create a unique folio.
297
+ *
298
+ * @param {UniqueFolioIn} body - The data object containing details for the unique folio to be created.
299
+ * @return {Observable<UniqueFolioOut>} An observable that emits the created unique folio details.
300
+ */
301
+ postUniqueFolio(body: UniqueFolioIn): Observable<UniqueFolioOut>;
302
+ /**
303
+ * Updates a unique folio with the given data using the provided ID.
304
+ *
305
+ * @param {number} id - The ID of the unique folio to be updated.
306
+ * @param {UniqueFolioIn} body - The payload containing the details of the unique folio to update.
307
+ * @return {Observable<UniqueFolioOut>} An observable that emits the updated unique folio.
308
+ */
309
+ putUniqueFolio(id: number, body: UniqueFolioIn): Observable<UniqueFolioOut>;
310
+ /**
311
+ * Updates a unique folio by its identifier with the provided data.
312
+ *
313
+ * @param {number} id - The identifier of the unique folio to update.
314
+ * @param {Partial<UniqueFolioIn>} body - The partial data of the unique folio to update.
315
+ * @return {Observable<UniqueFolioOut>} An observable emitting the updated unique folio data.
316
+ */
317
+ pathUniqueFolio(id: number, body: Partial<UniqueFolioIn>): Observable<UniqueFolioOut>;
318
+ /**
319
+ * Retrieves shipment groups based on the provided query parameters.
320
+ *
321
+ * @param params - The query parameters to filter the shipment groups.
322
+ * @returns An Observable that emits the shipment groups data.
323
+ */
324
+ getShipmentGroups(params: QueryParams): Observable<ShipmentGroupsOut>;
325
+ /**
326
+ * Retrieves the shipment statuses from the API.
327
+ *
328
+ * @param params - The query parameters to filter or modify the request.
329
+ * @returns An Observable that emits the shipment statuses output.
330
+ */
331
+ getShipmentStatuses(params: QueryParams): Observable<ShipmentStatusesOut>;
332
+ /**
333
+ * Fetches questions from the catalogs API.
334
+ *
335
+ * Sends an HTTP GET request to `${this.url}/questions` using the supplied query parameters
336
+ * and returns the unwrapped payload (`data`) from the API response.
337
+ *
338
+ * @param params - Query parameters to include in the request (e.g. paging, filters, sorting).
339
+ * @returns An Observable that emits the QuestionsOut payload (the `data` field from ApiSuccess<QuestionsOut>).
340
+ */
341
+ getQuestions(params: QueryParams): Observable<QuestionsOut>;
342
+ /**
343
+ * Retrieve a single question by its id.
344
+ *
345
+ * Sends an HTTP GET request to the questions endpoint and returns an Observable that emits
346
+ * the QuestionOut payload extracted from the API success envelope.
347
+ *
348
+ * @param id - The numeric identifier of the question to fetch.
349
+ * @returns An Observable that emits the requested QuestionOut. The Observable will error
350
+ * if the HTTP request fails (for example network issues or non-2xx responses).
351
+ */
352
+ getQuestion(id: number): Observable<QuestionOut>;
353
+ /**
354
+ * Sends a POST request to create a new question and returns the created resource.
355
+ *
356
+ * The request payload is sent as an object with a `body` property containing the provided
357
+ * QuestionIn value (i.e. { body: QuestionIn }). On success the HTTP response is expected
358
+ * to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
359
+ * object and emits it as a QuestionOut.
360
+ *
361
+ * @param body - The question payload to create (QuestionIn).
362
+ * @returns Observable<QuestionOut> that emits the created question on success.
363
+ */
364
+ postQuestion(body: QuestionIn): Observable<QuestionOut>;
365
+ /**
366
+ * Update a question by its ID.
367
+ *
368
+ * Sends an HTTP PUT to `${this.url}/questions/${id}` with the provided payload.
369
+ * The request body is sent as an object with a `body` property containing the
370
+ * `QuestionIn` data. The server response is expected to be an `ApiSuccess<QuestionOut>`
371
+ * and this method returns an Observable that emits the unwrapped `QuestionOut`.
372
+ *
373
+ * @param id - The identifier of the question to update.
374
+ * @param body - The update payload for the question.
375
+ * @returns An Observable that emits the updated `QuestionOut` on success.
376
+ */
377
+ putQuestion(id: number, body: QuestionIn): Observable<QuestionOut>;
378
+ /**
379
+ * Deletes a question by its ID.
380
+ *
381
+ * Sends an HTTP DELETE request to the backend endpoint `/questions/{id}` and
382
+ * returns an Observable that emits the API response's `data` payload (typically an empty object).
383
+ *
384
+ * The implementation maps an ApiSuccess wrapper to its `data` property before emitting.
385
+ *
386
+ * @param id - The numeric identifier of the question to delete.
387
+ * @returns An Observable that emits the deleted resource payload ({} expected) on success.
388
+ * The Observable will emit an error if the HTTP request fails.
389
+ */
390
+ deleteQuestion(id: number): Observable<{}>;
391
+ /**
392
+ * Fetches holidays from the catalogs API.
393
+ *
394
+ * Sends an HTTP GET request to `${this.url}/holidays` using the supplied query parameters
395
+ * and returns the unwrapped payload (`data`) from the API response.
396
+ *
397
+ * @param params - Query parameters to include in the request (e.g. paging, filters, sorting).
398
+ * @returns An Observable that emits the HolidaysOut payload (the `data` field from ApiSuccess<HolidaysOut>).
399
+ */
400
+ getHolidays(params: QueryParams): Observable<HolidaysOut>;
401
+ /**
402
+ * Retrieve a single holiday by its id.
403
+ *
404
+ * Sends an HTTP GET request to the holidays endpoint and returns an Observable that emits
405
+ * the HolidayOut payload extracted from the API success envelope.
406
+ *
407
+ * @param id - The numeric identifier of the holiday to fetch.
408
+ * @returns An Observable that emits the requested HolidayOut. The Observable will error
409
+ * if the HTTP request fails (for example network issues or non-2xx responses).
410
+ */
411
+ getHoliday(id: number): Observable<HolidayOut>;
412
+ /**
413
+ * Sends a POST request to create a new holiday and returns the created resource.
414
+ *
415
+ * The request payload is sent as an object with a `body` property containing the provided
416
+ * HolidayIn value (i.e. { body: HolidayIn }). On success the HTTP response is expected
417
+ * to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
418
+ * object and emits it as a HolidayOut.
419
+ *
420
+ * @param body - The holiday payload to create (HolidayIn).
421
+ * @returns Observable<HolidayOut> that emits the created holiday on success.
422
+ */
423
+ postHoliday(body: HolidayIn): Observable<HolidayOut>;
424
+ /**
425
+ * Update a holiday by its ID.
426
+ *
427
+ * Sends an HTTP PUT to `${this.url}/holidays/${id}` with the provided payload.
428
+ * The request body is sent as an object with a `body` property containing the
429
+ * `HolidayIn` data. The server response is expected to be an `ApiSuccess<HolidayOut>`
430
+ * and this method returns an Observable that emits the unwrapped `HolidayOut`.
431
+ *
432
+ * @param id - The identifier of the holiday to update.
433
+ * @param body - The update payload for the holiday.
434
+ * @returns An Observable that emits the updated `HolidayOut` on success.
435
+ */
436
+ putHoliday(id: number, body: HolidayIn): Observable<HolidayOut>;
437
+ /**
438
+ * Deletes a question by its ID.
439
+ *
440
+ * Sends an HTTP DELETE request to the backend endpoint `/questions/{id}` and
441
+ * returns an Observable that emits the API response's `data` payload (typically an empty object).
442
+ *
443
+ * The implementation maps an ApiSuccess wrapper to its `data` property before emitting.
444
+ *
445
+ * @param id - The numeric identifier of the question to delete.
446
+ * @returns An Observable that emits the deleted resource payload ({} expected) on success.
447
+ * The Observable will emit an error if the HTTP request fails.
448
+ */
449
+ deleteHoliday(id: number): Observable<{}>;
450
+ /**
451
+ * Retrieves a list of business party trader types
452
+ * @param {QueryParams} params - Query parameters for filtering and pagination (optional)
453
+ * @returns {Observable<BusinessPartyTraderTypesOut>} Observable containing the list of trader types
454
+ */
455
+ getBusinessPartyTraderTypes(params: QueryParams): Observable<BusinessPartyTraderTypesOut>;
456
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiCatalogsService, never>;
457
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiCatalogsService>;
458
+ }