Latest generation

This commit is contained in:
ci core model
2026-04-07 08:31:22 +00:00
parent 72c68b4fe4
commit baf80eb0c4
3 changed files with 69 additions and 21 deletions

View File

@@ -315,7 +315,8 @@ export interface UpdateSettingsRequest {
*/
Authorisations: ProjectAuthorisation[];
/**
* @generated from protobuf field: repeated api.Unit Units = 11
* @deprecated
* @generated from protobuf field: repeated api.Unit Units = 11 [deprecated = true]
*/
Units: Unit[]; // List of containment units which will be used to compute the appointment duration. At least one unit id is mandatory : APPOINTMENT_UNITID.
/**
@@ -2022,7 +2023,7 @@ class UpdateSettingsRequest$Type extends MessageType<UpdateSettingsRequest> {
{ no: 8, name: "Fax", kind: "scalar", localName: "Fax", jsonName: "Fax", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\"]" } } },
{ no: 9, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Segmentation },
{ no: 10, name: "Authorisations", kind: "message", localName: "Authorisations", jsonName: "Authorisations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ProjectAuthorisation },
{ no: 11, name: "Units", kind: "message", localName: "Units", jsonName: "Units", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Unit, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 11, name: "Units", kind: "message", localName: "Units", jsonName: "Units", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Unit },
{ no: 12, name: "OpeningRules", kind: "message", localName: "OpeningRules", jsonName: "OpeningRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OpeningRule },
{ no: 13, name: "DurationRules", kind: "message", localName: "DurationRules", jsonName: "DurationRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DurationRule },
{ no: 14, name: "CapacityRules", kind: "message", localName: "CapacityRules", jsonName: "CapacityRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CapacityRule },
@@ -2084,7 +2085,7 @@ class UpdateSettingsRequest$Type extends MessageType<UpdateSettingsRequest> {
case /* repeated api.ProjectAuthorisation Authorisations */ 10:
message.Authorisations.push(ProjectAuthorisation.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.Unit Units */ 11:
case /* repeated api.Unit Units = 11 [deprecated = true] */ 11:
message.Units.push(Unit.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.OpeningRule OpeningRules */ 12:
@@ -2150,7 +2151,7 @@ class UpdateSettingsRequest$Type extends MessageType<UpdateSettingsRequest> {
/* repeated api.ProjectAuthorisation Authorisations = 10; */
for (let i = 0; i < message.Authorisations.length; i++)
ProjectAuthorisation.internalBinaryWrite(message.Authorisations[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
/* repeated api.Unit Units = 11; */
/* repeated api.Unit Units = 11 [deprecated = true]; */
for (let i = 0; i < message.Units.length; i++)
Unit.internalBinaryWrite(message.Units[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* repeated api.OpeningRule OpeningRules = 12; */