@jctrans-materials/shared 1.0.34-beta.7 → 1.0.35-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.d.ts +9 -0
- package/dist/index.esm.js +484 -471
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ export declare const currentConfig: {
|
|
|
121
121
|
readonly basePath: string;
|
|
122
122
|
readonly carrierPath: string;
|
|
123
123
|
readonly linePath: string;
|
|
124
|
+
readonly allLinePath: string;
|
|
124
125
|
readonly oldBasePath: string;
|
|
125
126
|
readonly prefixPath: string;
|
|
126
127
|
};
|
|
@@ -335,6 +336,7 @@ export declare const getSharedConfig: () => {
|
|
|
335
336
|
readonly basePath: string;
|
|
336
337
|
readonly carrierPath: string;
|
|
337
338
|
readonly linePath: string;
|
|
339
|
+
readonly allLinePath: string;
|
|
338
340
|
readonly oldBasePath: string;
|
|
339
341
|
readonly prefixPath: string;
|
|
340
342
|
};
|
|
@@ -532,6 +534,12 @@ export declare const locationSearchV2: {
|
|
|
532
534
|
_buildPayload: (params: Partial<SearchByNameParams> & {
|
|
533
535
|
ids?: number[];
|
|
534
536
|
}, lineType: "air" | "shipping") => LineRequestPayload;
|
|
537
|
+
searchAllByCountry: (lineType: "air" | "shipping", countryId?: number) => Promise<{
|
|
538
|
+
records: LocationUnifiedItem[];
|
|
539
|
+
total: number;
|
|
540
|
+
current: number;
|
|
541
|
+
size: number;
|
|
542
|
+
}>;
|
|
535
543
|
/**
|
|
536
544
|
* 搜索海运航线 (Shipping Line)
|
|
537
545
|
* 例如:AE1, TP9
|
|
@@ -922,6 +930,7 @@ export declare interface SharedConfig {
|
|
|
922
930
|
oldSearchPath: string;
|
|
923
931
|
carrierPath: string;
|
|
924
932
|
linePath: string;
|
|
933
|
+
allLinePath: string;
|
|
925
934
|
appId?: string;
|
|
926
935
|
}
|
|
927
936
|
|