@be-link/tfs-cli-nodejs 0.0.173 → 0.0.174
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/package.json
CHANGED
|
@@ -7,8 +7,8 @@ declare class OrderTouristMaterialService extends BaseService implements Service
|
|
|
7
7
|
create(request: Service.Request.ICreate): Promise<void>;
|
|
8
8
|
batchUpsert<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterial)[]>(request: Service.Request.IBatchUpsert<K>): Promise<void>;
|
|
9
9
|
queryTouristMaterialAndMaterialItem(request: Service.Request.IQueryTouristMaterialAndMaterialItem): Promise<Service.Response.IQueryTouristMaterialAndMaterialItem[]>;
|
|
10
|
-
getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Service.Request.IGetTouristMaterialItemById<K>): Promise<
|
|
11
|
-
queryTouristMaterialLogByOrderId<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialLog)[]>(request: Service.Request.IQueryTouristMaterialLogByOrderId<K>): Promise<Service.Response.IQueryTouristMaterialLogByOrderId
|
|
10
|
+
getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Service.Request.IGetTouristMaterialItemById<K>): Promise<Fulfill.Entity.PositiveOrderTouristMaterialItemRes<K>>;
|
|
11
|
+
queryTouristMaterialLogByOrderId<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialLog)[]>(request: Service.Request.IQueryTouristMaterialLogByOrderId<K>): Promise<Service.Response.IQueryTouristMaterialLogByOrderId<K>>;
|
|
12
12
|
checkOrderTouristMaterialDone(request: Service.Request.ICheckOrderTouristMaterialDone): Promise<Record<string, boolean>>;
|
|
13
13
|
queryOrderTouristMaterialInfo(request: Service.Request.IQueryOrderTouristMaterialInfo): Promise<Record<string, Service.Response.IQueryOrderTouristMaterialInfo>>;
|
|
14
14
|
getTouristMaterialItemDetail(request: Service.Request.IGetTouristMaterialItemDetail): Promise<Service.Response.IGetTouristMaterialItemDetail>;
|
|
@@ -33,7 +33,7 @@ export declare namespace Service {
|
|
|
33
33
|
orderId: string;
|
|
34
34
|
touristIds?: string[];
|
|
35
35
|
collectType?: CommodityEnums.TourMaterialCollectType;
|
|
36
|
-
|
|
36
|
+
queryColumns?: K;
|
|
37
37
|
}
|
|
38
38
|
interface ICheckOrderTouristMaterialDone {
|
|
39
39
|
orderIds: string[];
|
|
@@ -84,7 +84,7 @@ export declare namespace Service {
|
|
|
84
84
|
touristMaterial: Fulfill.Entity.PositiveOrderTouristMaterial;
|
|
85
85
|
touristMaterialItems: Fulfill.Entity.PositiveOrderTouristMaterialItem[];
|
|
86
86
|
}
|
|
87
|
-
type IQueryTouristMaterialLogByOrderId = Record<string,
|
|
87
|
+
type IQueryTouristMaterialLogByOrderId<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialLog)[]> = Record<string, Fulfill.Entity.PositiveOrderTouristMaterialLogRes<K>[]>;
|
|
88
88
|
interface IQueryOrderTouristMaterialInfo {
|
|
89
89
|
orderId: string;
|
|
90
90
|
touristId: string;
|
|
@@ -148,9 +148,9 @@ export declare namespace Service {
|
|
|
148
148
|
/** 查询出行人材料和材料项记录 */
|
|
149
149
|
queryTouristMaterialAndMaterialItem(request: Request.IQueryTouristMaterialAndMaterialItem): Promise<Response.IQueryTouristMaterialAndMaterialItem[]>;
|
|
150
150
|
/** 查询出行人材料项记录 */
|
|
151
|
-
getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Request.IGetTouristMaterialItemById<K>): Promise<
|
|
151
|
+
getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Request.IGetTouristMaterialItemById<K>): Promise<Fulfill.Entity.PositiveOrderTouristMaterialItemRes<K>>;
|
|
152
152
|
/** 查询用户出行材料项审批日志记录 */
|
|
153
|
-
queryTouristMaterialLogByOrderId<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialLog)[]>(request: Request.IQueryTouristMaterialLogByOrderId<K>): Promise<Response.IQueryTouristMaterialLogByOrderId
|
|
153
|
+
queryTouristMaterialLogByOrderId<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialLog)[]>(request: Request.IQueryTouristMaterialLogByOrderId<K>): Promise<Response.IQueryTouristMaterialLogByOrderId<K>>;
|
|
154
154
|
/** 检查订单出行人材料是否都已完成 */
|
|
155
155
|
checkOrderTouristMaterialDone(request: Request.ICheckOrderTouristMaterialDone): Promise<Record<string, boolean>>;
|
|
156
156
|
/** 查询出行人材料记录 */
|
package/types.d.ts
CHANGED
|
@@ -699,6 +699,12 @@ export declare namespace Fulfill {
|
|
|
699
699
|
*/
|
|
700
700
|
extraInfo: TouristMaterialExtraInfo;
|
|
701
701
|
}
|
|
702
|
+
type PositiveOrderTouristMaterialLogRes<K extends (keyof PositiveOrderTouristMaterialLog)[]> = {
|
|
703
|
+
[P in K[number]]: PositiveOrderTouristMaterialLog[P];
|
|
704
|
+
};
|
|
705
|
+
type PositiveOrderTouristMaterialItemRes<K extends (keyof PositiveOrderTouristMaterialItem)[]> = {
|
|
706
|
+
[P in K[number]]: PositiveOrderTouristMaterialItem[P];
|
|
707
|
+
};
|
|
702
708
|
/** 出行材料相关结构 -----------END---------- */
|
|
703
709
|
}
|
|
704
710
|
}
|
package/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAIA,IAAiB,OAAO,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAIA,IAAiB,OAAO,CAqwBvB;AArwBD,WAAiB,OAAO;IAEtB;;OAEG;IACH,IAAiB,SAAS,CAqHzB;IArHD,WAAiB,SAAS;QA4ExB,IAAY,4BAKX;QALD,WAAY,4BAA4B;YACtC,6CAAa,CAAA;YACb,mDAAmB,CAAA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