feat(v2.6.0): authentic 4-courier cancellation, 3-column docs and AI connector fixes
This commit is contained in:
Vendored
+3
-2
@@ -2,6 +2,7 @@ import { CourierAdapter } from "./adapters/base.js";
|
||||
import { GoogleMapsAdapter } from "./adapters/google_maps.js";
|
||||
import { CourierConfig } from "./config.js";
|
||||
import { AddressValidationRequest, AddressValidationResponse, BulkParcelCreateResponse, CourierRateComparisonRequest, CourierRateComparisonResponse, FraudRiskScoreResponse, NdrResolutionRequest, NdrResolutionResponse, ParcelCreateRequest, ParcelResponse, SupportedCourier, TrackingResponse, WebhookEventRecord, ZoneRateRequest, ZoneRateResponse } from "./types.js";
|
||||
export declare function setRegistryDbPool(pool: any): void;
|
||||
export declare function clearIdempotencyStore(): void;
|
||||
export declare function recordWebhookEvent(event: WebhookEventRecord, tenantId?: string): void;
|
||||
export declare function clearWebhookEvents(tenantId?: string): void;
|
||||
@@ -33,9 +34,9 @@ export declare class CourierRegistry {
|
||||
*/
|
||||
resolveNdr(req: NdrResolutionRequest): Promise<NdrResolutionResponse>;
|
||||
/**
|
||||
* Task T8 — cancel_parcel(courier, consignment_id)
|
||||
* Task T8 — cancel_parcel(courier, consignment_id, reason?)
|
||||
*/
|
||||
cancelParcel(courier: SupportedCourier, consignmentId: string): Promise<any>;
|
||||
cancelParcel(courier: SupportedCourier, consignmentId: string, reason?: string): Promise<any>;
|
||||
/**
|
||||
* Task T8 — bulk_create_parcels(items[], dry_run?)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user