@pisell/private-materials 6.6.46 → 6.6.48
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/locales.d.ts +603 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/footer/amount.js +5 -0
- package/es/components/booking/components/voucher/utils.d.ts +5 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/hooks/useQuotation.js +2 -2
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/es/components/booking/locales.d.ts +1619 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.d.ts +31 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/locales.d.ts +853 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/list/locales.d.ts +108 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/locales.d.ts +58 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +456 -0
- package/es/components/systemSettings/registry/types.d.ts +128 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/locales.d.ts +328 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.d.ts +4 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/plus/clientCard/index.d.ts +7 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/saasAttendance/index.d.ts +6 -0
- package/es/plus/saasAttendance/locales.d.ts +528 -0
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/es/plus/saasAttendance/settings/types.d.ts +130 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/es/plus/saasRole/index.d.ts +14 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/serve.d.ts +72 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/es/plus/saasTeamMembers/index.d.ts +5 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/serve.d.ts +95 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/es/plus/walletPassGallery/index.d.ts +11 -0
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/serve.d.ts +245 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/skuDetailModal/locales.d.ts +78 -0
- package/es/pro/skuDetailModal/types.d.ts +352 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/locales.d.ts +603 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/footer/amount.js +5 -0
- package/lib/components/booking/components/voucher/utils.d.ts +5 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/hooks/useQuotation.js +2 -2
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/lib/components/booking/locales.d.ts +1619 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.d.ts +31 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/locales.d.ts +853 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/list/locales.d.ts +108 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/locales.d.ts +58 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +456 -0
- package/lib/components/systemSettings/registry/types.d.ts +128 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/locales.d.ts +328 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.d.ts +4 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/plus/clientCard/index.d.ts +7 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/saasAttendance/index.d.ts +6 -0
- package/lib/plus/saasAttendance/locales.d.ts +528 -0
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/lib/plus/saasRole/index.d.ts +14 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/serve.d.ts +72 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/lib/plus/saasTeamMembers/index.d.ts +5 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/lib/plus/walletPassGallery/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/serve.d.ts +245 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/skuDetailModal/locales.d.ts +78 -0
- package/lib/pro/skuDetailModal/types.d.ts +352 -0
- package/package.json +4 -4
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 钱包列表查询参数接口
|
|
3
|
+
*/
|
|
4
|
+
export interface IWalletListParmsProps {
|
|
5
|
+
tags?: string[];
|
|
6
|
+
sales_status?: 1 | 0 | -1;
|
|
7
|
+
machine_search?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
limit_status?: string;
|
|
10
|
+
relation_id?: string;
|
|
11
|
+
relation_type?: string;
|
|
12
|
+
customer_id?: number;
|
|
13
|
+
sort?: 'desc' | 'asc';
|
|
14
|
+
order_by?: string;
|
|
15
|
+
used_status?: string;
|
|
16
|
+
num?: number;
|
|
17
|
+
skip?: number;
|
|
18
|
+
filter_wallet_id?: string;
|
|
19
|
+
filter_holder_id?: string;
|
|
20
|
+
available: 0 | 1;
|
|
21
|
+
with?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 钱包列表项属性接口
|
|
25
|
+
*/
|
|
26
|
+
export interface IWalletListItemProps {
|
|
27
|
+
id?: number | string;
|
|
28
|
+
encoded?: string;
|
|
29
|
+
code?: string;
|
|
30
|
+
limit_status?: string;
|
|
31
|
+
customer_id?: number;
|
|
32
|
+
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
33
|
+
created_at?: string;
|
|
34
|
+
product_id?: number;
|
|
35
|
+
sales_status?: 1 | 0;
|
|
36
|
+
tag?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
redeemed_at?: string;
|
|
39
|
+
collection_time?: string;
|
|
40
|
+
order_id?: number;
|
|
41
|
+
par_value?: string;
|
|
42
|
+
write_status?: number;
|
|
43
|
+
expire_date?: string;
|
|
44
|
+
balance?: string;
|
|
45
|
+
extension_id?: string;
|
|
46
|
+
product_title?: string;
|
|
47
|
+
product_cover?: string;
|
|
48
|
+
product?: IProductProps;
|
|
49
|
+
unified_available_status?: 0 | 1;
|
|
50
|
+
unified_error_code?: number;
|
|
51
|
+
shop: IShop;
|
|
52
|
+
unified_messages: any;
|
|
53
|
+
machinecode_config?: {
|
|
54
|
+
hide_recharge?: number;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 商店信息接口
|
|
59
|
+
*/
|
|
60
|
+
export interface IShop {
|
|
61
|
+
name: string;
|
|
62
|
+
id: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 商品属性接口
|
|
66
|
+
*/
|
|
67
|
+
export interface IProductProps {
|
|
68
|
+
id?: number;
|
|
69
|
+
title?: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* API响应接口
|
|
74
|
+
*/
|
|
75
|
+
export interface ApiResponse<T> {
|
|
76
|
+
data: T;
|
|
77
|
+
code?: number;
|
|
78
|
+
message?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* 错误处理函数类型
|
|
82
|
+
*/
|
|
83
|
+
export declare type ErrorCallback = () => void;
|
|
84
|
+
/**
|
|
85
|
+
* 获取钱包列表
|
|
86
|
+
* @param params 查询参数
|
|
87
|
+
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
88
|
+
* @throws 请求失败时抛出错误
|
|
89
|
+
*/
|
|
90
|
+
export declare const getWalletPassList: (params: IWalletListParmsProps, options?: {
|
|
91
|
+
apiPrefix: string;
|
|
92
|
+
}) => Promise<{
|
|
93
|
+
list: IWalletListItemProps[];
|
|
94
|
+
count: number;
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* 通过code绑定客户
|
|
98
|
+
* @param params 请求参数,包含code
|
|
99
|
+
* @param errCallback 错误回调
|
|
100
|
+
* @returns Promise<any> 绑定结果
|
|
101
|
+
*/
|
|
102
|
+
export declare const bindCodeToCustomer: (params: {
|
|
103
|
+
code: string;
|
|
104
|
+
}) => Promise<any>;
|
|
105
|
+
/**
|
|
106
|
+
* 用户根据code查询待绑定识别码列表
|
|
107
|
+
* @param params 请求参数,包含code和tag
|
|
108
|
+
* @param errCallback 错误回调函数
|
|
109
|
+
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
110
|
+
*/
|
|
111
|
+
export declare const getUnbindList: (params: {
|
|
112
|
+
code: string;
|
|
113
|
+
tag?: string;
|
|
114
|
+
}) => Promise<IWalletListItemProps[] | null>;
|
|
115
|
+
/**
|
|
116
|
+
* 下单请求参数接口
|
|
117
|
+
*/
|
|
118
|
+
export interface IOrderParams {
|
|
119
|
+
voucher_id: string;
|
|
120
|
+
product_id: string;
|
|
121
|
+
product_variant_id: string;
|
|
122
|
+
quantity: number;
|
|
123
|
+
type: string;
|
|
124
|
+
platform: string;
|
|
125
|
+
currency_code: {
|
|
126
|
+
currency_code: string;
|
|
127
|
+
currency_symbol: string;
|
|
128
|
+
currency_format: string;
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* 下单
|
|
133
|
+
* @param params 下单参数
|
|
134
|
+
* @returns Promise<any> 下单结果
|
|
135
|
+
* @throws 请求失败时抛出错误
|
|
136
|
+
*/
|
|
137
|
+
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
138
|
+
/**
|
|
139
|
+
* 设置请求对象
|
|
140
|
+
* @param req 请求对象
|
|
141
|
+
*/
|
|
142
|
+
export declare const setRequest: (req: any) => void;
|
|
143
|
+
interface IAssetListProps {
|
|
144
|
+
skip?: string;
|
|
145
|
+
num?: string;
|
|
146
|
+
card_id?: string;
|
|
147
|
+
sourceType?: string;
|
|
148
|
+
business_object?: string;
|
|
149
|
+
tag?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface IAssetItem {
|
|
152
|
+
id?: string;
|
|
153
|
+
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
154
|
+
shop_id?: string;
|
|
155
|
+
transaction_id?: string;
|
|
156
|
+
title?: string;
|
|
157
|
+
created_at?: string;
|
|
158
|
+
amount?: string;
|
|
159
|
+
balance?: string;
|
|
160
|
+
currency_symbol?: string;
|
|
161
|
+
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* 资产明细列表
|
|
165
|
+
* @param params 接口请求参数
|
|
166
|
+
* @returns 资产明细列表
|
|
167
|
+
*/
|
|
168
|
+
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
169
|
+
list: IAssetItem[];
|
|
170
|
+
}>;
|
|
171
|
+
/**
|
|
172
|
+
* 资产明细(admin)
|
|
173
|
+
*/
|
|
174
|
+
export declare const getActiveLogs: (params: {
|
|
175
|
+
filter_card_id: string;
|
|
176
|
+
}) => Promise<{
|
|
177
|
+
list: IAssetItem[];
|
|
178
|
+
}>;
|
|
179
|
+
/**
|
|
180
|
+
* 获取资产详情
|
|
181
|
+
* @param params 接口请求参数
|
|
182
|
+
* @returns 资产详情
|
|
183
|
+
*/
|
|
184
|
+
export declare const getDetailApi: (params: {
|
|
185
|
+
id: string;
|
|
186
|
+
order_behavior_count_customer_id: string;
|
|
187
|
+
apiPrefix: string;
|
|
188
|
+
}) => Promise<IDetailResponse>;
|
|
189
|
+
/**
|
|
190
|
+
* 详情响应数据结构,供组件消费
|
|
191
|
+
*/
|
|
192
|
+
export interface IDetailResponse {
|
|
193
|
+
detailId?: string;
|
|
194
|
+
productId?: string;
|
|
195
|
+
gift_option?: Array<{
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
gift_price: number;
|
|
199
|
+
price: number;
|
|
200
|
+
variant_id?: string;
|
|
201
|
+
}>;
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
}
|
|
204
|
+
interface OrderParams {
|
|
205
|
+
voucher_id: string;
|
|
206
|
+
product_id: string;
|
|
207
|
+
product_variant_id: string;
|
|
208
|
+
quantity: number;
|
|
209
|
+
type: string;
|
|
210
|
+
platform: string;
|
|
211
|
+
currency_code: {
|
|
212
|
+
currency_code: string;
|
|
213
|
+
currency_symbol: string;
|
|
214
|
+
currency_format: string;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
interface OrderResponse {
|
|
218
|
+
order_id: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* 下单接口
|
|
222
|
+
* @param params - 订单参数
|
|
223
|
+
* @returns 订单响应数据
|
|
224
|
+
*/
|
|
225
|
+
export declare const orderRechargeProduct: (params: OrderParams) => Promise<OrderResponse>;
|
|
226
|
+
/**
|
|
227
|
+
* @desc: 获取钱包信息
|
|
228
|
+
* @author: Arthur
|
|
229
|
+
* @date: 2025-11-03 15:30
|
|
230
|
+
*/
|
|
231
|
+
export declare const getWalletDetail: (id: string | number) => Promise<any>;
|
|
232
|
+
/**
|
|
233
|
+
* 更新卡券持有人
|
|
234
|
+
* @param id 卡券ID
|
|
235
|
+
* @param params 更新参数
|
|
236
|
+
* @returns 更新结果
|
|
237
|
+
*/
|
|
238
|
+
export declare const updateWalletPassHolder: (id: string, params: any) => Promise<any>;
|
|
239
|
+
/**
|
|
240
|
+
* 获取卡券详情
|
|
241
|
+
* @param id 卡券ID
|
|
242
|
+
* @returns 卡券详情
|
|
243
|
+
*/
|
|
244
|
+
export declare const getWalletPassDetail: (id: string, params: any) => Promise<any>;
|
|
245
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ScheduleTextResult {
|
|
2
|
+
validityTexts: string[];
|
|
3
|
+
excluded_date: string[];
|
|
4
|
+
included_date: string[];
|
|
5
|
+
}
|
|
6
|
+
declare type Locale = 'en' | 'zh-CN' | 'zh-HK' | 'ja' | 'pt';
|
|
7
|
+
interface ScheduleItem {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
+
start_time: string | null;
|
|
14
|
+
end_time: string | null;
|
|
15
|
+
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
+
repeat_rule: {
|
|
17
|
+
end: {
|
|
18
|
+
type: 'never' | 'date' | 'occurrence';
|
|
19
|
+
end_date: string | null;
|
|
20
|
+
occurrence: number | null;
|
|
21
|
+
};
|
|
22
|
+
frequency: number;
|
|
23
|
+
excluded_date: Array<{
|
|
24
|
+
start: string;
|
|
25
|
+
end: string;
|
|
26
|
+
}>;
|
|
27
|
+
included_date: any[];
|
|
28
|
+
frequency_date: number[];
|
|
29
|
+
} | null;
|
|
30
|
+
designation: Array<{
|
|
31
|
+
start_date: string;
|
|
32
|
+
start_time: string;
|
|
33
|
+
end_date: string;
|
|
34
|
+
end_time: string;
|
|
35
|
+
}> | null;
|
|
36
|
+
is_all: number;
|
|
37
|
+
time_slot: Array<{
|
|
38
|
+
start_time: string;
|
|
39
|
+
end_time: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 根据scheduleList格式化文案展示
|
|
44
|
+
* @param scheduleList 日程列表
|
|
45
|
+
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
+
export {};
|