@lemoncloud/ssocio-stacks-api 0.26.402 → 0.26.702

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.
@@ -10,7 +10,7 @@
10
10
  * Copyright (C) 2020 LemonCloud Co Ltd. - All Rights Reserved.
11
11
  */
12
12
  import { CoreModel, NextIdentityAccess } from 'lemon-model';
13
- import { BillingType, DeviceType, GenderType, MonthType, PaymentType, ProgramStartType, RefundType, ServiceStatus, ComissionRate, PeriodInfo, DayOfTheWeekPolicy, BaseTimeType, TimeBlock, ManagementStereoType, CategoryStereoType, GuideLine, CardType, WeekDayType, AgreedType, User, CancelPeriodType, PushTargetType, Instructor, BoolFlag, Segment, SeatStereoType, TimeElement$, ReserveLimitTargetType, ProgramStereoType, PassStereoType, PassOperationType, PassStateType, BreakTimeConfig$ } from './backend-types';
13
+ import { BillingType, DeviceType, GenderType, MonthType, PaymentType, ProgramStartType, RefundType, ServiceStatus, ComissionRate, PeriodInfo, DayOfTheWeekPolicy, BaseTimeType, TimeBlock, ManagementStereoType, CategoryStereoType, GuideLine, CardType, WeekDayType, AgreedType, User, CancelPeriodType, PushTargetType, Instructor, BoolFlag, Segment, SeatStereoType, TimeElement$, ReserveLimitTargetType, ProgramStereoType, PassStereoType, PassOperationType, PassStateType, BreakTimeConfig$, InitialPurchasePolicyType, RenewalDayPolicyType, TerminationPolicyType, MemberExcludeType } from './backend-types';
14
14
  import { SeatUnitType, SeatStereo, CategoryNode, StockNode, TicketNode, SeatStateType } from '../lib/types';
15
15
  /**
16
16
  * type: model-type
@@ -665,6 +665,20 @@ export interface PassOpsModel extends Model, PassOpsHead {
665
665
  * 이용권 사용이 허용된 프로그램 목록
666
666
  */
667
667
  allowedPrograms$?: ProgramHead[];
668
+ /** 자동결제(구독) 갱신 사용 여부 */
669
+ useAutoRenewal?: BoolFlag;
670
+ /** 자동결제 최초 결제 정책 */
671
+ initialPurchasePolicy?: InitialPurchasePolicyType;
672
+ /** 자동결제 갱신일 정책 (미설정 시 가입일(anchorDay) 기준) */
673
+ renewalDayPolicy?: RenewalDayPolicyType;
674
+ /** 자동결제 해지 정책 */
675
+ terminationPolicy?: TerminationPolicyType;
676
+ /** 자동결제 갱신 제외 대상 회원 유형 */
677
+ excludeMembers?: MemberExcludeType[];
678
+ /** 퇴거예정회원 제외 기준일 (퇴거일로부터 n일 이내) */
679
+ excludeMovingOutDays?: number;
680
+ /** 자동결제 실패 시 알림 발송 여부 */
681
+ notifyOnFailure?: BoolFlag;
668
682
  }
669
683
  /**
670
684
  * Type: `PushNotificationHead`
@@ -532,6 +532,13 @@ export declare const $LUT: {
532
532
  /** 키오스크 */
533
533
  kiosk: string;
534
534
  };
535
+ /** MemberExclude (멤버 제외 사유) */
536
+ MemberExclude: {
537
+ /** 정지회원 */
538
+ suspended: string;
539
+ /** 이사예정회원 */
540
+ movingOut: string;
541
+ };
535
542
  /** 서비스 상태 (Service Status)*/
536
543
  Service: {
537
544
  /** 대기 */
@@ -706,7 +713,55 @@ export declare const $LUT: {
706
713
  /** 정책 비활성화 */
707
714
  inactive: string;
708
715
  };
716
+ /**
717
+ * InitialPurchasePolicy
718
+ * - 자동결제 최초 결제 정책
719
+ */
720
+ InitialPurchasePolicy: {
721
+ /** 전액청구(당월말까지) */
722
+ fullCalendar: string;
723
+ /** 일할첫결제(가입일갱신) */
724
+ prorataAnchor: string;
725
+ };
726
+ /**
727
+ * RenewalDayPolicy
728
+ * - 자동결제 갱신일 정책
729
+ */
730
+ RenewalDayPolicy: {
731
+ /** 매월 1일 */
732
+ firstDay: string;
733
+ /** 매월 말일 */
734
+ lastDay: string;
735
+ /** 가입일 기준 */
736
+ anchorDay: string;
737
+ };
738
+ /**
739
+ * TerminationPolicy
740
+ * - 자동결제 해지 정책
741
+ */
742
+ TerminationPolicy: {
743
+ /** 예약해지(말일까지) */
744
+ scheduled: string;
745
+ /** 즉시해지 */
746
+ immediate: string;
747
+ };
709
748
  };
749
+ /**
750
+ * type: `InitialPurchasePolicyType`
751
+ */
752
+ export declare type InitialPurchasePolicyType = keyof typeof $LUT.InitialPurchasePolicy;
753
+ /**
754
+ * type: `RenewalDayPolicyType`
755
+ */
756
+ export declare type RenewalDayPolicyType = keyof typeof $LUT.RenewalDayPolicy;
757
+ /**
758
+ * type: `TerminationPolicyType`
759
+ */
760
+ export declare type TerminationPolicyType = keyof typeof $LUT.TerminationPolicy;
761
+ /**
762
+ * type: `MemberExcludeType`
763
+ */
764
+ export declare type MemberExcludeType = keyof typeof $LUT.MemberExclude;
710
765
  /**
711
766
  * type: `CategoryStereoType`
712
767
  */