@pisell/pisellos 2.1.71 → 2.1.73

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.
@@ -299,6 +299,16 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
299
299
  errorList: any[];
300
300
  };
301
301
  getTimeSlotByAllResources(resources_code: string): any[];
302
+ getTimeSlotByAllResourcesForDate({ resources_code, startDate, endDate }: {
303
+ resources_code: string;
304
+ startDate: string;
305
+ endDate: string;
306
+ }): Promise<{
307
+ date: string;
308
+ status: string;
309
+ week: string;
310
+ weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
311
+ }[]>;
302
312
  submitTimeSlot(timeSlots: TimeSliceItem): void;
303
313
  private getScheduleDataByIds;
304
314
  openProductDetail(productId: number): Promise<void>;
@@ -316,7 +326,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
316
326
  count: number;
317
327
  left: number;
318
328
  summaryCount: number;
319
- status: keyof TimeStatusMap;
329
+ status: "lots_of_space" | "filling_up_fast" | "sold_out";
320
330
  }[];
321
331
  /**
322
332
  * 找到多个资源的公共可用时间段
@@ -381,9 +391,3 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
381
391
  */
382
392
  getContactInfo(params: any): Promise<any>;
383
393
  }
384
- interface TimeStatusMap {
385
- lots_of_space: true;
386
- filling_up_fast: true;
387
- sold_out: true;
388
- }
389
- export {};