@experteam-mx/ngx-services 20.0.2 → 20.0.5
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/experteam-mx-ngx-services.mjs +5 -0
- package/esm2022/lib/apis/api-billing-do.service.mjs +41 -0
- package/esm2022/lib/apis/api-billing-gt.service.mjs +61 -0
- package/esm2022/lib/apis/api-billing-mx.service.mjs +62 -0
- package/esm2022/lib/apis/api-billing-pa.service.mjs +105 -0
- package/esm2022/lib/apis/api-billing-sv.service.mjs +83 -0
- package/esm2022/lib/apis/api-cash-operations.service.mjs +93 -0
- package/esm2022/lib/apis/api-catalogs.service.mjs +635 -0
- package/esm2022/lib/apis/api-companies.service.mjs +1031 -0
- package/esm2022/lib/apis/api-composition.service.mjs +55 -0
- package/esm2022/lib/apis/api-customs.service.mjs +157 -0
- package/esm2022/lib/apis/api-discounts.service.mjs +243 -0
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +75 -0
- package/esm2022/lib/apis/api-events.service.mjs +53 -0
- package/esm2022/lib/apis/api-external-pickups.service.mjs +74 -0
- package/esm2022/lib/apis/api-inventories.service.mjs +208 -0
- package/esm2022/lib/apis/api-invoices.service.mjs +398 -0
- package/esm2022/lib/apis/api-notifications.service.mjs +104 -0
- package/esm2022/lib/apis/api-open-items.service.mjs +62 -0
- package/esm2022/lib/apis/api-quote.service.mjs +87 -0
- package/esm2022/lib/apis/api-reports.service.mjs +172 -0
- package/esm2022/lib/apis/api-security.service.mjs +245 -0
- package/esm2022/lib/apis/api-services.service.mjs +93 -0
- package/esm2022/lib/apis/api-shipments.service.mjs +116 -0
- package/esm2022/lib/apis/api-supplies.service.mjs +133 -0
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing.models.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +9 -0
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.enum.mjs +7 -0
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +22 -0
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-quote.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-quote.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +8 -0
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api.models.mjs +2 -0
- package/esm2022/lib/cypher/crypto.service.mjs +93 -0
- package/esm2022/lib/helpers/files.mjs +9 -0
- package/esm2022/lib/helpers/http.mjs +66 -0
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +24 -0
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +28 -0
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +37 -0
- package/esm2022/lib/ngx-services.models.mjs +11 -0
- package/esm2022/lib/ngx-services.module.mjs +33 -0
- package/esm2022/lib/websockets/web-sockets.service.mjs +115 -0
- package/esm2022/public-api.mjs +93 -0
- package/fesm2022/experteam-mx-ngx-services.mjs +9 -0
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +11 -1
- package/lib/apis/api-billing-do.service.d.ts +24 -0
- package/lib/apis/api-billing-gt.service.d.ts +38 -0
- package/lib/apis/api-billing-mx.service.d.ts +39 -0
- package/lib/apis/api-billing-pa.service.d.ts +68 -0
- package/lib/apis/api-billing-sv.service.d.ts +55 -0
- package/lib/apis/api-cash-operations.service.d.ts +62 -0
- package/lib/apis/api-catalogs.service.d.ts +464 -0
- package/lib/apis/api-companies.service.d.ts +714 -0
- package/lib/apis/api-composition.service.d.ts +35 -0
- package/lib/apis/api-customs.service.d.ts +110 -0
- package/lib/apis/api-discounts.service.d.ts +167 -0
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +49 -0
- package/lib/apis/api-events.service.d.ts +33 -0
- package/lib/apis/api-external-pickups.service.d.ts +46 -0
- package/lib/apis/api-inventories.service.d.ts +145 -0
- package/lib/apis/api-invoices.service.d.ts +280 -0
- package/lib/apis/api-notifications.service.d.ts +70 -0
- package/lib/apis/api-open-items.service.d.ts +41 -0
- package/lib/apis/api-quote.service.d.ts +65 -0
- package/lib/apis/api-reports.service.d.ts +120 -0
- package/lib/apis/api-security.service.d.ts +162 -0
- package/lib/apis/api-services.service.d.ts +61 -0
- package/lib/apis/api-shipments.service.d.ts +77 -0
- package/lib/apis/api-supplies.service.d.ts +93 -0
- package/lib/apis/models/api-billing-do.interfaces.d.ts +6 -0
- package/lib/apis/models/api-billing-do.types.d.ts +5 -0
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +21 -0
- package/lib/apis/models/api-billing-mx.types.d.ts +13 -0
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +26 -0
- package/lib/apis/models/api-billing-pa.types.d.ts +16 -0
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +22 -0
- package/lib/apis/models/api-billing-sv.types.d.ts +21 -0
- package/lib/apis/models/api-billing.models.d.ts +27 -0
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +40 -0
- package/lib/apis/models/api-cash-operations.types.d.ts +30 -0
- package/lib/apis/models/api-catalog.enum.d.ts +7 -0
- package/lib/apis/models/api-catalog.interfaces.d.ts +219 -0
- package/lib/apis/models/api-catalog.types.d.ts +220 -0
- package/lib/apis/models/api-companies.interfaces.d.ts +341 -0
- package/lib/apis/models/api-companies.types.d.ts +458 -0
- package/lib/apis/models/api-composition.interfaces.d.ts +272 -0
- package/lib/apis/models/api-composition.types.d.ts +9 -0
- package/lib/apis/models/api-customs.interfaces.d.ts +125 -0
- package/lib/apis/models/api-customs.types.d.ts +90 -0
- package/lib/apis/models/api-discounts.interfaces.d.ts +78 -0
- package/lib/apis/models/api-discounts.types.d.ts +89 -0
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +45 -0
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +30 -0
- package/lib/apis/models/api-events.enum.d.ts +5 -0
- package/lib/apis/models/api-events.interfaces.d.ts +21 -0
- package/lib/apis/models/api-events.types.d.ts +14 -0
- package/lib/apis/models/api-external-pickups.types.d.ts +31 -0
- package/lib/apis/models/api-inventories.enum.d.ts +18 -0
- package/lib/apis/models/api-inventories.interfaces.d.ts +40 -0
- package/lib/apis/models/api-inventories.types.d.ts +62 -0
- package/lib/apis/models/api-invoices.interfaces.d.ts +267 -0
- package/lib/apis/models/api-invoices.types.d.ts +195 -0
- package/lib/apis/models/api-notifications.interfaces.d.ts +36 -0
- package/lib/apis/models/api-notifications.types.d.ts +34 -0
- package/lib/apis/models/api-open-items.interfaces.d.ts +32 -0
- package/lib/apis/models/api-open-items.types.d.ts +58 -0
- package/lib/apis/models/api-quote.interfaces.d.ts +13 -0
- package/lib/apis/models/api-quote.types.d.ts +17 -0
- package/lib/apis/models/api-reports.interfaces.d.ts +347 -0
- package/lib/apis/models/api-reports.types.d.ts +59 -0
- package/lib/apis/models/api-security.interfaces.d.ts +68 -0
- package/lib/apis/models/api-security.types.d.ts +72 -0
- package/lib/apis/models/api-services.interfaces.d.ts +43 -0
- package/lib/apis/models/api-services.types.d.ts +57 -0
- package/lib/apis/models/api-shipments.enums.d.ts +6 -0
- package/lib/apis/models/api-shipments.interfaces.d.ts +41 -0
- package/lib/apis/models/api-shipments.types.d.ts +121 -0
- package/lib/apis/models/api-supplies.interfaces.d.ts +40 -0
- package/lib/apis/models/api-supplies.types.d.ts +50 -0
- package/lib/apis/models/api.models.d.ts +36 -0
- package/lib/cypher/crypto.service.d.ts +15 -0
- package/lib/helpers/files.d.ts +2 -0
- package/lib/helpers/http.d.ts +38 -0
- package/lib/interceptors/api-headers.interceptor.d.ts +12 -0
- package/lib/interceptors/api-token.interceptor.d.ts +11 -0
- package/lib/interceptors/http-caching.interceptor.d.ts +12 -0
- package/lib/ngx-services.models.d.ts +63 -0
- package/lib/ngx-services.module.d.ts +16 -0
- package/lib/websockets/web-sockets.service.d.ts +49 -0
- package/package.json +1 -1
- package/public-api.d.ts +83 -0
package/index.d.ts
CHANGED
|
@@ -893,6 +893,9 @@ type CurrenciesOut = {
|
|
|
893
893
|
total: number;
|
|
894
894
|
currencies: Currency[];
|
|
895
895
|
};
|
|
896
|
+
type CurrencyOut = {
|
|
897
|
+
currency: Currency;
|
|
898
|
+
};
|
|
896
899
|
type LanguagesOut = {
|
|
897
900
|
total: number;
|
|
898
901
|
languages: Language[];
|
|
@@ -1210,6 +1213,12 @@ declare class ApiCatalogsService {
|
|
|
1210
1213
|
* @return {Observable<CurrenciesOut>} An observable that emits the retrieved currencies data.
|
|
1211
1214
|
*/
|
|
1212
1215
|
getCurrencies(params: QueryParams): Observable<CurrenciesOut>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Retrieves currency information by ID.
|
|
1218
|
+
* @param id - The unique identifier of the currency to retrieve.
|
|
1219
|
+
* @returns An Observable that emits the currency data.
|
|
1220
|
+
*/
|
|
1221
|
+
getCurrency(id: number): Observable<CurrencyOut>;
|
|
1213
1222
|
/**
|
|
1214
1223
|
* Fetches the list of available languages based on the provided query parameters.
|
|
1215
1224
|
*
|
|
@@ -5741,6 +5750,7 @@ interface ShipmentReports {
|
|
|
5741
5750
|
interface ShipmentLandingReport extends ActiveLessLaravelModel {
|
|
5742
5751
|
authorization_numbers: string[] | null;
|
|
5743
5752
|
commercial_invoice: boolean | null;
|
|
5753
|
+
company_country_id: number;
|
|
5744
5754
|
company_id: number;
|
|
5745
5755
|
company_name: string;
|
|
5746
5756
|
country_id: number;
|
|
@@ -7149,4 +7159,4 @@ declare const xmlHeaders: (format?: "object" | "http_header") => HttpHeaders | {
|
|
|
7149
7159
|
};
|
|
7150
7160
|
|
|
7151
7161
|
export { AlphaNumeric, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, CryptoService, DefaultValueType, ENVIRONMENT_TOKEN, Event, NgxServicesModule, OperationModuleStatus, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiKeyInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, queryString, xmlHeaders };
|
|
7152
|
-
export type { Account, AccountCategoriesOut, AccountCategory, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountPayment, AccountResponse, AccountToTDX, AccountType, AccountTypeIn, AccountTypeOut, AccountTypesOut, AccountsOut, ActiveLessLaravelModel, ActiveLessSymfonyModel, AdditionalData, ApiBillingConfigurable, ApiModel, ApiResponse, ApiSuccess, Attribute, AttributeIn, AttributeWithId, Attributes, AuthLoginIn, AuthLoginOut, AuthMeOut, AuthUserLoginIn, BillingConfig, BillingConfigIn, BillingConfigOut, BillingConfigsOut, BillingPaCustomer, BillingPaCustomerOut, BoardingProcess, BoardingProcessHistory, BoardingProcessIdIn, BoardingProcessIn, BoardingProcessStatus, BusinessPartyTraderType, BusinessPartyTraderTypesOut, CFDI, CancelPaymentReceiptIn, CancellationReason, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CashValueSummary, CashValueSummaryOut, Catalog, CatalogLess, CatalogsOut, ChangeLanguageIn, Checkpoint, CheckpointEventReason, CheckpointEventReasonsOut, CheckpointsOut, City, CollectionPayment, CollectionPaymentsOut, CommercialInvoice, Commodity, Company, CompanyCountriesOut, CompanyCountry, CompanyCountryIn, CompanyCountryOut, CompanyCountryTax, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CompositionCountryReferencesOut, CountriesOut, Country, CountryCurrencyRate, CountryDocumentType, CountryExchange, CountryGroups, CountryGroupsOut, CountryIn, CountryOut, CountryPaymentType, CountryPaymentTypeField, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CountryReference, CountryReferenceCurrenciesOut, CountryReferenceCurrency, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraCharge, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProduct, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, Criteria, CriteriaCustom, CriteriaIn, CriteriaOut, CriteriaWithTimestamps, CurrenciesOut, Currency, Customer, CustomerComposition, CustomerCountryDocumentType, CustomerDocumentTypesOut, CustomerOpenItem, CustomerOtherInvoice, CustomerRestriction, CustomerRestrictionIn, CustomerRestrictionInV2, CustomerRestrictionOut, CustomerRestrictionsOut, CustomerType, CustomerTypesOut, CustomersOut, Customs, DeliveryConfirmationCompleteIn, DeliveryConfirmationGenerateIn, DeliveryConfirmationGenerateOut, DeliveryConfirmationIn, DeliveryConfirmationSearchOut, Department, DepartmentsOut, DependentRules, DestinationCountry, DhlCode, DhlCodeLess, Discount, DiscountIn, DiscountOut, DiscountsOut, District, DistrictsOut, Document, DocumentCategory, DocumentCategoryReports, DocumentFunction, DocumentItem, DocumentPayment, DocumentRequests, DocumentStatus, DocumentStatusesOut, DocumentType, DocumentTypeComposition, DocumentTypeRange, DocumentTypeReports, Dropdown, DropdownConfig, EconomicActivitiesOut, EconomicActivity, EmailErrorIn, EmbassyShipment, EmbassyShipmentIn, EmbassyShipmentOut, EmbassyShipmentsOut, Employee, EmployeeCustomerDhl, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, Entity, Environment, EstablishmentType, EstablishmentTypesOut, Exchange, ExchangeIn, ExchangeOut, ExchangesOut, ExportType, ExportTypesOut, ExternalShipmentAddress, ExternalShipmentAddressesIn, ExternalShipmentAddressesOut, ExternalShipmentFile, ExternalShipmentFileHistory, ExternalShipmentFileOut, ExternalShipmentHistoriesOut, ExternalShipmentHistory, ExternalShipmentStatus, ExternalShipmentStatusOut, ExternalShipmentStatuses, ExternalShipmentsOut, ExtraCharge, ExtraChargeComposition, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, ExtraChargeEntity, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, Facility, Field, FieldLess, FieldsOut, FileCheckOut, FillFrom, FillFromIn, FiscalRegimen, FiscalRegimensAcceptedOut, FiscalRegimensOut, GenericFolio, GenericFolioIn, GenericFolioOut, GenericFoliosOut, GetDocumentsOut, GetPostalLocationsIn, GetUserOut, GetUsersOut, Holiday, HolidayIn, HolidayOut, HolidaysOut, IdentificationType, IdentificationTypeComposition, IdentificationTypeCustomer, IdentificationTypeIn, IdentificationTypeNumberValidationIn, IdentificationTypeNumberValidationOut, IdentificationTypeOut, IdentificationTypesOut, Incident, IncidentIn, IncidentOut, IncidentReason, IncidentReasonComplement, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut, IncomeType, IncomeTypesOut, Installation, InstallationCountryReferenceCurrenciesOut, InstallationCountryReferenceCurrency, InstallationCountryReferenceCurrencyIn, InstallationCountryReferenceCurrencyOut, InstallationIn, InstallationOut, InstallationsOut, Invoice, InvoiceTypeCustomParamsIn, InvoicesOut, Item, Language, LanguagesOut, LaravelModel, Location, LocationEmployee, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesIn, LocationEmployeesOut, LocationIn, LocationOut, LocationType, LocationTypeFields, LocationsOut, LoyaltyPeriod, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRule, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, ManagementArea, ManagementAreasOut, ManifestMultipleIn, ManifestMultipleOut, ManufactureCountry, Module, ModuleType, ModulesOut, MunicipalitiesOut, Municipality, Notification, NotificationConfiguration, NotificationConfigurationIn, NotificationConfigurationOut, NotificationIn, NotificationOut, NotificationStatus, NotificationType, NotificationsOut, NotificationsTypeOut, OpenItem, OpenItemIn, OpenItems, OpenItemsOut, OpeningTransference, OpeningTransferenceIn, OpeningTransferenceOut, Operation, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationAction, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationDocumentRequestsOut, OperationEvent, OperationModule, OperationModuleEndIn, OperationModuleOut, OperationModuleStartIn, OperationPrintDocumentOut, OperationPrintXmlOut, OperationShipmentExternalIn, OperationShipmentExternalOut, OperationType, OperationTypesOut, OperationsLoadTopCustomerV2In, OtherInvoiceIn, OtherInvoiceOut, OtherInvoices, Override, OverridesOut, PackageLocation, PackagesInStockIn, PackagesInStockOut, Parameter, ParameterConfig, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParameterValueIn, ParameterValueOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, Parish, ParishesOut, PartialWithdrawal, PartialWithdrawalsOut, Payment, PaymentDetail, PaymentOpenItemIn, PaymentOut, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardType, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, Permission, PersonType, PersonTypesOut, Pivot, PostalCode, PostalCodeBillings, PostalCodesOut, PostalLocation, PostalLocationsOut, PrintCollectionReceiptOut, Product, ProductEntitiesIn, ProductEntitiesOut, ProductEntity, ProductIn, ProductOut, ProductSubtotal, PromotionCodeDiscount, PromotionCodeDiscountsOut, PromotionIn, PromotionOut, Province, ProvincesOut, PutUsersIn, PutUsersOut, QuantityUnit, QueryParams, Question, QuestionIn, QuestionOut, QuestionsOut, QuoteEvent, QuoteEventIn, QuoteEventOut, QuoteEventType, QuoteEventTypesOut, QuoteEventsOut, ReceiptFile, ReceiptFileOut, Region, RegionsOut, ReportExternalShipment, ReportExternalShipmentAddress, Role, RoleIn, RoleOut, RoleType, RoleTypesOut, RolesOut, Rule, RuleByCriteria, RuleCriteriaIn, RuleIn, RuleOut, Rules, RulesByCriteriaOut, RulesIn, RulesOut, Sales, SalesBookReportOut, ServiceArea, ServiceAreaIn, ServiceAreasOut, Session, SessionIn, SessionOut, ShipmentAddresses, ShipmentBookPickup, ShipmentCancellationIn, ShipmentCancellationOut, ShipmentCompanyCountryExtraCharges, ShipmentComposition, ShipmentContentType, ShipmentContentTypesOut, ShipmentEmployeeCustomer, ShipmentEmployeeCustomers, ShipmentGroup, ShipmentGroupsOut, ShipmentGsop, ShipmentIncomeType, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentLandingReport, ShipmentOut, ShipmentPieceCompanyCountrySupplies, ShipmentPieces, ShipmentReports, ShipmentScope, ShipmentScopesOut, ShipmentStatus, ShipmentStatusesOut, ShipmentTag, ShipmentsLandingReportOut, ShipmentsReportOut, State, Suburb, SuppliesOut, Supply, SupplyEntitiesIn, SupplyEntitiesOut, SupplyEntity, SupplyEntityPacking, SupplyEntityType, SupplyIn, SupplyLocation, SupplyLocationIn, SupplyLocationOut, SupplyLocationTransaction, SupplyLocationTransactionIn, SupplyLocationTransactionOut, SupplyLocationsOut, SupplyOut, SupplyPacking, SupplyTransactionType, SupplyTransactionTypesOut, SupplyType, SupplyTypesOut, SymfonyModel, System, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSetting, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, Tax, TextConfig, Tolerance, ToleranceIn, ToleranceOut, TolerancesOut, TopCustomer, TopCustomersOut, TradingTransactionType, TransferenceType, Translations, UniqueFolio, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, Unit, UnitsOut, User, UserMe, ValidateAccountIn, ValidateAccountOut, ValidateFacilityIn, ValidateFacilityOut, ValidateIdentificationBRIn, ValidateIdentificationBROut, ValidateNIPIn, ValidateNIPOut, Values, WithdrawalAmount, WorkflowConfig, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut, Zone, ZonesOut };
|
|
7162
|
+
export type { Account, AccountCategoriesOut, AccountCategory, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountPayment, AccountResponse, AccountToTDX, AccountType, AccountTypeIn, AccountTypeOut, AccountTypesOut, AccountsOut, ActiveLessLaravelModel, ActiveLessSymfonyModel, AdditionalData, ApiBillingConfigurable, ApiModel, ApiResponse, ApiSuccess, Attribute, AttributeIn, AttributeWithId, Attributes, AuthLoginIn, AuthLoginOut, AuthMeOut, AuthUserLoginIn, BillingConfig, BillingConfigIn, BillingConfigOut, BillingConfigsOut, BillingPaCustomer, BillingPaCustomerOut, BoardingProcess, BoardingProcessHistory, BoardingProcessIdIn, BoardingProcessIn, BoardingProcessStatus, BusinessPartyTraderType, BusinessPartyTraderTypesOut, CFDI, CancelPaymentReceiptIn, CancellationReason, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CashValueSummary, CashValueSummaryOut, Catalog, CatalogLess, CatalogsOut, ChangeLanguageIn, Checkpoint, CheckpointEventReason, CheckpointEventReasonsOut, CheckpointsOut, City, CollectionPayment, CollectionPaymentsOut, CommercialInvoice, Commodity, Company, CompanyCountriesOut, CompanyCountry, CompanyCountryIn, CompanyCountryOut, CompanyCountryTax, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CompositionCountryReferencesOut, CountriesOut, Country, CountryCurrencyRate, CountryDocumentType, CountryExchange, CountryGroups, CountryGroupsOut, CountryIn, CountryOut, CountryPaymentType, CountryPaymentTypeField, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CountryReference, CountryReferenceCurrenciesOut, CountryReferenceCurrency, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraCharge, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProduct, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, Criteria, CriteriaCustom, CriteriaIn, CriteriaOut, CriteriaWithTimestamps, CurrenciesOut, Currency, CurrencyOut, Customer, CustomerComposition, CustomerCountryDocumentType, CustomerDocumentTypesOut, CustomerOpenItem, CustomerOtherInvoice, CustomerRestriction, CustomerRestrictionIn, CustomerRestrictionInV2, CustomerRestrictionOut, CustomerRestrictionsOut, CustomerType, CustomerTypesOut, CustomersOut, Customs, DeliveryConfirmationCompleteIn, DeliveryConfirmationGenerateIn, DeliveryConfirmationGenerateOut, DeliveryConfirmationIn, DeliveryConfirmationSearchOut, Department, DepartmentsOut, DependentRules, DestinationCountry, DhlCode, DhlCodeLess, Discount, DiscountIn, DiscountOut, DiscountsOut, District, DistrictsOut, Document, DocumentCategory, DocumentCategoryReports, DocumentFunction, DocumentItem, DocumentPayment, DocumentRequests, DocumentStatus, DocumentStatusesOut, DocumentType, DocumentTypeComposition, DocumentTypeRange, DocumentTypeReports, Dropdown, DropdownConfig, EconomicActivitiesOut, EconomicActivity, EmailErrorIn, EmbassyShipment, EmbassyShipmentIn, EmbassyShipmentOut, EmbassyShipmentsOut, Employee, EmployeeCustomerDhl, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, Entity, Environment, EstablishmentType, EstablishmentTypesOut, Exchange, ExchangeIn, ExchangeOut, ExchangesOut, ExportType, ExportTypesOut, ExternalShipmentAddress, ExternalShipmentAddressesIn, ExternalShipmentAddressesOut, ExternalShipmentFile, ExternalShipmentFileHistory, ExternalShipmentFileOut, ExternalShipmentHistoriesOut, ExternalShipmentHistory, ExternalShipmentStatus, ExternalShipmentStatusOut, ExternalShipmentStatuses, ExternalShipmentsOut, ExtraCharge, ExtraChargeComposition, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, ExtraChargeEntity, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, Facility, Field, FieldLess, FieldsOut, FileCheckOut, FillFrom, FillFromIn, FiscalRegimen, FiscalRegimensAcceptedOut, FiscalRegimensOut, GenericFolio, GenericFolioIn, GenericFolioOut, GenericFoliosOut, GetDocumentsOut, GetPostalLocationsIn, GetUserOut, GetUsersOut, Holiday, HolidayIn, HolidayOut, HolidaysOut, IdentificationType, IdentificationTypeComposition, IdentificationTypeCustomer, IdentificationTypeIn, IdentificationTypeNumberValidationIn, IdentificationTypeNumberValidationOut, IdentificationTypeOut, IdentificationTypesOut, Incident, IncidentIn, IncidentOut, IncidentReason, IncidentReasonComplement, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut, IncomeType, IncomeTypesOut, Installation, InstallationCountryReferenceCurrenciesOut, InstallationCountryReferenceCurrency, InstallationCountryReferenceCurrencyIn, InstallationCountryReferenceCurrencyOut, InstallationIn, InstallationOut, InstallationsOut, Invoice, InvoiceTypeCustomParamsIn, InvoicesOut, Item, Language, LanguagesOut, LaravelModel, Location, LocationEmployee, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesIn, LocationEmployeesOut, LocationIn, LocationOut, LocationType, LocationTypeFields, LocationsOut, LoyaltyPeriod, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRule, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, ManagementArea, ManagementAreasOut, ManifestMultipleIn, ManifestMultipleOut, ManufactureCountry, Module, ModuleType, ModulesOut, MunicipalitiesOut, Municipality, Notification, NotificationConfiguration, NotificationConfigurationIn, NotificationConfigurationOut, NotificationIn, NotificationOut, NotificationStatus, NotificationType, NotificationsOut, NotificationsTypeOut, OpenItem, OpenItemIn, OpenItems, OpenItemsOut, OpeningTransference, OpeningTransferenceIn, OpeningTransferenceOut, Operation, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationAction, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationDocumentRequestsOut, OperationEvent, OperationModule, OperationModuleEndIn, OperationModuleOut, OperationModuleStartIn, OperationPrintDocumentOut, OperationPrintXmlOut, OperationShipmentExternalIn, OperationShipmentExternalOut, OperationType, OperationTypesOut, OperationsLoadTopCustomerV2In, OtherInvoiceIn, OtherInvoiceOut, OtherInvoices, Override, OverridesOut, PackageLocation, PackagesInStockIn, PackagesInStockOut, Parameter, ParameterConfig, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParameterValueIn, ParameterValueOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, Parish, ParishesOut, PartialWithdrawal, PartialWithdrawalsOut, Payment, PaymentDetail, PaymentOpenItemIn, PaymentOut, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardType, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, Permission, PersonType, PersonTypesOut, Pivot, PostalCode, PostalCodeBillings, PostalCodesOut, PostalLocation, PostalLocationsOut, PrintCollectionReceiptOut, Product, ProductEntitiesIn, ProductEntitiesOut, ProductEntity, ProductIn, ProductOut, ProductSubtotal, PromotionCodeDiscount, PromotionCodeDiscountsOut, PromotionIn, PromotionOut, Province, ProvincesOut, PutUsersIn, PutUsersOut, QuantityUnit, QueryParams, Question, QuestionIn, QuestionOut, QuestionsOut, QuoteEvent, QuoteEventIn, QuoteEventOut, QuoteEventType, QuoteEventTypesOut, QuoteEventsOut, ReceiptFile, ReceiptFileOut, Region, RegionsOut, ReportExternalShipment, ReportExternalShipmentAddress, Role, RoleIn, RoleOut, RoleType, RoleTypesOut, RolesOut, Rule, RuleByCriteria, RuleCriteriaIn, RuleIn, RuleOut, Rules, RulesByCriteriaOut, RulesIn, RulesOut, Sales, SalesBookReportOut, ServiceArea, ServiceAreaIn, ServiceAreasOut, Session, SessionIn, SessionOut, ShipmentAddresses, ShipmentBookPickup, ShipmentCancellationIn, ShipmentCancellationOut, ShipmentCompanyCountryExtraCharges, ShipmentComposition, ShipmentContentType, ShipmentContentTypesOut, ShipmentEmployeeCustomer, ShipmentEmployeeCustomers, ShipmentGroup, ShipmentGroupsOut, ShipmentGsop, ShipmentIncomeType, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentLandingReport, ShipmentOut, ShipmentPieceCompanyCountrySupplies, ShipmentPieces, ShipmentReports, ShipmentScope, ShipmentScopesOut, ShipmentStatus, ShipmentStatusesOut, ShipmentTag, ShipmentsLandingReportOut, ShipmentsReportOut, State, Suburb, SuppliesOut, Supply, SupplyEntitiesIn, SupplyEntitiesOut, SupplyEntity, SupplyEntityPacking, SupplyEntityType, SupplyIn, SupplyLocation, SupplyLocationIn, SupplyLocationOut, SupplyLocationTransaction, SupplyLocationTransactionIn, SupplyLocationTransactionOut, SupplyLocationsOut, SupplyOut, SupplyPacking, SupplyTransactionType, SupplyTransactionTypesOut, SupplyType, SupplyTypesOut, SymfonyModel, System, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSetting, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, Tax, TextConfig, Tolerance, ToleranceIn, ToleranceOut, TolerancesOut, TopCustomer, TopCustomersOut, TradingTransactionType, TransferenceType, Translations, UniqueFolio, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, Unit, UnitsOut, User, UserMe, ValidateAccountIn, ValidateAccountOut, ValidateFacilityIn, ValidateFacilityOut, ValidateIdentificationBRIn, ValidateIdentificationBROut, ValidateNIPIn, ValidateNIPOut, Values, WithdrawalAmount, WorkflowConfig, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut, Zone, ZonesOut };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { IncomeTypesOut } from './models/api-billing-do.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ApiBillingDOService {
|
|
7
|
+
private environments;
|
|
8
|
+
private http;
|
|
9
|
+
constructor(environments: Environment, http: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the URL for the shipments API from the environment configurations.
|
|
12
|
+
*
|
|
13
|
+
* @return {string} The URL of the shipments API.
|
|
14
|
+
*/
|
|
15
|
+
get url(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a list of income types
|
|
18
|
+
*
|
|
19
|
+
* @return {Observable<ApiSuccess<IncomeTypesOut>>} An observable that emits the income types data.
|
|
20
|
+
*/
|
|
21
|
+
getIncomeTypes(): Observable<IncomeTypesOut>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingDOService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingDOService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ApiBillingGtService implements ApiBillingConfigurable {
|
|
7
|
+
private environments;
|
|
8
|
+
private http;
|
|
9
|
+
constructor(environments: Environment, http: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the URL for the billing GT API from the environment configurations.
|
|
12
|
+
*
|
|
13
|
+
* @return {string} The URL of the shipments API.
|
|
14
|
+
*/
|
|
15
|
+
get url(): string;
|
|
16
|
+
/**
|
|
17
|
+
* RRetrieves the list of billing configurations to locations
|
|
18
|
+
*
|
|
19
|
+
* @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
|
|
20
|
+
*/
|
|
21
|
+
getConfigs(): Observable<BillingConfigsOut>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the details of a location in billing configurations
|
|
24
|
+
*
|
|
25
|
+
* @param {number} id - The id of the location to fetch.
|
|
26
|
+
* @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
|
|
27
|
+
*/
|
|
28
|
+
getConfig(id: number): Observable<BillingConfigOut>;
|
|
29
|
+
/**
|
|
30
|
+
* Sends a POST request to create a new billing configuration location.
|
|
31
|
+
*
|
|
32
|
+
* @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
|
|
33
|
+
* @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
|
|
34
|
+
*/
|
|
35
|
+
postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingGtService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingGtService>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { FiscalRegimensAcceptedOut, FiscalRegimensOut, PostalCodesOut } from './models/api-billing-mx.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApiBillingMxService {
|
|
8
|
+
private environments;
|
|
9
|
+
private http;
|
|
10
|
+
constructor(environments: Environment, http: HttpClient);
|
|
11
|
+
/**
|
|
12
|
+
* Retrieves the URL for the shipments API from the environment configurations.
|
|
13
|
+
*
|
|
14
|
+
* @return {string} The URL of the shipments API.
|
|
15
|
+
*/
|
|
16
|
+
get url(): string;
|
|
17
|
+
/**
|
|
18
|
+
* Fetches the tax regimen data from the server.
|
|
19
|
+
*
|
|
20
|
+
* @return {Observable<FiscalRegimensOut>} An observable that emits the fiscal regimen data.
|
|
21
|
+
*/
|
|
22
|
+
getFiscalRegimens(): Observable<FiscalRegimensOut>;
|
|
23
|
+
/**
|
|
24
|
+
* Fetches a paginated list of CFDIs (Comprobante Fiscal Digital por Internet) based on the provided fiscal regimen.
|
|
25
|
+
*
|
|
26
|
+
* @param {number} fiscalRegimen - The fiscal regimen identifier to filter the CFDIs.
|
|
27
|
+
* @return {Observable<FiscalRegimensAcceptedOut>} An observable containing the paginated list of CFDIs.
|
|
28
|
+
*/
|
|
29
|
+
getFiscalRegimensAccepted(fiscalRegimen: number): Observable<FiscalRegimensAcceptedOut>;
|
|
30
|
+
/**
|
|
31
|
+
* Fetches and validates postal code data from the server.
|
|
32
|
+
*
|
|
33
|
+
* @param {QueryParams} params - Query parameters used to filter the postal code data.
|
|
34
|
+
* @return {Observable<PostalCodesOut>} - An observable emitting the validated postal code data.
|
|
35
|
+
*/
|
|
36
|
+
getPostalCodes(params: QueryParams): Observable<PostalCodesOut>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingMxService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingMxService>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { BillingPaCustomerOut, DistrictsOut, ParishesOut, ProvincesOut } from './models/api-billing-pa.types';
|
|
6
|
+
import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ApiBillingPaService implements ApiBillingConfigurable {
|
|
9
|
+
private environments;
|
|
10
|
+
private http;
|
|
11
|
+
constructor(environments: Environment, http: HttpClient);
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the URL for the Billing Pa API from the environment configurations.
|
|
14
|
+
*
|
|
15
|
+
* @return {string} The URL of the Billing Pa API.
|
|
16
|
+
*/
|
|
17
|
+
get url(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves a list of districts based on query parameters.
|
|
20
|
+
*
|
|
21
|
+
* @param {QueryParams} params - Query parameters for filtering the districts.
|
|
22
|
+
* @returns {Observable<DistrictsOut>} The list of districts.
|
|
23
|
+
*/
|
|
24
|
+
getDistricts(params: QueryParams): Observable<DistrictsOut>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a list of parishes based on query parameters.
|
|
27
|
+
*
|
|
28
|
+
* @param {QueryParams} params - Query parameters for filtering the parishes.
|
|
29
|
+
* @returns {Observable<ParishesOut>} The list of parishes.
|
|
30
|
+
*/
|
|
31
|
+
getParishes(params: QueryParams): Observable<ParishesOut>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a list of provinces based on query parameters.
|
|
34
|
+
*
|
|
35
|
+
* @param {QueryParams} params - Query parameters for filtering the provinces.
|
|
36
|
+
* @returns {Observable<ProvincesOut>} The list of provinces.
|
|
37
|
+
*/
|
|
38
|
+
getProvinces(params: QueryParams): Observable<ProvincesOut>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves the details of a customer based on query parameters.
|
|
41
|
+
*
|
|
42
|
+
* @param {QueryParams} params - Query parameters for get customer.
|
|
43
|
+
* @return {Observable<BillingPaCustomerOut>} An observable that emits customer data.
|
|
44
|
+
*/
|
|
45
|
+
getValidateCustomer(params: QueryParams): Observable<BillingPaCustomerOut>;
|
|
46
|
+
/**
|
|
47
|
+
* RRetrieves the list of billing configurations to locations
|
|
48
|
+
*
|
|
49
|
+
* @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
|
|
50
|
+
*/
|
|
51
|
+
getConfigs(): Observable<BillingConfigsOut>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves the details of a location in billing configurations
|
|
54
|
+
*
|
|
55
|
+
* @param {number} id - The id of the location to fetch.
|
|
56
|
+
* @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
|
|
57
|
+
*/
|
|
58
|
+
getConfig(id: number): Observable<BillingConfigOut>;
|
|
59
|
+
/**
|
|
60
|
+
* Sends a POST request to create a new billing configuration location.
|
|
61
|
+
*
|
|
62
|
+
* @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
|
|
63
|
+
* @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
|
|
64
|
+
*/
|
|
65
|
+
postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingPaService, never>;
|
|
67
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingPaService>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { DepartmentsOut, EconomicActivitiesOut, EstablishmentTypesOut, MunicipalitiesOut, PersonTypesOut } from './models/api-billing-sv.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApiBillingSvService {
|
|
8
|
+
private environments;
|
|
9
|
+
private http;
|
|
10
|
+
constructor(environments: Environment, http: HttpClient);
|
|
11
|
+
/**
|
|
12
|
+
* Retrieves the URL for the billing API.
|
|
13
|
+
* If the URL is not defined in the environments configuration, returns an empty string.
|
|
14
|
+
*
|
|
15
|
+
* @return {string} The billing API URL or an empty string if not set.
|
|
16
|
+
*/
|
|
17
|
+
get url(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Fetches the list of economic activities based on the provided query parameters.
|
|
20
|
+
*
|
|
21
|
+
* @param {QueryParams} params - The query parameters used to filter the economic activities.
|
|
22
|
+
* @return {Observable<EconomicActivitiesOut>} An observable that emits the list of economic activities.
|
|
23
|
+
*/
|
|
24
|
+
getEconomicActivities(params: QueryParams): Observable<EconomicActivitiesOut>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves the list of person types based on given query parameters.
|
|
27
|
+
*
|
|
28
|
+
* @param {QueryParams} params - The query parameters used to filter the person types.
|
|
29
|
+
* @return {Observable<PersonTypesOut>} An observable that emits a list of person types.
|
|
30
|
+
*/
|
|
31
|
+
getPersonTypes(params: QueryParams): Observable<PersonTypesOut>;
|
|
32
|
+
/**
|
|
33
|
+
* Fetches the list of establishment types.
|
|
34
|
+
*
|
|
35
|
+
* @param {QueryParams} params The query parameters to be sent with the HTTP request.
|
|
36
|
+
* @return {Observable<EstablishmentTypesOut>} An observable that emits the establishment types data.
|
|
37
|
+
*/
|
|
38
|
+
getEstablishmentTypes(params: QueryParams): Observable<EstablishmentTypesOut>;
|
|
39
|
+
/**
|
|
40
|
+
* Fetches the list of departments based on the provided query parameters.
|
|
41
|
+
*
|
|
42
|
+
* @param {QueryParams} params - The query parameters to filter or modify the departments fetch request.
|
|
43
|
+
* @return {Observable<DepartmentsOut>} An observable emitting the list of departments.
|
|
44
|
+
*/
|
|
45
|
+
getDepartments(params: QueryParams): Observable<DepartmentsOut>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves a list of municipalities based on the provided query parameters.
|
|
48
|
+
*
|
|
49
|
+
* @param {QueryParams} params - The query parameters used to filter the municipalities.
|
|
50
|
+
* @return {Observable<MunicipalitiesOut>} An observable that emits the retrieved municipalities data.
|
|
51
|
+
*/
|
|
52
|
+
getMunicipalities(params: QueryParams): Observable<MunicipalitiesOut>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingSvService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingSvService>;
|
|
55
|
+
}
|
|
@@ -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
|
+
}
|