Latest generation

This commit is contained in:
ci core model
2026-03-12 14:35:55 +00:00
parent f66dd970ac
commit f155015ad4
3 changed files with 33 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ import { MessageType } from "@protobuf-ts/runtime";
import { AppointmentContent } from "./slotbooking";
import { Address } from "./repositoryShared";
import { AttachmentSummary } from "./shared";
import { DateTime } from "./shared";
import { AppointmentStatusStruct } from "./collabShared";
import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
@@ -110,9 +111,14 @@ export interface AppointmentPayload {
/**
* Creation date of the appointment
*
* @generated from protobuf field: string CreationDate = 9
* @deprecated
* @generated from protobuf field: string CreationDate = 9 [deprecated = true]
*/
CreationDate: string;
/**
* @generated from protobuf field: api.DateTime CreationDateTime = 30
*/
CreationDateTime?: DateTime;
/**
* @generated from protobuf field: repeated api.MetadataElement MetaData = 10
*/
@@ -284,6 +290,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
{ no: 16, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use RemovedAttendees field instead", readOnly: true }, "api.aggSkip": "EmailsRemoved" } },
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the appointment" }, "api.aggSkip": "StatusUpdated" } },
{ no: 9, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 30, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime },
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the site. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Appointment" } },
{ no: 13, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
@@ -355,9 +362,12 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
case /* api.AppointmentStatusStruct Status */ 8:
message.Status = AppointmentStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* string CreationDate */ 9:
case /* string CreationDate = 9 [deprecated = true] */ 9:
message.CreationDate = reader.string();
break;
case /* api.DateTime CreationDateTime */ 30:
message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime);
break;
case /* repeated api.MetadataElement MetaData */ 10:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
@@ -427,7 +437,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
/* api.AppointmentStatusStruct Status = 8; */
if (message.Status)
AppointmentStatusStruct.internalBinaryWrite(message.Status, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
/* string CreationDate = 9; */
/* string CreationDate = 9 [deprecated = true]; */
if (message.CreationDate !== "")
writer.tag(9, WireType.LengthDelimited).string(message.CreationDate);
/* repeated api.MetadataElement MetaData = 10; */
@@ -478,6 +488,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
/* repeated api.MetadataElement SegmentationKeys = 29; */
for (let i = 0; i < message.SegmentationKeys.length; i++)
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(29, WireType.LengthDelimited).fork(), options).join();
/* api.DateTime CreationDateTime = 30; */
if (message.CreationDateTime)
DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -16,6 +16,7 @@ import { ClaimSector } from "./shared";
import { Amount } from "./shared";
import { AttachmentSummary } from "./shared";
import { ClaimClosure } from "./shared";
import { DateTime } from "./shared";
import { ClaimStatusStruct } from "./collabShared";
import { ClaimCriticality } from "./shared";
import { EntityID } from "./shared";
@@ -71,9 +72,14 @@ export interface ClaimPayload {
/**
* Creation date of the claim
*
* @generated from protobuf field: string CreationDate = 6
* @deprecated
* @generated from protobuf field: string CreationDate = 6 [deprecated = true]
*/
CreationDate: string;
/**
* @generated from protobuf field: api.DateTime CreationDateTime = 23
*/
CreationDateTime?: DateTime;
/**
* Contacts assigned on the claim
*
@@ -241,6 +247,7 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
{ no: 3, name: "Criticality", kind: "enum", localName: "Criticality", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ClaimStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "api.aggSkip": "StatusUpdated" } },
{ no: 6, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 23, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime },
{ no: 7, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contacts assigned on the claims" }, "api.aggSkip": "AssigneesAdded", "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 16, name: "RemovedAssignees", kind: "scalar", localName: "RemovedAssignees", jsonName: "RemovedAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AssigneesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 17, name: "AddedAssignees", kind: "scalar", localName: "AddedAssignees", jsonName: "AddedAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
@@ -300,9 +307,12 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
case /* api.ClaimStatusStruct Status */ 4:
message.Status = ClaimStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* string CreationDate */ 6:
case /* string CreationDate = 6 [deprecated = true] */ 6:
message.CreationDate = reader.string();
break;
case /* api.DateTime CreationDateTime */ 23:
message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime);
break;
case /* repeated string Assignees */ 7:
message.Assignees.push(reader.string());
break;
@@ -375,7 +385,7 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
/* api.ClaimStatusStruct Status = 4; */
if (message.Status)
ClaimStatusStruct.internalBinaryWrite(message.Status, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string CreationDate = 6; */
/* string CreationDate = 6 [deprecated = true]; */
if (message.CreationDate !== "")
writer.tag(6, WireType.LengthDelimited).string(message.CreationDate);
/* repeated string Assignees = 7; */
@@ -426,6 +436,9 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
/* string Message = 22; */
if (message.Message !== "")
writer.tag(22, WireType.LengthDelimited).string(message.Message);
/* api.DateTime CreationDateTime = 23; */
if (message.CreationDateTime)
DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260312142540",
"version": "1.13.0-SNAPSHOT-260312143516",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",