You've already forked npm-core-sdk
Latest generation
This commit is contained in:
18
driver.ts
18
driver.ts
@@ -12,7 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|||||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
import { ListTranslationsResult } from "./translations";
|
import { ListTranslationsResult } from "./translations";
|
||||||
import { GetBasicSettingsResponse } from "./site";
|
import { Site } from "./site";
|
||||||
import { Appointment } from "./appointment";
|
import { Appointment } from "./appointment";
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.GetAppointmentDriverDataRequest
|
* @generated from protobuf message api.GetAppointmentDriverDataRequest
|
||||||
@@ -32,9 +32,9 @@ export interface GetAppointmentDriverDataResponse {
|
|||||||
*/
|
*/
|
||||||
Appointment?: Appointment;
|
Appointment?: Appointment;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: api.GetBasicSettingsResponse BasicSettings = 2
|
* @generated from protobuf field: api.Site Site = 2
|
||||||
*/
|
*/
|
||||||
BasicSettings?: GetBasicSettingsResponse;
|
Site?: Site;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: api.ListTranslationsResult Translations = 3
|
* @generated from protobuf field: api.ListTranslationsResult Translations = 3
|
||||||
*/
|
*/
|
||||||
@@ -92,7 +92,7 @@ class GetAppointmentDriverDataResponse$Type extends MessageType<GetAppointmentDr
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.GetAppointmentDriverDataResponse", [
|
super("api.GetAppointmentDriverDataResponse", [
|
||||||
{ no: 1, name: "Appointment", kind: "message", localName: "Appointment", jsonName: "Appointment", T: () => Appointment },
|
{ no: 1, name: "Appointment", kind: "message", localName: "Appointment", jsonName: "Appointment", T: () => Appointment },
|
||||||
{ no: 2, name: "BasicSettings", kind: "message", localName: "BasicSettings", jsonName: "BasicSettings", T: () => GetBasicSettingsResponse },
|
{ no: 2, name: "Site", kind: "message", localName: "Site", jsonName: "Site", T: () => Site },
|
||||||
{ no: 3, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", T: () => ListTranslationsResult }
|
{ no: 3, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", T: () => ListTranslationsResult }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@@ -110,8 +110,8 @@ class GetAppointmentDriverDataResponse$Type extends MessageType<GetAppointmentDr
|
|||||||
case /* api.Appointment Appointment */ 1:
|
case /* api.Appointment Appointment */ 1:
|
||||||
message.Appointment = Appointment.internalBinaryRead(reader, reader.uint32(), options, message.Appointment);
|
message.Appointment = Appointment.internalBinaryRead(reader, reader.uint32(), options, message.Appointment);
|
||||||
break;
|
break;
|
||||||
case /* api.GetBasicSettingsResponse BasicSettings */ 2:
|
case /* api.Site Site */ 2:
|
||||||
message.BasicSettings = GetBasicSettingsResponse.internalBinaryRead(reader, reader.uint32(), options, message.BasicSettings);
|
message.Site = Site.internalBinaryRead(reader, reader.uint32(), options, message.Site);
|
||||||
break;
|
break;
|
||||||
case /* api.ListTranslationsResult Translations */ 3:
|
case /* api.ListTranslationsResult Translations */ 3:
|
||||||
message.Translations = ListTranslationsResult.internalBinaryRead(reader, reader.uint32(), options, message.Translations);
|
message.Translations = ListTranslationsResult.internalBinaryRead(reader, reader.uint32(), options, message.Translations);
|
||||||
@@ -131,9 +131,9 @@ class GetAppointmentDriverDataResponse$Type extends MessageType<GetAppointmentDr
|
|||||||
/* api.Appointment Appointment = 1; */
|
/* api.Appointment Appointment = 1; */
|
||||||
if (message.Appointment)
|
if (message.Appointment)
|
||||||
Appointment.internalBinaryWrite(message.Appointment, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
Appointment.internalBinaryWrite(message.Appointment, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||||
/* api.GetBasicSettingsResponse BasicSettings = 2; */
|
/* api.Site Site = 2; */
|
||||||
if (message.BasicSettings)
|
if (message.Site)
|
||||||
GetBasicSettingsResponse.internalBinaryWrite(message.BasicSettings, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
Site.internalBinaryWrite(message.Site, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||||
/* api.ListTranslationsResult Translations = 3; */
|
/* api.ListTranslationsResult Translations = 3; */
|
||||||
if (message.Translations)
|
if (message.Translations)
|
||||||
ListTranslationsResult.internalBinaryWrite(message.Translations, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
ListTranslationsResult.internalBinaryWrite(message.Translations, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.14.0-SNAPSHOT-260601150603",
|
"version": "1.14.0-SNAPSHOT-260602123311",
|
||||||
"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