You've already forked npm-core-sdk
Latest generation
This commit is contained in:
28
model.ts
28
model.ts
@@ -46,7 +46,7 @@ import { RequestProjectHeader } from "./shared";
|
||||
export interface DataFilters {
|
||||
// string Project = 1
|
||||
// [
|
||||
// (validate.rules).string.min_len = 1
|
||||
// (n1validate.rules).string.min_len = 1
|
||||
// ];
|
||||
|
||||
/**
|
||||
@@ -198,8 +198,8 @@ export interface ListEntitiesResult {
|
||||
class DataFilters$Type extends MessageType<DataFilters> {
|
||||
constructor() {
|
||||
super("api.DataFilters", [
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } },
|
||||
{ no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } },
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } },
|
||||
{ no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } },
|
||||
{ no: 4, name: "Screen", kind: "scalar", localName: "Screen", jsonName: "Screen", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -261,8 +261,8 @@ export const DataFilters = new DataFilters$Type();
|
||||
class GetDataModelRequest$Type extends MessageType<GetDataModelRequest> {
|
||||
constructor() {
|
||||
super("api.GetDataModelRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Filters", kind: "message", localName: "Filters", jsonName: "Filters", T: () => DataFilters, options: { "validate.rules": { message: { required: true } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Filters", kind: "message", localName: "Filters", jsonName: "Filters", T: () => DataFilters, options: { "n1validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Filters"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetDataModelRequest>): GetDataModelRequest {
|
||||
@@ -361,8 +361,8 @@ export const GetDataModelResult = new GetDataModelResult$Type();
|
||||
class GetSiteDataModelRequest$Type extends MessageType<GetSiteDataModelRequest> {
|
||||
constructor() {
|
||||
super("api.GetSiteDataModelRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Filters", kind: "message", localName: "Filters", jsonName: "Filters", T: () => DataFilters, options: { "validate.rules": { message: { required: true } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Filters", kind: "message", localName: "Filters", jsonName: "Filters", T: () => DataFilters, options: { "n1validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Filters"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetSiteDataModelRequest>): GetSiteDataModelRequest {
|
||||
@@ -461,9 +461,9 @@ export const GetSiteDataModelResult = new GetSiteDataModelResult$Type();
|
||||
class GetEntityModelRequest$Type extends MessageType<GetEntityModelRequest> {
|
||||
constructor() {
|
||||
super("api.GetEntityModelRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } },
|
||||
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } },
|
||||
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Domain", "Entity"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetEntityModelRequest>): GetEntityModelRequest {
|
||||
@@ -570,9 +570,9 @@ export const GetEntityModelResult = new GetEntityModelResult$Type();
|
||||
class GetSiteEntityModelRequest$Type extends MessageType<GetSiteEntityModelRequest> {
|
||||
constructor() {
|
||||
super("api.GetSiteEntityModelRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } },
|
||||
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } },
|
||||
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Domain", "Entity"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetSiteEntityModelRequest>): GetSiteEntityModelRequest {
|
||||
@@ -679,7 +679,7 @@ export const GetSiteEntityModelResult = new GetSiteEntityModelResult$Type();
|
||||
class GetEntitiesRequest$Type extends MessageType<GetEntitiesRequest> {
|
||||
constructor() {
|
||||
super("api.GetEntitiesRequest", [
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Domain"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetEntitiesRequest>): GetEntitiesRequest {
|
||||
|
||||
Reference in New Issue
Block a user