jmash-core-mp 0.1.54 → 0.1.56

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.
Files changed (31) hide show
  1. package/lib/api/shop/types.d.ts +42 -7
  2. package/lib/index.d.ts +1 -0
  3. package/package.json +1 -1
  4. package/src/api/shop/types.ts +84 -14
  5. package/src/index.ts +1 -0
  6. package/lib/components/cms/cms-channel-list.mpx.d.ts +0 -1
  7. package/lib/components/cms/jmash-cms-acticle-list.mpx.d.ts +0 -1
  8. package/lib/components/cms/jmash-cms-activity-item.mpx.d.ts +0 -1
  9. package/lib/components/cms/jmash-cms-activity-list.mpx.d.ts +0 -1
  10. package/lib/components/cms/jmash-cms-activity-page.mpx.d.ts +0 -1
  11. package/lib/components/cms/jmash-cms-article-item.mpx.d.ts +0 -1
  12. package/lib/components/cms/jmash-cms-article-list.mpx.d.ts +0 -1
  13. package/lib/components/cms/jmash-cms-article-view.mpx.d.ts +0 -1
  14. package/lib/components/cms/jmash-cms-article.mpx.d.ts +0 -1
  15. package/lib/components/cms/jmash-cms-like.mpx.d.ts +0 -1
  16. package/lib/components/cms/jmash-cms-location-list.mpx.d.ts +0 -1
  17. package/lib/components/cms/jmash-cms-location-page.mpx.d.ts +0 -1
  18. package/lib/components/cms/jmash-cms-location.mpx.d.ts +0 -1
  19. package/lib/components/cms/jmash-cms-product-item.mpx.d.ts +0 -1
  20. package/lib/components/cms/jmash-cms-product-list.mpx.d.ts +0 -1
  21. package/lib/components/common/jmash-none-data.mpx.d.ts +0 -1
  22. package/lib/components/common/jmash-search.mpx.d.ts +0 -1
  23. package/lib/components/common/jmash-top-navigation.mpx.d.ts +0 -1
  24. package/lib/packages/pages/cms/cms-activity-list.mpx.d.ts +0 -1
  25. package/lib/packages/pages/cms/cms-article-list.mpx.d.ts +0 -1
  26. package/lib/packages/pages/cms/cms-info.mpx.d.ts +0 -1
  27. package/lib/packages/pages/cms/cms-list.mpx.d.ts +0 -1
  28. package/lib/packages/pages/cms/cms-location-list.mpx.d.ts +0 -1
  29. package/lib/packages/pages/cms/cms-product-list.mpx.d.ts +0 -1
  30. package/lib/pages/organ-search.mpx.d.ts +0 -1
  31. package/lib/pages/organ.mpx.d.ts +0 -1
@@ -1,22 +1,57 @@
1
1
  export interface ShopInfoModel {
2
2
  shopId?: string;
3
3
  shopName?: string;
4
- address?: string;
4
+ shopType?: boolean;
5
+ contacts?: string;
6
+ mobilePhone?: string;
7
+ mobilePhoneIns?: string;
5
8
  picUrl?: string;
9
+ city?: string;
10
+ country?: string;
11
+ province?: string;
12
+ address?: string;
13
+ longitude?: string;
14
+ latitude?: string;
15
+ note?: string;
16
+ businessPicUrl?: string;
17
+ idCard?: string;
18
+ idCardIns?: string;
19
+ mchName?: string;
20
+ bankName?: string;
21
+ bankCode?: string;
22
+ bankCodeIns?: string;
23
+ status?: boolean;
6
24
  businessId?: string;
25
+ regionCode?: string;
7
26
  adPics?: string;
8
- organTenant?: string;
27
+ accountName?: string;
9
28
  organId?: string;
29
+ organTenant?: string;
10
30
  }
11
31
  export interface BranchModel {
32
+ tenantId?: string;
12
33
  branchId?: string;
13
- picUrl?: string;
34
+ shopId?: string;
14
35
  facadeName?: string;
15
- businessStartHour?: string;
16
- businessEndHour?: string;
36
+ isHq?: boolean;
17
37
  contacts?: string;
18
38
  mobilePhone?: string;
39
+ mobilePhoneIns?: string;
40
+ businessPicUrl?: string;
41
+ picUrl?: string;
42
+ regionCode?: string;
43
+ regionName?: string;
19
44
  address?: string;
20
- longitude?: number;
21
- latitude?: number;
45
+ longitude?: string;
46
+ latitude?: string;
47
+ note?: string;
48
+ businessStartHour?: string;
49
+ businessEndHour?: string;
50
+ status?: boolean;
51
+ createBy?: string;
52
+ createTime?: string;
53
+ category?: string;
54
+ isBusiness?: boolean;
55
+ distanceMeter?: string;
56
+ organTenant?: string;
22
57
  }
package/lib/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export { EntryDict, EnumDict, EntryLayDict, CustomBizDict } from "./api/dicts";
6
6
  export type { FileInfo, FileBase64Req, FileDownInfo, FileWebReq, } from "./api/files/types";
7
7
  export type { DictRegionList, DictRegionReq, DictRegionModel, } from "./api/region/types";
8
8
  export type { StorageOrganInfoReq, StorageOrganInfoList, StorageOrganInfoModel, ShopBrowserUserList, ShopBrowserUserModel, StorageOrganBrowserUpdateReq, StorageOrganBrowserModel, } from "./api/storage/types";
9
+ export type { ShopInfoModel, BranchModel } from "./api/shop/types";
9
10
  export { mpxFetch } from "./utils/request";
10
11
  export { config, initConfig, setConfig } from "./utils/config";
11
12
  export { grpc } from "./utils/grpc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core-mp",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "private": false,
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -4,40 +4,110 @@ export interface ShopInfoModel {
4
4
  shopId?: string;
5
5
  // 店铺名称
6
6
  shopName?: string;
7
- // 详细地址
8
- address?: string;
7
+ // 是否自营
8
+ shopType?: boolean;
9
+ // 联系人
10
+ contacts?: string;
11
+ // 联系电话
12
+ mobilePhone?: string;
13
+ // 联系电话脱敏
14
+ mobilePhoneIns?: string;
9
15
  // 店铺图片
10
16
  picUrl?: string;
17
+ // 所在城市
18
+ city?: string;
19
+ // 所在国家
20
+ country?: string;
21
+ // 所在省份
22
+ province?: string;
23
+ // 详细地址
24
+ address?: string;
25
+ // 经度
26
+ longitude?: string;
27
+ // 纬度
28
+ latitude?: string;
29
+ // 店铺介绍
30
+ note?: string;
31
+ // 营业执照
32
+ businessPicUrl?: string;
33
+ // 法人身份证
34
+ idCard?: string;
35
+ // 法人身份证脱敏
36
+ idCardIns?: string;
37
+ // 商户名称
38
+ mchName?: string;
39
+ // 开户行
40
+ bankName?: string;
41
+ // 银行账号
42
+ bankCode?: string;
43
+ // 银行账号脱敏
44
+ bankCodeIns?: string;
45
+ // 状态
46
+ status?: boolean;
11
47
  // 商户ID
12
48
  businessId?: string;
13
- // 宣传图
49
+ // 地区编码
50
+ regionCode?: string;
51
+ // 店铺广告位图片
14
52
  adPics?: string;
15
- // 组织租户
16
- organTenant?: string;
53
+ // 账号名称
54
+ accountName?: string;
17
55
  // 组织ID
18
56
  organId?: string;
57
+ // 组织租户
58
+ organTenant?: string;
19
59
  }
20
60
 
21
61
  // 门店管理实体
22
62
  export interface BranchModel {
63
+ // 租户ID
64
+ tenantId?: string;
23
65
  // 门店ID
24
66
  branchId?: string;
25
- // 门店图片
26
- picUrl?: string;
67
+ // 店铺ID
68
+ shopId?: string;
27
69
  // 门店名称
28
70
  facadeName?: string;
29
- // 营业开始时间
30
- businessStartHour?: string;
31
- // 营业结束时间
32
- businessEndHour?: string;
33
- // 门店联系人
71
+ // 是否是总部
72
+ isHq?: boolean;
73
+ // 联系人
34
74
  contacts?: string;
35
75
  // 联系电话
36
76
  mobilePhone?: string;
77
+ // 联系电话脱敏
78
+ mobilePhoneIns?: string;
79
+ // 营业执照
80
+ businessPicUrl?: string;
81
+ // 门店图片
82
+ picUrl?: string;
83
+ // 地区编码
84
+ regionCode?: string;
85
+ // 地区名称
86
+ regionName?: string;
37
87
  // 详细地址
38
88
  address?: string;
39
89
  // 经度
40
- longitude?: number;
90
+ longitude?: string;
41
91
  // 纬度
42
- latitude?: number;
92
+ latitude?: string;
93
+ // 门店介绍
94
+ note?: string;
95
+ // 营业开始时间
96
+ businessStartHour?: string;
97
+ // 营业结束时间
98
+ businessEndHour?: string;
99
+ // 状态
100
+ status?: boolean;
101
+ // 创建人
102
+ createBy?: string;
103
+ // 创建时间
104
+ createTime?: string;
105
+ // 门店分类
106
+ category?: string;
107
+ // 是否营业
108
+ isBusiness?: boolean;
109
+ // 距离米
110
+ distanceMeter?: string;
111
+ // 组织租户
112
+ organTenant?: string;
43
113
  }
package/src/index.ts CHANGED
@@ -54,6 +54,7 @@ export type {
54
54
  StorageOrganBrowserUpdateReq,
55
55
  StorageOrganBrowserModel,
56
56
  } from "./api/storage/types";
57
+ export type { ShopInfoModel, BranchModel } from "./api/shop/types";
57
58
 
58
59
  export { mpxFetch } from "./utils/request";
59
60
  export { config, initConfig, setConfig } from "./utils/config";
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};