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.13.0-SNAPSHOT-260119102424",
|
||||
"version": "1.13.0-SNAPSHOT-260119124340",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -6,8 +6,8 @@ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { SiteService } from "./site";
|
||||
import type { ListSettingsResponse } from "./site";
|
||||
import type { ListSettingsRequest } from "./site";
|
||||
import type { CheckAppointmentModifiableResponse } from "./site";
|
||||
import type { CheckAppointmentModifiableRequest } from "./site";
|
||||
import type { CheckAppointmentEditableResponse } from "./site";
|
||||
import type { CheckAppointmentEditableRequest } from "./site";
|
||||
import type { GetMyBookingContextResponse } from "./site";
|
||||
import type { GetMyBookingContextRequest } from "./site";
|
||||
import type { GetBookingContextResponse } from "./site";
|
||||
@@ -212,9 +212,9 @@ export interface ISiteServiceClient {
|
||||
*/
|
||||
getMyBookingContext(input: GetMyBookingContextRequest, options?: RpcOptions): UnaryCall<GetMyBookingContextRequest, GetMyBookingContextResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CheckAppointmentModifiable
|
||||
* @generated from protobuf rpc: CheckAppointmentEditable
|
||||
*/
|
||||
checkAppointmentModifiable(input: CheckAppointmentModifiableRequest, options?: RpcOptions): UnaryCall<CheckAppointmentModifiableRequest, CheckAppointmentModifiableResponse>;
|
||||
checkAppointmentEditable(input: CheckAppointmentEditableRequest, options?: RpcOptions): UnaryCall<CheckAppointmentEditableRequest, CheckAppointmentEditableResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ListSettings
|
||||
*/
|
||||
@@ -475,11 +475,11 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
return stackIntercept<GetMyBookingContextRequest, GetMyBookingContextResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CheckAppointmentModifiable
|
||||
* @generated from protobuf rpc: CheckAppointmentEditable
|
||||
*/
|
||||
checkAppointmentModifiable(input: CheckAppointmentModifiableRequest, options?: RpcOptions): UnaryCall<CheckAppointmentModifiableRequest, CheckAppointmentModifiableResponse> {
|
||||
checkAppointmentEditable(input: CheckAppointmentEditableRequest, options?: RpcOptions): UnaryCall<CheckAppointmentEditableRequest, CheckAppointmentEditableResponse> {
|
||||
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CheckAppointmentModifiableRequest, CheckAppointmentModifiableResponse>("unary", this._transport, method, opt, input);
|
||||
return stackIntercept<CheckAppointmentEditableRequest, CheckAppointmentEditableResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ListSettings
|
||||
|
||||
44
site.ts
44
site.ts
@@ -1459,11 +1459,11 @@ export interface InitBookerProfileResponse {
|
||||
SiteID: string; // Site ID
|
||||
}
|
||||
/**
|
||||
* CheckAppointmentModifiable
|
||||
* CheckAppointmentEditable
|
||||
*
|
||||
* @generated from protobuf message api.CheckAppointmentModifiableRequest
|
||||
* @generated from protobuf message api.CheckAppointmentEditableRequest
|
||||
*/
|
||||
export interface CheckAppointmentModifiableRequest {
|
||||
export interface CheckAppointmentEditableRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
@@ -1482,9 +1482,9 @@ export interface CheckAppointmentModifiableRequest {
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.CheckAppointmentModifiableResponse
|
||||
* @generated from protobuf message api.CheckAppointmentEditableResponse
|
||||
*/
|
||||
export interface CheckAppointmentModifiableResponse {
|
||||
export interface CheckAppointmentEditableResponse {
|
||||
/**
|
||||
* @generated from protobuf field: api.ResponseHeader Header = 2
|
||||
*/
|
||||
@@ -6004,23 +6004,23 @@ class InitBookerProfileResponse$Type extends MessageType<InitBookerProfileRespon
|
||||
*/
|
||||
export const InitBookerProfileResponse = new InitBookerProfileResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CheckAppointmentModifiableRequest$Type extends MessageType<CheckAppointmentModifiableRequest> {
|
||||
class CheckAppointmentEditableRequest$Type extends MessageType<CheckAppointmentEditableRequest> {
|
||||
constructor() {
|
||||
super("api.CheckAppointmentModifiableRequest", [
|
||||
super("api.CheckAppointmentEditableRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<CheckAppointmentModifiableRequest>): CheckAppointmentModifiableRequest {
|
||||
create(value?: PartialMessage<CheckAppointmentEditableRequest>): CheckAppointmentEditableRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CheckAppointmentModifiableRequest>(this, message, value);
|
||||
reflectionMergePartial<CheckAppointmentEditableRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckAppointmentModifiableRequest): CheckAppointmentModifiableRequest {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckAppointmentEditableRequest): CheckAppointmentEditableRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -6045,7 +6045,7 @@ class CheckAppointmentModifiableRequest$Type extends MessageType<CheckAppointmen
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CheckAppointmentModifiableRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: CheckAppointmentEditableRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -6062,25 +6062,25 @@ class CheckAppointmentModifiableRequest$Type extends MessageType<CheckAppointmen
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.CheckAppointmentModifiableRequest
|
||||
* @generated MessageType for protobuf message api.CheckAppointmentEditableRequest
|
||||
*/
|
||||
export const CheckAppointmentModifiableRequest = new CheckAppointmentModifiableRequest$Type();
|
||||
export const CheckAppointmentEditableRequest = new CheckAppointmentEditableRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CheckAppointmentModifiableResponse$Type extends MessageType<CheckAppointmentModifiableResponse> {
|
||||
class CheckAppointmentEditableResponse$Type extends MessageType<CheckAppointmentEditableResponse> {
|
||||
constructor() {
|
||||
super("api.CheckAppointmentModifiableResponse", [
|
||||
super("api.CheckAppointmentEditableResponse", [
|
||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
||||
{ no: 1, name: "IsModifiable", kind: "scalar", localName: "IsModifiable", jsonName: "IsModifiable", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CheckAppointmentModifiableResponse>): CheckAppointmentModifiableResponse {
|
||||
create(value?: PartialMessage<CheckAppointmentEditableResponse>): CheckAppointmentEditableResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.IsModifiable = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CheckAppointmentModifiableResponse>(this, message, value);
|
||||
reflectionMergePartial<CheckAppointmentEditableResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckAppointmentModifiableResponse): CheckAppointmentModifiableResponse {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckAppointmentEditableResponse): CheckAppointmentEditableResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -6102,7 +6102,7 @@ class CheckAppointmentModifiableResponse$Type extends MessageType<CheckAppointme
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CheckAppointmentModifiableResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: CheckAppointmentEditableResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* bool IsModifiable = 1; */
|
||||
if (message.IsModifiable !== false)
|
||||
writer.tag(1, WireType.Varint).bool(message.IsModifiable);
|
||||
@@ -6116,9 +6116,9 @@ class CheckAppointmentModifiableResponse$Type extends MessageType<CheckAppointme
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.CheckAppointmentModifiableResponse
|
||||
* @generated MessageType for protobuf message api.CheckAppointmentEditableResponse
|
||||
*/
|
||||
export const CheckAppointmentModifiableResponse = new CheckAppointmentModifiableResponse$Type();
|
||||
export const CheckAppointmentEditableResponse = new CheckAppointmentEditableResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.SiteService
|
||||
*/
|
||||
@@ -6158,6 +6158,6 @@ export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "InitBookerProfile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Init the booker profile for a site. The user will gain access to the site and be able to book appointments." }, "api.rscType": "Platform", "api.roles": "" }, I: InitBookerProfileRequest, O: InitBookerProfileResponse },
|
||||
{ name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingContextRequest, O: GetBookingContextResponse },
|
||||
{ name: "GetMyBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get your appointment available booking context according to your permissions." }, "api.rscType": "Platform", "api.roles": "" }, I: GetMyBookingContextRequest, O: GetMyBookingContextResponse },
|
||||
{ name: "CheckAppointmentModifiable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Check if appointment is in modifiable range." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CheckAppointmentModifiableRequest, O: CheckAppointmentModifiableResponse },
|
||||
{ name: "CheckAppointmentEditable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Check if appointment is in modifiable range." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CheckAppointmentEditableRequest, O: CheckAppointmentEditableResponse },
|
||||
{ name: "ListSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all settings in the platform." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListSettingsRequest, O: ListSettingsResponse }
|
||||
], { "api.k8sService": "core-site" });
|
||||
|
||||
Reference in New Issue
Block a user