@tbox.cn/app-module-parking 1.0.0-alpha.10 → 1.0.0-alpha.12
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/dist/server/index.d.ts +112 -112
- package/package.json +6 -6
package/dist/server/index.d.ts
CHANGED
|
@@ -107,9 +107,9 @@ declare const parkingCards: {
|
|
|
107
107
|
membership: zod.ZodOptional<zod.ZodObject<{
|
|
108
108
|
state: zod.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
|
|
109
109
|
}, "strip", zod.ZodTypeAny, {
|
|
110
|
-
state: "unknown" | "
|
|
110
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
111
111
|
}, {
|
|
112
|
-
state: "unknown" | "
|
|
112
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
113
113
|
}>>;
|
|
114
114
|
}, "strip", zod.ZodTypeAny, {
|
|
115
115
|
bound: {
|
|
@@ -119,7 +119,7 @@ declare const parkingCards: {
|
|
|
119
119
|
}[];
|
|
120
120
|
message?: string | undefined;
|
|
121
121
|
membership?: {
|
|
122
|
-
state: "unknown" | "
|
|
122
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
123
123
|
} | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
bound: {
|
|
@@ -129,7 +129,7 @@ declare const parkingCards: {
|
|
|
129
129
|
}[];
|
|
130
130
|
message?: string | undefined;
|
|
131
131
|
membership?: {
|
|
132
|
-
state: "unknown" | "
|
|
132
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
133
133
|
} | undefined;
|
|
134
134
|
}>>;
|
|
135
135
|
readonly 'parking-info': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -150,15 +150,15 @@ declare const parkingCards: {
|
|
|
150
150
|
value: string;
|
|
151
151
|
label: string;
|
|
152
152
|
}[];
|
|
153
|
-
title: string;
|
|
154
153
|
kind: "chargeRules" | "benefitPolicy" | "vehicleLocation";
|
|
154
|
+
title: string;
|
|
155
155
|
}, {
|
|
156
156
|
entries: {
|
|
157
157
|
value: string;
|
|
158
158
|
label: string;
|
|
159
159
|
}[];
|
|
160
|
-
title: string;
|
|
161
160
|
kind: "chargeRules" | "benefitPolicy" | "vehicleLocation";
|
|
161
|
+
title: string;
|
|
162
162
|
}>>;
|
|
163
163
|
readonly 'parking-payment': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
164
164
|
quoteRef: zod.ZodString;
|
|
@@ -169,11 +169,11 @@ declare const parkingCards: {
|
|
|
169
169
|
name: zod.ZodString;
|
|
170
170
|
amountText: zod.ZodString;
|
|
171
171
|
}, "strip", zod.ZodTypeAny, {
|
|
172
|
-
name: string;
|
|
173
172
|
amountText: string;
|
|
174
|
-
}, {
|
|
175
173
|
name: string;
|
|
174
|
+
}, {
|
|
176
175
|
amountText: string;
|
|
176
|
+
name: string;
|
|
177
177
|
}>, "many">;
|
|
178
178
|
totalText: zod.ZodString;
|
|
179
179
|
discountText: zod.ZodOptional<zod.ZodString>;
|
|
@@ -182,10 +182,10 @@ declare const parkingCards: {
|
|
|
182
182
|
state: zod.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
|
|
183
183
|
availablePoints: zod.ZodOptional<zod.ZodNumber>;
|
|
184
184
|
}, "strip", zod.ZodTypeAny, {
|
|
185
|
-
state: "unknown" | "
|
|
185
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
186
186
|
availablePoints?: number | undefined;
|
|
187
187
|
}, {
|
|
188
|
-
state: "unknown" | "
|
|
188
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
189
189
|
availablePoints?: number | undefined;
|
|
190
190
|
}>>;
|
|
191
191
|
paymentOptions: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -219,12 +219,12 @@ declare const parkingCards: {
|
|
|
219
219
|
title: zod.ZodString;
|
|
220
220
|
benefitRefs: zod.ZodArray<zod.ZodString, "many">;
|
|
221
221
|
}, "strip", zod.ZodTypeAny, {
|
|
222
|
-
title: string;
|
|
223
222
|
kind: "requires_reprice";
|
|
223
|
+
title: string;
|
|
224
224
|
benefitRefs: string[];
|
|
225
225
|
}, {
|
|
226
|
-
title: string;
|
|
227
226
|
kind: "requires_reprice";
|
|
227
|
+
title: string;
|
|
228
228
|
benefitRefs: string[];
|
|
229
229
|
}>]>>;
|
|
230
230
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -238,8 +238,8 @@ declare const parkingCards: {
|
|
|
238
238
|
benefitRefs: string[];
|
|
239
239
|
pointsToUse: number;
|
|
240
240
|
} | {
|
|
241
|
-
title: string;
|
|
242
241
|
kind: "requires_reprice";
|
|
242
|
+
title: string;
|
|
243
243
|
benefitRefs: string[];
|
|
244
244
|
} | undefined;
|
|
245
245
|
}, {
|
|
@@ -253,8 +253,8 @@ declare const parkingCards: {
|
|
|
253
253
|
benefitRefs: string[];
|
|
254
254
|
pointsToUse: number;
|
|
255
255
|
} | {
|
|
256
|
-
title: string;
|
|
257
256
|
kind: "requires_reprice";
|
|
257
|
+
title: string;
|
|
258
258
|
benefitRefs: string[];
|
|
259
259
|
} | undefined;
|
|
260
260
|
}>>;
|
|
@@ -284,7 +284,7 @@ declare const parkingCards: {
|
|
|
284
284
|
benefitRef: string;
|
|
285
285
|
autoSelected: boolean;
|
|
286
286
|
description?: string | undefined;
|
|
287
|
-
kind?: "
|
|
287
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
288
288
|
discountText?: string | undefined;
|
|
289
289
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
290
290
|
}, {
|
|
@@ -292,7 +292,7 @@ declare const parkingCards: {
|
|
|
292
292
|
benefitRef: string;
|
|
293
293
|
autoSelected: boolean;
|
|
294
294
|
description?: string | undefined;
|
|
295
|
-
kind?: "
|
|
295
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
296
296
|
discountText?: string | undefined;
|
|
297
297
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
298
298
|
}>, "many">;
|
|
@@ -335,6 +335,7 @@ declare const parkingCards: {
|
|
|
335
335
|
orderNo: zod.ZodOptional<zod.ZodString>;
|
|
336
336
|
}, "strip", zod.ZodTypeAny, {
|
|
337
337
|
kind: "pay" | "unpaid";
|
|
338
|
+
parkingStoreId?: string | undefined;
|
|
338
339
|
orderInfo?: {
|
|
339
340
|
orderType: number;
|
|
340
341
|
parkingId: string;
|
|
@@ -346,10 +347,10 @@ declare const parkingCards: {
|
|
|
346
347
|
entranceTime?: string | undefined;
|
|
347
348
|
supportDiscount?: string | undefined;
|
|
348
349
|
} | undefined;
|
|
349
|
-
parkingStoreId?: string | undefined;
|
|
350
350
|
orderNo?: string | undefined;
|
|
351
351
|
}, {
|
|
352
352
|
kind: "pay" | "unpaid";
|
|
353
|
+
parkingStoreId?: string | undefined;
|
|
353
354
|
orderInfo?: {
|
|
354
355
|
orderType: number;
|
|
355
356
|
parkingId: string;
|
|
@@ -361,7 +362,6 @@ declare const parkingCards: {
|
|
|
361
362
|
entranceTime?: string | undefined;
|
|
362
363
|
supportDiscount?: string | undefined;
|
|
363
364
|
} | undefined;
|
|
364
|
-
parkingStoreId?: string | undefined;
|
|
365
365
|
orderNo?: string | undefined;
|
|
366
366
|
}>>;
|
|
367
367
|
settlement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -369,19 +369,18 @@ declare const parkingCards: {
|
|
|
369
369
|
text: zod.ZodString;
|
|
370
370
|
}, "strip", zod.ZodTypeAny, {
|
|
371
371
|
text: string;
|
|
372
|
-
state: "
|
|
372
|
+
state: "paying" | "paid" | "failed";
|
|
373
373
|
}, {
|
|
374
374
|
text: string;
|
|
375
|
-
state: "
|
|
375
|
+
state: "paying" | "paid" | "failed";
|
|
376
376
|
}>>;
|
|
377
377
|
}, "strip", zod.ZodTypeAny, {
|
|
378
|
-
|
|
378
|
+
plateNo: string;
|
|
379
379
|
caveats: string[];
|
|
380
380
|
quoteRef: string;
|
|
381
|
-
plateNo: string;
|
|
382
381
|
feeItems: {
|
|
383
|
-
name: string;
|
|
384
382
|
amountText: string;
|
|
383
|
+
name: string;
|
|
385
384
|
}[];
|
|
386
385
|
totalText: string;
|
|
387
386
|
payableText: string;
|
|
@@ -395,17 +394,18 @@ declare const parkingCards: {
|
|
|
395
394
|
benefitRef: string;
|
|
396
395
|
autoSelected: boolean;
|
|
397
396
|
description?: string | undefined;
|
|
398
|
-
kind?: "
|
|
397
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
399
398
|
discountText?: string | undefined;
|
|
400
399
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
401
400
|
}[];
|
|
402
|
-
|
|
403
|
-
durationText?: string | undefined;
|
|
404
|
-
discountText?: string | undefined;
|
|
401
|
+
revision: number;
|
|
405
402
|
membership?: {
|
|
406
|
-
state: "unknown" | "
|
|
403
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
407
404
|
availablePoints?: number | undefined;
|
|
408
405
|
} | undefined;
|
|
406
|
+
entryAtText?: string | undefined;
|
|
407
|
+
durationText?: string | undefined;
|
|
408
|
+
discountText?: string | undefined;
|
|
409
409
|
paymentOptions?: {
|
|
410
410
|
direct: {
|
|
411
411
|
benefitRefs: string[];
|
|
@@ -417,13 +417,14 @@ declare const parkingCards: {
|
|
|
417
417
|
benefitRefs: string[];
|
|
418
418
|
pointsToUse: number;
|
|
419
419
|
} | {
|
|
420
|
-
title: string;
|
|
421
420
|
kind: "requires_reprice";
|
|
421
|
+
title: string;
|
|
422
422
|
benefitRefs: string[];
|
|
423
423
|
} | undefined;
|
|
424
424
|
} | undefined;
|
|
425
425
|
payHandoff?: {
|
|
426
426
|
kind: "pay" | "unpaid";
|
|
427
|
+
parkingStoreId?: string | undefined;
|
|
427
428
|
orderInfo?: {
|
|
428
429
|
orderType: number;
|
|
429
430
|
parkingId: string;
|
|
@@ -435,21 +436,19 @@ declare const parkingCards: {
|
|
|
435
436
|
entranceTime?: string | undefined;
|
|
436
437
|
supportDiscount?: string | undefined;
|
|
437
438
|
} | undefined;
|
|
438
|
-
parkingStoreId?: string | undefined;
|
|
439
439
|
orderNo?: string | undefined;
|
|
440
440
|
} | undefined;
|
|
441
441
|
settlement?: {
|
|
442
442
|
text: string;
|
|
443
|
-
state: "
|
|
443
|
+
state: "paying" | "paid" | "failed";
|
|
444
444
|
} | undefined;
|
|
445
445
|
}, {
|
|
446
|
-
|
|
446
|
+
plateNo: string;
|
|
447
447
|
caveats: string[];
|
|
448
448
|
quoteRef: string;
|
|
449
|
-
plateNo: string;
|
|
450
449
|
feeItems: {
|
|
451
|
-
name: string;
|
|
452
450
|
amountText: string;
|
|
451
|
+
name: string;
|
|
453
452
|
}[];
|
|
454
453
|
totalText: string;
|
|
455
454
|
payableText: string;
|
|
@@ -463,17 +462,18 @@ declare const parkingCards: {
|
|
|
463
462
|
benefitRef: string;
|
|
464
463
|
autoSelected: boolean;
|
|
465
464
|
description?: string | undefined;
|
|
466
|
-
kind?: "
|
|
465
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
467
466
|
discountText?: string | undefined;
|
|
468
467
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
469
468
|
}[];
|
|
470
|
-
|
|
471
|
-
durationText?: string | undefined;
|
|
472
|
-
discountText?: string | undefined;
|
|
469
|
+
revision: number;
|
|
473
470
|
membership?: {
|
|
474
|
-
state: "unknown" | "
|
|
471
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
475
472
|
availablePoints?: number | undefined;
|
|
476
473
|
} | undefined;
|
|
474
|
+
entryAtText?: string | undefined;
|
|
475
|
+
durationText?: string | undefined;
|
|
476
|
+
discountText?: string | undefined;
|
|
477
477
|
paymentOptions?: {
|
|
478
478
|
direct: {
|
|
479
479
|
benefitRefs: string[];
|
|
@@ -485,13 +485,14 @@ declare const parkingCards: {
|
|
|
485
485
|
benefitRefs: string[];
|
|
486
486
|
pointsToUse: number;
|
|
487
487
|
} | {
|
|
488
|
-
title: string;
|
|
489
488
|
kind: "requires_reprice";
|
|
489
|
+
title: string;
|
|
490
490
|
benefitRefs: string[];
|
|
491
491
|
} | undefined;
|
|
492
492
|
} | undefined;
|
|
493
493
|
payHandoff?: {
|
|
494
494
|
kind: "pay" | "unpaid";
|
|
495
|
+
parkingStoreId?: string | undefined;
|
|
495
496
|
orderInfo?: {
|
|
496
497
|
orderType: number;
|
|
497
498
|
parkingId: string;
|
|
@@ -503,12 +504,11 @@ declare const parkingCards: {
|
|
|
503
504
|
entranceTime?: string | undefined;
|
|
504
505
|
supportDiscount?: string | undefined;
|
|
505
506
|
} | undefined;
|
|
506
|
-
parkingStoreId?: string | undefined;
|
|
507
507
|
orderNo?: string | undefined;
|
|
508
508
|
} | undefined;
|
|
509
509
|
settlement?: {
|
|
510
510
|
text: string;
|
|
511
|
-
state: "
|
|
511
|
+
state: "paying" | "paid" | "failed";
|
|
512
512
|
} | undefined;
|
|
513
513
|
}>>;
|
|
514
514
|
readonly 'parking-payment-result': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -531,28 +531,28 @@ declare const parkingCards: {
|
|
|
531
531
|
}>, "many">>;
|
|
532
532
|
}, "strip", zod.ZodTypeAny, {
|
|
533
533
|
message: string;
|
|
534
|
-
status: "
|
|
535
|
-
paymentRef: string;
|
|
534
|
+
status: "PAID" | "UNKNOWN" | "CANCELLED";
|
|
536
535
|
plateNo: string;
|
|
536
|
+
paymentRef: string;
|
|
537
537
|
amountText?: string | undefined;
|
|
538
538
|
retryable?: boolean | undefined;
|
|
539
|
-
leaveNotice?: string | undefined;
|
|
540
539
|
details?: {
|
|
541
540
|
value: string;
|
|
542
541
|
label: string;
|
|
543
542
|
}[] | undefined;
|
|
543
|
+
leaveNotice?: string | undefined;
|
|
544
544
|
}, {
|
|
545
545
|
message: string;
|
|
546
|
-
status: "
|
|
547
|
-
paymentRef: string;
|
|
546
|
+
status: "PAID" | "UNKNOWN" | "CANCELLED";
|
|
548
547
|
plateNo: string;
|
|
548
|
+
paymentRef: string;
|
|
549
549
|
amountText?: string | undefined;
|
|
550
550
|
retryable?: boolean | undefined;
|
|
551
|
-
leaveNotice?: string | undefined;
|
|
552
551
|
details?: {
|
|
553
552
|
value: string;
|
|
554
553
|
label: string;
|
|
555
554
|
}[] | undefined;
|
|
555
|
+
leaveNotice?: string | undefined;
|
|
556
556
|
}>>;
|
|
557
557
|
readonly 'parking-payment-records': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
558
558
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -571,30 +571,30 @@ declare const parkingCards: {
|
|
|
571
571
|
invoiceEligible: zod.ZodOptional<zod.ZodBoolean>;
|
|
572
572
|
invoiceIssued: zod.ZodOptional<zod.ZodBoolean>;
|
|
573
573
|
}, "strip", zod.ZodTypeAny, {
|
|
574
|
-
status: "
|
|
574
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
575
575
|
plateNo: string;
|
|
576
576
|
amountText: string;
|
|
577
577
|
recordRef: string;
|
|
578
578
|
paidAtText: string;
|
|
579
579
|
statusText?: string | undefined;
|
|
580
|
-
entryAtText?: string | undefined;
|
|
581
580
|
parkName?: string | undefined;
|
|
582
581
|
plazaName?: string | undefined;
|
|
582
|
+
entryAtText?: string | undefined;
|
|
583
583
|
exitAtText?: string | undefined;
|
|
584
584
|
payOrderNoMasked?: string | undefined;
|
|
585
585
|
orderCompleted?: boolean | undefined;
|
|
586
586
|
invoiceEligible?: boolean | undefined;
|
|
587
587
|
invoiceIssued?: boolean | undefined;
|
|
588
588
|
}, {
|
|
589
|
-
status: "
|
|
589
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
590
590
|
plateNo: string;
|
|
591
591
|
amountText: string;
|
|
592
592
|
recordRef: string;
|
|
593
593
|
paidAtText: string;
|
|
594
594
|
statusText?: string | undefined;
|
|
595
|
-
entryAtText?: string | undefined;
|
|
596
595
|
parkName?: string | undefined;
|
|
597
596
|
plazaName?: string | undefined;
|
|
597
|
+
entryAtText?: string | undefined;
|
|
598
598
|
exitAtText?: string | undefined;
|
|
599
599
|
payOrderNoMasked?: string | undefined;
|
|
600
600
|
orderCompleted?: boolean | undefined;
|
|
@@ -607,15 +607,15 @@ declare const parkingCards: {
|
|
|
607
607
|
message: zod.ZodOptional<zod.ZodString>;
|
|
608
608
|
}, "strip", zod.ZodTypeAny, {
|
|
609
609
|
items: {
|
|
610
|
-
status: "
|
|
610
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
611
611
|
plateNo: string;
|
|
612
612
|
amountText: string;
|
|
613
613
|
recordRef: string;
|
|
614
614
|
paidAtText: string;
|
|
615
615
|
statusText?: string | undefined;
|
|
616
|
-
entryAtText?: string | undefined;
|
|
617
616
|
parkName?: string | undefined;
|
|
618
617
|
plazaName?: string | undefined;
|
|
618
|
+
entryAtText?: string | undefined;
|
|
619
619
|
exitAtText?: string | undefined;
|
|
620
620
|
payOrderNoMasked?: string | undefined;
|
|
621
621
|
orderCompleted?: boolean | undefined;
|
|
@@ -628,15 +628,15 @@ declare const parkingCards: {
|
|
|
628
628
|
message?: string | undefined;
|
|
629
629
|
}, {
|
|
630
630
|
items: {
|
|
631
|
-
status: "
|
|
631
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
632
632
|
plateNo: string;
|
|
633
633
|
amountText: string;
|
|
634
634
|
recordRef: string;
|
|
635
635
|
paidAtText: string;
|
|
636
636
|
statusText?: string | undefined;
|
|
637
|
-
entryAtText?: string | undefined;
|
|
638
637
|
parkName?: string | undefined;
|
|
639
638
|
plazaName?: string | undefined;
|
|
639
|
+
entryAtText?: string | undefined;
|
|
640
640
|
exitAtText?: string | undefined;
|
|
641
641
|
payOrderNoMasked?: string | undefined;
|
|
642
642
|
orderCompleted?: boolean | undefined;
|
|
@@ -665,11 +665,11 @@ declare const serverModule: {
|
|
|
665
665
|
name: zod.ZodString;
|
|
666
666
|
amountText: zod.ZodString;
|
|
667
667
|
}, "strip", zod.ZodTypeAny, {
|
|
668
|
-
name: string;
|
|
669
668
|
amountText: string;
|
|
670
|
-
}, {
|
|
671
669
|
name: string;
|
|
670
|
+
}, {
|
|
672
671
|
amountText: string;
|
|
672
|
+
name: string;
|
|
673
673
|
}>, "many">;
|
|
674
674
|
totalText: zod.ZodString;
|
|
675
675
|
discountText: zod.ZodOptional<zod.ZodString>;
|
|
@@ -678,10 +678,10 @@ declare const serverModule: {
|
|
|
678
678
|
state: zod.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
|
|
679
679
|
availablePoints: zod.ZodOptional<zod.ZodNumber>;
|
|
680
680
|
}, "strip", zod.ZodTypeAny, {
|
|
681
|
-
state: "unknown" | "
|
|
681
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
682
682
|
availablePoints?: number | undefined;
|
|
683
683
|
}, {
|
|
684
|
-
state: "unknown" | "
|
|
684
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
685
685
|
availablePoints?: number | undefined;
|
|
686
686
|
}>>;
|
|
687
687
|
paymentOptions: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -715,12 +715,12 @@ declare const serverModule: {
|
|
|
715
715
|
title: zod.ZodString;
|
|
716
716
|
benefitRefs: zod.ZodArray<zod.ZodString, "many">;
|
|
717
717
|
}, "strip", zod.ZodTypeAny, {
|
|
718
|
-
title: string;
|
|
719
718
|
kind: "requires_reprice";
|
|
719
|
+
title: string;
|
|
720
720
|
benefitRefs: string[];
|
|
721
721
|
}, {
|
|
722
|
-
title: string;
|
|
723
722
|
kind: "requires_reprice";
|
|
723
|
+
title: string;
|
|
724
724
|
benefitRefs: string[];
|
|
725
725
|
}>]>>;
|
|
726
726
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -734,8 +734,8 @@ declare const serverModule: {
|
|
|
734
734
|
benefitRefs: string[];
|
|
735
735
|
pointsToUse: number;
|
|
736
736
|
} | {
|
|
737
|
-
title: string;
|
|
738
737
|
kind: "requires_reprice";
|
|
738
|
+
title: string;
|
|
739
739
|
benefitRefs: string[];
|
|
740
740
|
} | undefined;
|
|
741
741
|
}, {
|
|
@@ -749,8 +749,8 @@ declare const serverModule: {
|
|
|
749
749
|
benefitRefs: string[];
|
|
750
750
|
pointsToUse: number;
|
|
751
751
|
} | {
|
|
752
|
-
title: string;
|
|
753
752
|
kind: "requires_reprice";
|
|
753
|
+
title: string;
|
|
754
754
|
benefitRefs: string[];
|
|
755
755
|
} | undefined;
|
|
756
756
|
}>>;
|
|
@@ -780,7 +780,7 @@ declare const serverModule: {
|
|
|
780
780
|
benefitRef: string;
|
|
781
781
|
autoSelected: boolean;
|
|
782
782
|
description?: string | undefined;
|
|
783
|
-
kind?: "
|
|
783
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
784
784
|
discountText?: string | undefined;
|
|
785
785
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
786
786
|
}, {
|
|
@@ -788,7 +788,7 @@ declare const serverModule: {
|
|
|
788
788
|
benefitRef: string;
|
|
789
789
|
autoSelected: boolean;
|
|
790
790
|
description?: string | undefined;
|
|
791
|
-
kind?: "
|
|
791
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
792
792
|
discountText?: string | undefined;
|
|
793
793
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
794
794
|
}>, "many">;
|
|
@@ -831,6 +831,7 @@ declare const serverModule: {
|
|
|
831
831
|
orderNo: zod.ZodOptional<zod.ZodString>;
|
|
832
832
|
}, "strip", zod.ZodTypeAny, {
|
|
833
833
|
kind: "pay" | "unpaid";
|
|
834
|
+
parkingStoreId?: string | undefined;
|
|
834
835
|
orderInfo?: {
|
|
835
836
|
orderType: number;
|
|
836
837
|
parkingId: string;
|
|
@@ -842,10 +843,10 @@ declare const serverModule: {
|
|
|
842
843
|
entranceTime?: string | undefined;
|
|
843
844
|
supportDiscount?: string | undefined;
|
|
844
845
|
} | undefined;
|
|
845
|
-
parkingStoreId?: string | undefined;
|
|
846
846
|
orderNo?: string | undefined;
|
|
847
847
|
}, {
|
|
848
848
|
kind: "pay" | "unpaid";
|
|
849
|
+
parkingStoreId?: string | undefined;
|
|
849
850
|
orderInfo?: {
|
|
850
851
|
orderType: number;
|
|
851
852
|
parkingId: string;
|
|
@@ -857,7 +858,6 @@ declare const serverModule: {
|
|
|
857
858
|
entranceTime?: string | undefined;
|
|
858
859
|
supportDiscount?: string | undefined;
|
|
859
860
|
} | undefined;
|
|
860
|
-
parkingStoreId?: string | undefined;
|
|
861
861
|
orderNo?: string | undefined;
|
|
862
862
|
}>>;
|
|
863
863
|
settlement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -865,19 +865,18 @@ declare const serverModule: {
|
|
|
865
865
|
text: zod.ZodString;
|
|
866
866
|
}, "strip", zod.ZodTypeAny, {
|
|
867
867
|
text: string;
|
|
868
|
-
state: "
|
|
868
|
+
state: "paying" | "paid" | "failed";
|
|
869
869
|
}, {
|
|
870
870
|
text: string;
|
|
871
|
-
state: "
|
|
871
|
+
state: "paying" | "paid" | "failed";
|
|
872
872
|
}>>;
|
|
873
873
|
}, "strip", zod.ZodTypeAny, {
|
|
874
|
-
|
|
874
|
+
plateNo: string;
|
|
875
875
|
caveats: string[];
|
|
876
876
|
quoteRef: string;
|
|
877
|
-
plateNo: string;
|
|
878
877
|
feeItems: {
|
|
879
|
-
name: string;
|
|
880
878
|
amountText: string;
|
|
879
|
+
name: string;
|
|
881
880
|
}[];
|
|
882
881
|
totalText: string;
|
|
883
882
|
payableText: string;
|
|
@@ -891,17 +890,18 @@ declare const serverModule: {
|
|
|
891
890
|
benefitRef: string;
|
|
892
891
|
autoSelected: boolean;
|
|
893
892
|
description?: string | undefined;
|
|
894
|
-
kind?: "
|
|
893
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
895
894
|
discountText?: string | undefined;
|
|
896
895
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
897
896
|
}[];
|
|
898
|
-
|
|
899
|
-
durationText?: string | undefined;
|
|
900
|
-
discountText?: string | undefined;
|
|
897
|
+
revision: number;
|
|
901
898
|
membership?: {
|
|
902
|
-
state: "unknown" | "
|
|
899
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
903
900
|
availablePoints?: number | undefined;
|
|
904
901
|
} | undefined;
|
|
902
|
+
entryAtText?: string | undefined;
|
|
903
|
+
durationText?: string | undefined;
|
|
904
|
+
discountText?: string | undefined;
|
|
905
905
|
paymentOptions?: {
|
|
906
906
|
direct: {
|
|
907
907
|
benefitRefs: string[];
|
|
@@ -913,13 +913,14 @@ declare const serverModule: {
|
|
|
913
913
|
benefitRefs: string[];
|
|
914
914
|
pointsToUse: number;
|
|
915
915
|
} | {
|
|
916
|
-
title: string;
|
|
917
916
|
kind: "requires_reprice";
|
|
917
|
+
title: string;
|
|
918
918
|
benefitRefs: string[];
|
|
919
919
|
} | undefined;
|
|
920
920
|
} | undefined;
|
|
921
921
|
payHandoff?: {
|
|
922
922
|
kind: "pay" | "unpaid";
|
|
923
|
+
parkingStoreId?: string | undefined;
|
|
923
924
|
orderInfo?: {
|
|
924
925
|
orderType: number;
|
|
925
926
|
parkingId: string;
|
|
@@ -931,21 +932,19 @@ declare const serverModule: {
|
|
|
931
932
|
entranceTime?: string | undefined;
|
|
932
933
|
supportDiscount?: string | undefined;
|
|
933
934
|
} | undefined;
|
|
934
|
-
parkingStoreId?: string | undefined;
|
|
935
935
|
orderNo?: string | undefined;
|
|
936
936
|
} | undefined;
|
|
937
937
|
settlement?: {
|
|
938
938
|
text: string;
|
|
939
|
-
state: "
|
|
939
|
+
state: "paying" | "paid" | "failed";
|
|
940
940
|
} | undefined;
|
|
941
941
|
}, {
|
|
942
|
-
|
|
942
|
+
plateNo: string;
|
|
943
943
|
caveats: string[];
|
|
944
944
|
quoteRef: string;
|
|
945
|
-
plateNo: string;
|
|
946
945
|
feeItems: {
|
|
947
|
-
name: string;
|
|
948
946
|
amountText: string;
|
|
947
|
+
name: string;
|
|
949
948
|
}[];
|
|
950
949
|
totalText: string;
|
|
951
950
|
payableText: string;
|
|
@@ -959,17 +958,18 @@ declare const serverModule: {
|
|
|
959
958
|
benefitRef: string;
|
|
960
959
|
autoSelected: boolean;
|
|
961
960
|
description?: string | undefined;
|
|
962
|
-
kind?: "
|
|
961
|
+
kind?: "points" | "discount" | "coupon" | "other" | undefined;
|
|
963
962
|
discountText?: string | undefined;
|
|
964
963
|
exclusiveWithKinds?: ("points" | "discount" | "coupon")[] | undefined;
|
|
965
964
|
}[];
|
|
966
|
-
|
|
967
|
-
durationText?: string | undefined;
|
|
968
|
-
discountText?: string | undefined;
|
|
965
|
+
revision: number;
|
|
969
966
|
membership?: {
|
|
970
|
-
state: "unknown" | "
|
|
967
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
971
968
|
availablePoints?: number | undefined;
|
|
972
969
|
} | undefined;
|
|
970
|
+
entryAtText?: string | undefined;
|
|
971
|
+
durationText?: string | undefined;
|
|
972
|
+
discountText?: string | undefined;
|
|
973
973
|
paymentOptions?: {
|
|
974
974
|
direct: {
|
|
975
975
|
benefitRefs: string[];
|
|
@@ -981,13 +981,14 @@ declare const serverModule: {
|
|
|
981
981
|
benefitRefs: string[];
|
|
982
982
|
pointsToUse: number;
|
|
983
983
|
} | {
|
|
984
|
-
title: string;
|
|
985
984
|
kind: "requires_reprice";
|
|
985
|
+
title: string;
|
|
986
986
|
benefitRefs: string[];
|
|
987
987
|
} | undefined;
|
|
988
988
|
} | undefined;
|
|
989
989
|
payHandoff?: {
|
|
990
990
|
kind: "pay" | "unpaid";
|
|
991
|
+
parkingStoreId?: string | undefined;
|
|
991
992
|
orderInfo?: {
|
|
992
993
|
orderType: number;
|
|
993
994
|
parkingId: string;
|
|
@@ -999,12 +1000,11 @@ declare const serverModule: {
|
|
|
999
1000
|
entranceTime?: string | undefined;
|
|
1000
1001
|
supportDiscount?: string | undefined;
|
|
1001
1002
|
} | undefined;
|
|
1002
|
-
parkingStoreId?: string | undefined;
|
|
1003
1003
|
orderNo?: string | undefined;
|
|
1004
1004
|
} | undefined;
|
|
1005
1005
|
settlement?: {
|
|
1006
1006
|
text: string;
|
|
1007
|
-
state: "
|
|
1007
|
+
state: "paying" | "paid" | "failed";
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
}>>;
|
|
1010
1010
|
readonly 'parking-payment-result': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -1027,28 +1027,28 @@ declare const serverModule: {
|
|
|
1027
1027
|
}>, "many">>;
|
|
1028
1028
|
}, "strip", zod.ZodTypeAny, {
|
|
1029
1029
|
message: string;
|
|
1030
|
-
status: "
|
|
1031
|
-
paymentRef: string;
|
|
1030
|
+
status: "PAID" | "UNKNOWN" | "CANCELLED";
|
|
1032
1031
|
plateNo: string;
|
|
1032
|
+
paymentRef: string;
|
|
1033
1033
|
amountText?: string | undefined;
|
|
1034
1034
|
retryable?: boolean | undefined;
|
|
1035
|
-
leaveNotice?: string | undefined;
|
|
1036
1035
|
details?: {
|
|
1037
1036
|
value: string;
|
|
1038
1037
|
label: string;
|
|
1039
1038
|
}[] | undefined;
|
|
1039
|
+
leaveNotice?: string | undefined;
|
|
1040
1040
|
}, {
|
|
1041
1041
|
message: string;
|
|
1042
|
-
status: "
|
|
1043
|
-
paymentRef: string;
|
|
1042
|
+
status: "PAID" | "UNKNOWN" | "CANCELLED";
|
|
1044
1043
|
plateNo: string;
|
|
1044
|
+
paymentRef: string;
|
|
1045
1045
|
amountText?: string | undefined;
|
|
1046
1046
|
retryable?: boolean | undefined;
|
|
1047
|
-
leaveNotice?: string | undefined;
|
|
1048
1047
|
details?: {
|
|
1049
1048
|
value: string;
|
|
1050
1049
|
label: string;
|
|
1051
1050
|
}[] | undefined;
|
|
1051
|
+
leaveNotice?: string | undefined;
|
|
1052
1052
|
}>>;
|
|
1053
1053
|
readonly 'parking-payment-records': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1054
1054
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1067,30 +1067,30 @@ declare const serverModule: {
|
|
|
1067
1067
|
invoiceEligible: zod.ZodOptional<zod.ZodBoolean>;
|
|
1068
1068
|
invoiceIssued: zod.ZodOptional<zod.ZodBoolean>;
|
|
1069
1069
|
}, "strip", zod.ZodTypeAny, {
|
|
1070
|
-
status: "
|
|
1070
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
1071
1071
|
plateNo: string;
|
|
1072
1072
|
amountText: string;
|
|
1073
1073
|
recordRef: string;
|
|
1074
1074
|
paidAtText: string;
|
|
1075
1075
|
statusText?: string | undefined;
|
|
1076
|
-
entryAtText?: string | undefined;
|
|
1077
1076
|
parkName?: string | undefined;
|
|
1078
1077
|
plazaName?: string | undefined;
|
|
1078
|
+
entryAtText?: string | undefined;
|
|
1079
1079
|
exitAtText?: string | undefined;
|
|
1080
1080
|
payOrderNoMasked?: string | undefined;
|
|
1081
1081
|
orderCompleted?: boolean | undefined;
|
|
1082
1082
|
invoiceEligible?: boolean | undefined;
|
|
1083
1083
|
invoiceIssued?: boolean | undefined;
|
|
1084
1084
|
}, {
|
|
1085
|
-
status: "
|
|
1085
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
1086
1086
|
plateNo: string;
|
|
1087
1087
|
amountText: string;
|
|
1088
1088
|
recordRef: string;
|
|
1089
1089
|
paidAtText: string;
|
|
1090
1090
|
statusText?: string | undefined;
|
|
1091
|
-
entryAtText?: string | undefined;
|
|
1092
1091
|
parkName?: string | undefined;
|
|
1093
1092
|
plazaName?: string | undefined;
|
|
1093
|
+
entryAtText?: string | undefined;
|
|
1094
1094
|
exitAtText?: string | undefined;
|
|
1095
1095
|
payOrderNoMasked?: string | undefined;
|
|
1096
1096
|
orderCompleted?: boolean | undefined;
|
|
@@ -1103,15 +1103,15 @@ declare const serverModule: {
|
|
|
1103
1103
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1104
1104
|
}, "strip", zod.ZodTypeAny, {
|
|
1105
1105
|
items: {
|
|
1106
|
-
status: "
|
|
1106
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
1107
1107
|
plateNo: string;
|
|
1108
1108
|
amountText: string;
|
|
1109
1109
|
recordRef: string;
|
|
1110
1110
|
paidAtText: string;
|
|
1111
1111
|
statusText?: string | undefined;
|
|
1112
|
-
entryAtText?: string | undefined;
|
|
1113
1112
|
parkName?: string | undefined;
|
|
1114
1113
|
plazaName?: string | undefined;
|
|
1114
|
+
entryAtText?: string | undefined;
|
|
1115
1115
|
exitAtText?: string | undefined;
|
|
1116
1116
|
payOrderNoMasked?: string | undefined;
|
|
1117
1117
|
orderCompleted?: boolean | undefined;
|
|
@@ -1124,15 +1124,15 @@ declare const serverModule: {
|
|
|
1124
1124
|
message?: string | undefined;
|
|
1125
1125
|
}, {
|
|
1126
1126
|
items: {
|
|
1127
|
-
status: "
|
|
1127
|
+
status: "PAID" | "REFUNDED" | "CLOSED" | "UNKNOWN";
|
|
1128
1128
|
plateNo: string;
|
|
1129
1129
|
amountText: string;
|
|
1130
1130
|
recordRef: string;
|
|
1131
1131
|
paidAtText: string;
|
|
1132
1132
|
statusText?: string | undefined;
|
|
1133
|
-
entryAtText?: string | undefined;
|
|
1134
1133
|
parkName?: string | undefined;
|
|
1135
1134
|
plazaName?: string | undefined;
|
|
1135
|
+
entryAtText?: string | undefined;
|
|
1136
1136
|
exitAtText?: string | undefined;
|
|
1137
1137
|
payOrderNoMasked?: string | undefined;
|
|
1138
1138
|
orderCompleted?: boolean | undefined;
|
|
@@ -1162,9 +1162,9 @@ declare const serverModule: {
|
|
|
1162
1162
|
membership: zod.ZodOptional<zod.ZodObject<{
|
|
1163
1163
|
state: zod.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
|
|
1164
1164
|
}, "strip", zod.ZodTypeAny, {
|
|
1165
|
-
state: "unknown" | "
|
|
1165
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
1166
1166
|
}, {
|
|
1167
|
-
state: "unknown" | "
|
|
1167
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
1168
1168
|
}>>;
|
|
1169
1169
|
}, "strip", zod.ZodTypeAny, {
|
|
1170
1170
|
bound: {
|
|
@@ -1174,7 +1174,7 @@ declare const serverModule: {
|
|
|
1174
1174
|
}[];
|
|
1175
1175
|
message?: string | undefined;
|
|
1176
1176
|
membership?: {
|
|
1177
|
-
state: "unknown" | "
|
|
1177
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
1178
1178
|
} | undefined;
|
|
1179
1179
|
}, {
|
|
1180
1180
|
bound: {
|
|
@@ -1184,7 +1184,7 @@ declare const serverModule: {
|
|
|
1184
1184
|
}[];
|
|
1185
1185
|
message?: string | undefined;
|
|
1186
1186
|
membership?: {
|
|
1187
|
-
state: "unknown" | "
|
|
1187
|
+
state: "unknown" | "unauthenticated" | "active" | "not_enrolled" | "closed" | "unavailable";
|
|
1188
1188
|
} | undefined;
|
|
1189
1189
|
}>>;
|
|
1190
1190
|
readonly 'parking-info': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -1205,15 +1205,15 @@ declare const serverModule: {
|
|
|
1205
1205
|
value: string;
|
|
1206
1206
|
label: string;
|
|
1207
1207
|
}[];
|
|
1208
|
-
title: string;
|
|
1209
1208
|
kind: "chargeRules" | "benefitPolicy" | "vehicleLocation";
|
|
1209
|
+
title: string;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
entries: {
|
|
1212
1212
|
value: string;
|
|
1213
1213
|
label: string;
|
|
1214
1214
|
}[];
|
|
1215
|
-
title: string;
|
|
1216
1215
|
kind: "chargeRules" | "benefitPolicy" | "vehicleLocation";
|
|
1216
|
+
title: string;
|
|
1217
1217
|
}>>;
|
|
1218
1218
|
};
|
|
1219
1219
|
skills: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-parking",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "商圈停车模块:计费支付、车辆寻车、缴费记录与开票(codegen 源)。",
|
|
6
6
|
"exports": {
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
22
|
-
"@tbox.cn/app-
|
|
23
|
-
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.
|
|
24
|
-
"@tbox.cn/app-
|
|
21
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.12",
|
|
22
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.12",
|
|
23
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.12",
|
|
24
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.12"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"zod": "3.25.76",
|
|
28
28
|
"react": "18.3.1",
|
|
29
29
|
"@phosphor-icons/react": "2.1.10",
|
|
30
|
-
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.
|
|
30
|
+
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.12"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/react": "18.3.31",
|