You've already forked npm-core-sdk
Latest generation
This commit is contained in:
14
claim.ts
14
claim.ts
@@ -150,6 +150,10 @@ export interface ClaimPayload {
|
|||||||
* @generated from protobuf field: string DisplayID = 21
|
* @generated from protobuf field: string DisplayID = 21
|
||||||
*/
|
*/
|
||||||
DisplayID: string;
|
DisplayID: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string Message = 22
|
||||||
|
*/
|
||||||
|
Message: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ClaimTriplet
|
* @generated from protobuf message api.ClaimTriplet
|
||||||
@@ -251,7 +255,8 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
|
|||||||
{ no: 15, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType], options: { "validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
|
{ no: 15, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType], options: { "validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
|
||||||
{ no: 19, 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.parentEntity": "Claim" } },
|
{ no: 19, 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.parentEntity": "Claim" } },
|
||||||
{ no: 20, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } },
|
{ no: 20, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } },
|
||||||
{ no: 21, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
|
{ no: 21, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||||
|
{ no: 22, name: "Message", kind: "scalar", localName: "Message", jsonName: "Message", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "MessageSent" } }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ClaimTypeID", "EntityID", "Criticality", "Status"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ClaimTypeID", "EntityID", "Criticality", "Status"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ClaimPayload>): ClaimPayload {
|
create(value?: PartialMessage<ClaimPayload>): ClaimPayload {
|
||||||
@@ -273,6 +278,7 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
|
|||||||
message.MetaData = [];
|
message.MetaData = [];
|
||||||
message.Title = "";
|
message.Title = "";
|
||||||
message.DisplayID = "";
|
message.DisplayID = "";
|
||||||
|
message.Message = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ClaimPayload>(this, message, value);
|
reflectionMergePartial<ClaimPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -342,6 +348,9 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
|
|||||||
case /* string DisplayID */ 21:
|
case /* string DisplayID */ 21:
|
||||||
message.DisplayID = reader.string();
|
message.DisplayID = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* string Message */ 22:
|
||||||
|
message.Message = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -414,6 +423,9 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
|
|||||||
/* string DisplayID = 21; */
|
/* string DisplayID = 21; */
|
||||||
if (message.DisplayID !== "")
|
if (message.DisplayID !== "")
|
||||||
writer.tag(21, WireType.LengthDelimited).string(message.DisplayID);
|
writer.tag(21, WireType.LengthDelimited).string(message.DisplayID);
|
||||||
|
/* string Message = 22; */
|
||||||
|
if (message.Message !== "")
|
||||||
|
writer.tag(22, WireType.LengthDelimited).string(message.Message);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -90,6 +90,10 @@ export interface ClaimNotifyPayload {
|
|||||||
* @generated from protobuf field: string DisplayID = 14
|
* @generated from protobuf field: string DisplayID = 14
|
||||||
*/
|
*/
|
||||||
DisplayID: string;
|
DisplayID: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string Message = 15
|
||||||
|
*/
|
||||||
|
Message: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ClaimNotify
|
* @generated from protobuf message api.ClaimNotify
|
||||||
@@ -398,7 +402,8 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
|||||||
{ no: 11, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 11, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 12, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/ },
|
{ no: 12, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 13, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
{ no: 13, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||||
{ no: 14, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/ }
|
{ no: 14, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 15, name: "Message", kind: "scalar", localName: "Message", jsonName: "Message", T: 9 /*ScalarType.STRING*/ }
|
||||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ClaimNotifyPayload>): ClaimNotifyPayload {
|
create(value?: PartialMessage<ClaimNotifyPayload>): ClaimNotifyPayload {
|
||||||
@@ -414,6 +419,7 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
|||||||
message.Title = "";
|
message.Title = "";
|
||||||
message.MetaData = [];
|
message.MetaData = [];
|
||||||
message.DisplayID = "";
|
message.DisplayID = "";
|
||||||
|
message.Message = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ClaimNotifyPayload>(this, message, value);
|
reflectionMergePartial<ClaimNotifyPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -465,6 +471,9 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
|||||||
case /* string DisplayID */ 14:
|
case /* string DisplayID */ 14:
|
||||||
message.DisplayID = reader.string();
|
message.DisplayID = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* string Message */ 15:
|
||||||
|
message.Message = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -519,6 +528,9 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
|||||||
/* string DisplayID = 14; */
|
/* string DisplayID = 14; */
|
||||||
if (message.DisplayID !== "")
|
if (message.DisplayID !== "")
|
||||||
writer.tag(14, WireType.LengthDelimited).string(message.DisplayID);
|
writer.tag(14, WireType.LengthDelimited).string(message.DisplayID);
|
||||||
|
/* string Message = 15; */
|
||||||
|
if (message.Message !== "")
|
||||||
|
writer.tag(15, WireType.LengthDelimited).string(message.Message);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -3878,6 +3878,6 @@ export const ClaimInputAPI = new ServiceType("api.ClaimInputAPI", [
|
|||||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is removed for the Claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimAttachmentRemovedRequest, O: ClaimAttachmentRemovedResponse },
|
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is removed for the Claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimAttachmentRemovedRequest, O: ClaimAttachmentRemovedResponse },
|
||||||
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "Some metadata have been updated on a claim. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMetaDataUpdatedRequest, O: ClaimMetaDataUpdatedResponse },
|
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "Some metadata have been updated on a claim. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMetaDataUpdatedRequest, O: ClaimMetaDataUpdatedResponse },
|
||||||
{ name: "TitleUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "The title is updated for the claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimTitleUpdatedRequest, O: ClaimTitleUpdatedResponse },
|
{ name: "TitleUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "The title is updated for the claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimTitleUpdatedRequest, O: ClaimTitleUpdatedResponse },
|
||||||
{ name: "MessageSent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A message is sent in the claim room." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.customInput": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMessageSentRequest, O: ClaimMessageSentResponse },
|
{ name: "MessageSent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A message is sent in the claim room." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMessageSentRequest, O: ClaimMessageSentResponse },
|
||||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An Claim has been deleted. This is called from Reflex Platform Admin service to share the Organisation Claims." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimDeletedRequest, O: ClaimDeletedResponse }
|
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An Claim has been deleted. This is called from Reflex Platform Admin service to share the Organisation Claims." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimDeletedRequest, O: ClaimDeletedResponse }
|
||||||
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.11.0-SNAPSHOT-250820091849",
|
"version": "1.11.0-SNAPSHOT-250821075420",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user