Latest generation

This commit is contained in:
ci core model
2025-05-02 08:55:56 +00:00
parent c1ebe9a950
commit c82118c2e0
197 changed files with 919 additions and 919 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated from protobuf file "itemInput.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -562,11 +562,11 @@ export interface ItemAttachmentRemovedResponse {
class ItemCreatedPayload$Type extends MessageType<ItemCreatedPayload> {
constructor() {
super("api.ItemCreatedPayload", [
{ no: 1, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 1, 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 project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 6, name: "ExpiryConstraint", kind: "message", localName: "ExpiryConstraint", jsonName: "ExpiryConstraint", T: () => ExpiryConstraint, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Item components" } } },
{ no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
{ no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 1 /*RepeatType.PACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
{ no: 4, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 1 /*RepeatType.PACKED*/, T: () => LogisticVariant, options: { "validate.rules": { repeated: { uniqueBaseLV: true, knownRefLV: true } }, "api.aggKey": "LVID" } }
{ no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
{ no: 4, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LogisticVariant, options: { "validate.rules": { repeated: { uniqueBaseLV: true, knownRefLV: true } }, "api.aggKey": "LVID" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
}
create(value?: PartialMessage<ItemCreatedPayload>): ItemCreatedPayload {
@@ -614,18 +614,18 @@ class ItemCreatedPayload$Type extends MessageType<ItemCreatedPayload> {
/* repeated api.MetadataElement MetaData = 1 [json_name = "MetaData"]; */
for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.ExpiryConstraint ExpiryConstraint = 6 [json_name = "ExpiryConstraint"]; */
if (message.ExpiryConstraint)
ExpiryConstraint.internalBinaryWrite(message.ExpiryConstraint, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* string PhotoURI = 7 [json_name = "PhotoURI"]; */
if (message.PhotoURI !== "")
writer.tag(7, WireType.LengthDelimited).string(message.PhotoURI);
/* repeated api.TradeItemDescriptions DescriptionsByLanguage = 3 [json_name = "DescriptionsByLanguage"]; */
for (let i = 0; i < message.DescriptionsByLanguage.length; i++)
TradeItemDescriptions.internalBinaryWrite(message.DescriptionsByLanguage[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated api.LogisticVariant LogisticVariants = 4 [json_name = "LogisticVariants"]; */
for (let i = 0; i < message.LogisticVariants.length; i++)
LogisticVariant.internalBinaryWrite(message.LogisticVariants[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.ExpiryConstraint ExpiryConstraint = 6 [json_name = "ExpiryConstraint"]; */
if (message.ExpiryConstraint)
ExpiryConstraint.internalBinaryWrite(message.ExpiryConstraint, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* string PhotoURI = 7 [json_name = "PhotoURI"]; */
if (message.PhotoURI !== "")
writer.tag(7, WireType.LengthDelimited).string(message.PhotoURI);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -813,7 +813,7 @@ export const ItemCreatedResponse = new ItemCreatedResponse$Type();
class ItemMetaDataUpdatedPayload$Type extends MessageType<ItemMetaDataUpdatedPayload> {
constructor() {
super("api.ItemMetaDataUpdatedPayload", [
{ no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }
{ no: 4, 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 project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" });
}
create(value?: PartialMessage<ItemMetaDataUpdatedPayload>): ItemMetaDataUpdatedPayload {
@@ -1033,7 +1033,7 @@ export const ItemMetaDataUpdatedResponse = new ItemMetaDataUpdatedResponse$Type(
class ItemLogisticVariantUpdatedPayload$Type extends MessageType<ItemLogisticVariantUpdatedPayload> {
constructor() {
super("api.ItemLogisticVariantUpdatedPayload", [
{ no: 1, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 1 /*RepeatType.PACKED*/, T: () => LogisticVariant, options: { "api.aggKey": "LVID" } }
{ no: 1, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LogisticVariant, options: { "api.aggKey": "LVID" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "LogisticVariantUpdated" });
}
create(value?: PartialMessage<ItemLogisticVariantUpdatedPayload>): ItemLogisticVariantUpdatedPayload {
@@ -1684,7 +1684,7 @@ export const ItemDeletedResponse = new ItemDeletedResponse$Type();
class ItemDescriptionUpdatedPayload$Type extends MessageType<ItemDescriptionUpdatedPayload> {
constructor() {
super("api.ItemDescriptionUpdatedPayload", [
{ no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 1 /*RepeatType.PACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } }
{ no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "DescriptionUpdated" });
}
create(value?: PartialMessage<ItemDescriptionUpdatedPayload>): ItemDescriptionUpdatedPayload {
@@ -1904,7 +1904,7 @@ export const ItemDescriptionUpdatedResponse = new ItemDescriptionUpdatedResponse
class ItemAttachmentAddedPayload$Type extends MessageType<ItemAttachmentAddedPayload> {
constructor() {
super("api.ItemAttachmentAddedPayload", [
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments added per type" } } }
{ no: 1, 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 added per type" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded" });
}
create(value?: PartialMessage<ItemAttachmentAddedPayload>): ItemAttachmentAddedPayload {
@@ -2124,7 +2124,7 @@ export const ItemAttachmentAddedResponse = new ItemAttachmentAddedResponse$Type(
class ItemAttachmentRemovedPayload$Type extends MessageType<ItemAttachmentRemovedPayload> {
constructor() {
super("api.ItemAttachmentRemovedPayload", [
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments removed per type" } } }
{ no: 1, 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 removed per type" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" });
}
create(value?: PartialMessage<ItemAttachmentRemovedPayload>): ItemAttachmentRemovedPayload {