@be-link/tfs-cli-nodejs 0.0.152 → 0.0.153
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
|
@@ -5,6 +5,7 @@ declare class OrderTouristMaterialService extends BaseService implements Service
|
|
|
5
5
|
protected prefixUrl: string;
|
|
6
6
|
queryTouristMaterial(request: Service.Request.IQueryTouristMaterial): Promise<Record<string, Fulfill.Entity.PositiveOrderTouristMaterial>>;
|
|
7
7
|
create(request: Service.Request.ICreate): Promise<void>;
|
|
8
|
+
batchUpdate(request: Service.Request.IBatchUpdate): Promise<void>;
|
|
8
9
|
checkOrderTouristMaterialDone(request: Service.Request.ICheckOrderTouristMaterialDone): Promise<Record<string, boolean>>;
|
|
9
10
|
queryOrderTouristMaterialInfo(request: Service.Request.IQueryOrderTouristMaterialInfo): Promise<Record<string, Service.Response.IQueryOrderTouristMaterialInfo>>;
|
|
10
11
|
getTouristMaterialItemDetail(request: Service.Request.IGetTouristMaterialItemDetail): Promise<Service.Response.IGetTouristMaterialItemDetail>;
|
|
@@ -16,6 +16,9 @@ class OrderTouristMaterialService extends baseService_1.default {
|
|
|
16
16
|
create(request) {
|
|
17
17
|
return (0, http_1.callApi)(this.getApiUrl(this.create), request);
|
|
18
18
|
}
|
|
19
|
+
batchUpdate(request) {
|
|
20
|
+
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdate), request);
|
|
21
|
+
}
|
|
19
22
|
checkOrderTouristMaterialDone(request) {
|
|
20
23
|
return (0, http_1.callApi)(this.getApiUrl(this.checkOrderTouristMaterialDone), request);
|
|
21
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/touristMaterial/service.ts"],"names":[],"mappings":";;;;;AACA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,2BAA4B,SAAQ,qBAAW;IAArD;;QACY,cAAS,GAAG,mBAAmB,CAAA;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CAAC,OAAiD;QACvE,OAAO,IAAA,cAAO,EAAgD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC,CAAA;IACtH,CAAC;IACD,mBAAmB,CAAC,OAA6C;QAC/D,OAAO,IAAA,cAAO,EAA4C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC5G,CAAC;IACH,oBAAoB,CAAC,OAA8C;QACjE,OAAO,IAAA,cAAO,EAA6C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC,CAAA;IAChH,CAAC;IACD,6BAA6B,CAAC,OAAuD;QACnF,OAAO,IAAA,cAAO,EAAsD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,EAAE,OAAO,CAAC,CAAA;IAClI,CAAC;IACD,YAAY,CAAC,OAAgD;QAC3D,OAAO,IAAA,cAAO,EAAqC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,CAAA;IAChG,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,IAAI,2BAA2B,EAAE,CAAA;AAEhE,kBAAe,sBAAsB,CAAA"}
|
|
@@ -16,6 +16,9 @@ export declare namespace Service {
|
|
|
16
16
|
touristMaterialInfos: Record<string, CommodityEnums.TourMaterialVisaType>;
|
|
17
17
|
adjustmentOrderId?: string;
|
|
18
18
|
}
|
|
19
|
+
interface IBatchUpdate {
|
|
20
|
+
data: Record<string, Partial<Fulfill.Entity.PositiveOrderTouristMaterial>>;
|
|
21
|
+
}
|
|
19
22
|
interface ICheckOrderTouristMaterialDone {
|
|
20
23
|
orderIds: string[];
|
|
21
24
|
}
|
|
@@ -120,6 +123,8 @@ export declare namespace Service {
|
|
|
120
123
|
queryTouristMaterial(request: Request.IQueryTouristMaterial): Promise<Record<string, Fulfill.Entity.PositiveOrderTouristMaterial>>;
|
|
121
124
|
/** 创建出行人材料记录 */
|
|
122
125
|
create(request: Request.ICreate): Promise<void>;
|
|
126
|
+
/** 批量更新出行人材料记录 */
|
|
127
|
+
batchUpdate(request: Request.IBatchUpdate): Promise<void>;
|
|
123
128
|
/** 检查订单出行人材料是否都已完成 */
|
|
124
129
|
checkOrderTouristMaterialDone(request: Request.ICheckOrderTouristMaterialDone): Promise<Record<string, boolean>>;
|
|
125
130
|
/** 查询出行人材料记录 */
|