@metrifox/angular-sdk 1.0.0

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.
@@ -0,0 +1,156 @@
1
+ /**
2
+ * Feature type classification
3
+ */
4
+ export declare enum FeatureType {
5
+ METERED = "metered",
6
+ BOOLEAN = "boolean",
7
+ NUMERIC = "numeric",
8
+ CUSTOM = "custom"
9
+ }
10
+ /**
11
+ * Feature model types
12
+ */
13
+ export declare enum FeatureModel {
14
+ LICENSED = "licensed",
15
+ USAGE_BASED = "usage_based"
16
+ }
17
+ /**
18
+ * Feature status
19
+ */
20
+ export declare enum FeatureStatus {
21
+ ACTIVE = "active",
22
+ INACTIVE = "inactive",
23
+ DRAFT = "draft",
24
+ ARCHIVED = "archived"
25
+ }
26
+ /**
27
+ * Subscription status
28
+ */
29
+ export declare enum SubscriptionStatus {
30
+ ACTIVE = "active",
31
+ TRIALING = "trialing",
32
+ PAST_DUE = "past_due",
33
+ CANCELED = "canceled",
34
+ UNPAID = "unpaid",
35
+ PAUSED = "paused",
36
+ PENDING = "pending",
37
+ CANCELING = "canceling"
38
+ }
39
+ /**
40
+ * Invoice status types
41
+ */
42
+ export declare enum InvoiceStatusType {
43
+ DRAFT = "draft",
44
+ PENDING = "pending",
45
+ OPEN = "open",
46
+ VOIDED = "voided",
47
+ PAID = "paid",
48
+ WRITTEN_OFF = "written_off",
49
+ REFUNDED = "refunded",
50
+ OVERDUE = "overdue",
51
+ DUE = "due"
52
+ }
53
+ /**
54
+ * Invoice item types
55
+ */
56
+ export declare enum InvoiceItemType {
57
+ LINE_ITEM = "line_item",
58
+ CHARGE_ITEM = "charge_item",
59
+ USAGE_ITEM = "usage_item",
60
+ CREDIT_ITEM = "credit_item"
61
+ }
62
+ /**
63
+ * Price types
64
+ */
65
+ export declare enum PriceTypes {
66
+ FLAT = "flat",
67
+ USAGE = "usage",
68
+ TIERED = "tiered",
69
+ PACKAGE = "package",
70
+ STAIRSTEP = "stairstep"
71
+ }
72
+ /**
73
+ * Tier types
74
+ */
75
+ export declare enum TierType {
76
+ VOLUME = "volume",
77
+ GRADUATED = "graduated"
78
+ }
79
+ /**
80
+ * Reset intervals
81
+ */
82
+ export declare enum ResetIntervals {
83
+ MONTHLY = "monthly",
84
+ YEARLY = "yearly",
85
+ WEEKLY = "weekly",
86
+ DAILY = "daily",
87
+ BILLING_PERIOD = "billing_period",
88
+ NEVER = "never"
89
+ }
90
+ /**
91
+ * Enforcement types
92
+ */
93
+ export declare enum EnforcementType {
94
+ SOFT = "soft",
95
+ HARD = "hard"
96
+ }
97
+ /**
98
+ * Billing intervals
99
+ */
100
+ export declare enum BillingInterval {
101
+ MONTHLY = "monthly",
102
+ YEARLY = "yearly",
103
+ WEEKLY = "weekly",
104
+ DAILY = "daily",
105
+ ONE_TIME = "one_time"
106
+ }
107
+ /**
108
+ * Billing timing types
109
+ */
110
+ export declare enum BillingTimingTypes {
111
+ IN_ADVANCE = "in_advance",
112
+ IN_ARREARS = "in_arrears"
113
+ }
114
+ /**
115
+ * Aggregation methods
116
+ */
117
+ export declare enum AggregationMethods {
118
+ SUM = "sum",
119
+ COUNT = "count",
120
+ UNIQUE = "unique",
121
+ MAX = "max",
122
+ LAST = "last"
123
+ }
124
+ /**
125
+ * One-off pricing types
126
+ */
127
+ export declare enum OneOffType {
128
+ FLAT = "flat",
129
+ PER_UNIT = "per_unit",
130
+ PACKAGE = "package",
131
+ PERCENTAGE = "percentage"
132
+ }
133
+ /**
134
+ * Pool types for entitlement usage
135
+ */
136
+ export declare enum PoolType {
137
+ INCLUDED = "included",
138
+ PURCHASED = "purchased",
139
+ PAY_AS_YOU_GO = "pay_as_you_go",
140
+ ROLLOVER = "rollover"
141
+ }
142
+ /**
143
+ * Offering types
144
+ */
145
+ export declare enum OfferingTypes {
146
+ PLAN = "plan",
147
+ ADD_ON = "add_on",
148
+ SINGLE_PURCHASE = "single_purchase"
149
+ }
150
+ /**
151
+ * Localization selection modes for pricing table
152
+ */
153
+ export declare enum LocalizationSelection {
154
+ STRICT_AUTO_DETECT = "strict_auto_detect",
155
+ SMART_PRE_FILL = "smart_pre_fill"
156
+ }
@@ -0,0 +1,2 @@
1
+ export * from './interface';
2
+ export * from './enum';