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.15.0-SNAPSHOT-260821145645",
|
||||
"version": "1.15.0-SNAPSHOT-260824115411",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -36,6 +36,10 @@ export interface UserAttribute {
|
||||
* @generated from protobuf field: repeated api.BookingAuthorization BookingAuthorizations = 5
|
||||
*/
|
||||
BookingAuthorizations: BookingAuthorization[];
|
||||
/**
|
||||
* @generated from protobuf field: api.ViewableAppointments ViewableAppointments = 6
|
||||
*/
|
||||
ViewableAppointments: ViewableAppointments;
|
||||
}
|
||||
/**
|
||||
* User Attribute Restriction Actor IDs -- related to data restriction
|
||||
@@ -115,6 +119,10 @@ export interface PutUserAttributesRequest {
|
||||
* @generated from protobuf field: repeated api.BookingAuthorization BookingAuthorizations = 5
|
||||
*/
|
||||
BookingAuthorizations: BookingAuthorization[];
|
||||
/**
|
||||
* @generated from protobuf field: api.ViewableAppointments ViewableAppointments = 6
|
||||
*/
|
||||
ViewableAppointments: ViewableAppointments;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PutUserAttributesResult
|
||||
@@ -179,6 +187,27 @@ export interface DeleteForProjectUserAttributesRequest {
|
||||
*/
|
||||
export interface DeleteForProjectUserAttributesResult {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.ViewableAppointments
|
||||
*/
|
||||
export enum ViewableAppointments {
|
||||
/**
|
||||
* @generated from protobuf enum value: VIEWABLE_APPOINTMENTS_UNKNOWN = 0;
|
||||
*/
|
||||
VIEWABLE_APPOINTMENTS_UNKNOWN = 0,
|
||||
/**
|
||||
* All appointments are viewable
|
||||
*
|
||||
* @generated from protobuf enum value: VIEWABLE_APPOINTMENTS_ALL = 1;
|
||||
*/
|
||||
VIEWABLE_APPOINTMENTS_ALL = 1,
|
||||
/**
|
||||
* Only appointments of which the booking is permitted
|
||||
*
|
||||
* @generated from protobuf enum value: VIEWABLE_APPOINTMENTS_BOOKABLE = 2;
|
||||
*/
|
||||
VIEWABLE_APPOINTMENTS_BOOKABLE = 2
|
||||
}
|
||||
/**
|
||||
* User Attribute Booking Authorization -- related to slotbooking
|
||||
*
|
||||
@@ -210,7 +239,8 @@ class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs },
|
||||
{ no: 5, name: "BookingAuthorizations", kind: "message", localName: "BookingAuthorizations", jsonName: "BookingAuthorizations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BookingAuthorization }
|
||||
{ no: 5, name: "BookingAuthorizations", kind: "message", localName: "BookingAuthorizations", jsonName: "BookingAuthorizations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BookingAuthorization },
|
||||
{ no: 6, name: "ViewableAppointments", kind: "enum", localName: "ViewableAppointments", jsonName: "ViewableAppointments", T: () => ["api.ViewableAppointments", ViewableAppointments] }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UserAttribute>): UserAttribute {
|
||||
@@ -220,6 +250,7 @@ class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||
message.PartnerID = "";
|
||||
message.RestrictionActorIDs = [];
|
||||
message.BookingAuthorizations = [];
|
||||
message.ViewableAppointments = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UserAttribute>(this, message, value);
|
||||
return message;
|
||||
@@ -244,6 +275,9 @@ class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||
case /* repeated api.BookingAuthorization BookingAuthorizations */ 5:
|
||||
message.BookingAuthorizations.push(BookingAuthorization.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.ViewableAppointments ViewableAppointments */ 6:
|
||||
message.ViewableAppointments = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -271,6 +305,9 @@ class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||
/* repeated api.BookingAuthorization BookingAuthorizations = 5; */
|
||||
for (let i = 0; i < message.BookingAuthorizations.length; i++)
|
||||
BookingAuthorization.internalBinaryWrite(message.BookingAuthorizations[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ViewableAppointments ViewableAppointments = 6; */
|
||||
if (message.ViewableAppointments !== 0)
|
||||
writer.tag(6, WireType.Varint).int32(message.ViewableAppointments);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -507,7 +544,8 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
||||
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs },
|
||||
{ no: 5, name: "BookingAuthorizations", kind: "message", localName: "BookingAuthorizations", jsonName: "BookingAuthorizations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BookingAuthorization }
|
||||
{ no: 5, name: "BookingAuthorizations", kind: "message", localName: "BookingAuthorizations", jsonName: "BookingAuthorizations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BookingAuthorization },
|
||||
{ no: 6, name: "ViewableAppointments", kind: "enum", localName: "ViewableAppointments", jsonName: "ViewableAppointments", T: () => ["api.ViewableAppointments", ViewableAppointments] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "UserID", "PartnerID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PutUserAttributesRequest>): PutUserAttributesRequest {
|
||||
@@ -516,6 +554,7 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
||||
message.PartnerID = "";
|
||||
message.RestrictionActorIDs = [];
|
||||
message.BookingAuthorizations = [];
|
||||
message.ViewableAppointments = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PutUserAttributesRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -540,6 +579,9 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
||||
case /* repeated api.BookingAuthorization BookingAuthorizations */ 5:
|
||||
message.BookingAuthorizations.push(BookingAuthorization.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.ViewableAppointments ViewableAppointments */ 6:
|
||||
message.ViewableAppointments = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -567,6 +609,9 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
||||
/* repeated api.BookingAuthorization BookingAuthorizations = 5; */
|
||||
for (let i = 0; i < message.BookingAuthorizations.length; i++)
|
||||
BookingAuthorization.internalBinaryWrite(message.BookingAuthorizations[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ViewableAppointments ViewableAppointments = 6; */
|
||||
if (message.ViewableAppointments !== 0)
|
||||
writer.tag(6, WireType.Varint).int32(message.ViewableAppointments);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user