@powerhousedao/service-offering 1.0.0-dev.13 → 1.0.0-dev.15
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/types.d.ts +195 -0
- package/dist/document-models/facet/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/facet/gen/schema/types.js +1 -0
- package/dist/document-models/facet/gen/schema/zod.d.ts +18 -0
- package/dist/document-models/facet/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/facet/gen/schema/zod.js +69 -0
- package/dist/document-models/facet/v1/gen/controller.d.ts +4 -0
- package/dist/document-models/facet/v1/gen/controller.d.ts.map +1 -0
- package/dist/document-models/facet/v1/gen/controller.js +3 -0
- package/dist/document-models/facet/v1/gen/index.d.ts +1 -0
- package/dist/document-models/facet/v1/gen/index.d.ts.map +1 -1
- package/dist/document-models/facet/v1/gen/index.js +1 -2
- package/dist/document-models/resource-instance/gen/schema/types.d.ts +272 -0
- package/dist/document-models/resource-instance/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/resource-instance/gen/schema/types.js +1 -0
- package/dist/document-models/resource-instance/gen/schema/zod.d.ts +44 -0
- package/dist/document-models/resource-instance/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/resource-instance/gen/schema/zod.js +187 -0
- package/dist/document-models/resource-instance/v1/gen/controller.d.ts +4 -0
- package/dist/document-models/resource-instance/v1/gen/controller.d.ts.map +1 -0
- package/dist/document-models/resource-instance/v1/gen/controller.js +3 -0
- package/dist/document-models/resource-instance/v1/gen/index.d.ts +1 -0
- package/dist/document-models/resource-instance/v1/gen/index.d.ts.map +1 -1
- package/dist/document-models/resource-instance/v1/gen/index.js +1 -2
- package/dist/document-models/resource-template/gen/schema/types.d.ts +371 -0
- package/dist/document-models/resource-template/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/resource-template/gen/schema/types.js +1 -0
- package/dist/document-models/resource-template/gen/schema/zod.d.ts +52 -0
- package/dist/document-models/resource-template/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/resource-template/gen/schema/zod.js +312 -0
- package/dist/document-models/resource-template/v1/gen/controller.d.ts +4 -0
- package/dist/document-models/resource-template/v1/gen/controller.d.ts.map +1 -0
- package/dist/document-models/resource-template/v1/gen/controller.js +3 -0
- package/dist/document-models/resource-template/v1/gen/index.d.ts +1 -0
- package/dist/document-models/resource-template/v1/gen/index.d.ts.map +1 -1
- package/dist/document-models/resource-template/v1/gen/index.js +1 -2
- package/dist/document-models/service-offering/gen/schema/types.d.ts +526 -0
- package/dist/document-models/service-offering/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/schema/types.js +1 -0
- package/dist/document-models/service-offering/gen/schema/zod.d.ts +114 -0
- package/dist/document-models/service-offering/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/schema/zod.js +539 -0
- package/dist/document-models/subscription-instance/gen/schema/types.d.ts +552 -0
- package/dist/document-models/subscription-instance/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/subscription-instance/gen/schema/types.js +1 -0
- package/dist/document-models/subscription-instance/gen/schema/zod.d.ts +109 -0
- package/dist/document-models/subscription-instance/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/subscription-instance/gen/schema/zod.js +556 -0
- package/dist/document-models/subscription-instance/v1/gen/controller.d.ts +4 -0
- package/dist/document-models/subscription-instance/v1/gen/controller.d.ts.map +1 -0
- package/dist/document-models/subscription-instance/v1/gen/controller.js +3 -0
- package/dist/document-models/subscription-instance/v1/gen/index.d.ts +1 -0
- package/dist/document-models/subscription-instance/v1/gen/index.d.ts.map +1 -1
- package/dist/document-models/subscription-instance/v1/gen/index.js +1 -2
- package/dist/document-models/subscription-instance/v1/src/reducers/metrics.d.ts.map +1 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/service-group.d.ts.map +1 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/service.d.ts.map +1 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/subscription.d.ts.map +1 -1
- package/dist/editors/service-offering-editor/components/TierDefinition.js +7 -1
- package/dist/style.css +7 -0
- package/package.json +29 -17
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import type { ActivateInstanceInput, ApplyConfigurationChangesInput, ConfirmInstanceInput, InitializeInstanceInput, InstanceFacet, OperatorProfile, RemoveInstanceFacetInput, ReportProvisioningCompletedInput, ReportProvisioningFailedInput, ReportProvisioningStartedInput, ResourceInstanceState, ResumeAfterMaintenanceInput, ResumeAfterPaymentInput, SetInstanceFacetInput, SetOperatorProfileInput, SuspendForMaintenanceInput, SuspendForNonPaymentInput, SuspendInstanceInput, TerminateInstanceInput, UpdateInstanceFacetInput, UpdateInstanceInfoInput, UpdateInstanceStatusInput } from "./types.js";
|
|
3
|
+
type Properties<T> = Required<{
|
|
4
|
+
[K in keyof T]: z.ZodType<T[K]>;
|
|
5
|
+
}>;
|
|
6
|
+
type definedNonNullAny = {};
|
|
7
|
+
export declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
8
|
+
export declare const definedNonNullAnySchema: z.ZodAny & z.ZodType<definedNonNullAny, any, z.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
9
|
+
export declare const InstanceStatusSchema: z.ZodEnum<{
|
|
10
|
+
ACTIVE: "ACTIVE";
|
|
11
|
+
DRAFT: "DRAFT";
|
|
12
|
+
PROVISIONING: "PROVISIONING";
|
|
13
|
+
SUSPENDED: "SUSPENDED";
|
|
14
|
+
TERMINATED: "TERMINATED";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const SuspensionTypeSchema: z.ZodEnum<{
|
|
17
|
+
MAINTENANCE: "MAINTENANCE";
|
|
18
|
+
NON_PAYMENT: "NON_PAYMENT";
|
|
19
|
+
OTHER: "OTHER";
|
|
20
|
+
}>;
|
|
21
|
+
export declare function ActivateInstanceInputSchema(): z.ZodObject<Properties<ActivateInstanceInput>>;
|
|
22
|
+
export declare function ApplyConfigurationChangesInputSchema(): z.ZodObject<Properties<ApplyConfigurationChangesInput>>;
|
|
23
|
+
export declare function ConfirmInstanceInputSchema(): z.ZodObject<Properties<ConfirmInstanceInput>>;
|
|
24
|
+
export declare function InitializeInstanceInputSchema(): z.ZodObject<Properties<InitializeInstanceInput>>;
|
|
25
|
+
export declare function InstanceFacetSchema(): z.ZodObject<Properties<InstanceFacet>>;
|
|
26
|
+
export declare function OperatorProfileSchema(): z.ZodObject<Properties<OperatorProfile>>;
|
|
27
|
+
export declare function RemoveInstanceFacetInputSchema(): z.ZodObject<Properties<RemoveInstanceFacetInput>>;
|
|
28
|
+
export declare function ReportProvisioningCompletedInputSchema(): z.ZodObject<Properties<ReportProvisioningCompletedInput>>;
|
|
29
|
+
export declare function ReportProvisioningFailedInputSchema(): z.ZodObject<Properties<ReportProvisioningFailedInput>>;
|
|
30
|
+
export declare function ReportProvisioningStartedInputSchema(): z.ZodObject<Properties<ReportProvisioningStartedInput>>;
|
|
31
|
+
export declare function ResourceInstanceStateSchema(): z.ZodObject<Properties<ResourceInstanceState>>;
|
|
32
|
+
export declare function ResumeAfterMaintenanceInputSchema(): z.ZodObject<Properties<ResumeAfterMaintenanceInput>>;
|
|
33
|
+
export declare function ResumeAfterPaymentInputSchema(): z.ZodObject<Properties<ResumeAfterPaymentInput>>;
|
|
34
|
+
export declare function SetInstanceFacetInputSchema(): z.ZodObject<Properties<SetInstanceFacetInput>>;
|
|
35
|
+
export declare function SetOperatorProfileInputSchema(): z.ZodObject<Properties<SetOperatorProfileInput>>;
|
|
36
|
+
export declare function SuspendForMaintenanceInputSchema(): z.ZodObject<Properties<SuspendForMaintenanceInput>>;
|
|
37
|
+
export declare function SuspendForNonPaymentInputSchema(): z.ZodObject<Properties<SuspendForNonPaymentInput>>;
|
|
38
|
+
export declare function SuspendInstanceInputSchema(): z.ZodObject<Properties<SuspendInstanceInput>>;
|
|
39
|
+
export declare function TerminateInstanceInputSchema(): z.ZodObject<Properties<TerminateInstanceInput>>;
|
|
40
|
+
export declare function UpdateInstanceFacetInputSchema(): z.ZodObject<Properties<UpdateInstanceFacetInput>>;
|
|
41
|
+
export declare function UpdateInstanceInfoInputSchema(): z.ZodObject<Properties<UpdateInstanceInfoInput>>;
|
|
42
|
+
export declare function UpdateInstanceStatusInputSchema(): z.ZodObject<Properties<UpdateInstanceStatusInput>>;
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=zod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/resource-instance/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC9B,oBAAoB,EACpB,uBAAuB,EACvB,aAAa,EAEb,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,6BAA6B,EAC7B,8BAA8B,EAC9B,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EAEpB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gGAEI,CAAC;AAEzC,eAAO,MAAM,oBAAoB;;;;;;EAM/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;EAI/B,CAAC;AAEH,wBAAgB,2BAA2B,IAAI,CAAC,CAAC,SAAS,CACxD,UAAU,CAAC,qBAAqB,CAAC,CAClC,CAIA;AAED,wBAAgB,oCAAoC,IAAI,CAAC,CAAC,SAAS,CACjE,UAAU,CAAC,8BAA8B,CAAC,CAC3C,CAUA;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAIA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAaA;AAED,wBAAgB,mBAAmB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAQ5E;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAMA;AAED,wBAAgB,8BAA8B,IAAI,CAAC,CAAC,SAAS,CAC3D,UAAU,CAAC,wBAAwB,CAAC,CACrC,CAIA;AAED,wBAAgB,sCAAsC,IAAI,CAAC,CAAC,SAAS,CACnE,UAAU,CAAC,gCAAgC,CAAC,CAC7C,CAIA;AAED,wBAAgB,mCAAmC,IAAI,CAAC,CAAC,SAAS,CAChE,UAAU,CAAC,6BAA6B,CAAC,CAC1C,CAKA;AAED,wBAAgB,oCAAoC,IAAI,CAAC,CAAC,SAAS,CACjE,UAAU,CAAC,8BAA8B,CAAC,CAC3C,CAIA;AAED,wBAAgB,2BAA2B,IAAI,CAAC,CAAC,SAAS,CACxD,UAAU,CAAC,qBAAqB,CAAC,CAClC,CA0BA;AAED,wBAAgB,iCAAiC,IAAI,CAAC,CAAC,SAAS,CAC9D,UAAU,CAAC,2BAA2B,CAAC,CACxC,CAIA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAKA;AAED,wBAAgB,2BAA2B,IAAI,CAAC,CAAC,SAAS,CACxD,UAAU,CAAC,qBAAqB,CAAC,CAClC,CAOA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAKA;AAED,wBAAgB,gCAAgC,IAAI,CAAC,CAAC,SAAS,CAC7D,UAAU,CAAC,0BAA0B,CAAC,CACvC,CAMA;AAED,wBAAgB,+BAA+B,IAAI,CAAC,CAAC,SAAS,CAC5D,UAAU,CAAC,yBAAyB,CAAC,CACtC,CAMA;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAKA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAKA;AAED,wBAAgB,8BAA8B,IAAI,CAAC,CAAC,SAAS,CAC3D,UAAU,CAAC,wBAAwB,CAAC,CACrC,CAMA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAOA;AAED,wBAAgB,+BAA+B,IAAI,CAAC,CAAC,SAAS,CAC5D,UAAU,CAAC,yBAAyB,CAAC,CACtC,CAIA"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export const isDefinedNonNullAny = (v) => v !== undefined && v !== null;
|
|
3
|
+
export const definedNonNullAnySchema = z
|
|
4
|
+
.any()
|
|
5
|
+
.refine((v) => isDefinedNonNullAny(v));
|
|
6
|
+
export const InstanceStatusSchema = z.enum([
|
|
7
|
+
"ACTIVE",
|
|
8
|
+
"DRAFT",
|
|
9
|
+
"PROVISIONING",
|
|
10
|
+
"SUSPENDED",
|
|
11
|
+
"TERMINATED",
|
|
12
|
+
]);
|
|
13
|
+
export const SuspensionTypeSchema = z.enum([
|
|
14
|
+
"MAINTENANCE",
|
|
15
|
+
"NON_PAYMENT",
|
|
16
|
+
"OTHER",
|
|
17
|
+
]);
|
|
18
|
+
export function ActivateInstanceInputSchema() {
|
|
19
|
+
return z.object({
|
|
20
|
+
activatedAt: z.iso.datetime(),
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export function ApplyConfigurationChangesInputSchema() {
|
|
24
|
+
return z.object({
|
|
25
|
+
addFacets: z.array(z.lazy(() => SetInstanceFacetInputSchema())).nullish(),
|
|
26
|
+
appliedAt: z.iso.datetime(),
|
|
27
|
+
changeDescription: z.string().nullish(),
|
|
28
|
+
removeFacetKeys: z.array(z.string()).nullish(),
|
|
29
|
+
updateFacets: z
|
|
30
|
+
.array(z.lazy(() => UpdateInstanceFacetInputSchema()))
|
|
31
|
+
.nullish(),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export function ConfirmInstanceInputSchema() {
|
|
35
|
+
return z.object({
|
|
36
|
+
confirmedAt: z.iso.datetime(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export function InitializeInstanceInputSchema() {
|
|
40
|
+
return z.object({
|
|
41
|
+
customerId: z.string().nullish(),
|
|
42
|
+
customerName: z.string().nullish(),
|
|
43
|
+
description: z.string().nullish(),
|
|
44
|
+
infoLink: z.url().nullish(),
|
|
45
|
+
operatorDocumentType: z.string(),
|
|
46
|
+
operatorId: z.string(),
|
|
47
|
+
operatorName: z.string().nullish(),
|
|
48
|
+
resourceTemplateId: z.string().nullish(),
|
|
49
|
+
templateName: z.string().nullish(),
|
|
50
|
+
thumbnailUrl: z.url().nullish(),
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
export function InstanceFacetSchema() {
|
|
54
|
+
return z.object({
|
|
55
|
+
__typename: z.literal("InstanceFacet").optional(),
|
|
56
|
+
categoryKey: z.string(),
|
|
57
|
+
categoryLabel: z.string(),
|
|
58
|
+
id: z.string(),
|
|
59
|
+
selectedOption: z.string(),
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
export function OperatorProfileSchema() {
|
|
63
|
+
return z.object({
|
|
64
|
+
__typename: z.literal("OperatorProfile").optional(),
|
|
65
|
+
id: z.string(),
|
|
66
|
+
operatorName: z.string().nullish(),
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
export function RemoveInstanceFacetInputSchema() {
|
|
70
|
+
return z.object({
|
|
71
|
+
categoryKey: z.string(),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
export function ReportProvisioningCompletedInputSchema() {
|
|
75
|
+
return z.object({
|
|
76
|
+
completedAt: z.iso.datetime(),
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
export function ReportProvisioningFailedInputSchema() {
|
|
80
|
+
return z.object({
|
|
81
|
+
failedAt: z.iso.datetime(),
|
|
82
|
+
failureReason: z.string(),
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
export function ReportProvisioningStartedInputSchema() {
|
|
86
|
+
return z.object({
|
|
87
|
+
startedAt: z.iso.datetime(),
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
export function ResourceInstanceStateSchema() {
|
|
91
|
+
return z.object({
|
|
92
|
+
__typename: z.literal("ResourceInstanceState").optional(),
|
|
93
|
+
activatedAt: z.iso.datetime().nullish(),
|
|
94
|
+
configuration: z.array(z.lazy(() => InstanceFacetSchema())),
|
|
95
|
+
confirmedAt: z.iso.datetime().nullish(),
|
|
96
|
+
customerId: z.string().nullish(),
|
|
97
|
+
customerName: z.string().nullish(),
|
|
98
|
+
description: z.string().nullish(),
|
|
99
|
+
infoLink: z.url().nullish(),
|
|
100
|
+
operatorProfile: z.lazy(() => OperatorProfileSchema().nullish()),
|
|
101
|
+
provisioningCompletedAt: z.iso.datetime().nullish(),
|
|
102
|
+
provisioningFailureReason: z.string().nullish(),
|
|
103
|
+
provisioningStartedAt: z.iso.datetime().nullish(),
|
|
104
|
+
resourceTemplateId: z.string().nullish(),
|
|
105
|
+
resumedAt: z.iso.datetime().nullish(),
|
|
106
|
+
status: InstanceStatusSchema,
|
|
107
|
+
suspendedAt: z.iso.datetime().nullish(),
|
|
108
|
+
suspensionDetails: z.string().nullish(),
|
|
109
|
+
suspensionReason: z.string().nullish(),
|
|
110
|
+
suspensionType: SuspensionTypeSchema.nullish(),
|
|
111
|
+
templateName: z.string().nullish(),
|
|
112
|
+
terminatedAt: z.iso.datetime().nullish(),
|
|
113
|
+
terminationReason: z.string().nullish(),
|
|
114
|
+
thumbnailUrl: z.url().nullish(),
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export function ResumeAfterMaintenanceInputSchema() {
|
|
118
|
+
return z.object({
|
|
119
|
+
resumedAt: z.iso.datetime(),
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
export function ResumeAfterPaymentInputSchema() {
|
|
123
|
+
return z.object({
|
|
124
|
+
paymentReference: z.string().nullish(),
|
|
125
|
+
resumedAt: z.iso.datetime(),
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
export function SetInstanceFacetInputSchema() {
|
|
129
|
+
return z.object({
|
|
130
|
+
categoryKey: z.string(),
|
|
131
|
+
categoryLabel: z.string(),
|
|
132
|
+
id: z.string(),
|
|
133
|
+
selectedOption: z.string(),
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
export function SetOperatorProfileInputSchema() {
|
|
137
|
+
return z.object({
|
|
138
|
+
operatorId: z.string(),
|
|
139
|
+
operatorName: z.string().nullish(),
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
export function SuspendForMaintenanceInputSchema() {
|
|
143
|
+
return z.object({
|
|
144
|
+
estimatedDuration: z.string().nullish(),
|
|
145
|
+
maintenanceType: z.string().nullish(),
|
|
146
|
+
suspendedAt: z.iso.datetime(),
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
export function SuspendForNonPaymentInputSchema() {
|
|
150
|
+
return z.object({
|
|
151
|
+
daysPastDue: z.number().nullish(),
|
|
152
|
+
outstandingAmount: z.number().nullish(),
|
|
153
|
+
suspendedAt: z.iso.datetime(),
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
export function SuspendInstanceInputSchema() {
|
|
157
|
+
return z.object({
|
|
158
|
+
reason: z.string().nullish(),
|
|
159
|
+
suspendedAt: z.iso.datetime(),
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
export function TerminateInstanceInputSchema() {
|
|
163
|
+
return z.object({
|
|
164
|
+
reason: z.string(),
|
|
165
|
+
terminatedAt: z.iso.datetime(),
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
export function UpdateInstanceFacetInputSchema() {
|
|
169
|
+
return z.object({
|
|
170
|
+
categoryKey: z.string(),
|
|
171
|
+
categoryLabel: z.string().nullish(),
|
|
172
|
+
selectedOption: z.string().nullish(),
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
export function UpdateInstanceInfoInputSchema() {
|
|
176
|
+
return z.object({
|
|
177
|
+
description: z.string().nullish(),
|
|
178
|
+
infoLink: z.url().nullish(),
|
|
179
|
+
name: z.string().nullish(),
|
|
180
|
+
thumbnailUrl: z.url().nullish(),
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export function UpdateInstanceStatusInputSchema() {
|
|
184
|
+
return z.object({
|
|
185
|
+
status: InstanceStatusSchema,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PHDocumentController } from "document-model/core";
|
|
2
|
+
import type { ResourceInstanceAction, ResourceInstancePHState } from "./types.js";
|
|
3
|
+
export declare const ResourceInstanceController: new (initialDocument?: import("document-model").PHDocument<ResourceInstancePHState> | undefined) => PHDocumentController<ResourceInstancePHState> & import("document-model/core").ActionMap<ResourceInstanceAction, PHDocumentController<ResourceInstancePHState>>;
|
|
4
|
+
//# sourceMappingURL=controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../../document-models/resource-instance/v1/gen/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,0BAA0B,oQAGpB,CAAC"}
|
|
@@ -5,6 +5,7 @@ export * from "./creators.js";
|
|
|
5
5
|
export { createResourceInstanceDocument, createState, defaultPHState, defaultGlobalState, defaultLocalState, } from "./ph-factories.js";
|
|
6
6
|
export * from "./utils.js";
|
|
7
7
|
export * from "./reducer.js";
|
|
8
|
+
export * from "./controller.js";
|
|
8
9
|
export * from "./schema/index.js";
|
|
9
10
|
export * from "./document-type.js";
|
|
10
11
|
export * from "./document-schema.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../document-models/resource-instance/v1/gen/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,8BAA8B,EAC9B,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../document-models/resource-instance/v1/gen/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,8BAA8B,EAC9B,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC"}
|
|
@@ -5,8 +5,7 @@ export * from "./creators.js";
|
|
|
5
5
|
export { createResourceInstanceDocument, createState, defaultPHState, defaultGlobalState, defaultLocalState, } from "./ph-factories.js";
|
|
6
6
|
export * from "./utils.js";
|
|
7
7
|
export * from "./reducer.js";
|
|
8
|
-
|
|
9
|
-
// export * from "./controller.js";
|
|
8
|
+
export * from "./controller.js";
|
|
10
9
|
export * from "./schema/index.js";
|
|
11
10
|
export * from "./document-type.js";
|
|
12
11
|
export * from "./document-schema.js";
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
export type Maybe<T> = T | null | undefined;
|
|
2
|
+
export type InputMaybe<T> = T | null | undefined;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
Address: {
|
|
45
|
+
input: `${string}:0x${string}`;
|
|
46
|
+
output: `${string}:0x${string}`;
|
|
47
|
+
};
|
|
48
|
+
Amount: {
|
|
49
|
+
input: {
|
|
50
|
+
unit?: string;
|
|
51
|
+
value?: number;
|
|
52
|
+
};
|
|
53
|
+
output: {
|
|
54
|
+
unit?: string;
|
|
55
|
+
value?: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
Amount_Crypto: {
|
|
59
|
+
input: {
|
|
60
|
+
unit: string;
|
|
61
|
+
value: string;
|
|
62
|
+
};
|
|
63
|
+
output: {
|
|
64
|
+
unit: string;
|
|
65
|
+
value: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
Amount_Currency: {
|
|
69
|
+
input: {
|
|
70
|
+
unit: string;
|
|
71
|
+
value: string;
|
|
72
|
+
};
|
|
73
|
+
output: {
|
|
74
|
+
unit: string;
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
Amount_Fiat: {
|
|
79
|
+
input: {
|
|
80
|
+
unit: string;
|
|
81
|
+
value: number;
|
|
82
|
+
};
|
|
83
|
+
output: {
|
|
84
|
+
unit: string;
|
|
85
|
+
value: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
Amount_Money: {
|
|
89
|
+
input: number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
92
|
+
Amount_Percentage: {
|
|
93
|
+
input: number;
|
|
94
|
+
output: number;
|
|
95
|
+
};
|
|
96
|
+
Amount_Tokens: {
|
|
97
|
+
input: number;
|
|
98
|
+
output: number;
|
|
99
|
+
};
|
|
100
|
+
Attachment: {
|
|
101
|
+
input: string;
|
|
102
|
+
output: string;
|
|
103
|
+
};
|
|
104
|
+
Currency: {
|
|
105
|
+
input: string;
|
|
106
|
+
output: string;
|
|
107
|
+
};
|
|
108
|
+
Date: {
|
|
109
|
+
input: string;
|
|
110
|
+
output: string;
|
|
111
|
+
};
|
|
112
|
+
DateTime: {
|
|
113
|
+
input: string;
|
|
114
|
+
output: string;
|
|
115
|
+
};
|
|
116
|
+
EmailAddress: {
|
|
117
|
+
input: string;
|
|
118
|
+
output: string;
|
|
119
|
+
};
|
|
120
|
+
EthereumAddress: {
|
|
121
|
+
input: string;
|
|
122
|
+
output: string;
|
|
123
|
+
};
|
|
124
|
+
OID: {
|
|
125
|
+
input: string;
|
|
126
|
+
output: string;
|
|
127
|
+
};
|
|
128
|
+
OLabel: {
|
|
129
|
+
input: string;
|
|
130
|
+
output: string;
|
|
131
|
+
};
|
|
132
|
+
PHID: {
|
|
133
|
+
input: string;
|
|
134
|
+
output: string;
|
|
135
|
+
};
|
|
136
|
+
URL: {
|
|
137
|
+
input: string;
|
|
138
|
+
output: string;
|
|
139
|
+
};
|
|
140
|
+
Unknown: {
|
|
141
|
+
input: unknown;
|
|
142
|
+
output: unknown;
|
|
143
|
+
};
|
|
144
|
+
Upload: {
|
|
145
|
+
input: File;
|
|
146
|
+
output: File;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
export type AddContentSectionInput = {
|
|
150
|
+
content: Scalars["String"]["input"];
|
|
151
|
+
displayOrder: Scalars["Int"]["input"];
|
|
152
|
+
id: Scalars["OID"]["input"];
|
|
153
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
154
|
+
title: Scalars["String"]["input"];
|
|
155
|
+
};
|
|
156
|
+
export type AddFacetBindingInput = {
|
|
157
|
+
bindingId: Scalars["OID"]["input"];
|
|
158
|
+
facetName: Scalars["String"]["input"];
|
|
159
|
+
facetType: Scalars["PHID"]["input"];
|
|
160
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
161
|
+
serviceId: Scalars["OID"]["input"];
|
|
162
|
+
supportedOptions: Array<Scalars["OID"]["input"]>;
|
|
163
|
+
};
|
|
164
|
+
export type AddFacetOptionInput = {
|
|
165
|
+
categoryKey: Scalars["String"]["input"];
|
|
166
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
167
|
+
optionId: Scalars["String"]["input"];
|
|
168
|
+
};
|
|
169
|
+
export type AddFaqInput = {
|
|
170
|
+
answer?: InputMaybe<Scalars["String"]["input"]>;
|
|
171
|
+
displayOrder: Scalars["Int"]["input"];
|
|
172
|
+
id: Scalars["OID"]["input"];
|
|
173
|
+
question?: InputMaybe<Scalars["String"]["input"]>;
|
|
174
|
+
};
|
|
175
|
+
export type AddOptionGroupInput = {
|
|
176
|
+
defaultSelected: Scalars["Boolean"]["input"];
|
|
177
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
178
|
+
id: Scalars["OID"]["input"];
|
|
179
|
+
isAddOn: Scalars["Boolean"]["input"];
|
|
180
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
181
|
+
name: Scalars["String"]["input"];
|
|
182
|
+
};
|
|
183
|
+
export type AddServiceInput = {
|
|
184
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
185
|
+
displayOrder?: InputMaybe<Scalars["Int"]["input"]>;
|
|
186
|
+
id: Scalars["OID"]["input"];
|
|
187
|
+
isSetupFormation?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
188
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
189
|
+
optionGroupId?: InputMaybe<Scalars["OID"]["input"]>;
|
|
190
|
+
parentServiceId?: InputMaybe<Scalars["OID"]["input"]>;
|
|
191
|
+
title: Scalars["String"]["input"];
|
|
192
|
+
};
|
|
193
|
+
export type AddTargetAudienceInput = {
|
|
194
|
+
color?: InputMaybe<Scalars["String"]["input"]>;
|
|
195
|
+
id: Scalars["OID"]["input"];
|
|
196
|
+
label: Scalars["String"]["input"];
|
|
197
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
198
|
+
};
|
|
199
|
+
export type ContentSection = {
|
|
200
|
+
content: Scalars["String"]["output"];
|
|
201
|
+
displayOrder: Scalars["Int"]["output"];
|
|
202
|
+
id: Scalars["OID"]["output"];
|
|
203
|
+
title: Scalars["String"]["output"];
|
|
204
|
+
};
|
|
205
|
+
export type DeleteContentSectionInput = {
|
|
206
|
+
id: Scalars["OID"]["input"];
|
|
207
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
208
|
+
};
|
|
209
|
+
export type DeleteFaqInput = {
|
|
210
|
+
id: Scalars["OID"]["input"];
|
|
211
|
+
};
|
|
212
|
+
export type DeleteOptionGroupInput = {
|
|
213
|
+
id: Scalars["OID"]["input"];
|
|
214
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
215
|
+
};
|
|
216
|
+
export type DeleteServiceInput = {
|
|
217
|
+
id: Scalars["OID"]["input"];
|
|
218
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
219
|
+
};
|
|
220
|
+
export type FacetTarget = {
|
|
221
|
+
categoryKey: Scalars["String"]["output"];
|
|
222
|
+
categoryLabel: Scalars["String"]["output"];
|
|
223
|
+
id: Scalars["OID"]["output"];
|
|
224
|
+
selectedOptions: Array<Scalars["String"]["output"]>;
|
|
225
|
+
};
|
|
226
|
+
export type FaqField = {
|
|
227
|
+
answer: Maybe<Scalars["String"]["output"]>;
|
|
228
|
+
displayOrder: Scalars["Int"]["output"];
|
|
229
|
+
id: Scalars["OID"]["output"];
|
|
230
|
+
question: Maybe<Scalars["String"]["output"]>;
|
|
231
|
+
};
|
|
232
|
+
export type OptionGroup = {
|
|
233
|
+
defaultSelected: Scalars["Boolean"]["output"];
|
|
234
|
+
description: Maybe<Scalars["String"]["output"]>;
|
|
235
|
+
id: Scalars["OID"]["output"];
|
|
236
|
+
isAddOn: Scalars["Boolean"]["output"];
|
|
237
|
+
name: Scalars["String"]["output"];
|
|
238
|
+
};
|
|
239
|
+
export type RemoveFacetBindingInput = {
|
|
240
|
+
bindingId: Scalars["OID"]["input"];
|
|
241
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
242
|
+
serviceId: Scalars["OID"]["input"];
|
|
243
|
+
};
|
|
244
|
+
export type RemoveFacetOptionInput = {
|
|
245
|
+
categoryKey: Scalars["String"]["input"];
|
|
246
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
247
|
+
optionId: Scalars["String"]["input"];
|
|
248
|
+
};
|
|
249
|
+
export type RemoveFacetTargetInput = {
|
|
250
|
+
categoryKey: Scalars["String"]["input"];
|
|
251
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
252
|
+
};
|
|
253
|
+
export type RemoveTargetAudienceInput = {
|
|
254
|
+
id: Scalars["OID"]["input"];
|
|
255
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
256
|
+
};
|
|
257
|
+
export type ReorderContentSectionsInput = {
|
|
258
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
259
|
+
sectionIds: Array<Scalars["OID"]["input"]>;
|
|
260
|
+
};
|
|
261
|
+
export type ReorderFaqsInput = {
|
|
262
|
+
faqIds: Array<Scalars["OID"]["input"]>;
|
|
263
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
264
|
+
};
|
|
265
|
+
export type ResourceFacetBinding = {
|
|
266
|
+
facetName: Scalars["String"]["output"];
|
|
267
|
+
facetType: Scalars["PHID"]["output"];
|
|
268
|
+
id: Scalars["OID"]["output"];
|
|
269
|
+
supportedOptions: Array<Scalars["OID"]["output"]>;
|
|
270
|
+
};
|
|
271
|
+
export type ResourceTemplateState = {
|
|
272
|
+
contentSections: Array<ContentSection>;
|
|
273
|
+
description: Maybe<Scalars["String"]["output"]>;
|
|
274
|
+
facetTargets: Array<FacetTarget>;
|
|
275
|
+
faqFields: Maybe<Array<FaqField>>;
|
|
276
|
+
id: Maybe<Scalars["PHID"]["output"]>;
|
|
277
|
+
infoLink: Maybe<Scalars["URL"]["output"]>;
|
|
278
|
+
lastModified: Maybe<Scalars["DateTime"]["output"]>;
|
|
279
|
+
operatorId: Maybe<Scalars["PHID"]["output"]>;
|
|
280
|
+
optionGroups: Array<OptionGroup>;
|
|
281
|
+
recurringServices: Array<Scalars["String"]["output"]>;
|
|
282
|
+
services: Array<Service>;
|
|
283
|
+
setupServices: Array<Scalars["String"]["output"]>;
|
|
284
|
+
status: TemplateStatus;
|
|
285
|
+
summary: Scalars["String"]["output"];
|
|
286
|
+
targetAudiences: Array<TargetAudience>;
|
|
287
|
+
thumbnailUrl: Maybe<Scalars["URL"]["output"]>;
|
|
288
|
+
title: Scalars["String"]["output"];
|
|
289
|
+
};
|
|
290
|
+
export type Service = {
|
|
291
|
+
description: Maybe<Scalars["String"]["output"]>;
|
|
292
|
+
displayOrder: Maybe<Scalars["Int"]["output"]>;
|
|
293
|
+
facetBindings: Array<ResourceFacetBinding>;
|
|
294
|
+
id: Scalars["OID"]["output"];
|
|
295
|
+
isSetupFormation: Scalars["Boolean"]["output"];
|
|
296
|
+
optionGroupId: Maybe<Scalars["OID"]["output"]>;
|
|
297
|
+
parentServiceId: Maybe<Scalars["OID"]["output"]>;
|
|
298
|
+
title: Scalars["String"]["output"];
|
|
299
|
+
};
|
|
300
|
+
export type SetFacetTargetInput = {
|
|
301
|
+
categoryKey: Scalars["String"]["input"];
|
|
302
|
+
categoryLabel: Scalars["String"]["input"];
|
|
303
|
+
id: Scalars["OID"]["input"];
|
|
304
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
305
|
+
selectedOptions: Array<Scalars["String"]["input"]>;
|
|
306
|
+
};
|
|
307
|
+
export type SetOperatorInput = {
|
|
308
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
309
|
+
operatorId: Scalars["PHID"]["input"];
|
|
310
|
+
};
|
|
311
|
+
export type SetRecurringServicesInput = {
|
|
312
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
313
|
+
services: Array<Scalars["String"]["input"]>;
|
|
314
|
+
};
|
|
315
|
+
export type SetSetupServicesInput = {
|
|
316
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
317
|
+
services: Array<Scalars["String"]["input"]>;
|
|
318
|
+
};
|
|
319
|
+
export type SetTemplateIdInput = {
|
|
320
|
+
id: Scalars["PHID"]["input"];
|
|
321
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
322
|
+
};
|
|
323
|
+
export type TargetAudience = {
|
|
324
|
+
color: Maybe<Scalars["String"]["output"]>;
|
|
325
|
+
id: Scalars["OID"]["output"];
|
|
326
|
+
label: Scalars["String"]["output"];
|
|
327
|
+
};
|
|
328
|
+
export type TemplateStatus = "ACTIVE" | "COMING_SOON" | "DEPRECATED" | "DRAFT";
|
|
329
|
+
export type UpdateContentSectionInput = {
|
|
330
|
+
content?: InputMaybe<Scalars["String"]["input"]>;
|
|
331
|
+
displayOrder?: InputMaybe<Scalars["Int"]["input"]>;
|
|
332
|
+
id: Scalars["OID"]["input"];
|
|
333
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
334
|
+
title?: InputMaybe<Scalars["String"]["input"]>;
|
|
335
|
+
};
|
|
336
|
+
export type UpdateFaqInput = {
|
|
337
|
+
answer?: InputMaybe<Scalars["String"]["input"]>;
|
|
338
|
+
id: Scalars["OID"]["input"];
|
|
339
|
+
question?: InputMaybe<Scalars["String"]["input"]>;
|
|
340
|
+
};
|
|
341
|
+
export type UpdateOptionGroupInput = {
|
|
342
|
+
defaultSelected?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
343
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
344
|
+
id: Scalars["OID"]["input"];
|
|
345
|
+
isAddOn?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
346
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
347
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
348
|
+
};
|
|
349
|
+
export type UpdateServiceInput = {
|
|
350
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
351
|
+
displayOrder?: InputMaybe<Scalars["Int"]["input"]>;
|
|
352
|
+
id: Scalars["OID"]["input"];
|
|
353
|
+
isSetupFormation?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
354
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
355
|
+
optionGroupId?: InputMaybe<Scalars["OID"]["input"]>;
|
|
356
|
+
parentServiceId?: InputMaybe<Scalars["OID"]["input"]>;
|
|
357
|
+
title?: InputMaybe<Scalars["String"]["input"]>;
|
|
358
|
+
};
|
|
359
|
+
export type UpdateTemplateInfoInput = {
|
|
360
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
361
|
+
infoLink?: InputMaybe<Scalars["URL"]["input"]>;
|
|
362
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
363
|
+
summary?: InputMaybe<Scalars["String"]["input"]>;
|
|
364
|
+
thumbnailUrl?: InputMaybe<Scalars["URL"]["input"]>;
|
|
365
|
+
title?: InputMaybe<Scalars["String"]["input"]>;
|
|
366
|
+
};
|
|
367
|
+
export type UpdateTemplateStatusInput = {
|
|
368
|
+
lastModified: Scalars["DateTime"]["input"];
|
|
369
|
+
status: TemplateStatus;
|
|
370
|
+
};
|
|
371
|
+
//# sourceMappingURL=types.d.ts.map
|