@lssm/example.saas-boilerplate 0.0.0-canary-20251217072406 → 0.0.0-canary-20251217080011

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.
@@ -1,168 +1,168 @@
1
- import * as _lssm_lib_schema101 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema82 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/billing/billing.schema.d.ts
4
4
  /**
5
5
  * Organization subscription details schema.
6
6
  */
7
- declare const SubscriptionModel: _lssm_lib_schema101.SchemaModel<{
7
+ declare const SubscriptionModel: _lssm_lib_schema82.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema101.FieldType<string, string>;
9
+ type: _lssm_lib_schema82.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  organizationId: {
13
- type: _lssm_lib_schema101.FieldType<string, string>;
13
+ type: _lssm_lib_schema82.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  planId: {
17
- type: _lssm_lib_schema101.FieldType<string, string>;
17
+ type: _lssm_lib_schema82.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  planName: {
21
- type: _lssm_lib_schema101.FieldType<string, string>;
21
+ type: _lssm_lib_schema82.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  status: {
25
- type: _lssm_lib_schema101.EnumType<[string, string, string, string, string]>;
25
+ type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
26
26
  isOptional: false;
27
27
  };
28
28
  currentPeriodStart: {
29
- type: _lssm_lib_schema101.FieldType<Date, string>;
29
+ type: _lssm_lib_schema82.FieldType<Date, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  currentPeriodEnd: {
33
- type: _lssm_lib_schema101.FieldType<Date, string>;
33
+ type: _lssm_lib_schema82.FieldType<Date, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  trialEndsAt: {
37
- type: _lssm_lib_schema101.FieldType<Date, string>;
37
+ type: _lssm_lib_schema82.FieldType<Date, string>;
38
38
  isOptional: true;
39
39
  };
40
40
  cancelAtPeriodEnd: {
41
- type: _lssm_lib_schema101.FieldType<boolean, boolean>;
41
+ type: _lssm_lib_schema82.FieldType<boolean, boolean>;
42
42
  isOptional: false;
43
43
  };
44
44
  }>;
45
45
  /**
46
46
  * Usage summary for a feature schema.
47
47
  */
48
- declare const UsageSummaryModel: _lssm_lib_schema101.SchemaModel<{
48
+ declare const UsageSummaryModel: _lssm_lib_schema82.SchemaModel<{
49
49
  feature: {
50
- type: _lssm_lib_schema101.FieldType<string, string>;
50
+ type: _lssm_lib_schema82.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  used: {
54
- type: _lssm_lib_schema101.FieldType<number, number>;
54
+ type: _lssm_lib_schema82.FieldType<number, number>;
55
55
  isOptional: false;
56
56
  };
57
57
  limit: {
58
- type: _lssm_lib_schema101.FieldType<number, number>;
58
+ type: _lssm_lib_schema82.FieldType<number, number>;
59
59
  isOptional: true;
60
60
  };
61
61
  unit: {
62
- type: _lssm_lib_schema101.FieldType<string, string>;
62
+ type: _lssm_lib_schema82.FieldType<string, string>;
63
63
  isOptional: true;
64
64
  };
65
65
  percentage: {
66
- type: _lssm_lib_schema101.FieldType<number, number>;
66
+ type: _lssm_lib_schema82.FieldType<number, number>;
67
67
  isOptional: true;
68
68
  };
69
69
  }>;
70
70
  /**
71
71
  * Input for recording feature usage.
72
72
  */
73
- declare const RecordUsageInputModel: _lssm_lib_schema101.SchemaModel<{
73
+ declare const RecordUsageInputModel: _lssm_lib_schema82.SchemaModel<{
74
74
  feature: {
75
- type: _lssm_lib_schema101.FieldType<string, string>;
75
+ type: _lssm_lib_schema82.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  quantity: {
79
- type: _lssm_lib_schema101.FieldType<number, number>;
79
+ type: _lssm_lib_schema82.FieldType<number, number>;
80
80
  isOptional: false;
81
81
  };
82
82
  sourceId: {
83
- type: _lssm_lib_schema101.FieldType<string, string>;
83
+ type: _lssm_lib_schema82.FieldType<string, string>;
84
84
  isOptional: true;
85
85
  };
86
86
  sourceType: {
87
- type: _lssm_lib_schema101.FieldType<string, string>;
87
+ type: _lssm_lib_schema82.FieldType<string, string>;
88
88
  isOptional: true;
89
89
  };
90
90
  metadata: {
91
- type: _lssm_lib_schema101.FieldType<Record<string, unknown>, Record<string, unknown>>;
91
+ type: _lssm_lib_schema82.FieldType<Record<string, unknown>, Record<string, unknown>>;
92
92
  isOptional: true;
93
93
  };
94
94
  }>;
95
95
  /**
96
96
  * Output for recording feature usage.
97
97
  */
98
- declare const RecordUsageOutputModel: _lssm_lib_schema101.SchemaModel<{
98
+ declare const RecordUsageOutputModel: _lssm_lib_schema82.SchemaModel<{
99
99
  recorded: {
100
- type: _lssm_lib_schema101.FieldType<boolean, boolean>;
100
+ type: _lssm_lib_schema82.FieldType<boolean, boolean>;
101
101
  isOptional: false;
102
102
  };
103
103
  currentUsage: {
104
- type: _lssm_lib_schema101.FieldType<number, number>;
104
+ type: _lssm_lib_schema82.FieldType<number, number>;
105
105
  isOptional: false;
106
106
  };
107
107
  limit: {
108
- type: _lssm_lib_schema101.FieldType<number, number>;
108
+ type: _lssm_lib_schema82.FieldType<number, number>;
109
109
  isOptional: true;
110
110
  };
111
111
  limitReached: {
112
- type: _lssm_lib_schema101.FieldType<boolean, boolean>;
112
+ type: _lssm_lib_schema82.FieldType<boolean, boolean>;
113
113
  isOptional: false;
114
114
  };
115
115
  }>;
116
116
  /**
117
117
  * Payload for usage.recorded event.
118
118
  */
119
- declare const UsageRecordedPayloadModel: _lssm_lib_schema101.SchemaModel<{
119
+ declare const UsageRecordedPayloadModel: _lssm_lib_schema82.SchemaModel<{
120
120
  feature: {
121
- type: _lssm_lib_schema101.FieldType<string, string>;
121
+ type: _lssm_lib_schema82.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  quantity: {
125
- type: _lssm_lib_schema101.FieldType<number, number>;
125
+ type: _lssm_lib_schema82.FieldType<number, number>;
126
126
  isOptional: false;
127
127
  };
128
128
  }>;
129
129
  /**
130
130
  * Input for getting usage summary.
131
131
  */
132
- declare const GetUsageSummaryInputModel: _lssm_lib_schema101.SchemaModel<{
132
+ declare const GetUsageSummaryInputModel: _lssm_lib_schema82.SchemaModel<{
133
133
  billingPeriod: {
134
- type: _lssm_lib_schema101.FieldType<string, string>;
134
+ type: _lssm_lib_schema82.FieldType<string, string>;
135
135
  isOptional: true;
136
136
  };
137
137
  }>;
138
138
  /**
139
139
  * Output for usage summary.
140
140
  */
141
- declare const GetUsageSummaryOutputModel: _lssm_lib_schema101.SchemaModel<{
141
+ declare const GetUsageSummaryOutputModel: _lssm_lib_schema82.SchemaModel<{
142
142
  billingPeriod: {
143
- type: _lssm_lib_schema101.FieldType<string, string>;
143
+ type: _lssm_lib_schema82.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  usage: {
147
- type: _lssm_lib_schema101.SchemaModel<{
147
+ type: _lssm_lib_schema82.SchemaModel<{
148
148
  feature: {
149
- type: _lssm_lib_schema101.FieldType<string, string>;
149
+ type: _lssm_lib_schema82.FieldType<string, string>;
150
150
  isOptional: false;
151
151
  };
152
152
  used: {
153
- type: _lssm_lib_schema101.FieldType<number, number>;
153
+ type: _lssm_lib_schema82.FieldType<number, number>;
154
154
  isOptional: false;
155
155
  };
156
156
  limit: {
157
- type: _lssm_lib_schema101.FieldType<number, number>;
157
+ type: _lssm_lib_schema82.FieldType<number, number>;
158
158
  isOptional: true;
159
159
  };
160
160
  unit: {
161
- type: _lssm_lib_schema101.FieldType<string, string>;
161
+ type: _lssm_lib_schema82.FieldType<string, string>;
162
162
  isOptional: true;
163
163
  };
164
164
  percentage: {
165
- type: _lssm_lib_schema101.FieldType<number, number>;
165
+ type: _lssm_lib_schema82.FieldType<number, number>;
166
166
  isOptional: true;
167
167
  };
168
168
  }>;
@@ -173,26 +173,26 @@ declare const GetUsageSummaryOutputModel: _lssm_lib_schema101.SchemaModel<{
173
173
  /**
174
174
  * Input for checking feature access.
175
175
  */
176
- declare const CheckFeatureAccessInputModel: _lssm_lib_schema101.SchemaModel<{
176
+ declare const CheckFeatureAccessInputModel: _lssm_lib_schema82.SchemaModel<{
177
177
  feature: {
178
- type: _lssm_lib_schema101.FieldType<string, string>;
178
+ type: _lssm_lib_schema82.FieldType<string, string>;
179
179
  isOptional: false;
180
180
  };
181
181
  }>;
182
182
  /**
183
183
  * Output for feature access check.
184
184
  */
185
- declare const CheckFeatureAccessOutputModel: _lssm_lib_schema101.SchemaModel<{
185
+ declare const CheckFeatureAccessOutputModel: _lssm_lib_schema82.SchemaModel<{
186
186
  hasAccess: {
187
- type: _lssm_lib_schema101.FieldType<boolean, boolean>;
187
+ type: _lssm_lib_schema82.FieldType<boolean, boolean>;
188
188
  isOptional: false;
189
189
  };
190
190
  reason: {
191
- type: _lssm_lib_schema101.EnumType<[string, string, string, string]>;
191
+ type: _lssm_lib_schema82.EnumType<[string, string, string, string]>;
192
192
  isOptional: true;
193
193
  };
194
194
  upgradeUrl: {
195
- type: _lssm_lib_schema101.FieldType<string, string>;
195
+ type: _lssm_lib_schema82.FieldType<string, string>;
196
196
  isOptional: true;
197
197
  };
198
198
  }>;