@be-link/vitality-cli-nodejs 0.0.37 → 0.0.40

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/vitality-cli-nodejs",
3
- "version": "0.0.37",
3
+ "version": "0.0.40",
4
4
  "description": "VitalityService Node.js 客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1394,6 +1394,10 @@ declare const bizService: {
1394
1394
  message?: string | undefined;
1395
1395
  }>;
1396
1396
  sendAbnormalNotify(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<import("./trade-bff").TradeBff.OrderManagementCenterWework.NotifyResult>;
1397
+ sendScheduledAbnormalNotify(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.SendScheduledAbnormalNotify): Promise<{
1398
+ outcome: "QUEUED" | "IDEMPOTENT_HIT" | "NO_RECEIVER" | "EMPTY" | "DRY_RUN";
1399
+ relateBizId: string;
1400
+ }>;
1397
1401
  clearAbnormalFollow(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
1398
1402
  success: true;
1399
1403
  }>;
@@ -22,6 +22,10 @@ declare const tradeBffService: {
22
22
  message?: string | undefined;
23
23
  }>;
24
24
  sendAbnormalNotify(request: import("./type").TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<import("./type").TradeBff.OrderManagementCenterWework.NotifyResult>;
25
+ sendScheduledAbnormalNotify(request: import("./type").TradeBff.OrderManagementCenterWework.Request.SendScheduledAbnormalNotify): Promise<{
26
+ outcome: "QUEUED" | "IDEMPOTENT_HIT" | "NO_RECEIVER" | "EMPTY" | "DRY_RUN";
27
+ relateBizId: string;
28
+ }>;
25
29
  clearAbnormalFollow(request: import("./type").TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
26
30
  success: true;
27
31
  }>;
@@ -2,7 +2,7 @@
2
2
  export declare const tradeBffSdkManifest: {
3
3
  readonly targets: {
4
4
  readonly job: readonly ["jobDeleteOrderDownloadFile", "jobAutoSendWxNotification", "jobTourRoomShareT1Remind"];
5
- readonly orderManagementCenterWework: readonly ["sendHotelChangeResultNotify", "sendAbnormalNotify", "clearAbnormalFollow"];
5
+ readonly orderManagementCenterWework: readonly ["sendHotelChangeResultNotify", "sendAbnormalNotify", "sendScheduledAbnormalNotify", "clearAbnormalFollow"];
6
6
  readonly web: readonly ["getCouponAccountInfoById", "getOrderById", "getTourismItinerary", "setTeamLeader", "upsertOrderToTeam", "deleteTourTeam", "getOrderBasicInfoById", "sendOrderPaidNotification"];
7
7
  readonly 'wework/touristMaterial': readonly ["queryOrderEntityMaterial", "updateEntityMaterial"];
8
8
  readonly wework: readonly ["changeOrderContactInfo", "createOrderInvoiceRecord"];
@@ -12,6 +12,7 @@ exports.tradeBffSdkManifest = {
12
12
  orderManagementCenterWework: [
13
13
  'sendHotelChangeResultNotify',
14
14
  'sendAbnormalNotify',
15
+ 'sendScheduledAbnormalNotify',
15
16
  'clearAbnormalFollow',
16
17
  ],
17
18
  web: [
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/trade-bff/manifest.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AAC1B,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,GAAG,EAAE;YACH,4BAA4B;YAC5B,2BAA2B;YAC3B,0BAA0B;SAC3B;QACD,2BAA2B,EAAE;YAC3B,6BAA6B;YAC7B,oBAAoB;YACpB,qBAAqB;SACtB;QACD,GAAG,EAAE;YACH,0BAA0B;YAC1B,cAAc;YACd,qBAAqB;YACrB,eAAe;YACf,mBAAmB;YACnB,gBAAgB;YAChB,uBAAuB;YACvB,2BAA2B;SAC5B;QACD,wBAAwB,EAAE,CAAC,0BAA0B,EAAE,sBAAsB,CAAC;QAC9E,MAAM,EAAE,CAAC,wBAAwB,EAAE,0BAA0B,CAAC;QAC9D,yBAAyB,EAAE,CAAC,4BAA4B,CAAC;KAC1D;IACD,mBAAmB,EAAE;QACnB,8BAA8B,EAAE,mCAAmC;QACnE,mBAAmB,EAAE,mCAAmC;QACxD,iCAAiC,EAAE,mCAAmC;QACtE,6BAA6B,EAAE,mCAAmC;QAClE,gCAAgC,EAAE,mCAAmC;QACrE,gBAAgB,EAAE,mCAAmC;KACtD;CACO,CAAA"}
1
+ {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/trade-bff/manifest.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AAC1B,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,GAAG,EAAE;YACH,4BAA4B;YAC5B,2BAA2B;YAC3B,0BAA0B;SAC3B;QACD,2BAA2B,EAAE;YAC3B,6BAA6B;YAC7B,oBAAoB;YACpB,6BAA6B;YAC7B,qBAAqB;SACtB;QACD,GAAG,EAAE;YACH,0BAA0B;YAC1B,cAAc;YACd,qBAAqB;YACrB,eAAe;YACf,mBAAmB;YACnB,gBAAgB;YAChB,uBAAuB;YACvB,2BAA2B;SAC5B;QACD,wBAAwB,EAAE,CAAC,0BAA0B,EAAE,sBAAsB,CAAC;QAC9E,MAAM,EAAE,CAAC,wBAAwB,EAAE,0BAA0B,CAAC;QAC9D,yBAAyB,EAAE,CAAC,4BAA4B,CAAC;KAC1D;IACD,mBAAmB,EAAE;QACnB,8BAA8B,EAAE,mCAAmC;QACnE,mBAAmB,EAAE,mCAAmC;QACxD,iCAAiC,EAAE,mCAAmC;QACtE,6BAA6B,EAAE,mCAAmC;QAClE,gCAAgC,EAAE,mCAAmC;QACrE,gBAAgB,EAAE,mCAAmC;KACtD;CACO,CAAA"}
@@ -7,6 +7,10 @@ declare class TradeBffOrderManagementCenterWeworkService extends BaseService imp
7
7
  message?: string;
8
8
  }>;
9
9
  sendAbnormalNotify(request: TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<TradeBff.OrderManagementCenterWework.NotifyResult>;
10
+ sendScheduledAbnormalNotify(request: TradeBff.OrderManagementCenterWework.Request.SendScheduledAbnormalNotify): Promise<{
11
+ outcome: 'QUEUED' | 'IDEMPOTENT_HIT' | 'EMPTY' | 'DRY_RUN' | 'NO_RECEIVER';
12
+ relateBizId: string;
13
+ }>;
10
14
  clearAbnormalFollow(request: TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
11
15
  success: true;
12
16
  }>;
@@ -16,6 +16,9 @@ class TradeBffOrderManagementCenterWeworkService extends baseService_1.default {
16
16
  sendAbnormalNotify(request) {
17
17
  return (0, http_1.callScfApi)(this.getApiUrl(this.sendAbnormalNotify), request);
18
18
  }
19
+ sendScheduledAbnormalNotify(request) {
20
+ return (0, http_1.callScfApi)(this.getApiUrl(this.sendScheduledAbnormalNotify), request);
21
+ }
19
22
  clearAbnormalFollow(request) {
20
23
  return (0, http_1.callScfApi)(this.getApiUrl(this.clearAbnormalFollow), request);
21
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/orderManagementCenterWework/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,0CACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,4CAA4C,CAAA;IA2B1D,CAAC;IAzBC,2BAA2B,CACzB,OAAiF;QAEjF,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAAE,OAAO,CAAC,CAAA;IAC9D,CAAC;IAED,kBAAkB,CAChB,OAAwE;QAExE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;IAED,mBAAmB,CACjB,OAAyE;QAEzE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EACxC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,0CAA0C,GAC9C,IAAI,0CAA0C,EAAE,CAAA;AAClD,kBAAe,0CAA0C,CAAA"}
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/orderManagementCenterWework/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,0CACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,4CAA4C,CAAA;IAsC1D,CAAC;IApCC,2BAA2B,CACzB,OAAiF;QAEjF,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAAE,OAAO,CAAC,CAAA;IAC9D,CAAC;IAED,kBAAkB,CAChB,OAAwE;QAExE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;IAED,2BAA2B,CACzB,OAAiF;QAKjF,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAAE,OAAO,CAAC,CAAA;IAC9D,CAAC;IAED,mBAAmB,CACjB,OAAyE;QAEzE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EACxC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,0CAA0C,GAC9C,IAAI,0CAA0C,EAAE,CAAA;AAClD,kBAAe,0CAA0C,CAAA"}
@@ -47,6 +47,26 @@ export declare namespace TradeBff {
47
47
  abnormalType: AbnormalType;
48
48
  changeFlowId?: string;
49
49
  }
50
+ type ScheduledAbnormalScene = 'PENDING_SUPPLIER_PAID_24H' | 'PENDING_SUPPLIER_T1' | 'PENDING_CHANGE_T1' | 'PENDING_INVOICE_DAY5' | 'REJECT_UNCONTACTED_72H' | 'CHANGE_REJECTED';
51
+ type ScheduledAbnormalBizType = 'TOUR' | 'PARTY_HOTEL' | 'ONE_SECOND_PARTY';
52
+ interface SendScheduledAbnormalNotify {
53
+ scene: ScheduledAbnormalScene;
54
+ bizType: ScheduledAbnormalBizType;
55
+ triggerKey: string;
56
+ items: Array<{
57
+ orderId: string;
58
+ itemName?: string;
59
+ fulfillAt?: number;
60
+ pendingCount?: number;
61
+ travelerCount?: number;
62
+ userName?: string;
63
+ mobile?: string;
64
+ changeContent?: string;
65
+ rejectReason?: string;
66
+ currentStatus?: string;
67
+ }>;
68
+ dryRun?: boolean;
69
+ }
50
70
  }
51
71
  interface NotifyResult {
52
72
  skipped?: boolean;
@@ -60,6 +80,10 @@ export declare namespace TradeBff {
60
80
  message?: string;
61
81
  }>;
62
82
  sendAbnormalNotify(request: Request.SendAbnormalNotify): Promise<NotifyResult>;
83
+ sendScheduledAbnormalNotify(request: Request.SendScheduledAbnormalNotify): Promise<{
84
+ outcome: 'QUEUED' | 'IDEMPOTENT_HIT' | 'EMPTY' | 'DRY_RUN' | 'NO_RECEIVER';
85
+ relateBizId: string;
86
+ }>;
63
87
  clearAbnormalFollow(request: Request.ClearAbnormalFollow): Promise<{
64
88
  success: true;
65
89
  }>;