@experteam-mx/ngx-services 20.8.6-dev3.0 → 20.8.6
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.
|
@@ -2561,16 +2561,6 @@ class ApiCompositionService {
|
|
|
2561
2561
|
return this.http.get(`${this.url}/shipments/${id}`)
|
|
2562
2562
|
.pipe(map(({ data }) => data));
|
|
2563
2563
|
}
|
|
2564
|
-
/**
|
|
2565
|
-
* Retrieves shipments based on the provided query parameters.
|
|
2566
|
-
*
|
|
2567
|
-
* @param {QueryParams} params - The query parameters for the API request.
|
|
2568
|
-
* @returns {Observable<ShipmentsOut>} An observable that emits the shipments data.
|
|
2569
|
-
*/
|
|
2570
|
-
getShipments(params) {
|
|
2571
|
-
return this.http.get(`${this.url}/shipments`, { params })
|
|
2572
|
-
.pipe(map(({ data }) => data));
|
|
2573
|
-
}
|
|
2574
2564
|
/**
|
|
2575
2565
|
* Fetches the country references data based on the provided query parameters.
|
|
2576
2566
|
*
|
|
@@ -3159,7 +3149,7 @@ class ApiExternalOperationsService {
|
|
|
3159
3149
|
* Retrieves delivery confirmation details based on the provided OTP code.
|
|
3160
3150
|
*
|
|
3161
3151
|
* @param {string} otpCode - The OTP code used to search for delivery confirmation.
|
|
3162
|
-
* @return {Observable<
|
|
3152
|
+
* @return {Observable<DeliveryConfirmationSearchOut>} An observable containing the delivery confirmation data.
|
|
3163
3153
|
*/
|
|
3164
3154
|
getDeliveryConfirmation(otpCode) {
|
|
3165
3155
|
return this.http.get(`${this.url}/delivery-confirmation/search/${otpCode}`)
|
|
@@ -3200,6 +3190,38 @@ class ApiExternalOperationsService {
|
|
|
3200
3190
|
return this.http.put(`${this.url}/delivery-confirmation/confirmation/${otp}`, body)
|
|
3201
3191
|
.pipe(map$1(({ data }) => data));
|
|
3202
3192
|
}
|
|
3193
|
+
/**
|
|
3194
|
+
* Retrieves signature page confirmation information associated with an OTP code.
|
|
3195
|
+
*
|
|
3196
|
+
* @param {string} otpCode - OTP code used to search for the signature page confirmation.
|
|
3197
|
+
* @returns {Observable<SignaturePageConfirmationOut>} An observable containing the signature page confirmation details.
|
|
3198
|
+
*/
|
|
3199
|
+
getSignaturePageConfirmationSearch(otpCode) {
|
|
3200
|
+
return this.http.get(`${this.url}/signature-page-confirmation/search/${otpCode}`)
|
|
3201
|
+
.pipe(map$1(({ data }) => data));
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* Generates a signature page confirmation request for a shipment.
|
|
3205
|
+
*
|
|
3206
|
+
* @param {ShipmentSignaturePageIn} payload - Shipment data required to generate the signature page confirmation.
|
|
3207
|
+
* @returns {Observable<SignaturePageConfirmationGenerateOut>} An observable containing the generated confirmation information.
|
|
3208
|
+
*/
|
|
3209
|
+
postSignaturePageConfirmationGenerate(payload) {
|
|
3210
|
+
return this.http.post(`${this.url}/signature-page-confirmation/generate`, payload)
|
|
3211
|
+
.pipe(map$1(({ data }) => data));
|
|
3212
|
+
}
|
|
3213
|
+
/**
|
|
3214
|
+
* Confirms a shipment signature page using an OTP code.
|
|
3215
|
+
*
|
|
3216
|
+
* @param {ShipmentSignaturePageConfirmationIn} input - Signature page confirmation data.
|
|
3217
|
+
* @param {string} input.otp - OTP code used to validate the confirmation.
|
|
3218
|
+
* @param {...Object} input.body - Additional confirmation information sent in the request body.
|
|
3219
|
+
* @returns {Observable<{}>} An observable that emits the API response data.
|
|
3220
|
+
*/
|
|
3221
|
+
putSignaturePageConfirmation({ otp, ...body }) {
|
|
3222
|
+
return this.http.put(`${this.url}/signature-page-confirmation/${otp}`, body)
|
|
3223
|
+
.pipe(map$1(({ data }) => data));
|
|
3224
|
+
}
|
|
3203
3225
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3204
3226
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
|
|
3205
3227
|
}
|
|
@@ -5560,14 +5582,6 @@ var DocumentStatusCode;
|
|
|
5560
5582
|
DocumentStatusCode[DocumentStatusCode["WITH_ERRORS"] = 3] = "WITH_ERRORS";
|
|
5561
5583
|
})(DocumentStatusCode || (DocumentStatusCode = {}));
|
|
5562
5584
|
|
|
5563
|
-
var CustomerRoleType;
|
|
5564
|
-
(function (CustomerRoleType) {
|
|
5565
|
-
CustomerRoleType["SHIPPER"] = "SP";
|
|
5566
|
-
CustomerRoleType["CONSIGNEE"] = "RV";
|
|
5567
|
-
CustomerRoleType["IMPORTER"] = "IP";
|
|
5568
|
-
CustomerRoleType["EXPORTER"] = "EP";
|
|
5569
|
-
})(CustomerRoleType || (CustomerRoleType = {}));
|
|
5570
|
-
|
|
5571
5585
|
class WebSocketsService {
|
|
5572
5586
|
pusher;
|
|
5573
5587
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
@@ -5934,5 +5948,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5934
5948
|
* Generated bundle index. Do not edit.
|
|
5935
5949
|
*/
|
|
5936
5950
|
|
|
5937
|
-
export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService,
|
|
5951
|
+
export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, InventoryActions, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5938
5952
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|