You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250731073447",
|
||||
"version": "1.11.0-SNAPSHOT-250731124117",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
14
site.ts
14
site.ts
@@ -372,6 +372,10 @@ export interface UpdateSiteRequest {
|
||||
* @generated from protobuf field: string DefaultSiteLanguageISO6391 = 21
|
||||
*/
|
||||
DefaultSiteLanguageISO6391: string;
|
||||
/**
|
||||
* @generated from protobuf field: string PrefixAppointmentID = 22
|
||||
*/
|
||||
PrefixAppointmentID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateSiteResponse
|
||||
@@ -1691,7 +1695,8 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/, options: { "validate.rules": { uint32: { gt: 0 } } } },
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } }
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 22, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "5" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateSiteRequest>): UpdateSiteRequest {
|
||||
@@ -1711,6 +1716,7 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
message.TimeZone = "";
|
||||
message.Emails = [];
|
||||
message.DefaultSiteLanguageISO6391 = "";
|
||||
message.PrefixAppointmentID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateSiteRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1774,6 +1780,9 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
case /* string DefaultSiteLanguageISO6391 */ 21:
|
||||
message.DefaultSiteLanguageISO6391 = reader.string();
|
||||
break;
|
||||
case /* string PrefixAppointmentID */ 22:
|
||||
message.PrefixAppointmentID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1840,6 +1849,9 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
/* string DefaultSiteLanguageISO6391 = 21; */
|
||||
if (message.DefaultSiteLanguageISO6391 !== "")
|
||||
writer.tag(21, WireType.LengthDelimited).string(message.DefaultSiteLanguageISO6391);
|
||||
/* string PrefixAppointmentID = 22; */
|
||||
if (message.PrefixAppointmentID !== "")
|
||||
writer.tag(22, WireType.LengthDelimited).string(message.PrefixAppointmentID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user