lzh-common 0.0.330 → 0.0.331

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.
@@ -1,6 +1,24 @@
1
+ import { IAssigneeCategoryDB } from "../assignee_category/base.js";
1
2
  import { IUserInfoDB } from "./base.js";
2
- export interface IClientUserResolveWappReq {
3
+ export interface IClientUserResolveWeappReq {
3
4
  weapp_open_id: IUserInfoDB['weapp_open_id'];
4
5
  phone_number: IUserInfoDB['phone_number'];
5
6
  }
7
+ export type IClientUserResolveWeappRes = Partial<IUserInfoDB> & {
8
+ assignee_category_name: IAssigneeCategoryDB["name"];
9
+ assignee_category_withdraw_fee_rate: IAssigneeCategoryDB["withdraw_fee_rate"];
10
+ } | null;
11
+ export interface IClientUserOpenIdByCodeRes {
12
+ openid: string;
13
+ session_key: string;
14
+ }
15
+ export interface IClientUserDecryptWeappPhoneReq {
16
+ encryptedData: string;
17
+ iv: string;
18
+ session_key: string;
19
+ }
20
+ export interface IClientUserDecryptWeappPhoneRes {
21
+ purePhoneNumber: string;
22
+ phoneNumber: string;
23
+ }
6
24
  //# sourceMappingURL=client_weapp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client_weapp.d.ts","sourceRoot":"","sources":["../../src/user/client_weapp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAOxC,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAC3C,YAAY,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;CAC1C"}
1
+ {"version":3,"file":"client_weapp.d.ts","sourceRoot":"","sources":["../../src/user/client_weapp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAOxC,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAC3C,YAAY,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;CAC1C;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG;IAC5D,sBAAsB,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACpD,mCAAmC,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;CACjF,GAAC,IAAI,CAAA;AAON,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;AAKD,MAAM,WAAW,+BAA+B;IAC9C,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAA;CACpB;AACD,MAAM,WAAW,+BAA+B;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lzh-common",
3
- "version": "0.0.330",
3
+ "version": "0.0.331",
4
4
  "description": "Shared TypeScript interfaces",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",