@contractspec/example.saas-boilerplate 0.0.0-canary-20260113170453 → 0.0.0-canary-20260113173657
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 +9 -9
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +10 -10
- 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.operations.d.ts +42 -42
- package/dist/billing/billing.operations.d.ts.map +1 -1
- package/dist/billing/billing.presentation.d.ts +3 -3
- package/dist/billing/billing.presentation.d.ts.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/dashboard/dashboard.presentation.d.ts +3 -3
- 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.operations.d.ts +103 -103
- package/dist/project/project.operations.d.ts.map +1 -1
- package/dist/project/project.presentation.d.ts +3 -3
- package/dist/project/project.presentation.d.ts.map +1 -1
- package/dist/project/project.schema.d.ts +54 -54
- package/dist/project/project.schema.d.ts.map +1 -1
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/dist/tests/operations.test-spec.d.ts +5 -5
- package/dist/ui/hooks/useProjectList.d.ts.map +1 -1
- package/package.json +12 -12
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -126,20 +126,20 @@ $ tsdown
|
|
|
126
126
|
[34mℹ[39m [2mdist/[22mseeders/index.d.ts.map [2m 0.16 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
127
127
|
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
128
128
|
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
129
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.operations.d.ts[22m[39m [2m11.
|
|
130
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.schema.d.ts[22m[39m [2m 6.
|
|
129
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.operations.d.ts[22m[39m [2m11.81 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
130
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.schema.d.ts[22m[39m [2m 6.56 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
131
131
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 6.36 kB[22m [2m│ gzip: 1.30 kB[22m
|
|
132
132
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.schema.d.ts[22m[39m [2m 5.72 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
133
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.operations.d.ts[22m[39m [2m 4.
|
|
133
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.operations.d.ts[22m[39m [2m 4.93 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
134
134
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.entity.d.ts[22m[39m [2m 2.91 kB[22m [2m│ gzip: 0.52 kB[22m
|
|
135
135
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.event.d.ts[22m[39m [2m 2.77 kB[22m [2m│ gzip: 0.43 kB[22m
|
|
136
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.event.d.ts[22m[39m [2m 2.
|
|
136
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.event.d.ts[22m[39m [2m 2.58 kB[22m [2m│ gzip: 0.48 kB[22m
|
|
137
137
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.handler.d.ts[22m[39m [2m 2.12 kB[22m [2m│ gzip: 0.71 kB[22m
|
|
138
138
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/saas.handlers.d.ts[22m[39m [2m 1.95 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
139
139
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.handler.d.ts[22m[39m [2m 1.93 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
140
140
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/index.d.ts[22m[39m [2m 1.90 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
141
141
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/index.d.ts[22m[39m [2m 1.87 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
142
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.76 kB[22m [2m│ gzip: 0.
|
|
142
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.76 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
143
143
|
[34mℹ[39m [2mdist/[22m[32m[1msettings/settings.entity.d.ts[22m[39m [2m 1.71 kB[22m [2m│ gzip: 0.37 kB[22m
|
|
144
144
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-data.d.ts[22m[39m [2m 1.68 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
145
145
|
[34mℹ[39m [2mdist/[22m[32m[1mui/index.d.ts[22m[39m [2m 1.25 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
@@ -155,8 +155,8 @@ $ tsdown
|
|
|
155
155
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
156
156
|
[34mℹ[39m [2mdist/[22m[32m[1mtests/operations.test-spec.d.ts[22m[39m [2m 0.59 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
157
157
|
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/dashboard.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
158
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.presentation.d.ts[22m[39m [2m 0.
|
|
159
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.
|
|
158
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
159
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
160
160
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/demo-overlays.d.ts[22m[39m [2m 0.52 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
161
161
|
[34mℹ[39m [2mdist/[22m[32m[1msaas-boilerplate.feature.d.ts[22m[39m [2m 0.45 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
162
162
|
[34mℹ[39m [2mdist/[22m[32m[1mui/SaasProjectList.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
@@ -174,7 +174,7 @@ $ tsdown
|
|
|
174
174
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/index.d.ts[22m[39m [2m 0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
175
175
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
176
176
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/saas-boilerplate.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
177
|
-
[34mℹ[39m 168 files, total: 388.
|
|
177
|
+
[34mℹ[39m 168 files, total: 388.42 kB
|
|
178
178
|
src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '@contractspec/example.saas-boilerplate/handlers' in src/ui/renderers/project-list.markdown.ts
|
|
179
179
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m src/ui/renderers/project-list.markdown.ts:10:8 [38;5;246m][0m
|
|
180
180
|
[38;5;246m│[0m
|
|
@@ -185,4 +185,4 @@ src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warnin
|
|
|
185
185
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
186
186
|
[38;5;246m────╯[0m
|
|
187
187
|
|
|
188
|
-
[32m✔[39m Build complete in [
|
|
188
|
+
[32m✔[39m Build complete in [32m33519ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -153,11 +153,11 @@ $ tsdown
|
|
|
153
153
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m 0.89 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
154
154
|
[34mℹ[39m [2mdist/[22m[32m[1mui/modals/CreateProjectModal.d.ts[22m[39m [2m 0.64 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
155
155
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
156
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.
|
|
156
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
157
157
|
[34mℹ[39m [2mdist/[22m[32m[1mtests/operations.test-spec.d.ts[22m[39m [2m 0.59 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
158
158
|
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/dashboard.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
159
159
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
160
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.
|
|
160
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
161
161
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/demo-overlays.d.ts[22m[39m [2m 0.52 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
162
162
|
[34mℹ[39m [2mdist/[22m[32m[1msaas-boilerplate.feature.d.ts[22m[39m [2m 0.45 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
163
163
|
[34mℹ[39m [2mdist/[22m[32m[1mui/SaasProjectList.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
@@ -186,4 +186,4 @@ src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warnin
|
|
|
186
186
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
187
187
|
[38;5;246m────╯[0m
|
|
188
188
|
|
|
189
|
-
[32m✔[39m Build complete in [
|
|
189
|
+
[32m✔[39m Build complete in [32m35433ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @contractspec/example.saas-boilerplate
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20260113173657
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
- Updated dependencies [c231a8b]
|
|
20
20
|
- Updated dependencies [42b8d78]
|
|
21
21
|
- Updated dependencies [fd38e85]
|
|
22
|
-
- @contractspec/lib.example-shared-ui@0.0.0-canary-
|
|
23
|
-
- @contractspec/module.notifications@0.0.0-canary-
|
|
24
|
-
- @contractspec/lib.runtime-sandbox@0.0.0-canary-
|
|
25
|
-
- @contractspec/module.audit-trail@0.0.0-canary-
|
|
26
|
-
- @contractspec/lib.design-system@0.0.0-canary-
|
|
27
|
-
- @contractspec/lib.identity-rbac@0.0.0-canary-
|
|
28
|
-
- @contractspec/lib.contracts@0.0.0-canary-
|
|
29
|
-
- @contractspec/lib.schema@0.0.0-canary-
|
|
30
|
-
- @contractspec/lib.jobs@0.0.0-canary-
|
|
22
|
+
- @contractspec/lib.example-shared-ui@0.0.0-canary-20260113173657
|
|
23
|
+
- @contractspec/module.notifications@0.0.0-canary-20260113173657
|
|
24
|
+
- @contractspec/lib.runtime-sandbox@0.0.0-canary-20260113173657
|
|
25
|
+
- @contractspec/module.audit-trail@0.0.0-canary-20260113173657
|
|
26
|
+
- @contractspec/lib.design-system@0.0.0-canary-20260113173657
|
|
27
|
+
- @contractspec/lib.identity-rbac@0.0.0-canary-20260113173657
|
|
28
|
+
- @contractspec/lib.contracts@0.0.0-canary-20260113173657
|
|
29
|
+
- @contractspec/lib.schema@0.0.0-canary-20260113173657
|
|
30
|
+
- @contractspec/lib.jobs@0.0.0-canary-20260113173657
|
|
31
31
|
|
|
32
32
|
## 1.46.2
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema39 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _contractspec_lib_schema303 from "@contractspec/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: _contractspec_lib_schema39.EnumType<[string, string, string, string, string]>;
|
|
10
10
|
/**
|
|
11
11
|
* Feature access reason enum.
|
|
12
12
|
*/
|
|
13
|
-
declare const FeatureAccessReasonEnum:
|
|
13
|
+
declare const FeatureAccessReasonEnum: _contractspec_lib_schema39.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,0BAAA,CANuC,QAWL,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;cAAvB,yBAKX,0BAAA,CALkC"}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema41 from "@contractspec/lib.schema";
|
|
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: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
9
9
|
organizationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
feature: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
quantity: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema41.FieldType<number, number>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
billingPeriod: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
recordedAt: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema41.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: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
34
34
|
organizationId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
feature: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
limit: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema41.FieldType<number, number>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
currentUsage: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema41.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
reachedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema41.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: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
59
59
|
organizationId: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
previousPlan: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
newPlan: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
previousStatus: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
};
|
|
75
75
|
newStatus: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
changedAt: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema41.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,4BAAA,CAAA,qCAAA;EAAlB,cAAA,EAAA;IAUX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAV6B,QAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAelB,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;8CAViC,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;AAenC,CAAA,CAAA,CAAA;;;;cAfa,wBAAsB,4BAAA,CAAA,qCAAA;;UAUjC,0BAAA,CAAA;;;EAKmC,OAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAAxB,0BAAwB,4BAAA,CAAA,qCAAA;;UAUnC,0BAAA,CAAA"}
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema83 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/billing/billing.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Get subscription status.
|
|
7
7
|
*/
|
|
8
|
-
declare const GetSubscriptionContract:
|
|
8
|
+
declare const GetSubscriptionContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema83.AnySchemaModel, _contractspec_lib_schema83.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
planId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
planName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
status: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema83.EnumType<[string, string, string, string, string]>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
currentPeriodStart: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema83.FieldType<Date, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
currentPeriodEnd: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema83.FieldType<Date, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
trialEndsAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema83.FieldType<Date, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
cancelAtPeriodEnd: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema83.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: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema83.SchemaModel<{
|
|
50
50
|
feature: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
quantity: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
sourceId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
sourceType: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
metadata: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema83.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, _contractspec_lib_schema83.SchemaModel<{
|
|
71
71
|
recorded: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema83.FieldType<boolean, boolean>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
currentUsage: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
limit: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
limitReached: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema83.FieldType<boolean, boolean>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
}>, {
|
|
88
88
|
key: string;
|
|
89
89
|
version: string;
|
|
90
90
|
when: string;
|
|
91
|
-
payload:
|
|
91
|
+
payload: _contractspec_lib_schema83.SchemaModel<{
|
|
92
92
|
feature: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
quantity: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,36 +102,36 @@ declare const RecordUsageContract: _contractspec_lib_contracts16.OperationSpec<_
|
|
|
102
102
|
/**
|
|
103
103
|
* Get usage summary.
|
|
104
104
|
*/
|
|
105
|
-
declare const GetUsageSummaryContract:
|
|
105
|
+
declare const GetUsageSummaryContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema83.SchemaModel<{
|
|
106
106
|
billingPeriod: {
|
|
107
|
-
type:
|
|
107
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
};
|
|
110
|
-
}>,
|
|
110
|
+
}>, _contractspec_lib_schema83.SchemaModel<{
|
|
111
111
|
billingPeriod: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
usage: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema83.SchemaModel<{
|
|
117
117
|
feature: {
|
|
118
|
-
type:
|
|
118
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
used: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
limit: {
|
|
126
|
-
type:
|
|
126
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
unit: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
percentage: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema83.FieldType<number, number>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
@@ -142,22 +142,22 @@ declare const GetUsageSummaryContract: _contractspec_lib_contracts16.OperationSp
|
|
|
142
142
|
/**
|
|
143
143
|
* Check feature access.
|
|
144
144
|
*/
|
|
145
|
-
declare const CheckFeatureAccessContract:
|
|
145
|
+
declare const CheckFeatureAccessContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema83.SchemaModel<{
|
|
146
146
|
feature: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
|
-
}>,
|
|
150
|
+
}>, _contractspec_lib_schema83.SchemaModel<{
|
|
151
151
|
hasAccess: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema83.FieldType<boolean, boolean>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
reason: {
|
|
156
|
-
type:
|
|
156
|
+
type: _contractspec_lib_schema83.EnumType<[string, string, string, string]>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
upgradeUrl: {
|
|
160
|
-
type:
|
|
160
|
+
type: _contractspec_lib_schema83.FieldType<string, string>;
|
|
161
161
|
isOptional: true;
|
|
162
162
|
};
|
|
163
163
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.operations.d.ts","names":[],"sources":["../../src/billing/billing.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,
|
|
1
|
+
{"version":3,"file":"billing.operations.d.ts","names":[],"sources":["../../src/billing/billing.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,4BAAA,CAAA,cAuClC,0BAAA,CAvCkC,cAAA,6BAAA;EAAvB,EAAA,EAAA;IAuCX,IAAA,EAvCkC,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;EAAA,CAAA;EAAA,MAAA,EAAA;IA4CvB,IAAA,qCA6CX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;8CA7C8B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;EAAA,CAAA;AAkDhC,CAAA,CAAA,EAAa,SAAA,CAAA;;;;cAlDA,kDAAmB,yCAAA;;UA6C9B,0BAAA,CAAA;;;;;;EAKkC,CAAA;EAwCvB,QAAA,EAAA;IAmCX,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;EAnCqC,CAAA;;;;;EAAA,QAAA,EAAA;;;;;;UA1FP,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDnB,sDAAuB,yCAAA;;UAmClC,0BAAA,CAAA;;;;;UAnCkC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCvB,yDAA0B,yCAAA;;UAmCrC,0BAAA,CAAA;;;;;UAnCqC,0BAAA,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Presentation for subscription overview.
|
|
6
6
|
*/
|
|
7
|
-
declare const SubscriptionPresentation:
|
|
7
|
+
declare const SubscriptionPresentation: _contractspec_lib_contracts8.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Presentation for usage dashboard.
|
|
10
10
|
*/
|
|
11
|
-
declare const UsageDashboardPresentation:
|
|
11
|
+
declare const UsageDashboardPresentation: _contractspec_lib_contracts8.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SubscriptionPresentation, UsageDashboardPresentation };
|
|
14
14
|
//# sourceMappingURL=billing.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.presentation.d.ts","names":[],"sources":["../../src/billing/billing.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,wBAuBX,EAAA,
|
|
1
|
+
{"version":3,"file":"billing.presentation.d.ts","names":[],"sources":["../../src/billing/billing.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,wBAuBX,EAAA,4BAAA,CAvBmC,gBAuBnC;AAKF;;;cAAa,4BAsBX,4BAAA,CAtBqC"}
|