Latest generation

This commit is contained in:
ci core model
2026-05-22 08:22:35 +00:00
parent a6ca133e2f
commit 1b01318654
96 changed files with 2476 additions and 2476 deletions

View File

@@ -656,11 +656,11 @@ class ExceptionalClosure$Type extends MessageType<ExceptionalClosure> {
constructor() {
super("api.ExceptionalClosure", [
{ no: 1, name: "Labels", kind: "message", localName: "Labels", jsonName: "Labels", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage },
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } },
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } },
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } },
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } },
{ no: 4, name: "FullDay", kind: "scalar", localName: "FullDay", jsonName: "FullDay", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "StartHour", kind: "scalar", localName: "StartHour", jsonName: "StartHour", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } },
{ no: 6, name: "EndHour", kind: "scalar", localName: "EndHour", jsonName: "EndHour", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } }
{ no: 5, name: "StartHour", kind: "scalar", localName: "StartHour", jsonName: "StartHour", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } },
{ no: 6, name: "EndHour", kind: "scalar", localName: "EndHour", jsonName: "EndHour", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } }
]);
}
create(value?: PartialMessage<ExceptionalClosure>): ExceptionalClosure {
@@ -742,10 +742,10 @@ export const ExceptionalClosure = new ExceptionalClosure$Type();
class Calendar$Type extends MessageType<Calendar> {
constructor() {
super("api.Calendar", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType] },
{ no: 3, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure },
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
@@ -837,8 +837,8 @@ export const Calendar = new Calendar$Type();
class CreateOnOrganisationRequest$Type extends MessageType<CreateOnOrganisationRequest> {
constructor() {
super("api.CreateOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure },
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
@@ -915,7 +915,7 @@ export const CreateOnOrganisationRequest = new CreateOnOrganisationRequest$Type(
class CreateOnOrganisationResponse$Type extends MessageType<CreateOnOrganisationResponse> {
constructor() {
super("api.CreateOnOrganisationResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<CreateOnOrganisationResponse>): CreateOnOrganisationResponse {
@@ -961,8 +961,8 @@ export const CreateOnOrganisationResponse = new CreateOnOrganisationResponse$Typ
class GetOnOrganisationRequest$Type extends MessageType<GetOnOrganisationRequest> {
constructor() {
super("api.GetOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
}
create(value?: PartialMessage<GetOnOrganisationRequest>): GetOnOrganisationRequest {
@@ -1015,7 +1015,7 @@ export const GetOnOrganisationRequest = new GetOnOrganisationRequest$Type();
class GetOnOrganisationResponse$Type extends MessageType<GetOnOrganisationResponse> {
constructor() {
super("api.GetOnOrganisationResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<GetOnOrganisationResponse>): GetOnOrganisationResponse {
@@ -1061,7 +1061,7 @@ export const GetOnOrganisationResponse = new GetOnOrganisationResponse$Type();
class ListOnOrganisationRequest$Type extends MessageType<ListOnOrganisationRequest> {
constructor() {
super("api.ListOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ListOnOrganisationRequest>): ListOnOrganisationRequest {
@@ -1154,10 +1154,10 @@ export const ListOnOrganisationResponse = new ListOnOrganisationResponse$Type();
class UpdateOnOrganisationRequest$Type extends MessageType<UpdateOnOrganisationRequest> {
constructor() {
super("api.UpdateOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure },
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
@@ -1240,7 +1240,7 @@ export const UpdateOnOrganisationRequest = new UpdateOnOrganisationRequest$Type(
class UpdateOnOrganisationResponse$Type extends MessageType<UpdateOnOrganisationResponse> {
constructor() {
super("api.UpdateOnOrganisationResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<UpdateOnOrganisationResponse>): UpdateOnOrganisationResponse {
@@ -1286,8 +1286,8 @@ export const UpdateOnOrganisationResponse = new UpdateOnOrganisationResponse$Typ
class DeleteOnOrganisationRequest$Type extends MessageType<DeleteOnOrganisationRequest> {
constructor() {
super("api.DeleteOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
}
create(value?: PartialMessage<DeleteOnOrganisationRequest>): DeleteOnOrganisationRequest {
@@ -1378,8 +1378,8 @@ export const DeleteOnOrganisationResponse = new DeleteOnOrganisationResponse$Typ
class GetPublicHolidaysRequest$Type extends MessageType<GetPublicHolidaysRequest> {
constructor() {
super("api.GetPublicHolidaysRequest", [
{ no: 1, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { countryCodeIso3166Alpha2: true } } } },
{ no: 2, name: "UpToYear", kind: "scalar", localName: "UpToYear", jsonName: "UpToYear", T: 13 /*ScalarType.UINT32*/, options: { "validate.rules": { uint32: { lt: 2200, gte: 2025 } } } }
{ no: 1, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { countryCodeIso3166Alpha2: true } } } },
{ no: 2, name: "UpToYear", kind: "scalar", localName: "UpToYear", jsonName: "UpToYear", T: 13 /*ScalarType.UINT32*/, options: { "n1validate.rules": { uint32: { lt: 2200, gte: 2025 } } } }
]);
}
create(value?: PartialMessage<GetPublicHolidaysRequest>): GetPublicHolidaysRequest {
@@ -1480,8 +1480,8 @@ export const GetPublicHolidaysResponse = new GetPublicHolidaysResponse$Type();
class ComputeSLAPeriodOnOrganisationRequest$Type extends MessageType<ComputeSLAPeriodOnOrganisationRequest> {
constructor() {
super("api.ComputeSLAPeriodOnOrganisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "minPeriods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Period },
{ no: 4, name: "maxPeriods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Period },
{ no: 5, name: "StartSearchTime", kind: "scalar", localName: "StartSearchTime", jsonName: "StartSearchTime", T: 9 /*ScalarType.STRING*/ },
@@ -1566,8 +1566,8 @@ export const ComputeSLAPeriodOnOrganisationRequest = new ComputeSLAPeriodOnOrgan
class CreateOnSiteRequest$Type extends MessageType<CreateOnSiteRequest> {
constructor() {
super("api.CreateOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure },
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
@@ -1644,7 +1644,7 @@ export const CreateOnSiteRequest = new CreateOnSiteRequest$Type();
class CreateOnSiteResponse$Type extends MessageType<CreateOnSiteResponse> {
constructor() {
super("api.CreateOnSiteResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<CreateOnSiteResponse>): CreateOnSiteResponse {
@@ -1690,8 +1690,8 @@ export const CreateOnSiteResponse = new CreateOnSiteResponse$Type();
class GetOnSiteRequest$Type extends MessageType<GetOnSiteRequest> {
constructor() {
super("api.GetOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
}
create(value?: PartialMessage<GetOnSiteRequest>): GetOnSiteRequest {
@@ -1744,7 +1744,7 @@ export const GetOnSiteRequest = new GetOnSiteRequest$Type();
class GetOnSiteResponse$Type extends MessageType<GetOnSiteResponse> {
constructor() {
super("api.GetOnSiteResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<GetOnSiteResponse>): GetOnSiteResponse {
@@ -1790,7 +1790,7 @@ export const GetOnSiteResponse = new GetOnSiteResponse$Type();
class ListOnSiteRequest$Type extends MessageType<ListOnSiteRequest> {
constructor() {
super("api.ListOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ListOnSiteRequest>): ListOnSiteRequest {
@@ -1883,10 +1883,10 @@ export const ListOnSiteResponse = new ListOnSiteResponse$Type();
class UpdateOnSiteRequest$Type extends MessageType<UpdateOnSiteRequest> {
constructor() {
super("api.UpdateOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure },
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
@@ -1969,7 +1969,7 @@ export const UpdateOnSiteRequest = new UpdateOnSiteRequest$Type();
class UpdateOnSiteResponse$Type extends MessageType<UpdateOnSiteResponse> {
constructor() {
super("api.UpdateOnSiteResponse", [
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "n1validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<UpdateOnSiteResponse>): UpdateOnSiteResponse {
@@ -2015,8 +2015,8 @@ export const UpdateOnSiteResponse = new UpdateOnSiteResponse$Type();
class DeleteOnSiteRequest$Type extends MessageType<DeleteOnSiteRequest> {
constructor() {
super("api.DeleteOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
}
create(value?: PartialMessage<DeleteOnSiteRequest>): DeleteOnSiteRequest {
@@ -2107,8 +2107,8 @@ export const DeleteOnSiteResponse = new DeleteOnSiteResponse$Type();
class ComputeSLAPeriodOnSiteRequest$Type extends MessageType<ComputeSLAPeriodOnSiteRequest> {
constructor() {
super("api.ComputeSLAPeriodOnSiteRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "minPeriods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Period },
{ no: 4, name: "maxPeriods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Period },
{ no: 5, name: "StartSearchTime", kind: "scalar", localName: "StartSearchTime", jsonName: "StartSearchTime", T: 9 /*ScalarType.STRING*/ },
@@ -2248,7 +2248,7 @@ export const ComputeSLAPeriodResponse = new ComputeSLAPeriodResponse$Type();
class DeleteAllForOrganisationRequest$Type extends MessageType<DeleteAllForOrganisationRequest> {
constructor() {
super("api.DeleteAllForOrganisationRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
}
create(value?: PartialMessage<DeleteAllForOrganisationRequest>): DeleteAllForOrganisationRequest {
@@ -2333,7 +2333,7 @@ export const DeleteAllForOrganisationResponse = new DeleteAllForOrganisationResp
class DeleteAllForProjectRequest$Type extends MessageType<DeleteAllForProjectRequest> {
constructor() {
super("api.DeleteAllForProjectRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<DeleteAllForProjectRequest>): DeleteAllForProjectRequest {