@lssm/example.saas-boilerplate 0.0.0-canary-20251220021406 → 0.0.0-canary-20251220041653
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 +147 -147
- package/.turbo/turbo-build.log +147 -147
- package/CHANGELOG.md +8 -8
- package/dist/billing/billing.contracts.d.ts +42 -42
- package/dist/billing/billing.contracts.d.ts.map +1 -1
- package/dist/billing/billing.entity.d.ts +41 -41
- package/dist/billing/billing.entity.d.ts.map +1 -1
- package/dist/billing/billing.enum.d.ts +3 -3
- package/dist/billing/billing.enum.d.ts.map +1 -1
- package/dist/billing/billing.event.d.ts +21 -21
- package/dist/billing/billing.event.d.ts.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/project/project.contracts.d.ts +103 -103
- package/dist/project/project.contracts.d.ts.map +1 -1
- 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.event.d.ts.map +1 -1
- 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
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema224 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts8 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_contracts8.ContractSpec<_lssm_lib_schema224.AnySchemaModel, _lssm_lib_schema224.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
planId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
planName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
status: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema224.EnumType<[string, string, string, string, string]>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
currentPeriodStart: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema224.FieldType<Date, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
currentPeriodEnd: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema224.FieldType<Date, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
trialEndsAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema224.FieldType<Date, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
cancelAtPeriodEnd: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema224.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_contracts8.ContractSpec<_lssm_lib_schema224.SchemaModel<{
|
|
50
50
|
feature: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
quantity: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
sourceId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
sourceType: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
metadata: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema224.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, _lssm_lib_schema224.SchemaModel<{
|
|
71
71
|
recorded: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema224.FieldType<boolean, boolean>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
currentUsage: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
limit: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
limitReached: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema224.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_schema224.SchemaModel<{
|
|
92
92
|
feature: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
quantity: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,36 +102,36 @@ declare const RecordUsageContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_s
|
|
|
102
102
|
/**
|
|
103
103
|
* Get usage summary.
|
|
104
104
|
*/
|
|
105
|
-
declare const GetUsageSummaryContract:
|
|
105
|
+
declare const GetUsageSummaryContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema224.SchemaModel<{
|
|
106
106
|
billingPeriod: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
};
|
|
110
|
-
}>,
|
|
110
|
+
}>, _lssm_lib_schema224.SchemaModel<{
|
|
111
111
|
billingPeriod: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
usage: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema224.SchemaModel<{
|
|
117
117
|
feature: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
used: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
limit: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
unit: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
percentage: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema224.FieldType<number, number>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
@@ -142,22 +142,22 @@ declare const GetUsageSummaryContract: _lssm_lib_contracts0.ContractSpec<_lssm_l
|
|
|
142
142
|
/**
|
|
143
143
|
* Check feature access.
|
|
144
144
|
*/
|
|
145
|
-
declare const CheckFeatureAccessContract:
|
|
145
|
+
declare const CheckFeatureAccessContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema224.SchemaModel<{
|
|
146
146
|
feature: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
|
-
}>,
|
|
150
|
+
}>, _lssm_lib_schema224.SchemaModel<{
|
|
151
151
|
hasAccess: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema224.FieldType<boolean, boolean>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
reason: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema224.EnumType<[string, string, string, string]>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
upgradeUrl: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema224.FieldType<string, string>;
|
|
161
161
|
isOptional: true;
|
|
162
162
|
};
|
|
163
163
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.contracts.d.ts","names":[],"sources":["../../src/billing/billing.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,oBAAA,CAAA,aAkBlC,
|
|
1
|
+
{"version":3,"file":"billing.contracts.d.ts","names":[],"sources":["../../src/billing/billing.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,oBAAA,CAAA,aAkBlC,mBAAA,CAlBkC,cAAA,sBAAA;EAAvB,EAAA,EAAA;IAkBX,IAAA,EAlBkC,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;qBAAA;EAAA,CAAA;EAAA,MAAA,EAAA;IAuBvB,IAAA,8BA4BX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;uCA5B8B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;qBAAA;EAAA,CAAA;AAiChC,CAAA,CAAA,EAAa,SAAA,CAAA;;;;cAjCA,0CAAmB,iCAAA;;UA4B9B,mBAAA,CAAA;;;;;qBAKkC;EAAA,CAAA;EAuBvB,QAAA,EAAA;IAkBX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;oBAlBqC;EAAA,CAAA;;;;;EAAA,QAAA,EAAA;;;;;;UAxDP,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiCnB,8CAAuB,iCAAA;;UAkBlC,mBAAA,CAAA;;;;;UAlBkC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBvB,iDAA0B,iCAAA;;UAkBrC,mBAAA,CAAA;;;;;UAlBqC,mBAAA,CAAA"}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema265 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_schema265.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_schema265.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema265.EntityScalarField;
|
|
13
|
+
organizationId: _lssm_lib_schema265.EntityScalarField;
|
|
14
|
+
planId: _lssm_lib_schema265.EntityScalarField;
|
|
15
|
+
planName: _lssm_lib_schema265.EntityScalarField;
|
|
16
|
+
status: _lssm_lib_schema265.EntityEnumField;
|
|
17
|
+
currentPeriodStart: _lssm_lib_schema265.EntityScalarField;
|
|
18
|
+
currentPeriodEnd: _lssm_lib_schema265.EntityScalarField;
|
|
19
|
+
trialEndsAt: _lssm_lib_schema265.EntityScalarField;
|
|
20
|
+
cancelAtPeriodEnd: _lssm_lib_schema265.EntityScalarField;
|
|
21
|
+
canceledAt: _lssm_lib_schema265.EntityScalarField;
|
|
22
|
+
stripeSubscriptionId: _lssm_lib_schema265.EntityScalarField;
|
|
23
|
+
stripeCustomerId: _lssm_lib_schema265.EntityScalarField;
|
|
24
|
+
metadata: _lssm_lib_schema265.EntityScalarField;
|
|
25
|
+
createdAt: _lssm_lib_schema265.EntityScalarField;
|
|
26
|
+
updatedAt: _lssm_lib_schema265.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_schema265.EntitySpec<{
|
|
32
|
+
id: _lssm_lib_schema265.EntityScalarField;
|
|
33
|
+
organizationId: _lssm_lib_schema265.EntityScalarField;
|
|
34
|
+
feature: _lssm_lib_schema265.EntityScalarField;
|
|
35
|
+
quantity: _lssm_lib_schema265.EntityScalarField;
|
|
36
|
+
unit: _lssm_lib_schema265.EntityScalarField;
|
|
37
|
+
billingPeriod: _lssm_lib_schema265.EntityScalarField;
|
|
38
|
+
recordedAt: _lssm_lib_schema265.EntityScalarField;
|
|
39
|
+
sourceId: _lssm_lib_schema265.EntityScalarField;
|
|
40
|
+
sourceType: _lssm_lib_schema265.EntityScalarField;
|
|
41
|
+
metadata: _lssm_lib_schema265.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_schema265.EntitySpec<{
|
|
47
|
+
id: _lssm_lib_schema265.EntityScalarField;
|
|
48
|
+
planId: _lssm_lib_schema265.EntityScalarField;
|
|
49
|
+
organizationId: _lssm_lib_schema265.EntityScalarField;
|
|
50
|
+
feature: _lssm_lib_schema265.EntityScalarField;
|
|
51
|
+
limit: _lssm_lib_schema265.EntityScalarField;
|
|
52
|
+
resetPeriod: _lssm_lib_schema265.EntityScalarField;
|
|
53
|
+
isSoftLimit: _lssm_lib_schema265.EntityScalarField;
|
|
54
|
+
overage: _lssm_lib_schema265.EntityScalarField;
|
|
55
|
+
overageRate: _lssm_lib_schema265.EntityScalarField;
|
|
56
|
+
createdAt: _lssm_lib_schema265.EntityScalarField;
|
|
57
|
+
updatedAt: _lssm_lib_schema265.EntityScalarField;
|
|
58
58
|
}>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { BillingUsageEntity, SubscriptionEntity, SubscriptionStatusEnum, UsageLimitEntity };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.entity.d.ts","names":[],"sources":["../../src/billing/billing.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,sBAKX,EAAA,
|
|
1
|
+
{"version":3,"file":"billing.entity.d.ts","names":[],"sources":["../../src/billing/billing.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,sBAKX,EAAA,mBAAA,CALiC,aAKjC;AAKF;;;cAAa,wCAAkB;MAuC7B,mBAAA,CAAA;;;;;;;;;;;;iDAvC6B;EAAA,SAAA,uCAAA;EA4ClB,SAAA,uCA2CX;CAAA,CAAA;;;;cA3CW,wCAAkB;MA2C7B,mBAAA,CAAA;;;;;sDA3C6B;EAAA,UAAA,uCAAA;EAgDlB,QAAA,uCA6CX;EAAA,UAAA,uCAAA;;;;;;cA7CW,sCAAgB;MA6C3B,mBAAA,CAAA;;;;8CA7C2B;EAAA,WAAA,uCAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema222 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _lssm_lib_schema80 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_schema222.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_schema222.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FeatureAccessReasonEnum, SubscriptionStatusSchemaEnum };
|
|
16
16
|
//# sourceMappingURL=billing.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.enum.d.ts","names":[],"sources":["../../src/billing/billing.enum.ts"],"sourcesContent":[],"mappings":";;;;;;;AAMA;AAWa,cAXA,4BAgBX,EAVA,
|
|
1
|
+
{"version":3,"file":"billing.enum.d.ts","names":[],"sources":["../../src/billing/billing.enum.ts"],"sourcesContent":[],"mappings":";;;;;;;AAMA;AAWa,cAXA,4BAgBX,EAVA,mBAAA,CANuC,QAWL,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;cAAvB,yBAKX,mBAAA,CALkC"}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema351 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/billing/billing.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Event: Feature usage has been recorded.
|
|
7
7
|
*/
|
|
8
|
-
declare const UsageRecordedEvent:
|
|
8
|
+
declare const UsageRecordedEvent: _lssm_lib_contracts12.EventSpec<_lssm_lib_schema351.SchemaModel<{
|
|
9
9
|
organizationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
feature: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
quantity: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema351.FieldType<number, number>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
billingPeriod: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
recordedAt: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema351.FieldType<Date, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
}>>;
|
|
30
30
|
/**
|
|
31
31
|
* Event: Usage limit has been reached for a feature.
|
|
32
32
|
*/
|
|
33
|
-
declare const UsageLimitReachedEvent:
|
|
33
|
+
declare const UsageLimitReachedEvent: _lssm_lib_contracts12.EventSpec<_lssm_lib_schema351.SchemaModel<{
|
|
34
34
|
organizationId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
feature: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
limit: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema351.FieldType<number, number>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
currentUsage: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema351.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
reachedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema351.FieldType<Date, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
}>>;
|
|
55
55
|
/**
|
|
56
56
|
* Event: Subscription status has changed.
|
|
57
57
|
*/
|
|
58
|
-
declare const SubscriptionChangedEvent:
|
|
58
|
+
declare const SubscriptionChangedEvent: _lssm_lib_contracts12.EventSpec<_lssm_lib_schema351.SchemaModel<{
|
|
59
59
|
organizationId: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
previousPlan: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
newPlan: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
previousStatus: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
};
|
|
75
75
|
newStatus: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema351.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
changedAt: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema351.FieldType<Date, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.event.d.ts","names":[],"sources":["../../src/billing/billing.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmEa,oBAAkB,
|
|
1
|
+
{"version":3,"file":"billing.event.d.ts","names":[],"sources":["../../src/billing/billing.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmEa,oBAAkB,qBAAA,CAAA,8BAAA;EAAlB,cAAA,EAAA;IAKX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAL6B,QAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAUlB,UAAA,EAAA,KAAA;EAKX,CAAA;;;;;;uCALiC,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;AAUnC,CAAA,CAAA,CAAA;;;;cAVa,wBAAsB,qBAAA,CAAA,8BAAA;;UAKjC,mBAAA,CAAA;;;EAKmC,OAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAAxB,0BAAwB,qBAAA,CAAA,8BAAA;;UAKnC,mBAAA,CAAA"}
|