@ozmap/ozn-sdk
Version:
OZN SDK is a powerful tool for developers to build their own applications on top of OZN using TMForum pattern.
941 lines (940 loc) • 30.9 kB
TypeScript
import { z } from 'zod';
export declare const serviceQualificationByIdInputSchema: z.ZodObject<{
serviceQualificationItem: z.ZodArray<z.ZodObject<{
service: z.ZodObject<{
place: z.ZodObject<{
externalId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
externalSystem: z.ZodString;
}, "strip", z.ZodTypeAny, {
externalId: string | number;
externalSystem: string;
}, {
externalId: string | number;
externalSystem: string;
}>;
}, "strip", z.ZodTypeAny, {
place: {
externalId: string | number;
externalSystem: string;
};
}, {
place: {
externalId: string | number;
externalSystem: string;
};
}>;
}, "strip", z.ZodTypeAny, {
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}, {
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}>, "atleastone">;
}, "strip", z.ZodTypeAny, {
serviceQualificationItem: [{
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}, ...{
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}[]];
}, {
serviceQualificationItem: [{
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}, ...{
service: {
place: {
externalId: string | number;
externalSystem: string;
};
};
}[]];
}>;
export declare const ServiceQualificationAddressSchema: z.ZodObject<{
type: z.ZodString;
geographicLocation: z.ZodObject<{
name: z.ZodString;
type: z.ZodString;
geometry: z.ZodArray<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
z: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strip", z.ZodTypeAny, {
x: number;
y: number;
z: number | null;
}, {
x: number;
y: number;
z: number | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}>;
}, "strip", z.ZodTypeAny, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}>;
export declare const EligibilityUnavailabilityReasonSchema: z.ZodObject<{
code: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
label: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
}, "strip", z.ZodTypeAny, {
code: string | null;
label: string | null;
}, {
code: string | null;
label: string | null;
}>;
export declare const RelatedEntitySchema: z.ZodObject<{
'@type': z.ZodString;
qualificationResult: z.ZodString;
characteristic: z.ZodArray<z.ZodObject<{
name: z.ZodString;
valueType: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
name: string;
valueType: string;
}, {
value: string;
name: string;
valueType: string;
}>, "many">;
resourceSpecification: z.ZodObject<{
id: z.ZodString;
cellName: z.ZodUnion<[z.ZodString, z.ZodNull]>;
type: z.ZodString;
name: z.ZodString;
feedingHeadend: z.ZodString;
project: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
}, {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
}>;
resourceLocation: z.ZodObject<{
type: z.ZodString;
labelType: z.ZodString;
name: z.ZodString;
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
parentLocation: z.ZodString;
address: z.ZodObject<{
type: z.ZodString;
geographicLocation: z.ZodObject<{
name: z.ZodString;
type: z.ZodString;
geometry: z.ZodArray<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
z: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strip", z.ZodTypeAny, {
x: number;
y: number;
z: number | null;
}, {
x: number;
y: number;
z: number | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}>;
}, "strip", z.ZodTypeAny, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}>;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
}, {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
}>;
eligibilityUnavailabilityReason: z.ZodArray<z.ZodObject<{
code: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
label: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
}, "strip", z.ZodTypeAny, {
code: string | null;
label: string | null;
}, {
code: string | null;
label: string | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}, {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}>;
export declare const serviceQualificationOutputSchema: z.ZodObject<{
provideUnavailabilityReason: z.ZodBoolean;
serviceQualificationItem: z.ZodArray<z.ZodObject<{
qualificationResult: z.ZodString;
service: z.ZodObject<{
serviceCharacteristic: z.ZodArray<z.ZodObject<{
name: z.ZodString;
valueType: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
name: string;
valueType: string;
}, {
value: string;
name: string;
valueType: string;
}>, "many">;
relatedEntity: z.ZodArray<z.ZodObject<{
'@type': z.ZodString;
qualificationResult: z.ZodString;
characteristic: z.ZodArray<z.ZodObject<{
name: z.ZodString;
valueType: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
name: string;
valueType: string;
}, {
value: string;
name: string;
valueType: string;
}>, "many">;
resourceSpecification: z.ZodObject<{
id: z.ZodString;
cellName: z.ZodUnion<[z.ZodString, z.ZodNull]>;
type: z.ZodString;
name: z.ZodString;
feedingHeadend: z.ZodString;
project: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
}, {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
}>;
resourceLocation: z.ZodObject<{
type: z.ZodString;
labelType: z.ZodString;
name: z.ZodString;
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
parentLocation: z.ZodString;
address: z.ZodObject<{
type: z.ZodString;
geographicLocation: z.ZodObject<{
name: z.ZodString;
type: z.ZodString;
geometry: z.ZodArray<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
z: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strip", z.ZodTypeAny, {
x: number;
y: number;
z: number | null;
}, {
x: number;
y: number;
z: number | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}, {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
}>;
}, "strip", z.ZodTypeAny, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}, {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
}>;
}, "strip", z.ZodTypeAny, {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
}, {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
}>;
eligibilityUnavailabilityReason: z.ZodArray<z.ZodObject<{
code: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
label: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
}, "strip", z.ZodTypeAny, {
code: string | null;
label: string | null;
}, {
code: string | null;
label: string | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}, {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}>, "many">;
}, "strip", z.ZodTypeAny, {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
}, {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
}>;
eligibilityUnavailabilityReason: z.ZodArray<z.ZodObject<{
code: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
label: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
}, "strip", z.ZodTypeAny, {
code: string | null;
label: string | null;
}, {
code: string | null;
label: string | null;
}>, "many">;
}, "strip", z.ZodTypeAny, {
service: {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
};
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}, {
service: {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
};
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}>, "many">;
}, "strip", z.ZodTypeAny, {
serviceQualificationItem: {
service: {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
};
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
provideUnavailabilityReason: boolean;
}, {
serviceQualificationItem: {
service: {
serviceCharacteristic: {
value: string;
name: string;
valueType: string;
}[];
relatedEntity: {
characteristic: {
value: string;
name: string;
valueType: string;
}[];
resourceSpecification: {
type: string;
name: string;
id: string;
cellName: string | null;
feedingHeadend: string;
project: string;
};
resourceLocation: {
type: string;
name: string;
labelType: string;
description: string | null;
parentLocation: string;
address: {
type: string;
geographicLocation: {
type: string;
name: string;
geometry: {
x: number;
y: number;
z: number | null;
}[];
};
};
};
'@type': string;
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
};
qualificationResult: string;
eligibilityUnavailabilityReason: {
code: string | null;
label: string | null;
}[];
}[];
provideUnavailabilityReason: boolean;
}>;
export type ServiceQualificationByIdInput = z.infer<typeof serviceQualificationByIdInputSchema>;
export type ServiceQualificationOutput = z.infer<typeof serviceQualificationOutputSchema>;