@lemoncloud/ssocio-stacks-api 0.26.706 → 0.26.713
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$, InitialPurchasePolicyType, RenewalDayPolicyType, TerminationPolicyType, MemberExcludeType } 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, PassOperationStatusType } from './backend-types';
|
|
14
14
|
import { SeatUnitType, SeatStereo, CategoryNode, StockNode, TicketNode, SeatStateType } from '../lib/types';
|
|
15
15
|
/**
|
|
16
16
|
* type: model-type
|
|
@@ -681,6 +681,14 @@ export interface PassOpsModel extends Model, PassOpsHead {
|
|
|
681
681
|
notifyOnFailure?: BoolFlag;
|
|
682
682
|
/** (테스트 전용) 설정 시 이 프로그램으로 파생되는 구독의 최초 갱신일을 `결제시각 + N분`으로 앞당김 */
|
|
683
683
|
testIntervalMin?: number;
|
|
684
|
+
/** 이용권(자동연장) 운영 상태 (미설정 시 'valid') — 'ended'면 기존 활성 구독까지 포함해 전면 종료 */
|
|
685
|
+
operationStatus?: PassOperationStatusType;
|
|
686
|
+
/**
|
|
687
|
+
* 이용권(자동연장) 예약 종료 시각 (Timestamp)
|
|
688
|
+
* — 도래하면 `operationStatus:'ended'`와 동일하게
|
|
689
|
+
* 이 프로그램의 모든 구독자(기존 활성 구독 포함)를 일괄 종료한다
|
|
690
|
+
*/
|
|
691
|
+
scheduledEndAt?: number;
|
|
684
692
|
}
|
|
685
693
|
/**
|
|
686
694
|
* Type: `PushNotificationHead`
|
|
@@ -747,6 +747,18 @@ export declare const $LUT: {
|
|
|
747
747
|
/** 즉시해지 */
|
|
748
748
|
immediate: string;
|
|
749
749
|
};
|
|
750
|
+
/**
|
|
751
|
+
* PassOperationStatus
|
|
752
|
+
* - 이용권(자동연장) 프로그램 운영 상태 — 구매기간(saleFrom/saleTo)과 별개로, 관리자가 명시적으로
|
|
753
|
+
* 전체 자동연장 운영을 종료할 때 쓴다. `ended`가 되면 기존 활성 구독까지 포함해 전부 강제 종료된다
|
|
754
|
+
* (구매기간 만료는 신규가입만 막고 기존 구독자의 갱신은 계속됨 — 서로 다른 개념).
|
|
755
|
+
*/
|
|
756
|
+
PassOperationStatus: {
|
|
757
|
+
/** 유효(기본값) — 구매기간이 지나도 기존 구독자는 계속 자동 갱신됨 */
|
|
758
|
+
valid: string;
|
|
759
|
+
/** 종료 — 기존 구독자를 포함해 자동연장을 전면 종료 */
|
|
760
|
+
ended: string;
|
|
761
|
+
};
|
|
750
762
|
};
|
|
751
763
|
/**
|
|
752
764
|
* type: `InitialPurchasePolicyType`
|
|
@@ -760,6 +772,10 @@ export declare type RenewalDayPolicyType = keyof typeof $LUT.RenewalDayPolicy;
|
|
|
760
772
|
* type: `TerminationPolicyType`
|
|
761
773
|
*/
|
|
762
774
|
export declare type TerminationPolicyType = keyof typeof $LUT.TerminationPolicy;
|
|
775
|
+
/**
|
|
776
|
+
* type: `PassOperationStatusType`
|
|
777
|
+
*/
|
|
778
|
+
export declare type PassOperationStatusType = keyof typeof $LUT.PassOperationStatus;
|
|
763
779
|
/**
|
|
764
780
|
* type: `MemberExcludeType`
|
|
765
781
|
*/
|