@powerhousedao/service-offering 0.0.11 → 0.0.13
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/dist/document-models/facet/gen/schema/zod.js +7 -7
- package/dist/document-models/facet/module.d.ts +1 -1
- package/dist/document-models/facet/module.d.ts.map +1 -1
- package/dist/document-models/facet/module.js +1 -1
- package/dist/document-models/resource-instance/gen/schema/zod.js +25 -25
- package/dist/document-models/resource-instance/module.d.ts +1 -1
- package/dist/document-models/resource-instance/module.d.ts.map +1 -1
- package/dist/document-models/resource-instance/module.js +1 -1
- package/dist/document-models/resource-template/gen/schema/zod.js +30 -30
- package/dist/document-models/resource-template/module.d.ts +1 -1
- package/dist/document-models/resource-template/module.d.ts.map +1 -1
- package/dist/document-models/resource-template/module.js +1 -1
- package/dist/document-models/service-offering/actions.d.ts +0 -16
- package/dist/document-models/service-offering/actions.d.ts.map +1 -1
- package/dist/document-models/service-offering/actions.js +1 -2
- package/dist/document-models/service-offering/gen/actions.d.ts +1 -3
- package/dist/document-models/service-offering/gen/actions.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/actions.js +0 -1
- package/dist/document-models/service-offering/gen/creators.d.ts +0 -2
- package/dist/document-models/service-offering/gen/creators.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/creators.js +0 -2
- package/dist/document-models/service-offering/gen/document-model.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/document-model.js +4 -339
- package/dist/document-models/service-offering/gen/document-schema.d.ts +0 -9
- package/dist/document-models/service-offering/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/index.d.ts +0 -1
- package/dist/document-models/service-offering/gen/index.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/index.js +0 -1
- package/dist/document-models/service-offering/gen/offering/actions.d.ts +2 -14
- package/dist/document-models/service-offering/gen/offering/actions.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/offering/creators.d.ts +2 -5
- package/dist/document-models/service-offering/gen/offering/creators.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/offering/creators.js +1 -4
- package/dist/document-models/service-offering/gen/offering/error.d.ts +1 -8
- package/dist/document-models/service-offering/gen/offering/error.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/offering/error.js +0 -7
- package/dist/document-models/service-offering/gen/offering/operations.d.ts +1 -4
- package/dist/document-models/service-offering/gen/offering/operations.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/ph-factories.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/ph-factories.js +0 -3
- package/dist/document-models/service-offering/gen/reducer.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/reducer.js +1 -82
- package/dist/document-models/service-offering/gen/schema/types.d.ts +0 -148
- package/dist/document-models/service-offering/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/schema/zod.d.ts +1 -23
- package/dist/document-models/service-offering/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/schema/zod.js +40 -237
- package/dist/document-models/service-offering/gen/services/actions.d.ts +2 -10
- package/dist/document-models/service-offering/gen/services/actions.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/services/creators.d.ts +2 -4
- package/dist/document-models/service-offering/gen/services/creators.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/services/creators.js +1 -3
- package/dist/document-models/service-offering/gen/services/error.d.ts +1 -15
- package/dist/document-models/service-offering/gen/services/error.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/services/error.js +0 -14
- package/dist/document-models/service-offering/gen/services/operations.d.ts +1 -3
- package/dist/document-models/service-offering/gen/services/operations.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/utils.d.ts.map +1 -1
- package/dist/document-models/service-offering/gen/utils.js +0 -3
- package/dist/document-models/service-offering/module.d.ts +1 -1
- package/dist/document-models/service-offering/module.d.ts.map +1 -1
- package/dist/document-models/service-offering/module.js +1 -1
- package/dist/document-models/service-offering/src/queries/price-breakdown.d.ts.map +1 -1
- package/dist/document-models/service-offering/src/queries/price-breakdown.js +3 -21
- package/dist/document-models/service-offering/src/reducers/offering.d.ts.map +1 -1
- package/dist/document-models/service-offering/src/reducers/offering.js +1 -26
- package/dist/document-models/service-offering/src/reducers/services.d.ts.map +1 -1
- package/dist/document-models/service-offering/src/reducers/services.js +0 -21
- package/dist/document-models/service-offering/tests/offering.test.js +1 -31
- package/dist/document-models/service-offering/tests/services.test.js +1 -21
- package/dist/document-models/subscription-instance/gen/schema/zod.js +52 -52
- package/dist/document-models/subscription-instance/module.d.ts +1 -1
- package/dist/document-models/subscription-instance/module.d.ts.map +1 -1
- package/dist/document-models/subscription-instance/module.js +1 -1
- package/dist/editors/service-offering-editor/components/ConfirmDialog.d.ts +12 -0
- package/dist/editors/service-offering-editor/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/ConfirmDialog.js +15 -0
- package/dist/editors/service-offering-editor/components/InfoIcon.d.ts +8 -0
- package/dist/editors/service-offering-editor/components/InfoIcon.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/InfoIcon.js +5 -0
- package/dist/editors/service-offering-editor/components/MarkdownPreview.d.ts +1 -0
- package/dist/editors/service-offering-editor/components/MarkdownPreview.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/MarkdownPreview.js +8 -63
- package/dist/editors/service-offering-editor/components/OfferingProgress.d.ts +3 -1
- package/dist/editors/service-offering-editor/components/OfferingProgress.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/OfferingProgress.js +72 -424
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.d.ts +1 -0
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.js +45 -1318
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts +1 -0
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/ServiceCatalog.js +49 -2046
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts +1 -0
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/TheMatrix.js +39 -2380
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts +1 -0
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/TierDefinition.js +19 -812
- package/dist/editors/service-offering-editor/editor.d.ts +2 -0
- package/dist/editors/service-offering-editor/editor.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/editor.js +42 -300
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.d.ts +4 -5
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.d.ts.map +1 -1
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.js +6 -94
- package/dist/style.css +7 -260
- package/dist/subgraphs/resources-services/resolvers.js +17 -31
- package/dist/subgraphs/resources-services/schema.d.ts.map +1 -1
- package/dist/subgraphs/resources-services/schema.js +8 -34
- package/package.json +16 -17
- package/dist/document-models/service-offering/gen/configuration/actions.d.ts +0 -8
- package/dist/document-models/service-offering/gen/configuration/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/configuration/actions.js +0 -1
- package/dist/document-models/service-offering/gen/configuration/creators.d.ts +0 -4
- package/dist/document-models/service-offering/gen/configuration/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/configuration/creators.js +0 -3
- package/dist/document-models/service-offering/gen/configuration/error.d.ts +0 -2
- package/dist/document-models/service-offering/gen/configuration/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/configuration/error.js +0 -1
- package/dist/document-models/service-offering/gen/configuration/operations.d.ts +0 -7
- package/dist/document-models/service-offering/gen/configuration/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/configuration/operations.js +0 -1
- package/dist/document-models/service-offering/gen/service-groups/actions.d.ts +0 -48
- package/dist/document-models/service-offering/gen/service-groups/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/service-groups/actions.js +0 -1
- package/dist/document-models/service-offering/gen/service-groups/creators.d.ts +0 -14
- package/dist/document-models/service-offering/gen/service-groups/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/service-groups/creators.js +0 -13
- package/dist/document-models/service-offering/gen/service-groups/error.d.ts +0 -110
- package/dist/document-models/service-offering/gen/service-groups/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/service-groups/error.js +0 -131
- package/dist/document-models/service-offering/gen/service-groups/operations.d.ts +0 -17
- package/dist/document-models/service-offering/gen/service-groups/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/service-groups/operations.js +0 -1
- package/dist/document-models/service-offering/src/reducers/configuration.d.ts +0 -3
- package/dist/document-models/service-offering/src/reducers/configuration.d.ts.map +0 -1
- package/dist/document-models/service-offering/src/reducers/configuration.js +0 -64
- package/dist/document-models/service-offering/src/reducers/service-groups.d.ts +0 -3
- package/dist/document-models/service-offering/src/reducers/service-groups.d.ts.map +0 -1
- package/dist/document-models/service-offering/src/reducers/service-groups.js +0 -192
- package/dist/document-models/service-offering/tests/configuration.test.d.ts +0 -2
- package/dist/document-models/service-offering/tests/configuration.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/tests/configuration.test.js +0 -25
- package/dist/document-models/service-offering/tests/service-groups.test.d.ts +0 -2
- package/dist/document-models/service-offering/tests/service-groups.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/tests/service-groups.test.js +0 -115
- package/dist/editors/service-offering-editor/components/OfferingInfo.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/OfferingInfo.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/OfferingInfo.js +0 -62
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.js +0 -1025
- package/dist/editors/service-offering-editor/components/ServiceGroupPricingPanel.d.ts +0 -10
- package/dist/editors/service-offering-editor/components/ServiceGroupPricingPanel.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ServiceGroupPricingPanel.js +0 -485
- package/dist/editors/service-offering-editor/components/ServiceGroupSetupCostPanel.d.ts +0 -10
- package/dist/editors/service-offering-editor/components/ServiceGroupSetupCostPanel.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ServiceGroupSetupCostPanel.js +0 -256
- package/dist/editors/service-offering-editor/components/ServicesList.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/ServicesList.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ServicesList.js +0 -63
- package/dist/editors/service-offering-editor/components/TabNavigation.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/TabNavigation.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/TabNavigation.js +0 -257
- package/dist/editors/service-offering-editor/components/TiersList.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/TiersList.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/TiersList.js +0 -135
- package/dist/editors/service-offering-editor/components/resolve-configuration.d.ts +0 -7
- package/dist/editors/service-offering-editor/components/resolve-configuration.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/resolve-configuration.js +0 -54
|
@@ -10,7 +10,7 @@ export function AddOptionInputSchema() {
|
|
|
10
10
|
id: z.string(),
|
|
11
11
|
isDefault: z.boolean().nullish(),
|
|
12
12
|
label: z.string(),
|
|
13
|
-
lastModified: z.
|
|
13
|
+
lastModified: z.iso.datetime(),
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
export function FacetOptionSchema() {
|
|
@@ -28,7 +28,7 @@ export function FacetStateSchema() {
|
|
|
28
28
|
__typename: z.literal("FacetState").optional(),
|
|
29
29
|
description: z.string().nullish(),
|
|
30
30
|
id: z.string(),
|
|
31
|
-
lastModified: z.
|
|
31
|
+
lastModified: z.iso.datetime(),
|
|
32
32
|
name: z.string(),
|
|
33
33
|
options: z.array(z.lazy(() => FacetOptionSchema())),
|
|
34
34
|
});
|
|
@@ -36,24 +36,24 @@ export function FacetStateSchema() {
|
|
|
36
36
|
export function RemoveOptionInputSchema() {
|
|
37
37
|
return z.object({
|
|
38
38
|
id: z.string(),
|
|
39
|
-
lastModified: z.
|
|
39
|
+
lastModified: z.iso.datetime(),
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
export function ReorderOptionsInputSchema() {
|
|
43
43
|
return z.object({
|
|
44
|
-
lastModified: z.
|
|
44
|
+
lastModified: z.iso.datetime(),
|
|
45
45
|
optionIds: z.array(z.string()),
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
export function SetFacetDescriptionInputSchema() {
|
|
49
49
|
return z.object({
|
|
50
50
|
description: z.string().nullish(),
|
|
51
|
-
lastModified: z.
|
|
51
|
+
lastModified: z.iso.datetime(),
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
export function SetFacetNameInputSchema() {
|
|
55
55
|
return z.object({
|
|
56
|
-
lastModified: z.
|
|
56
|
+
lastModified: z.iso.datetime(),
|
|
57
57
|
name: z.string(),
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -64,6 +64,6 @@ export function UpdateOptionInputSchema() {
|
|
|
64
64
|
id: z.string(),
|
|
65
65
|
isDefault: z.boolean().nullish(),
|
|
66
66
|
label: z.string().nullish(),
|
|
67
|
-
lastModified: z.
|
|
67
|
+
lastModified: z.iso.datetime(),
|
|
68
68
|
});
|
|
69
69
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentModelModule } from "document-model";
|
|
2
2
|
import type { FacetPHState } from "@powerhousedao/service-offering/document-models/facet";
|
|
3
|
-
/** Document model module for the
|
|
3
|
+
/** Document model module for the Facet document type */
|
|
4
4
|
export declare const Facet: DocumentModelModule<FacetPHState>;
|
|
5
5
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/facet/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAQ1F,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/facet/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAQ1F,wDAAwD;AACxD,eAAO,MAAM,KAAK,EAAE,mBAAmB,CAAC,YAAY,CAMnD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createState } from "document-model";
|
|
2
2
|
import { defaultBaseState } from "document-model/core";
|
|
3
3
|
import { actions, documentModel, reducer, utils, } from "@powerhousedao/service-offering/document-models/facet";
|
|
4
|
-
/** Document model module for the
|
|
4
|
+
/** Document model module for the Facet document type */
|
|
5
5
|
export const Facet = {
|
|
6
6
|
version: 1,
|
|
7
7
|
reducer,
|
|
@@ -17,13 +17,13 @@ export const SuspensionTypeSchema = z.enum([
|
|
|
17
17
|
]);
|
|
18
18
|
export function ActivateInstanceInputSchema() {
|
|
19
19
|
return z.object({
|
|
20
|
-
activatedAt: z.
|
|
20
|
+
activatedAt: z.iso.datetime(),
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
export function ApplyConfigurationChangesInputSchema() {
|
|
24
24
|
return z.object({
|
|
25
25
|
addFacets: z.array(z.lazy(() => SetInstanceFacetInputSchema())).nullish(),
|
|
26
|
-
appliedAt: z.
|
|
26
|
+
appliedAt: z.iso.datetime(),
|
|
27
27
|
changeDescription: z.string().nullish(),
|
|
28
28
|
removeFacetKeys: z.array(z.string()).nullish(),
|
|
29
29
|
updateFacets: z
|
|
@@ -33,7 +33,7 @@ export function ApplyConfigurationChangesInputSchema() {
|
|
|
33
33
|
}
|
|
34
34
|
export function ConfirmInstanceInputSchema() {
|
|
35
35
|
return z.object({
|
|
36
|
-
confirmedAt: z.
|
|
36
|
+
confirmedAt: z.iso.datetime(),
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
export function InitializeInstanceInputSchema() {
|
|
@@ -41,13 +41,13 @@ export function InitializeInstanceInputSchema() {
|
|
|
41
41
|
customerId: z.string().nullish(),
|
|
42
42
|
customerName: z.string().nullish(),
|
|
43
43
|
description: z.string().nullish(),
|
|
44
|
-
infoLink: z.
|
|
44
|
+
infoLink: z.url().nullish(),
|
|
45
45
|
operatorDocumentType: z.string(),
|
|
46
46
|
operatorId: z.string(),
|
|
47
47
|
operatorName: z.string().nullish(),
|
|
48
48
|
resourceTemplateId: z.string().nullish(),
|
|
49
49
|
templateName: z.string().nullish(),
|
|
50
|
-
thumbnailUrl: z.
|
|
50
|
+
thumbnailUrl: z.url().nullish(),
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
export function InstanceFacetSchema() {
|
|
@@ -73,56 +73,56 @@ export function RemoveInstanceFacetInputSchema() {
|
|
|
73
73
|
}
|
|
74
74
|
export function ReportProvisioningCompletedInputSchema() {
|
|
75
75
|
return z.object({
|
|
76
|
-
completedAt: z.
|
|
76
|
+
completedAt: z.iso.datetime(),
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
export function ReportProvisioningFailedInputSchema() {
|
|
80
80
|
return z.object({
|
|
81
|
-
failedAt: z.
|
|
81
|
+
failedAt: z.iso.datetime(),
|
|
82
82
|
failureReason: z.string(),
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
export function ReportProvisioningStartedInputSchema() {
|
|
86
86
|
return z.object({
|
|
87
|
-
startedAt: z.
|
|
87
|
+
startedAt: z.iso.datetime(),
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
export function ResourceInstanceStateSchema() {
|
|
91
91
|
return z.object({
|
|
92
92
|
__typename: z.literal("ResourceInstanceState").optional(),
|
|
93
|
-
activatedAt: z.
|
|
93
|
+
activatedAt: z.iso.datetime().nullish(),
|
|
94
94
|
configuration: z.array(z.lazy(() => InstanceFacetSchema())),
|
|
95
|
-
confirmedAt: z.
|
|
95
|
+
confirmedAt: z.iso.datetime().nullish(),
|
|
96
96
|
customerId: z.string().nullish(),
|
|
97
97
|
customerName: z.string().nullish(),
|
|
98
98
|
description: z.string().nullish(),
|
|
99
|
-
infoLink: z.
|
|
99
|
+
infoLink: z.url().nullish(),
|
|
100
100
|
operatorProfile: z.lazy(() => OperatorProfileSchema().nullish()),
|
|
101
|
-
provisioningCompletedAt: z.
|
|
101
|
+
provisioningCompletedAt: z.iso.datetime().nullish(),
|
|
102
102
|
provisioningFailureReason: z.string().nullish(),
|
|
103
|
-
provisioningStartedAt: z.
|
|
103
|
+
provisioningStartedAt: z.iso.datetime().nullish(),
|
|
104
104
|
resourceTemplateId: z.string().nullish(),
|
|
105
|
-
resumedAt: z.
|
|
105
|
+
resumedAt: z.iso.datetime().nullish(),
|
|
106
106
|
status: InstanceStatusSchema,
|
|
107
|
-
suspendedAt: z.
|
|
107
|
+
suspendedAt: z.iso.datetime().nullish(),
|
|
108
108
|
suspensionDetails: z.string().nullish(),
|
|
109
109
|
suspensionReason: z.string().nullish(),
|
|
110
110
|
suspensionType: SuspensionTypeSchema.nullish(),
|
|
111
111
|
templateName: z.string().nullish(),
|
|
112
|
-
terminatedAt: z.
|
|
112
|
+
terminatedAt: z.iso.datetime().nullish(),
|
|
113
113
|
terminationReason: z.string().nullish(),
|
|
114
|
-
thumbnailUrl: z.
|
|
114
|
+
thumbnailUrl: z.url().nullish(),
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
export function ResumeAfterMaintenanceInputSchema() {
|
|
118
118
|
return z.object({
|
|
119
|
-
resumedAt: z.
|
|
119
|
+
resumedAt: z.iso.datetime(),
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
export function ResumeAfterPaymentInputSchema() {
|
|
123
123
|
return z.object({
|
|
124
124
|
paymentReference: z.string().nullish(),
|
|
125
|
-
resumedAt: z.
|
|
125
|
+
resumedAt: z.iso.datetime(),
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
export function SetInstanceFacetInputSchema() {
|
|
@@ -143,26 +143,26 @@ export function SuspendForMaintenanceInputSchema() {
|
|
|
143
143
|
return z.object({
|
|
144
144
|
estimatedDuration: z.string().nullish(),
|
|
145
145
|
maintenanceType: z.string().nullish(),
|
|
146
|
-
suspendedAt: z.
|
|
146
|
+
suspendedAt: z.iso.datetime(),
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
export function SuspendForNonPaymentInputSchema() {
|
|
150
150
|
return z.object({
|
|
151
151
|
daysPastDue: z.number().nullish(),
|
|
152
152
|
outstandingAmount: z.number().nullish(),
|
|
153
|
-
suspendedAt: z.
|
|
153
|
+
suspendedAt: z.iso.datetime(),
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
export function SuspendInstanceInputSchema() {
|
|
157
157
|
return z.object({
|
|
158
158
|
reason: z.string().nullish(),
|
|
159
|
-
suspendedAt: z.
|
|
159
|
+
suspendedAt: z.iso.datetime(),
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
export function TerminateInstanceInputSchema() {
|
|
163
163
|
return z.object({
|
|
164
164
|
reason: z.string(),
|
|
165
|
-
terminatedAt: z.
|
|
165
|
+
terminatedAt: z.iso.datetime(),
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
export function UpdateInstanceFacetInputSchema() {
|
|
@@ -175,9 +175,9 @@ export function UpdateInstanceFacetInputSchema() {
|
|
|
175
175
|
export function UpdateInstanceInfoInputSchema() {
|
|
176
176
|
return z.object({
|
|
177
177
|
description: z.string().nullish(),
|
|
178
|
-
infoLink: z.
|
|
178
|
+
infoLink: z.url().nullish(),
|
|
179
179
|
name: z.string().nullish(),
|
|
180
|
-
thumbnailUrl: z.
|
|
180
|
+
thumbnailUrl: z.url().nullish(),
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
export function UpdateInstanceStatusInputSchema() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentModelModule } from "document-model";
|
|
2
2
|
import type { ResourceInstancePHState } from "@powerhousedao/service-offering/document-models/resource-instance";
|
|
3
|
-
/** Document model module for the
|
|
3
|
+
/** Document model module for the ResourceInstance document type */
|
|
4
4
|
export declare const ResourceInstance: DocumentModelModule<ResourceInstancePHState>;
|
|
5
5
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/resource-instance/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mEAAmE,CAAC;AAQjH,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/resource-instance/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mEAAmE,CAAC;AAQjH,mEAAmE;AACnE,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,uBAAuB,CAMzE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createState } from "document-model";
|
|
2
2
|
import { defaultBaseState } from "document-model/core";
|
|
3
3
|
import { actions, documentModel, reducer, utils, } from "@powerhousedao/service-offering/document-models/resource-instance";
|
|
4
|
-
/** Document model module for the
|
|
4
|
+
/** Document model module for the ResourceInstance document type */
|
|
5
5
|
export const ResourceInstance = {
|
|
6
6
|
version: 1,
|
|
7
7
|
reducer,
|
|
@@ -14,7 +14,7 @@ export function AddContentSectionInputSchema() {
|
|
|
14
14
|
content: z.string(),
|
|
15
15
|
displayOrder: z.number(),
|
|
16
16
|
id: z.string(),
|
|
17
|
-
lastModified: z.
|
|
17
|
+
lastModified: z.iso.datetime(),
|
|
18
18
|
title: z.string(),
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -23,7 +23,7 @@ export function AddFacetBindingInputSchema() {
|
|
|
23
23
|
bindingId: z.string(),
|
|
24
24
|
facetName: z.string(),
|
|
25
25
|
facetType: z.string(),
|
|
26
|
-
lastModified: z.
|
|
26
|
+
lastModified: z.iso.datetime(),
|
|
27
27
|
serviceId: z.string(),
|
|
28
28
|
supportedOptions: z.array(z.string()),
|
|
29
29
|
});
|
|
@@ -31,7 +31,7 @@ export function AddFacetBindingInputSchema() {
|
|
|
31
31
|
export function AddFacetOptionInputSchema() {
|
|
32
32
|
return z.object({
|
|
33
33
|
categoryKey: z.string(),
|
|
34
|
-
lastModified: z.
|
|
34
|
+
lastModified: z.iso.datetime(),
|
|
35
35
|
optionId: z.string(),
|
|
36
36
|
});
|
|
37
37
|
}
|
|
@@ -49,7 +49,7 @@ export function AddOptionGroupInputSchema() {
|
|
|
49
49
|
description: z.string().nullish(),
|
|
50
50
|
id: z.string(),
|
|
51
51
|
isAddOn: z.boolean(),
|
|
52
|
-
lastModified: z.
|
|
52
|
+
lastModified: z.iso.datetime(),
|
|
53
53
|
name: z.string(),
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -59,7 +59,7 @@ export function AddServiceInputSchema() {
|
|
|
59
59
|
displayOrder: z.number().nullish(),
|
|
60
60
|
id: z.string(),
|
|
61
61
|
isSetupFormation: z.boolean().nullish(),
|
|
62
|
-
lastModified: z.
|
|
62
|
+
lastModified: z.iso.datetime(),
|
|
63
63
|
optionGroupId: z.string().nullish(),
|
|
64
64
|
parentServiceId: z.string().nullish(),
|
|
65
65
|
title: z.string(),
|
|
@@ -70,7 +70,7 @@ export function AddTargetAudienceInputSchema() {
|
|
|
70
70
|
color: z.string().nullish(),
|
|
71
71
|
id: z.string(),
|
|
72
72
|
label: z.string(),
|
|
73
|
-
lastModified: z.
|
|
73
|
+
lastModified: z.iso.datetime(),
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
export function ContentSectionSchema() {
|
|
@@ -85,7 +85,7 @@ export function ContentSectionSchema() {
|
|
|
85
85
|
export function DeleteContentSectionInputSchema() {
|
|
86
86
|
return z.object({
|
|
87
87
|
id: z.string(),
|
|
88
|
-
lastModified: z.
|
|
88
|
+
lastModified: z.iso.datetime(),
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
export function DeleteFaqInputSchema() {
|
|
@@ -96,13 +96,13 @@ export function DeleteFaqInputSchema() {
|
|
|
96
96
|
export function DeleteOptionGroupInputSchema() {
|
|
97
97
|
return z.object({
|
|
98
98
|
id: z.string(),
|
|
99
|
-
lastModified: z.
|
|
99
|
+
lastModified: z.iso.datetime(),
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
export function DeleteServiceInputSchema() {
|
|
103
103
|
return z.object({
|
|
104
104
|
id: z.string(),
|
|
105
|
-
lastModified: z.
|
|
105
|
+
lastModified: z.iso.datetime(),
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
export function FacetTargetSchema() {
|
|
@@ -136,39 +136,39 @@ export function OptionGroupSchema() {
|
|
|
136
136
|
export function RemoveFacetBindingInputSchema() {
|
|
137
137
|
return z.object({
|
|
138
138
|
bindingId: z.string(),
|
|
139
|
-
lastModified: z.
|
|
139
|
+
lastModified: z.iso.datetime(),
|
|
140
140
|
serviceId: z.string(),
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
export function RemoveFacetOptionInputSchema() {
|
|
144
144
|
return z.object({
|
|
145
145
|
categoryKey: z.string(),
|
|
146
|
-
lastModified: z.
|
|
146
|
+
lastModified: z.iso.datetime(),
|
|
147
147
|
optionId: z.string(),
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
export function RemoveFacetTargetInputSchema() {
|
|
151
151
|
return z.object({
|
|
152
152
|
categoryKey: z.string(),
|
|
153
|
-
lastModified: z.
|
|
153
|
+
lastModified: z.iso.datetime(),
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
export function RemoveTargetAudienceInputSchema() {
|
|
157
157
|
return z.object({
|
|
158
158
|
id: z.string(),
|
|
159
|
-
lastModified: z.
|
|
159
|
+
lastModified: z.iso.datetime(),
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
export function ReorderContentSectionsInputSchema() {
|
|
163
163
|
return z.object({
|
|
164
|
-
lastModified: z.
|
|
164
|
+
lastModified: z.iso.datetime(),
|
|
165
165
|
sectionIds: z.array(z.string()),
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
export function ReorderFaqsInputSchema() {
|
|
169
169
|
return z.object({
|
|
170
170
|
faqIds: z.array(z.string()),
|
|
171
|
-
lastModified: z.
|
|
171
|
+
lastModified: z.iso.datetime(),
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
export function ResourceFacetBindingSchema() {
|
|
@@ -188,8 +188,8 @@ export function ResourceTemplateStateSchema() {
|
|
|
188
188
|
facetTargets: z.array(z.lazy(() => FacetTargetSchema())),
|
|
189
189
|
faqFields: z.array(z.lazy(() => FaqFieldSchema())).nullish(),
|
|
190
190
|
id: z.string(),
|
|
191
|
-
infoLink: z.
|
|
192
|
-
lastModified: z.
|
|
191
|
+
infoLink: z.url().nullish(),
|
|
192
|
+
lastModified: z.iso.datetime(),
|
|
193
193
|
operatorId: z.string(),
|
|
194
194
|
optionGroups: z.array(z.lazy(() => OptionGroupSchema())),
|
|
195
195
|
recurringServices: z.array(z.string()),
|
|
@@ -198,7 +198,7 @@ export function ResourceTemplateStateSchema() {
|
|
|
198
198
|
status: TemplateStatusSchema,
|
|
199
199
|
summary: z.string(),
|
|
200
200
|
targetAudiences: z.array(z.lazy(() => TargetAudienceSchema())),
|
|
201
|
-
thumbnailUrl: z.
|
|
201
|
+
thumbnailUrl: z.url().nullish(),
|
|
202
202
|
title: z.string(),
|
|
203
203
|
});
|
|
204
204
|
}
|
|
@@ -220,32 +220,32 @@ export function SetFacetTargetInputSchema() {
|
|
|
220
220
|
categoryKey: z.string(),
|
|
221
221
|
categoryLabel: z.string(),
|
|
222
222
|
id: z.string(),
|
|
223
|
-
lastModified: z.
|
|
223
|
+
lastModified: z.iso.datetime(),
|
|
224
224
|
selectedOptions: z.array(z.string()),
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
export function SetOperatorInputSchema() {
|
|
228
228
|
return z.object({
|
|
229
|
-
lastModified: z.
|
|
229
|
+
lastModified: z.iso.datetime(),
|
|
230
230
|
operatorId: z.string(),
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
export function SetRecurringServicesInputSchema() {
|
|
234
234
|
return z.object({
|
|
235
|
-
lastModified: z.
|
|
235
|
+
lastModified: z.iso.datetime(),
|
|
236
236
|
services: z.array(z.string()),
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
export function SetSetupServicesInputSchema() {
|
|
240
240
|
return z.object({
|
|
241
|
-
lastModified: z.
|
|
241
|
+
lastModified: z.iso.datetime(),
|
|
242
242
|
services: z.array(z.string()),
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
export function SetTemplateIdInputSchema() {
|
|
246
246
|
return z.object({
|
|
247
247
|
id: z.string(),
|
|
248
|
-
lastModified: z.
|
|
248
|
+
lastModified: z.iso.datetime(),
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
export function TargetAudienceSchema() {
|
|
@@ -261,7 +261,7 @@ export function UpdateContentSectionInputSchema() {
|
|
|
261
261
|
content: z.string().nullish(),
|
|
262
262
|
displayOrder: z.number().nullish(),
|
|
263
263
|
id: z.string(),
|
|
264
|
-
lastModified: z.
|
|
264
|
+
lastModified: z.iso.datetime(),
|
|
265
265
|
title: z.string().nullish(),
|
|
266
266
|
});
|
|
267
267
|
}
|
|
@@ -278,7 +278,7 @@ export function UpdateOptionGroupInputSchema() {
|
|
|
278
278
|
description: z.string().nullish(),
|
|
279
279
|
id: z.string(),
|
|
280
280
|
isAddOn: z.boolean().nullish(),
|
|
281
|
-
lastModified: z.
|
|
281
|
+
lastModified: z.iso.datetime(),
|
|
282
282
|
name: z.string().nullish(),
|
|
283
283
|
});
|
|
284
284
|
}
|
|
@@ -288,7 +288,7 @@ export function UpdateServiceInputSchema() {
|
|
|
288
288
|
displayOrder: z.number().nullish(),
|
|
289
289
|
id: z.string(),
|
|
290
290
|
isSetupFormation: z.boolean().nullish(),
|
|
291
|
-
lastModified: z.
|
|
291
|
+
lastModified: z.iso.datetime(),
|
|
292
292
|
optionGroupId: z.string().nullish(),
|
|
293
293
|
parentServiceId: z.string().nullish(),
|
|
294
294
|
title: z.string().nullish(),
|
|
@@ -297,16 +297,16 @@ export function UpdateServiceInputSchema() {
|
|
|
297
297
|
export function UpdateTemplateInfoInputSchema() {
|
|
298
298
|
return z.object({
|
|
299
299
|
description: z.string().nullish(),
|
|
300
|
-
infoLink: z.
|
|
301
|
-
lastModified: z.
|
|
300
|
+
infoLink: z.url().nullish(),
|
|
301
|
+
lastModified: z.iso.datetime(),
|
|
302
302
|
summary: z.string().nullish(),
|
|
303
|
-
thumbnailUrl: z.
|
|
303
|
+
thumbnailUrl: z.url().nullish(),
|
|
304
304
|
title: z.string().nullish(),
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
export function UpdateTemplateStatusInputSchema() {
|
|
308
308
|
return z.object({
|
|
309
|
-
lastModified: z.
|
|
309
|
+
lastModified: z.iso.datetime(),
|
|
310
310
|
status: TemplateStatusSchema,
|
|
311
311
|
});
|
|
312
312
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentModelModule } from "document-model";
|
|
2
2
|
import type { ResourceTemplatePHState } from "@powerhousedao/service-offering/document-models/resource-template";
|
|
3
|
-
/** Document model module for the
|
|
3
|
+
/** Document model module for the ResourceTemplate document type */
|
|
4
4
|
export declare const ResourceTemplate: DocumentModelModule<ResourceTemplatePHState>;
|
|
5
5
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/resource-template/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mEAAmE,CAAC;AAQjH,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/resource-template/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mEAAmE,CAAC;AAQjH,mEAAmE;AACnE,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,uBAAuB,CAMzE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createState } from "document-model";
|
|
2
2
|
import { defaultBaseState } from "document-model/core";
|
|
3
3
|
import { actions, documentModel, reducer, utils, } from "@powerhousedao/service-offering/document-models/resource-template";
|
|
4
|
-
/** Document model module for the
|
|
4
|
+
/** Document model module for the ResourceTemplate document type */
|
|
5
5
|
export const ResourceTemplate = {
|
|
6
6
|
version: 1,
|
|
7
7
|
reducer,
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
/** Actions for the ServiceOffering document model */
|
|
2
2
|
export declare const actions: {
|
|
3
|
-
addServiceGroup: (input: import("./index.js").AddServiceGroupInput) => import("./index.js").AddServiceGroupAction;
|
|
4
|
-
updateServiceGroup: (input: import("./index.js").UpdateServiceGroupInput) => import("./index.js").UpdateServiceGroupAction;
|
|
5
|
-
deleteServiceGroup: (input: import("./index.js").DeleteServiceGroupInput) => import("./index.js").DeleteServiceGroupAction;
|
|
6
|
-
reorderServiceGroups: (input: import("./index.js").ReorderServiceGroupsInput) => import("./index.js").ReorderServiceGroupsAction;
|
|
7
|
-
addServiceGroupTierPricing: (input: import("./index.js").AddServiceGroupTierPricingInput) => import("./index.js").AddServiceGroupTierPricingAction;
|
|
8
|
-
setServiceGroupSetupCost: (input: import("./index.js").SetServiceGroupSetupCostInput) => import("./index.js").SetServiceGroupSetupCostAction;
|
|
9
|
-
removeServiceGroupSetupCost: (input: import("./index.js").RemoveServiceGroupSetupCostInput) => import("./index.js").RemoveServiceGroupSetupCostAction;
|
|
10
|
-
addRecurringPriceOption: (input: import("./index.js").AddRecurringPriceOptionInput) => import("./index.js").AddRecurringPriceOptionAction;
|
|
11
|
-
updateRecurringPriceOption: (input: import("./index.js").UpdateRecurringPriceOptionInput) => import("./index.js").UpdateRecurringPriceOptionAction;
|
|
12
|
-
removeRecurringPriceOption: (input: import("./index.js").RemoveRecurringPriceOptionInput) => import("./index.js").RemoveRecurringPriceOptionAction;
|
|
13
|
-
removeServiceGroupTierPricing: (input: import("./index.js").RemoveServiceGroupTierPricingInput) => import("./index.js").RemoveServiceGroupTierPricingAction;
|
|
14
3
|
addOptionGroup: (input: import("./index.js").AddOptionGroupInput) => import("./index.js").AddOptionGroupAction;
|
|
15
4
|
updateOptionGroup: (input: import("./index.js").UpdateOptionGroupInput) => import("./index.js").UpdateOptionGroupAction;
|
|
16
5
|
deleteOptionGroup: (input: import("./index.js").DeleteOptionGroupInput) => import("./index.js").DeleteOptionGroupAction;
|
|
@@ -35,14 +24,10 @@ export declare const actions: {
|
|
|
35
24
|
addService: (input: import("./index.js").AddServiceInput) => import("./index.js").AddServiceAction;
|
|
36
25
|
updateService: (input: import("./index.js").UpdateServiceInput) => import("./index.js").UpdateServiceAction;
|
|
37
26
|
deleteService: (input: import("./index.js").DeleteServiceInput) => import("./index.js").DeleteServiceAction;
|
|
38
|
-
addFacetBinding: (input: import("./index.js").AddFacetBindingInput) => import("./index.js").AddFacetBindingAction;
|
|
39
|
-
removeFacetBinding: (input: import("./index.js").RemoveFacetBindingInput) => import("./index.js").RemoveFacetBindingAction;
|
|
40
27
|
updateOfferingInfo: (input: import("./index.js").UpdateOfferingInfoInput) => import("./index.js").UpdateOfferingInfoAction;
|
|
41
28
|
updateOfferingStatus: (input: import("./index.js").UpdateOfferingStatusInput) => import("./index.js").UpdateOfferingStatusAction;
|
|
42
29
|
setOperator: (input: import("./index.js").SetOperatorInput) => import("./index.js").SetOperatorAction;
|
|
43
30
|
setOfferingId: (input: import("./index.js").SetOfferingIdInput) => import("./index.js").SetOfferingIdAction;
|
|
44
|
-
addTargetAudience: (input: import("./index.js").AddTargetAudienceInput) => import("./index.js").AddTargetAudienceAction;
|
|
45
|
-
removeTargetAudience: (input: import("./index.js").RemoveTargetAudienceInput) => import("./index.js").RemoveTargetAudienceAction;
|
|
46
31
|
setFacetTarget: (input: import("./index.js").SetFacetTargetInput) => import("./index.js").SetFacetTargetAction;
|
|
47
32
|
removeFacetTarget: (input: import("./index.js").RemoveFacetTargetInput) => import("./index.js").RemoveFacetTargetAction;
|
|
48
33
|
addFacetOption: (input: import("./index.js").AddFacetOptionInput) => import("./index.js").AddFacetOptionAction;
|
|
@@ -50,7 +35,6 @@ export declare const actions: {
|
|
|
50
35
|
selectResourceTemplate: (input: import("./index.js").SelectResourceTemplateInput) => import("./index.js").SelectResourceTemplateAction;
|
|
51
36
|
changeResourceTemplate: (input: import("./index.js").ChangeResourceTemplateInput) => import("./index.js").ChangeResourceTemplateAction;
|
|
52
37
|
setAvailableBillingCycles: (input: import("./index.js").SetAvailableBillingCyclesInput) => import("./index.js").SetAvailableBillingCyclesAction;
|
|
53
|
-
setFacetBindings: (input: import("./index.js").SetFacetBindingsInput) => import("./index.js").SetFacetBindingsAction;
|
|
54
38
|
setName: (name: string) => import("document-model").SetNameAction;
|
|
55
39
|
undo: (skip?: number, scope?: string) => import("document-model").UndoAction;
|
|
56
40
|
redo: (count?: number, scope?: string) => import("document-model").RedoAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../document-models/service-offering/actions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../document-models/service-offering/actions.ts"],"names":[],"mappings":"AAQA,qDAAqD;AAErD,eAAO,MAAM,OAAO;qBAO4oB,+CAA0B;wBAAyL,kDAA6B;wBAAkM,kDAA6B;sCAAgN,gEAA8C;gCAAwP,0DAAwC;mCAAyO,6DAA2C;mCAAkP,6DAA2C;iCAAgP,2DAAyC;cAAtkD,wCAAmB;iBAA4J,2CAAsB;wBAA4K,kDAA6B;iBAA2L,2CAAsB;sBAA0K,gDAA2B;yBAA6L,mDAA8B;yBAAsM,mDAA8B;oBAAiM,8CAAyB;uBAAqL,iDAA4B;uBAA8L,iDAA4B;iCAAwM,2DAAyC;mCAA4O,6DAA2C;yBAAwO,mDAA8B;iBAAv9G,2CAAsB;oBAAwK,8CAAyB;oBAAiL,8CAAyB;yBAA8U,mDAA8B;2BAAwM,qDAAgC;kBAAqM,4CAAuB;oBAA2K,8CAAyB;qBAAmL,+CAA0B;wBAAyL,kDAA6B;qBAA+L,+CAA0B;wBAAyL,kDAA6B;6BAAuM,uDAAkC;6BAAsN,uDAAkC;gCAAyN,0DAAwC;;eAAuyH,CAAC,eAAe,CAAC;gBAAkE,CAAC,eAAe,CAAC;iBAAmE,CAAC,aAAa,CAAC,eAAe,CAAC;;;;gBAAqS,CAAC;CAD3wO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { baseActions } from "document-model";
|
|
2
|
-
import { offeringActions, servicesActions, tiersActions, optionGroupsActions,
|
|
2
|
+
import { offeringActions, servicesActions, tiersActions, optionGroupsActions, } from "./gen/creators.js";
|
|
3
3
|
/** Actions for the ServiceOffering document model */
|
|
4
4
|
export const actions = {
|
|
5
5
|
...baseActions,
|
|
@@ -7,5 +7,4 @@ export const actions = {
|
|
|
7
7
|
...servicesActions,
|
|
8
8
|
...tiersActions,
|
|
9
9
|
...optionGroupsActions,
|
|
10
|
-
...serviceGroupsActions,
|
|
11
10
|
};
|
|
@@ -2,11 +2,9 @@ import type { ServiceOfferingOfferingAction } from "./offering/actions.js";
|
|
|
2
2
|
import type { ServiceOfferingServicesAction } from "./services/actions.js";
|
|
3
3
|
import type { ServiceOfferingTiersAction } from "./tiers/actions.js";
|
|
4
4
|
import type { ServiceOfferingOptionGroupsAction } from "./option-groups/actions.js";
|
|
5
|
-
import type { ServiceOfferingServiceGroupsAction } from "./service-groups/actions.js";
|
|
6
5
|
export * from "./offering/actions.js";
|
|
7
6
|
export * from "./services/actions.js";
|
|
8
7
|
export * from "./tiers/actions.js";
|
|
9
8
|
export * from "./option-groups/actions.js";
|
|
10
|
-
export
|
|
11
|
-
export type ServiceOfferingAction = ServiceOfferingOfferingAction | ServiceOfferingServicesAction | ServiceOfferingTiersAction | ServiceOfferingOptionGroupsAction | ServiceOfferingServiceGroupsAction;
|
|
9
|
+
export type ServiceOfferingAction = ServiceOfferingOfferingAction | ServiceOfferingServicesAction | ServiceOfferingTiersAction | ServiceOfferingOptionGroupsAction;
|
|
12
10
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAEpF,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAE3C,MAAM,MAAM,qBAAqB,GAC7B,6BAA6B,GAC7B,6BAA6B,GAC7B,0BAA0B,GAC1B,iCAAiC,CAAC"}
|
|
@@ -6,6 +6,4 @@ export * from "./tiers/creators.js";
|
|
|
6
6
|
export * as tiersActions from "./tiers/creators.js";
|
|
7
7
|
export * from "./option-groups/creators.js";
|
|
8
8
|
export * as optionGroupsActions from "./option-groups/creators.js";
|
|
9
|
-
export * from "./service-groups/creators.js";
|
|
10
|
-
export * as serviceGroupsActions from "./service-groups/creators.js";
|
|
11
9
|
//# sourceMappingURL=creators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/creators.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC
|
|
1
|
+
{"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/creators.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC"}
|
|
@@ -6,5 +6,3 @@ export * from "./tiers/creators.js";
|
|
|
6
6
|
export * as tiersActions from "./tiers/creators.js";
|
|
7
7
|
export * from "./option-groups/creators.js";
|
|
8
8
|
export * as optionGroupsActions from "./option-groups/creators.js";
|
|
9
|
-
export * from "./service-groups/creators.js";
|
|
10
|
-
export * as serviceGroupsActions from "./service-groups/creators.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/service-offering/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAuuB3B,CAAC"}
|