You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -518,9 +518,9 @@ export const StockMovedEvent = new StockMovedEvent$Type();
|
||||
class StockMovedRequest$Type extends MessageType<StockMovedRequest> {
|
||||
constructor() {
|
||||
super("api.StockMovedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
|
||||
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Moved" });
|
||||
}
|
||||
create(value?: PartialMessage<StockMovedRequest>): StockMovedRequest {
|
||||
@@ -631,10 +631,10 @@ export const StockMovedResponse = new StockMovedResponse$Type();
|
||||
class StockSnapshottedPayload$Type extends MessageType<StockSnapshottedPayload> {
|
||||
constructor() {
|
||||
super("api.StockSnapshottedPayload", [
|
||||
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } },
|
||||
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } },
|
||||
{ no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" }, "validate.rules": { message: { required: true } } } }
|
||||
{ no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The measured stock quantity at the given date time", required: ["Goods", "ActorID", "Snapshot"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Snapshotted", "api.postAggMethods": "computeSnapshotQuantity,quantityByBranchLVs", "api.preAggMethods": "cumulateSnapshotQuantity", "api.idGenMethod": "genStockSnapshottedId" });
|
||||
}
|
||||
create(value?: PartialMessage<StockSnapshottedPayload>): StockSnapshottedPayload {
|
||||
@@ -759,9 +759,9 @@ export const StockSnapshottedEvent = new StockSnapshottedEvent$Type();
|
||||
class StockSnapshottedRequest$Type extends MessageType<StockSnapshottedRequest> {
|
||||
constructor() {
|
||||
super("api.StockSnapshottedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
|
||||
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Snapshotted" });
|
||||
}
|
||||
create(value?: PartialMessage<StockSnapshottedRequest>): StockSnapshottedRequest {
|
||||
@@ -872,8 +872,8 @@ export const StockSnapshottedResponse = new StockSnapshottedResponse$Type();
|
||||
class StockDeletedPayload$Type extends MessageType<StockDeletedPayload> {
|
||||
constructor() {
|
||||
super("api.StockDeletedPayload", [
|
||||
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } },
|
||||
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } },
|
||||
{ no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The stock entry has been deleted", required: ["Goods", "ActorID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted", "api.idGenMethod": "genStockDeletedId" });
|
||||
}
|
||||
@@ -993,9 +993,9 @@ export const StockDeletedEvent = new StockDeletedEvent$Type();
|
||||
class StockDeletedRequest$Type extends MessageType<StockDeletedRequest> {
|
||||
constructor() {
|
||||
super("api.StockDeletedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
|
||||
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Deleted" });
|
||||
}
|
||||
create(value?: PartialMessage<StockDeletedRequest>): StockDeletedRequest {
|
||||
|
||||
Reference in New Issue
Block a user