@lssm/example.saas-boilerplate 0.0.0-canary-20251217073102 → 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.
- package/.turbo/turbo-build$colon$bundle.log +120 -120
- package/CHANGELOG.md +8 -8
- package/dist/billing/billing.contracts.d.ts +42 -42
- package/dist/billing/billing.entity.d.ts +41 -41
- package/dist/billing/billing.enum.d.ts +3 -3
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/project/project.contracts.d.ts +103 -103
- package/dist/project/project.entity.d.ts +24 -24
- package/dist/project/project.enum.d.ts +3 -3
- package/dist/project/project.event.d.ts +22 -22
- package/dist/project/project.schema.d.ts +54 -54
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/package.json +10 -10
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema327 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/billing/billing.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Get subscription status.
|
|
7
7
|
*/
|
|
8
|
-
declare const GetSubscriptionContract:
|
|
8
|
+
declare const GetSubscriptionContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema327.AnySchemaModel, _lssm_lib_schema327.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
planId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
planName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
status: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema327.EnumType<[string, string, string, string, string]>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
currentPeriodStart: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema327.FieldType<Date, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
currentPeriodEnd: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema327.FieldType<Date, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
trialEndsAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema327.FieldType<Date, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
cancelAtPeriodEnd: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema327.FieldType<boolean, boolean>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
}>, undefined>;
|
|
46
46
|
/**
|
|
47
47
|
* Record feature usage.
|
|
48
48
|
*/
|
|
49
|
-
declare const RecordUsageContract:
|
|
49
|
+
declare const RecordUsageContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema327.SchemaModel<{
|
|
50
50
|
feature: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
quantity: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
sourceId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
sourceType: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
metadata: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema327.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, _lssm_lib_schema327.SchemaModel<{
|
|
71
71
|
recorded: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema327.FieldType<boolean, boolean>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
currentUsage: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
limit: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
limitReached: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema327.FieldType<boolean, boolean>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
}>, {
|
|
88
88
|
name: string;
|
|
89
89
|
version: number;
|
|
90
90
|
when: string;
|
|
91
|
-
payload:
|
|
91
|
+
payload: _lssm_lib_schema327.SchemaModel<{
|
|
92
92
|
feature: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
quantity: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,36 +102,36 @@ declare const RecordUsageContract: _lssm_lib_contracts6.ContractSpec<_lssm_lib_s
|
|
|
102
102
|
/**
|
|
103
103
|
* Get usage summary.
|
|
104
104
|
*/
|
|
105
|
-
declare const GetUsageSummaryContract:
|
|
105
|
+
declare const GetUsageSummaryContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema327.SchemaModel<{
|
|
106
106
|
billingPeriod: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
};
|
|
110
|
-
}>,
|
|
110
|
+
}>, _lssm_lib_schema327.SchemaModel<{
|
|
111
111
|
billingPeriod: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
usage: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema327.SchemaModel<{
|
|
117
117
|
feature: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
used: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
limit: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
unit: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
percentage: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema327.FieldType<number, number>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
@@ -142,22 +142,22 @@ declare const GetUsageSummaryContract: _lssm_lib_contracts6.ContractSpec<_lssm_l
|
|
|
142
142
|
/**
|
|
143
143
|
* Check feature access.
|
|
144
144
|
*/
|
|
145
|
-
declare const CheckFeatureAccessContract:
|
|
145
|
+
declare const CheckFeatureAccessContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema327.SchemaModel<{
|
|
146
146
|
feature: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
|
-
}>,
|
|
150
|
+
}>, _lssm_lib_schema327.SchemaModel<{
|
|
151
151
|
hasAccess: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema327.FieldType<boolean, boolean>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
reason: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema327.EnumType<[string, string, string, string]>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
upgradeUrl: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema327.FieldType<string, string>;
|
|
161
161
|
isOptional: true;
|
|
162
162
|
};
|
|
163
163
|
}>, undefined>;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema18 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Subscription status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const SubscriptionStatusEnum:
|
|
7
|
+
declare const SubscriptionStatusEnum: _lssm_lib_schema18.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Subscription entity - organization subscription info.
|
|
10
10
|
*/
|
|
11
|
-
declare const SubscriptionEntity:
|
|
12
|
-
id:
|
|
13
|
-
organizationId:
|
|
14
|
-
planId:
|
|
15
|
-
planName:
|
|
16
|
-
status:
|
|
17
|
-
currentPeriodStart:
|
|
18
|
-
currentPeriodEnd:
|
|
19
|
-
trialEndsAt:
|
|
20
|
-
cancelAtPeriodEnd:
|
|
21
|
-
canceledAt:
|
|
22
|
-
stripeSubscriptionId:
|
|
23
|
-
stripeCustomerId:
|
|
24
|
-
metadata:
|
|
25
|
-
createdAt:
|
|
26
|
-
updatedAt:
|
|
11
|
+
declare const SubscriptionEntity: _lssm_lib_schema18.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema18.EntityScalarField;
|
|
13
|
+
organizationId: _lssm_lib_schema18.EntityScalarField;
|
|
14
|
+
planId: _lssm_lib_schema18.EntityScalarField;
|
|
15
|
+
planName: _lssm_lib_schema18.EntityScalarField;
|
|
16
|
+
status: _lssm_lib_schema18.EntityEnumField;
|
|
17
|
+
currentPeriodStart: _lssm_lib_schema18.EntityScalarField;
|
|
18
|
+
currentPeriodEnd: _lssm_lib_schema18.EntityScalarField;
|
|
19
|
+
trialEndsAt: _lssm_lib_schema18.EntityScalarField;
|
|
20
|
+
cancelAtPeriodEnd: _lssm_lib_schema18.EntityScalarField;
|
|
21
|
+
canceledAt: _lssm_lib_schema18.EntityScalarField;
|
|
22
|
+
stripeSubscriptionId: _lssm_lib_schema18.EntityScalarField;
|
|
23
|
+
stripeCustomerId: _lssm_lib_schema18.EntityScalarField;
|
|
24
|
+
metadata: _lssm_lib_schema18.EntityScalarField;
|
|
25
|
+
createdAt: _lssm_lib_schema18.EntityScalarField;
|
|
26
|
+
updatedAt: _lssm_lib_schema18.EntityScalarField;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
29
29
|
* BillingUsage entity - track feature usage.
|
|
30
30
|
*/
|
|
31
|
-
declare const BillingUsageEntity:
|
|
32
|
-
id:
|
|
33
|
-
organizationId:
|
|
34
|
-
feature:
|
|
35
|
-
quantity:
|
|
36
|
-
unit:
|
|
37
|
-
billingPeriod:
|
|
38
|
-
recordedAt:
|
|
39
|
-
sourceId:
|
|
40
|
-
sourceType:
|
|
41
|
-
metadata:
|
|
31
|
+
declare const BillingUsageEntity: _lssm_lib_schema18.EntitySpec<{
|
|
32
|
+
id: _lssm_lib_schema18.EntityScalarField;
|
|
33
|
+
organizationId: _lssm_lib_schema18.EntityScalarField;
|
|
34
|
+
feature: _lssm_lib_schema18.EntityScalarField;
|
|
35
|
+
quantity: _lssm_lib_schema18.EntityScalarField;
|
|
36
|
+
unit: _lssm_lib_schema18.EntityScalarField;
|
|
37
|
+
billingPeriod: _lssm_lib_schema18.EntityScalarField;
|
|
38
|
+
recordedAt: _lssm_lib_schema18.EntityScalarField;
|
|
39
|
+
sourceId: _lssm_lib_schema18.EntityScalarField;
|
|
40
|
+
sourceType: _lssm_lib_schema18.EntityScalarField;
|
|
41
|
+
metadata: _lssm_lib_schema18.EntityScalarField;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* UsageLimit entity - feature usage limits per plan.
|
|
45
45
|
*/
|
|
46
|
-
declare const UsageLimitEntity:
|
|
47
|
-
id:
|
|
48
|
-
planId:
|
|
49
|
-
organizationId:
|
|
50
|
-
feature:
|
|
51
|
-
limit:
|
|
52
|
-
resetPeriod:
|
|
53
|
-
isSoftLimit:
|
|
54
|
-
overage:
|
|
55
|
-
overageRate:
|
|
56
|
-
createdAt:
|
|
57
|
-
updatedAt:
|
|
46
|
+
declare const UsageLimitEntity: _lssm_lib_schema18.EntitySpec<{
|
|
47
|
+
id: _lssm_lib_schema18.EntityScalarField;
|
|
48
|
+
planId: _lssm_lib_schema18.EntityScalarField;
|
|
49
|
+
organizationId: _lssm_lib_schema18.EntityScalarField;
|
|
50
|
+
feature: _lssm_lib_schema18.EntityScalarField;
|
|
51
|
+
limit: _lssm_lib_schema18.EntityScalarField;
|
|
52
|
+
resetPeriod: _lssm_lib_schema18.EntityScalarField;
|
|
53
|
+
isSoftLimit: _lssm_lib_schema18.EntityScalarField;
|
|
54
|
+
overage: _lssm_lib_schema18.EntityScalarField;
|
|
55
|
+
overageRate: _lssm_lib_schema18.EntityScalarField;
|
|
56
|
+
createdAt: _lssm_lib_schema18.EntityScalarField;
|
|
57
|
+
updatedAt: _lssm_lib_schema18.EntityScalarField;
|
|
58
58
|
}>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { BillingUsageEntity, SubscriptionEntity, SubscriptionStatusEnum, UsageLimitEntity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema368 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.enum.d.ts
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ import * as _lssm_lib_schema157 from "@lssm/lib.schema";
|
|
|
6
6
|
* Subscription status enum for contract schemas.
|
|
7
7
|
* Note: Entity enum is defined separately in billing.entity.ts
|
|
8
8
|
*/
|
|
9
|
-
declare const SubscriptionStatusSchemaEnum:
|
|
9
|
+
declare const SubscriptionStatusSchemaEnum: _lssm_lib_schema368.EnumType<[string, string, string, string, string]>;
|
|
10
10
|
/**
|
|
11
11
|
* Feature access reason enum.
|
|
12
12
|
*/
|
|
13
|
-
declare const FeatureAccessReasonEnum:
|
|
13
|
+
declare const FeatureAccessReasonEnum: _lssm_lib_schema368.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FeatureAccessReasonEnum, SubscriptionStatusSchemaEnum };
|
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
7
|
+
declare const SubscriptionModel: _lssm_lib_schema82.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
organizationId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
planId: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
planName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
status: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
currentPeriodStart: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema82.FieldType<Date, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
currentPeriodEnd: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema82.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
trialEndsAt: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema82.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
cancelAtPeriodEnd: {
|
|
41
|
-
type:
|
|
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:
|
|
48
|
+
declare const UsageSummaryModel: _lssm_lib_schema82.SchemaModel<{
|
|
49
49
|
feature: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
used: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
limit: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
unit: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
percentage: {
|
|
66
|
-
type:
|
|
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:
|
|
73
|
+
declare const RecordUsageInputModel: _lssm_lib_schema82.SchemaModel<{
|
|
74
74
|
feature: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
quantity: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
sourceId: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
sourceType: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
metadata: {
|
|
91
|
-
type:
|
|
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:
|
|
98
|
+
declare const RecordUsageOutputModel: _lssm_lib_schema82.SchemaModel<{
|
|
99
99
|
recorded: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema82.FieldType<boolean, boolean>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
currentUsage: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
limit: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
limitReached: {
|
|
112
|
-
type:
|
|
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:
|
|
119
|
+
declare const UsageRecordedPayloadModel: _lssm_lib_schema82.SchemaModel<{
|
|
120
120
|
feature: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
quantity: {
|
|
125
|
-
type:
|
|
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:
|
|
132
|
+
declare const GetUsageSummaryInputModel: _lssm_lib_schema82.SchemaModel<{
|
|
133
133
|
billingPeriod: {
|
|
134
|
-
type:
|
|
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:
|
|
141
|
+
declare const GetUsageSummaryOutputModel: _lssm_lib_schema82.SchemaModel<{
|
|
142
142
|
billingPeriod: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
usage: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema82.SchemaModel<{
|
|
148
148
|
feature: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
used: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
limit: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema82.FieldType<number, number>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
unit: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
percentage: {
|
|
165
|
-
type:
|
|
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_schema200.SchemaModel<{
|
|
|
173
173
|
/**
|
|
174
174
|
* Input for checking feature access.
|
|
175
175
|
*/
|
|
176
|
-
declare const CheckFeatureAccessInputModel:
|
|
176
|
+
declare const CheckFeatureAccessInputModel: _lssm_lib_schema82.SchemaModel<{
|
|
177
177
|
feature: {
|
|
178
|
-
type:
|
|
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:
|
|
185
|
+
declare const CheckFeatureAccessOutputModel: _lssm_lib_schema82.SchemaModel<{
|
|
186
186
|
hasAccess: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema82.FieldType<boolean, boolean>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
reason: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema82.EnumType<[string, string, string, string]>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
upgradeUrl: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
}>;
|