You've already forked npm-core-sdk
Latest generation
This commit is contained in:
16
alias.ts
16
alias.ts
@@ -41,6 +41,12 @@ export interface AliasPropertiesAppointmentScheduling {
|
|||||||
* @generated from protobuf field: string ActorName = 4
|
* @generated from protobuf field: string ActorName = 4
|
||||||
*/
|
*/
|
||||||
ActorName: string;
|
ActorName: string;
|
||||||
|
/**
|
||||||
|
* Restriction rule IDs which will be applied when this alias is used.
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: repeated string RestrictionRuleIDs = 5
|
||||||
|
*/
|
||||||
|
RestrictionRuleIDs: string[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Alias represents a named link from one resource to another.
|
* Alias represents a named link from one resource to another.
|
||||||
@@ -231,7 +237,8 @@ class AliasPropertiesAppointmentScheduling$Type extends MessageType<AliasPropert
|
|||||||
{ no: 1, name: "AptType", kind: "enum", localName: "AptType", jsonName: "AptType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 1, name: "AptType", kind: "enum", localName: "AptType", jsonName: "AptType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 2, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 2, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 3, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 3, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 4, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
|
{ no: 4, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 5, name: "RestrictionRuleIDs", kind: "scalar", localName: "RestrictionRuleIDs", jsonName: "RestrictionRuleIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AliasPropertiesAppointmentScheduling>): AliasPropertiesAppointmentScheduling {
|
create(value?: PartialMessage<AliasPropertiesAppointmentScheduling>): AliasPropertiesAppointmentScheduling {
|
||||||
@@ -240,6 +247,7 @@ class AliasPropertiesAppointmentScheduling$Type extends MessageType<AliasPropert
|
|||||||
message.LoadingCommandIdentifierEntry = 0;
|
message.LoadingCommandIdentifierEntry = 0;
|
||||||
message.UnLoadingCommandIdentifierEntry = 0;
|
message.UnLoadingCommandIdentifierEntry = 0;
|
||||||
message.ActorName = "";
|
message.ActorName = "";
|
||||||
|
message.RestrictionRuleIDs = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AliasPropertiesAppointmentScheduling>(this, message, value);
|
reflectionMergePartial<AliasPropertiesAppointmentScheduling>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -261,6 +269,9 @@ class AliasPropertiesAppointmentScheduling$Type extends MessageType<AliasPropert
|
|||||||
case /* string ActorName */ 4:
|
case /* string ActorName */ 4:
|
||||||
message.ActorName = reader.string();
|
message.ActorName = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* repeated string RestrictionRuleIDs */ 5:
|
||||||
|
message.RestrictionRuleIDs.push(reader.string());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -285,6 +296,9 @@ class AliasPropertiesAppointmentScheduling$Type extends MessageType<AliasPropert
|
|||||||
/* string ActorName = 4; */
|
/* string ActorName = 4; */
|
||||||
if (message.ActorName !== "")
|
if (message.ActorName !== "")
|
||||||
writer.tag(4, WireType.LengthDelimited).string(message.ActorName);
|
writer.tag(4, WireType.LengthDelimited).string(message.ActorName);
|
||||||
|
/* repeated string RestrictionRuleIDs = 5; */
|
||||||
|
for (let i = 0; i < message.RestrictionRuleIDs.length; i++)
|
||||||
|
writer.tag(5, WireType.LengthDelimited).string(message.RestrictionRuleIDs[i]);
|
||||||
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);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260312135413",
|
"version": "1.13.0-SNAPSHOT-260312142540",
|
||||||
"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