@pisell/pisellos 0.0.388 → 0.0.389

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.
@@ -38,7 +38,7 @@ export var CashPaymentImpl = /*#__PURE__*/function () {
38
38
  paymentItem = {
39
39
  amount: amount.toString(),
40
40
  code: cashMethod.code,
41
- id: cashMethod.id,
41
+ custom_payment_id: cashMethod.id,
42
42
  name: cashMethod.name,
43
43
  type: cashMethod.type,
44
44
  voucher_id: ''
@@ -38,7 +38,7 @@ export var EftposPaymentImpl = /*#__PURE__*/function () {
38
38
  paymentItem = {
39
39
  amount: amount.toString(),
40
40
  code: eftposMethod.code,
41
- id: eftposMethod.id,
41
+ custom_payment_id: eftposMethod.id,
42
42
  name: eftposMethod.name,
43
43
  type: eftposMethod.type,
44
44
  voucher_id: ''
@@ -1170,7 +1170,7 @@ export var PaymentModule = /*#__PURE__*/function (_BaseModule) {
1170
1170
  currentTime = formatDateTime(new Date());
1171
1171
  newPaymentItem = {
1172
1172
  uuid: paymentUuid,
1173
- id: paymentItem.id || 0,
1173
+ custom_payment_id: paymentItem.custom_payment_id || 0,
1174
1174
  name: paymentItem.name,
1175
1175
  code: paymentItem.code,
1176
1176
  type: paymentItem.type,
@@ -1697,7 +1697,7 @@ export var PaymentModule = /*#__PURE__*/function (_BaseModule) {
1697
1697
  uuid: payment.uuid,
1698
1698
  amount: payment.amount,
1699
1699
  code: payment.code,
1700
- id: payment.id,
1700
+ custom_payment_id: payment.custom_payment_id,
1701
1701
  name: payment.name,
1702
1702
  type: payment.type,
1703
1703
  voucher_id: payment.voucher_id,
@@ -96,7 +96,7 @@ export interface PaymentItem {
96
96
  /** 支付类型,跟支付列表上对应的支付方式保持一致 */
97
97
  code: string;
98
98
  /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
99
- id: number;
99
+ custom_payment_id: number;
100
100
  /** 支付类型名称,跟支付列表上对应的支付方式保持一致 */
101
101
  name: string;
102
102
  /** 支付类型type,跟支付列表上对应的支付方式保持一致 */
@@ -225,7 +225,7 @@ export interface PaymentItemInput {
225
225
  /** 支付类型,跟支付列表上对应的支付方式保持一致 */
226
226
  code: string;
227
227
  /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
228
- id: number;
228
+ custom_payment_id: number;
229
229
  /** 支付类型名称,跟支付列表上对应的支付方式保持一致 */
230
230
  name: string;
231
231
  /** 支付类型type,跟支付列表上对应的支付方式保持一致 */
@@ -644,7 +644,7 @@ export var WalletPassPaymentImpl = /*#__PURE__*/function () {
644
644
  paymentItem = {
645
645
  amount: amount.toString(),
646
646
  code: walletMethod.code,
647
- id: walletMethod.id,
647
+ custom_payment_id: walletMethod.id,
648
648
  name: walletMethod.name,
649
649
  type: walletMethod.type,
650
650
  voucher_id: voucherId || ''
@@ -308,7 +308,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
308
308
  date: string;
309
309
  status: string;
310
310
  week: string;
311
- weekNum: 0 | 2 | 1 | 3 | 5 | 4 | 6;
311
+ weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
312
312
  }[]>;
313
313
  submitTimeSlot(timeSlots: TimeSliceItem): void;
314
314
  private getScheduleDataByIds;
@@ -123,7 +123,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
123
123
  * 获取当前的客户搜索条件
124
124
  * @returns 当前搜索条件
125
125
  */
126
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
126
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
127
127
  /**
128
128
  * 获取客户列表状态(包含滚动加载相关状态)
129
129
  * @returns 客户状态
@@ -35,7 +35,7 @@ var CashPaymentImpl = class {
35
35
  const paymentItem = {
36
36
  amount: amount.toString(),
37
37
  code: cashMethod.code,
38
- id: cashMethod.id,
38
+ custom_payment_id: cashMethod.id,
39
39
  name: cashMethod.name,
40
40
  type: cashMethod.type,
41
41
  voucher_id: ""
@@ -34,7 +34,7 @@ var EftposPaymentImpl = class {
34
34
  const paymentItem = {
35
35
  amount: amount.toString(),
36
36
  code: eftposMethod.code,
37
- id: eftposMethod.id,
37
+ custom_payment_id: eftposMethod.id,
38
38
  name: eftposMethod.name,
39
39
  type: eftposMethod.type,
40
40
  voucher_id: ""
@@ -591,7 +591,7 @@ var PaymentModule = class extends import_BaseModule.BaseModule {
591
591
  const currentTime = formatDateTime(/* @__PURE__ */ new Date());
592
592
  const newPaymentItem = {
593
593
  uuid: paymentUuid,
594
- id: paymentItem.id || 0,
594
+ custom_payment_id: paymentItem.custom_payment_id || 0,
595
595
  name: paymentItem.name,
596
596
  code: paymentItem.code,
597
597
  type: paymentItem.type,
@@ -858,7 +858,7 @@ var PaymentModule = class extends import_BaseModule.BaseModule {
858
858
  uuid: payment.uuid,
859
859
  amount: payment.amount,
860
860
  code: payment.code,
861
- id: payment.id,
861
+ custom_payment_id: payment.custom_payment_id,
862
862
  name: payment.name,
863
863
  type: payment.type,
864
864
  voucher_id: payment.voucher_id,
@@ -96,7 +96,7 @@ export interface PaymentItem {
96
96
  /** 支付类型,跟支付列表上对应的支付方式保持一致 */
97
97
  code: string;
98
98
  /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
99
- id: number;
99
+ custom_payment_id: number;
100
100
  /** 支付类型名称,跟支付列表上对应的支付方式保持一致 */
101
101
  name: string;
102
102
  /** 支付类型type,跟支付列表上对应的支付方式保持一致 */
@@ -225,7 +225,7 @@ export interface PaymentItemInput {
225
225
  /** 支付类型,跟支付列表上对应的支付方式保持一致 */
226
226
  code: string;
227
227
  /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
228
- id: number;
228
+ custom_payment_id: number;
229
229
  /** 支付类型名称,跟支付列表上对应的支付方式保持一致 */
230
230
  name: string;
231
231
  /** 支付类型type,跟支付列表上对应的支付方式保持一致 */
@@ -455,7 +455,7 @@ var WalletPassPaymentImpl = class {
455
455
  const paymentItem = {
456
456
  amount: amount.toString(),
457
457
  code: walletMethod.code,
458
- id: walletMethod.id,
458
+ custom_payment_id: walletMethod.id,
459
459
  name: walletMethod.name,
460
460
  type: walletMethod.type,
461
461
  voucher_id: voucherId || ""
@@ -308,7 +308,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
308
308
  date: string;
309
309
  status: string;
310
310
  week: string;
311
- weekNum: 0 | 2 | 1 | 3 | 5 | 4 | 6;
311
+ weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
312
312
  }[]>;
313
313
  submitTimeSlot(timeSlots: TimeSliceItem): void;
314
314
  private getScheduleDataByIds;
@@ -123,7 +123,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
123
123
  * 获取当前的客户搜索条件
124
124
  * @returns 当前搜索条件
125
125
  */
126
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
126
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
127
127
  /**
128
128
  * 获取客户列表状态(包含滚动加载相关状态)
129
129
  * @returns 客户状态
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.388",
4
+ "version": "0.0.389",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",