You've already forked npm-core-sdk
Latest generation
This commit is contained in:
44
shared.ts
44
shared.ts
@@ -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 "shared.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -4424,7 +4424,7 @@ class DomainDescription$Type extends MessageType<DomainDescription> {
|
||||
constructor() {
|
||||
super("api.DomainDescription", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ObjectDescription", kind: "message", localName: "ObjectDescription", jsonName: "ObjectDescription", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectDescription }
|
||||
{ no: 2, name: "ObjectDescription", kind: "message", localName: "ObjectDescription", jsonName: "ObjectDescription", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectDescription }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DomainDescription>): DomainDescription {
|
||||
@@ -4479,10 +4479,10 @@ class ObjectDescription$Type extends MessageType<ObjectDescription> {
|
||||
constructor() {
|
||||
super("api.ObjectDescription", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ApiAction", kind: "message", localName: "ApiAction", jsonName: "ApiAction", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction },
|
||||
{ no: 2, name: "ApiAction", kind: "message", localName: "ApiAction", jsonName: "ApiAction", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction },
|
||||
{ no: 3, name: "PayloadJSON", kind: "scalar", localName: "PayloadJSON", jsonName: "PayloadJSON", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "ApiInput", kind: "message", localName: "ApiInput", jsonName: "ApiInput", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction },
|
||||
{ no: 5, name: "ApiQuery", kind: "message", localName: "ApiQuery", jsonName: "ApiQuery", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction }
|
||||
{ no: 4, name: "ApiInput", kind: "message", localName: "ApiInput", jsonName: "ApiInput", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction },
|
||||
{ no: 5, name: "ApiQuery", kind: "message", localName: "ApiQuery", jsonName: "ApiQuery", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ObjectDescription>): ObjectDescription {
|
||||
@@ -4746,8 +4746,8 @@ class CombinedFilter$Type extends MessageType<CombinedFilter> {
|
||||
constructor() {
|
||||
super("api.CombinedFilter", [
|
||||
{ no: 1, name: "Path", kind: "scalar", localName: "Path", jsonName: "Path", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "simpleFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 3, name: "rangeFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 2, name: "simpleFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 3, name: "rangeFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -4887,9 +4887,9 @@ export const RangeFilter = new RangeFilter$Type();
|
||||
class BlockFilter$Type extends MessageType<BlockFilter> {
|
||||
constructor() {
|
||||
super("api.BlockFilter", [
|
||||
{ no: 1, name: "simpleFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 2, name: "rangeFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Block filter structure for Find query" } } }
|
||||
{ no: 1, name: "simpleFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 2, name: "rangeFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Block filter structure for Find query" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<BlockFilter>): BlockFilter {
|
||||
@@ -5125,7 +5125,7 @@ class Errors$Type extends MessageType<Errors> {
|
||||
super("api.Errors", [
|
||||
{ no: 1, name: "ErrorCode", kind: "scalar", localName: "ErrorCode", jsonName: "ErrorCode", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ErrorTrace", kind: "scalar", localName: "ErrorTrace", jsonName: "ErrorTrace", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "ErrorDetails", kind: "message", localName: "ErrorDetails", jsonName: "ErrorDetails", repeat: 1 /*RepeatType.PACKED*/, T: () => ErrorDetail },
|
||||
{ no: 3, name: "ErrorDetails", kind: "message", localName: "ErrorDetails", jsonName: "ErrorDetails", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ErrorDetail },
|
||||
{ no: 4, name: "ContextType", kind: "scalar", localName: "ContextType", jsonName: "ContextType", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "ContextProcess", kind: "scalar", localName: "ContextProcess", jsonName: "ContextProcess", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "ContextPayload", kind: "scalar", localName: "ContextPayload", jsonName: "ContextPayload", T: 9 /*ScalarType.STRING*/ }
|
||||
@@ -5266,7 +5266,7 @@ class LabelStructure$Type extends MessageType<LabelStructure> {
|
||||
super("api.LabelStructure", [
|
||||
{ no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
||||
{ no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" } } },
|
||||
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 1 /*RepeatType.PACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
|
||||
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Code", "Label"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<LabelStructure>): LabelStructure {
|
||||
@@ -6152,8 +6152,8 @@ class ClaimType$Type extends MessageType<ClaimType> {
|
||||
{ no: 4, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } },
|
||||
{ no: 5, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType, "CLAIM_ENTITY_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 6, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 7, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimTransition },
|
||||
{ no: 8, name: "PossibleClosures", kind: "message", localName: "PossibleClosures", jsonName: "PossibleClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimTypeClosure },
|
||||
{ no: 7, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTransition },
|
||||
{ no: 8, name: "PossibleClosures", kind: "message", localName: "PossibleClosures", jsonName: "PossibleClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTypeClosure },
|
||||
{ no: 9, name: "CriticalityAllowedRoles", kind: "scalar", localName: "CriticalityAllowedRoles", jsonName: "CriticalityAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "ReadAllowedRoles", kind: "scalar", localName: "ReadAllowedRoles", jsonName: "ReadAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "WriteAllowedRoles", kind: "scalar", localName: "WriteAllowedRoles", jsonName: "WriteAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -6843,7 +6843,7 @@ class ExtractQuery$Type extends MessageType<ExtractQuery> {
|
||||
super("api.ExtractQuery", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
|
||||
{ no: 4, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 6, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
@@ -7175,7 +7175,7 @@ class Scope$Type extends MessageType<Scope> {
|
||||
{ no: 2, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] },
|
||||
{ no: 4, name: "PlatformReserved", kind: "scalar", localName: "PlatformReserved", jsonName: "PlatformReserved", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 5, name: "TransientPermissions", kind: "message", localName: "TransientPermissions", jsonName: "TransientPermissions", repeat: 1 /*RepeatType.PACKED*/, T: () => Permission },
|
||||
{ no: 5, name: "TransientPermissions", kind: "message", localName: "TransientPermissions", jsonName: "TransientPermissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
|
||||
{ no: 6, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "AppliesOnIDs", kind: "scalar", localName: "AppliesOnIDs", jsonName: "AppliesOnIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "ModuleID", kind: "scalar", localName: "ModuleID", jsonName: "ModuleID", T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -7283,7 +7283,7 @@ class ClientAPI$Type extends MessageType<ClientAPI> {
|
||||
constructor() {
|
||||
super("api.ClientAPI", [
|
||||
{ no: 1, name: "Client", kind: "scalar", localName: "Client", jsonName: "Client", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "APIs", kind: "message", localName: "APIs", jsonName: "APIs", repeat: 1 /*RepeatType.PACKED*/, T: () => Scope },
|
||||
{ no: 2, name: "APIs", kind: "message", localName: "APIs", jsonName: "APIs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope },
|
||||
{ no: 3, name: "Roles", kind: "scalar", localName: "Roles", jsonName: "Roles", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -7346,7 +7346,7 @@ class Permission$Type extends MessageType<Permission> {
|
||||
constructor() {
|
||||
super("api.Permission", [
|
||||
{ no: 1, name: "Client", kind: "scalar", localName: "Client", jsonName: "Client", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 1 /*RepeatType.PACKED*/, T: () => Scope, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
{ no: 2, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Client", "Scopes"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<Permission>): Permission {
|
||||
@@ -7402,7 +7402,7 @@ class UserUIPermissions$Type extends MessageType<UserUIPermissions> {
|
||||
super("api.UserUIPermissions", [
|
||||
{ no: 1, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] },
|
||||
{ no: 2, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 1 /*RepeatType.PACKED*/, T: () => Scope }
|
||||
{ no: 3, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UserUIPermissions>): UserUIPermissions {
|
||||
@@ -7464,7 +7464,7 @@ class ElementByMatchQuery$Type extends MessageType<ElementByMatchQuery> {
|
||||
constructor() {
|
||||
super("api.ElementByMatchQuery", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
|
||||
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
|
||||
{ no: 3, name: "MatchElementField", kind: "message", localName: "MatchElementField", jsonName: "MatchElementField", T: () => MatchElementField, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
@@ -7524,7 +7524,7 @@ export const ElementByMatchQuery = new ElementByMatchQuery$Type();
|
||||
class ElementByMatchResult$Type extends MessageType<ElementByMatchResult> {
|
||||
constructor() {
|
||||
super("api.ElementByMatchResult", [
|
||||
{ no: 1, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchFieldElementResult }
|
||||
{ no: 1, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchFieldElementResult }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ElementByMatchResult>): ElementByMatchResult {
|
||||
@@ -7572,7 +7572,7 @@ class MatchElementField$Type extends MessageType<MatchElementField> {
|
||||
constructor() {
|
||||
super("api.MatchElementField", [
|
||||
{ no: 1, name: "Match", kind: "scalar", localName: "Match", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" } } },
|
||||
{ no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
|
||||
{ no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<MatchElementField>): MatchElementField {
|
||||
|
||||
Reference in New Issue
Block a user