@tbox.cn/app-module-shopping-guide 0.2.1

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 (47) hide show
  1. package/LICENSE +21 -0
  2. package/dist/chunk-AGBLC6XI.js +1294 -0
  3. package/dist/chunk-U4WDS5PQ.js +173 -0
  4. package/dist/client/index.d.ts +25 -0
  5. package/dist/client/index.js +6 -0
  6. package/dist/index.d.ts +8 -0
  7. package/dist/index.js +22 -0
  8. package/dist/server/index.d.ts +4098 -0
  9. package/dist/server/index.js +18 -0
  10. package/package.json +62 -0
  11. package/skills/shopping-guide/SKILL.md +36 -0
  12. package/skills/shopping-guide/references/comparison-format.md +5 -0
  13. package/skills/shopping-guide/references/faq-answers.md +5 -0
  14. package/skills/shopping-guide/references/floor-directory.md +4 -0
  15. package/skills/shopping-guide/references/intent-patterns.md +5 -0
  16. package/skills/shopping-guide/references/location-format.md +5 -0
  17. package/skills/shopping-guide/references/policy-lookup.md +5 -0
  18. package/skills/shopping-guide/references/product-search-tips.md +6 -0
  19. package/skills/shopping-guide/references/recommendation-style.md +5 -0
  20. package/src/client/cards/index.tsx +267 -0
  21. package/src/client/index.ts +39 -0
  22. package/src/index.ts +6 -0
  23. package/src/server/cards/category-list/meta.ts +19 -0
  24. package/src/server/cards/customer-service-faq/meta.ts +18 -0
  25. package/src/server/cards/human-guide-list/meta.ts +19 -0
  26. package/src/server/cards/index.ts +43 -0
  27. package/src/server/cards/location-handoff/meta.ts +20 -0
  28. package/src/server/cards/mall-directory/meta.ts +27 -0
  29. package/src/server/cards/merchant-detail/meta.ts +27 -0
  30. package/src/server/cards/merchant-list/meta.ts +31 -0
  31. package/src/server/cards/nearby-mall-list/meta.ts +17 -0
  32. package/src/server/cards/product-comparison/meta.ts +29 -0
  33. package/src/server/cards/product-detail/meta.ts +29 -0
  34. package/src/server/cards/product-list/meta.ts +32 -0
  35. package/src/server/domain/value-objects.ts +49 -0
  36. package/src/server/index.ts +180 -0
  37. package/src/server/integrations/joycity/adapter.ts +226 -0
  38. package/src/server/integrations/joycity/auth-strategy.ts +38 -0
  39. package/src/server/integrations/joycity/gateway.ts +128 -0
  40. package/src/server/ports/index.ts +151 -0
  41. package/src/server/ports/local-adapters.ts +90 -0
  42. package/src/server/projections/index.ts +253 -0
  43. package/src/server/tools/index.ts +407 -0
  44. package/tbox.component.json +48 -0
  45. package/tests/shopping-guide.test.ts +290 -0
  46. package/tsconfig.json +8 -0
  47. package/tsup.config.ts +29 -0
@@ -0,0 +1,407 @@
1
+ /**
2
+ * 导购 15 工具(011 K5:D11 字符串化 inputSchema——仅 string / map<string,string>)。
3
+ * 全部经 createTool;coerceStringifiedFields 首行转换(JSON 字符串化数值/数组还原)。
4
+ * 输出 = 卡数据(allowedTools 绑定出卡)或 text 汇总(search-knowledge)。
5
+ */
6
+ import { createTool, coerceStringifiedFields } from '@tbox.cn/app-sdk/server';
7
+ import { z } from 'zod';
8
+ import type { ServerContext } from '@tbox.cn/app-sdk/server';
9
+ import type {
10
+ MallRequestContext,
11
+ ProductListCardData,
12
+ ProductComparisonCardData,
13
+ ShoppingQueryContext,
14
+ } from '@tbox.cn/app-contracts-mall';
15
+ import { parseMallScope } from '@tbox.cn/app-contracts-mall';
16
+ import { toShoppingQueryContext } from '../domain/value-objects';
17
+ import { resolveShoppingGuidePorts, type ShoppingGuidePorts } from '../ports';
18
+ import {
19
+ projectCategoryList,
20
+ projectCustomerServiceFaq,
21
+ projectHumanGuideList,
22
+ projectKnowledge,
23
+ projectLocationHandoff,
24
+ projectMallDirectory,
25
+ projectMerchantDetail,
26
+ projectMerchantList,
27
+ projectNearbyMalls,
28
+ projectProductComparison,
29
+ projectProductDetail,
30
+ projectProductList,
31
+ } from '../projections';
32
+
33
+ export type ShoppingGuideToolIds =
34
+ | 'recommend'
35
+ | 'search-products'
36
+ | 'product-facets'
37
+ | 'get-product'
38
+ | 'compare-products'
39
+ | 'search-merchants'
40
+ | 'get-merchant'
41
+ | 'mall-directory'
42
+ | 'get-location'
43
+ | 'list-human-guides'
44
+ | 'list-browsing-history'
45
+ | 'list-nearby-malls'
46
+ | 'list-categories'
47
+ | 'search-knowledge'
48
+ | 'customer-service-faq';
49
+
50
+ const str = (desc: string) => z.string().describe(desc);
51
+ const optionalStr = (desc: string) => z.string().optional().describe(desc);
52
+
53
+ /** z.preprocess(coerce, schema):D11 字符串化兜底(LLM 传 JSON 字符串/数组) */
54
+ function coerce<T extends z.ZodTypeAny>(schema: T): T {
55
+ return z.preprocess(coerceStringifiedFields, schema) as unknown as T;
56
+ }
57
+
58
+ function toContext(ctx: ServerContext) {
59
+ const requestContext = ctx.auth.getContext();
60
+ // 011 I8 修复:显式防护——非对话窗口调用工具时给出结构化错误(模型可降级回答)
61
+ if (!requestContext) {
62
+ throw new Error('运行上下文未绑定(工具需在对话 run 窗口内调用)');
63
+ }
64
+ const subjectId =
65
+ (requestContext.identity?.source === 'local' || requestContext.identity?.source === 'external')
66
+ ? requestContext.identity.userId
67
+ : undefined;
68
+ return toShoppingQueryContext(requestContext, subjectId);
69
+ }
70
+
71
+ /**
72
+ * 宽松上下文:FAQ/知识库工具不依赖 mall scope——无 mall 时以空 scope 兜底(knowledge 不查 mall)。
73
+ * 011 评审 6.1:scope 解析经 TIER1 parseMallScope(不手解 attributes 原始形状)。
74
+ */
75
+ function toLooseContext(ctx: ServerContext) {
76
+ const requestContext = ctx.auth.getContext();
77
+ if (!requestContext) {
78
+ throw new Error('运行上下文未绑定(工具需在对话 run 窗口内调用)');
79
+ }
80
+ const scope = parseMallScope(requestContext.attributes) ?? { miniAppId: '', mallId: '' };
81
+ return {
82
+ scope,
83
+ requestContext: requestContext as unknown as MallRequestContext,
84
+ } as ShoppingQueryContext;
85
+ }
86
+
87
+ // D11:纯字符串字段不做 coerce(coerce 会把 "1" 还原成 number 反破坏 string 期望);
88
+ // 仅结构字段(keywords/productIds 数组)走 coerce(LLM 可能传 JSON 编码字符串)。
89
+ const pageFields = {
90
+ page: z.string().optional().describe('页码(从 1 开始,字符串)'),
91
+ pageSize: z.string().optional().describe('每页条数(字符串,缺省 10)'),
92
+ };
93
+
94
+ function parsePage(page?: string, pageSize?: string): { page: number; pageSize: number } {
95
+ const p = Math.max(1, Number(page) || 1);
96
+ const s = Math.min(50, Math.max(1, Number(pageSize) || 10));
97
+ return { page: p, pageSize: s };
98
+ }
99
+
100
+ export function createShoppingGuideTools(opts: {
101
+ /** 注册期绑定的 ServerContext 读取器(模块顶层单例持有;execute 内获取) */
102
+ getCtx: () => ServerContext;
103
+ }) {
104
+ const portsOf = (): Promise<ShoppingGuidePorts> =>
105
+ resolveShoppingGuidePorts(opts.getCtx());
106
+
107
+ const exec = <T>(
108
+ fn: (ports: ShoppingGuidePorts, ctx: ServerContext, args: Record<string, unknown>) => Promise<T>,
109
+ ) => {
110
+ return async (args: Record<string, unknown>) => {
111
+ const ctx = opts.getCtx();
112
+ return fn(await portsOf(), ctx, args);
113
+ };
114
+ };
115
+
116
+ const recommend = createTool({
117
+ id: 'recommend',
118
+ description:
119
+ '智能推荐:从权威商品数据中挑选最符合用户需求的结果。输出 product-list(context=recommendation)。' +
120
+ '商户推荐请用 search-merchants。',
121
+ inputSchema: z.object({
122
+ query: str('用户购物需求的自然语言描述'),
123
+ }),
124
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
125
+ const q = toContext(ctx);
126
+ // 011 I6 修复:推荐 = 语义搜索的退化实现(joycity 无推荐 API),query 必须传给 keyword
127
+ const criteria = {
128
+ ctx: q,
129
+ keyword: String(args.query ?? ''),
130
+ page: 1,
131
+ pageSize: 10,
132
+ marketableOnly: true,
133
+ };
134
+ const products = await ports.catalog.searchProducts(criteria);
135
+ return projectProductList('recommendation', products) as ProductListCardData;
136
+ }),
137
+ });
138
+
139
+ const searchProducts = createTool({
140
+ id: 'search-products',
141
+ description:
142
+ '商品搜索:按关键词/价格/品类搜索商品列表。输出 product-list(context=search)。',
143
+ inputSchema: z.object({
144
+ keywords: coerce(z.array(z.string()).min(1).max(5).describe('全部搜索角度,如 ["跑鞋","运动鞋"]')),
145
+ minPriceMinor: optionalStr('最低价格(分,字符串)'),
146
+ maxPriceMinor: optionalStr('最高价格(分,字符串)'),
147
+ categoryCode: optionalStr('品类编码'),
148
+ brandCode: optionalStr('品牌编码'),
149
+ ...pageFields,
150
+ }),
151
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
152
+ const q = toContext(ctx);
153
+ const { page, pageSize } = parsePage(args.page as string, args.pageSize as string);
154
+ const result = await ports.catalog.searchProducts({
155
+ ctx: q,
156
+ keyword: (args.keywords as string[])?.join(' ') ?? '',
157
+ keywords: args.keywords as string[],
158
+ ...(args.minPriceMinor ? { minPriceMinor: Number(args.minPriceMinor) } : {}),
159
+ ...(args.maxPriceMinor ? { maxPriceMinor: Number(args.maxPriceMinor) } : {}),
160
+ ...(args.categoryCode ? { categoryCode: String(args.categoryCode) } : {}),
161
+ ...(args.brandCode ? { brandCode: String(args.brandCode) } : {}),
162
+ page,
163
+ pageSize,
164
+ marketableOnly: true,
165
+ });
166
+ return projectProductList(
167
+ 'search',
168
+ result,
169
+ undefined,
170
+ result.items.length === 0 ? '未找到匹配的商品,可尝试放宽关键词或换品类。' : undefined,
171
+ );
172
+ }),
173
+ });
174
+
175
+ const productFacets = createTool({
176
+ id: 'product-facets',
177
+ description: '商品分面:查询当前品类/关键词下可用的筛选项(价格区间、品牌、品类树)。',
178
+ inputSchema: z.object({
179
+ keyword: optionalStr('关键词'),
180
+ minPriceMinor: optionalStr('最低价格(分,字符串)'),
181
+ maxPriceMinor: optionalStr('最高价格(分,字符串)'),
182
+ }),
183
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
184
+ const q = toContext(ctx);
185
+ const facets = await ports.catalog.getFacets({
186
+ ctx: q,
187
+ ...(args.keyword ? { keyword: String(args.keyword) } : {}),
188
+ ...(args.minPriceMinor ? { minPriceMinor: Number(args.minPriceMinor) } : {}),
189
+ ...(args.maxPriceMinor ? { maxPriceMinor: Number(args.maxPriceMinor) } : {}),
190
+ page: 1,
191
+ pageSize: 10,
192
+ });
193
+ return facets;
194
+ }),
195
+ });
196
+
197
+ const getProduct = createTool({
198
+ id: 'get-product',
199
+ description: '商品详情:加载单个商品的完整快照(价格/库存/属性/商户归属)。输出 product-detail。',
200
+ inputSchema: z.object({ productId: str('商品 ID(来自搜索结果卡)') }),
201
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
202
+ const product = await ports.catalog.getProduct(String(args.productId), toContext(ctx));
203
+ if (!product) {
204
+ return { error: '未找到该商品,可能已下架。' };
205
+ }
206
+ return projectProductDetail(product);
207
+ }),
208
+ });
209
+
210
+ const compareProducts = createTool({
211
+ id: 'compare-products',
212
+ description: '商品对比:并排对比 2-4 个商品的价格、属性、库存。输出 product-comparison。',
213
+ inputSchema: z.object({
214
+ productIds: coerce(z.array(z.string()).min(2).max(4).describe('待对比的商品 ID 数组')),
215
+ }),
216
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
217
+ const ids = (args.productIds as string[]).slice(0, 4);
218
+ const q = toContext(ctx);
219
+ const products = (await Promise.all(ids.map((id) => ports.catalog.getProduct(id, q)))).filter(
220
+ (p): p is NonNullable<typeof p> => p !== null,
221
+ );
222
+ return projectProductComparison(products) as ProductComparisonCardData;
223
+ }),
224
+ });
225
+
226
+ const searchMerchants = createTool({
227
+ id: 'search-merchants',
228
+ description:
229
+ '门店搜索:按关键词/楼层/品类搜索门店。结果已含门店名、品类、楼栋/楼层/铺位、营业状态、促销信息,' +
230
+ '无需在同一轮再调 get-merchant 补位置。输出 merchant-list(context=search)。',
231
+ inputSchema: z.object({
232
+ keywords: coerce(z.array(z.string()).min(1).max(5).describe('多个搜索角度,如 ["酸奶","酸奶店"]')),
233
+ businessCategory: optionalStr('业态分类编码;未知传 null/缺省'),
234
+ floorCode: optionalStr('楼层编码;用户未指定时缺省'),
235
+ buildingCode: optionalStr('楼栋编码;用户未指定时缺省'),
236
+ ...pageFields,
237
+ }),
238
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
239
+ const q = toContext(ctx);
240
+ const { page, pageSize } = parsePage(args.page as string, args.pageSize as string);
241
+ const result = await ports.merchant.searchMerchants({
242
+ ctx: q,
243
+ keyword: (args.keywords as string[])?.join(' ') ?? '',
244
+ keywords: args.keywords as string[],
245
+ ...(args.businessCategory && args.businessCategory !== 'null' ? { businessCategory: String(args.businessCategory) } : {}),
246
+ ...(args.floorCode && args.floorCode !== 'null' ? { floorCode: String(args.floorCode) } : {}),
247
+ ...(args.buildingCode && args.buildingCode !== 'null' ? { buildingCode: String(args.buildingCode) } : {}),
248
+ page,
249
+ pageSize,
250
+ });
251
+ return projectMerchantList(
252
+ 'search',
253
+ result,
254
+ result.items.length === 0 ? '未找到匹配的门店。' : undefined,
255
+ );
256
+ }),
257
+ });
258
+
259
+ const getMerchant = createTool({
260
+ id: 'get-merchant',
261
+ description:
262
+ '门店详情:加载单个门店的完整快照(图片/简介/联系方式)。仅当用户点击门店卡片要看详情时调用。输出 merchant-detail。',
263
+ inputSchema: z.object({ merchantId: str('门店 ID(来自搜索结果卡)') }),
264
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
265
+ const merchant = await ports.merchant.getMerchant(String(args.merchantId), toContext(ctx));
266
+ if (!merchant) {
267
+ return { error: '未找到该门店。' };
268
+ }
269
+ return projectMerchantDetail(merchant);
270
+ }),
271
+ });
272
+
273
+ const mallDirectory = createTool({
274
+ id: 'mall-directory',
275
+ description: '商场楼层目录:加载全商场楼栋-楼层结构(回答「几楼有什么」类问题)。输出 mall-directory。',
276
+ inputSchema: z.object({}),
277
+ execute: exec(async (ports, ctx, _args) => {
278
+ const directory = await ports.directory.getDirectory(toContext(ctx));
279
+ if (!directory) {
280
+ return { error: '暂无商场目录数据。' };
281
+ }
282
+ return projectMallDirectory(directory);
283
+ }),
284
+ });
285
+
286
+ const getLocation = createTool({
287
+ id: 'get-location',
288
+ description:
289
+ '位置导航:获取指定门店的位置信息及导航能力(仅在用户明确要求「导航/怎么走」时调用)。输出 location-handoff。',
290
+ inputSchema: z.object({ merchantId: str('门店 ID') }),
291
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
292
+ const merchant = await ports.merchant.getMerchant(String(args.merchantId), toContext(ctx));
293
+ if (!merchant) {
294
+ return { error: '未找到该门店。' };
295
+ }
296
+ return projectLocationHandoff(merchant);
297
+ }),
298
+ });
299
+
300
+ const listHumanGuides = createTool({
301
+ id: 'list-human-guides',
302
+ description: '人工导购:列出指定门店的可联系导购员(仅在用户明确要求联系人工时调用)。输出 human-guide-list。',
303
+ inputSchema: z.object({ merchantId: str('门店 ID') }),
304
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
305
+ const merchant = await ports.merchant.getMerchant(String(args.merchantId), toContext(ctx));
306
+ const guides = await ports.assistance.listHumanGuides(String(args.merchantId), toContext(ctx));
307
+ return projectHumanGuideList(String(args.merchantId), merchant?.name ?? '门店', guides);
308
+ }),
309
+ });
310
+
311
+ const listBrowsingHistory = createTool({
312
+ id: 'list-browsing-history',
313
+ description: '浏览历史:加载已登录用户的商品浏览记录。输出 product-list(context=history)。',
314
+ inputSchema: z.object(pageFields),
315
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
316
+ const { page, pageSize } = parsePage(args.page as string, args.pageSize as string);
317
+ const result = await ports.navigation.listBrowsingHistory(toContext(ctx), page, pageSize);
318
+ return projectProductList('history', result);
319
+ }),
320
+ });
321
+
322
+ const listNearbyMalls = createTool({
323
+ id: 'list-nearby-malls',
324
+ description: '附近商场:查询附近可切换的大悦城门店列表。输出 nearby-mall-list。',
325
+ inputSchema: z.object({ query: optionalStr('城市或位置提示;缺省使用默认位置') }),
326
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
327
+ // 011 D10/评审 M4:feature 门控 = execute 内运行时护栏(navigation)
328
+ if (!ctx.runtime.isFeatureEnabled('navigation')) {
329
+ return { error: '导航功能未启用(部署未开启 navigation feature)' };
330
+ }
331
+ const malls = await ports.navigation.listNearbyMalls(
332
+ toContext(ctx),
333
+ args.query ? String(args.query) : undefined,
334
+ );
335
+ return projectNearbyMalls(malls, args.query ? String(args.query) : undefined);
336
+ }),
337
+ });
338
+
339
+ const listCategories = createTool({
340
+ id: 'list-categories',
341
+ description:
342
+ '商业品类目录:列出商场全部业态分类(餐饮/零售/娱乐等),回答「商场有哪些类型的店」类问题。输出 category-list。',
343
+ inputSchema: z.object({}),
344
+ execute: exec(async (ports, ctx, _args) => {
345
+ return projectCategoryList(await ports.category.listCategories(toContext(ctx)));
346
+ }),
347
+ });
348
+
349
+ const searchKnowledge = createTool({
350
+ id: 'search-knowledge',
351
+ description:
352
+ '知识库检索:语义搜索商场设施/政策/选购指南等稳定知识内容(不用于价格/库存/实时信息)。输出文本汇总。',
353
+ inputSchema: z.object({
354
+ query: str('检索查询文本'),
355
+ topK: optionalStr('返回条数(字符串,1-5,缺省 3)'),
356
+ }),
357
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
358
+ const topK = Math.min(5, Math.max(1, Number(args.topK) || 3));
359
+ const result = await ports.assistance.searchKnowledge(toLooseContext(ctx), String(args.query), topK);
360
+ return projectKnowledge(result);
361
+ }),
362
+ });
363
+
364
+ const customerServiceFaq = createTool({
365
+ id: 'customer-service-faq',
366
+ description:
367
+ '客服FAQ:搜索常见问题答案(退换货、会员积分、停车等服务政策)。输出 customer-service-faq。',
368
+ inputSchema: z.object({
369
+ query: str('用户问题'),
370
+ topK: optionalStr('返回条数(字符串,1-5,缺省 3)'),
371
+ }),
372
+ execute: exec(async (ports, ctx, args: Record<string, unknown>) => {
373
+ // 011 D10/评审 M4:feature 门控 = execute 内运行时护栏(customer-service;FAQ silent preTool 同走本工具)
374
+ if (!ctx.runtime.isFeatureEnabled('customer-service')) {
375
+ return { error: '客服功能未启用(部署未开启 customer-service feature)' };
376
+ }
377
+ const topK = Math.min(5, Math.max(1, Number(args.topK) || 3));
378
+ const faqs = await ports.assistance.searchFaq(toLooseContext(ctx), String(args.query), topK);
379
+ return projectCustomerServiceFaq(
380
+ String(args.query),
381
+ faqs,
382
+ faqs.length === 0 ? '未找到相关常见问题,请尝试人工客服。' : undefined,
383
+ );
384
+ }),
385
+ });
386
+
387
+ return {
388
+ recommend,
389
+ searchProducts,
390
+ productFacets,
391
+ getProduct,
392
+ compareProducts,
393
+ searchMerchants,
394
+ getMerchant,
395
+ mallDirectory,
396
+ getLocation,
397
+ listHumanGuides,
398
+ listBrowsingHistory,
399
+ listNearbyMalls,
400
+ listCategories,
401
+ searchKnowledge,
402
+ customerServiceFaq,
403
+ } as const;
404
+ }
405
+
406
+ export type ShoppingGuideTools = ReturnType<typeof createShoppingGuideTools>;
407
+ export type ShoppingGuideTool = ShoppingGuideTools[keyof ShoppingGuideTools];
@@ -0,0 +1,48 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "name": "module-shopping-guide",
4
+ "version": "0.2.0",
5
+ "kind": "business",
6
+ "risk": { "level": "medium", "writeBoundary": "source" },
7
+ "distribution": { "defaultMode": "codegen" },
8
+ "contributes": {
9
+ "handlers": ["shopping-guide"],
10
+ "tools": [
11
+ "recommend",
12
+ "search-products",
13
+ "product-facets",
14
+ "get-product",
15
+ "compare-products",
16
+ "search-merchants",
17
+ "get-merchant",
18
+ "mall-directory",
19
+ "get-location",
20
+ "list-human-guides",
21
+ "list-browsing-history",
22
+ "list-nearby-malls",
23
+ "list-categories",
24
+ "search-knowledge",
25
+ "customer-service-faq"
26
+ ],
27
+ "cards": [
28
+ { "cardType": "product-list", "schemaVersion": 1 },
29
+ { "cardType": "product-detail", "schemaVersion": 1 },
30
+ { "cardType": "merchant-list", "schemaVersion": 1 },
31
+ { "cardType": "merchant-detail", "schemaVersion": 1 },
32
+ { "cardType": "category-list", "schemaVersion": 1 },
33
+ { "cardType": "product-comparison", "schemaVersion": 1 },
34
+ { "cardType": "mall-directory", "schemaVersion": 1 },
35
+ { "cardType": "nearby-mall-list", "schemaVersion": 1 },
36
+ { "cardType": "customer-service-faq", "schemaVersion": 1 },
37
+ { "cardType": "human-guide-list", "schemaVersion": 1 },
38
+ { "cardType": "location-handoff", "schemaVersion": 1 }
39
+ ],
40
+ "routes": [],
41
+ "pages": [],
42
+ "tabs": []
43
+ },
44
+ "dependencies": {
45
+ "modules": [{ "id": "contracts-mall", "required": true }]
46
+ },
47
+ "env": []
48
+ }