diff --git a/appointment.ts b/appointment.ts index 839c744..d1249b0 100644 --- a/appointment.ts +++ b/appointment.ts @@ -286,7 +286,7 @@ class AppointmentPayload$Type extends MessageType { constructor() { super("api.AppointmentPayload", [ { no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "api.dataRestrictionKey": "Appointment", "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] } } }, - { no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission, options: { "validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Loading and Unloading fields instead", readOnly: true } } }, + { no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission, options: { "validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Loading and Unloading fields instead", readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection, options: { "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 29, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Segmentation keys constraining the slot booking" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.parentEntity": "Appointment" } }, { no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Appointment" } }, diff --git a/package.json b/package.json index 30ffa2d..5e4a155 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.13.0-SNAPSHOT-260407084408", + "version": "1.13.0-SNAPSHOT-260407085736", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/slotbooking.ts b/slotbooking.ts index 857f2d8..d95de8b 100644 --- a/slotbooking.ts +++ b/slotbooking.ts @@ -2460,7 +2460,7 @@ class AppointmentContent$Type extends MessageType { constructor() { super("api.AppointmentContent", [ { no: 1, name: "Projects", kind: "message", localName: "Projects", jsonName: "Projects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentProjectContent, options: { "api.aggKey": "ProjectID" } }, - { no: 2, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }, + { no: 2, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 3, name: "UnitQuantities", kind: "message", localName: "UnitQuantities", jsonName: "UnitQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unit quantities metadata" }, "api.metadata": true, "api.aggKey": "Key", "api.transientRef": "Appointment,Payload.Loading.UnitQuantities,hard", "api.parentEntity": "Appointment" } } ]); } @@ -2524,7 +2524,7 @@ class AppointmentProjectContent$Type extends MessageType AppointmentCommission, options: { "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, - { no: 3, name: "ProjectQuantities", kind: "message", localName: "ProjectQuantities", jsonName: "ProjectQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }, + { no: 3, name: "ProjectQuantities", kind: "message", localName: "ProjectQuantities", jsonName: "ProjectQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 4, name: "UnitQuantities", kind: "message", localName: "UnitQuantities", jsonName: "UnitQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unit quantities metadata" }, "api.metadata": true, "api.aggKey": "Key", "api.transientRef": "Appointment,Payload.Loading.UnitQuantities,hard", "api.parentEntity": "Appointment" } } ]); }