-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2.0.1] Generate Protobuf Language Bindings
- Loading branch information
1 parent
a1f8fe5
commit 69c80dc
Showing
271 changed files
with
32,576 additions
and
13,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,74 @@ | ||
/* eslint-disable */ | ||
// @generated by protobuf-ts 2.9.4 with parameter eslint_disable,output_javascript,output_legacy_commonjs,ts_nocheck | ||
// @generated from protobuf file "account/account_service.proto" (package "account", syntax proto3) | ||
// tslint:disable | ||
// @ts-nocheck | ||
/** | ||
* @generated ServiceType for protobuf service account.Account | ||
*/ | ||
export declare const Account: any; | ||
import { type CallContext, type CallOptions } from "nice-grpc-common"; | ||
import { Empty } from "../google/protobuf/empty"; | ||
import { ExchangeTokenForUserDataRequest } from "./exchange_token_for_user_data"; | ||
import { GetNEXDataRequest, GetNEXDataResponse } from "./get_nex_data_rpc"; | ||
import { GetNEXPasswordRequest, GetNEXPasswordResponse } from "./get_nex_password_rpc"; | ||
import { GetUserDataRequest, GetUserDataResponse } from "./get_user_data_rpc"; | ||
import { UpdatePNIDPermissionsRequest } from "./update_pnid_permissions"; | ||
export declare const protobufPackage = "account"; | ||
export type AccountDefinition = typeof AccountDefinition; | ||
export declare const AccountDefinition: { | ||
readonly name: "Account"; | ||
readonly fullName: "account.Account"; | ||
readonly methods: { | ||
readonly getUserData: { | ||
readonly name: "GetUserData"; | ||
readonly requestType: import("./get_user_data_rpc").MessageFns<GetUserDataRequest>; | ||
readonly requestStream: false; | ||
readonly responseType: import("./get_user_data_rpc").MessageFns<GetUserDataResponse>; | ||
readonly responseStream: false; | ||
readonly options: {}; | ||
}; | ||
readonly getNEXPassword: { | ||
readonly name: "GetNEXPassword"; | ||
readonly requestType: import("./get_nex_password_rpc").MessageFns<GetNEXPasswordRequest>; | ||
readonly requestStream: false; | ||
readonly responseType: import("./get_nex_password_rpc").MessageFns<GetNEXPasswordResponse>; | ||
readonly responseStream: false; | ||
readonly options: {}; | ||
}; | ||
readonly getNEXData: { | ||
readonly name: "GetNEXData"; | ||
readonly requestType: import("./get_nex_data_rpc").MessageFns<GetNEXDataRequest>; | ||
readonly requestStream: false; | ||
readonly responseType: import("./get_nex_data_rpc").MessageFns<GetNEXDataResponse>; | ||
readonly responseStream: false; | ||
readonly options: {}; | ||
}; | ||
readonly updatePNIDPermissions: { | ||
readonly name: "UpdatePNIDPermissions"; | ||
readonly requestType: import("./update_pnid_permissions").MessageFns<UpdatePNIDPermissionsRequest>; | ||
readonly requestStream: false; | ||
readonly responseType: import("../google/protobuf/empty").MessageFns<Empty>; | ||
readonly responseStream: false; | ||
readonly options: {}; | ||
}; | ||
readonly exchangeTokenForUserData: { | ||
readonly name: "ExchangeTokenForUserData"; | ||
readonly requestType: import("./exchange_token_for_user_data").MessageFns<ExchangeTokenForUserDataRequest>; | ||
readonly requestStream: false; | ||
readonly responseType: import("./get_user_data_rpc").MessageFns<GetUserDataResponse>; | ||
readonly responseStream: false; | ||
readonly options: {}; | ||
}; | ||
}; | ||
}; | ||
export interface AccountServiceImplementation<CallContextExt = {}> { | ||
getUserData(request: GetUserDataRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetUserDataResponse>>; | ||
getNEXPassword(request: GetNEXPasswordRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetNEXPasswordResponse>>; | ||
getNEXData(request: GetNEXDataRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetNEXDataResponse>>; | ||
updatePNIDPermissions(request: UpdatePNIDPermissionsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>; | ||
exchangeTokenForUserData(request: ExchangeTokenForUserDataRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetUserDataResponse>>; | ||
} | ||
export interface AccountClient<CallOptionsExt = {}> { | ||
getUserData(request: DeepPartial<GetUserDataRequest>, options?: CallOptions & CallOptionsExt): Promise<GetUserDataResponse>; | ||
getNEXPassword(request: DeepPartial<GetNEXPasswordRequest>, options?: CallOptions & CallOptionsExt): Promise<GetNEXPasswordResponse>; | ||
getNEXData(request: DeepPartial<GetNEXDataRequest>, options?: CallOptions & CallOptionsExt): Promise<GetNEXDataResponse>; | ||
updatePNIDPermissions(request: DeepPartial<UpdatePNIDPermissionsRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>; | ||
exchangeTokenForUserData(request: DeepPartial<ExchangeTokenForUserDataRequest>, options?: CallOptions & CallOptionsExt): Promise<GetUserDataResponse>; | ||
} | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in keyof T]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,61 @@ | ||
/* eslint-disable */ | ||
// @generated by protobuf-ts 2.9.4 with parameter eslint_disable,output_javascript,output_legacy_commonjs,ts_nocheck | ||
// @generated from protobuf file "account/account_service.proto" (package "account", syntax proto3) | ||
// tslint:disable | ||
// @ts-nocheck | ||
"use strict"; | ||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT. | ||
// versions: | ||
// protoc-gen-ts_proto v2.3.0 | ||
// protoc unknown | ||
// source: account/account_service.proto | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Account = void 0; | ||
/* eslint-disable */ | ||
// @generated by protobuf-ts 2.9.4 with parameter eslint_disable,output_javascript,output_legacy_commonjs,ts_nocheck | ||
// @generated from protobuf file "account/account_service.proto" (package "account", syntax proto3) | ||
// tslint:disable | ||
// @ts-nocheck | ||
const exchange_token_for_user_data_1 = require("./exchange_token_for_user_data"); | ||
exports.AccountDefinition = exports.protobufPackage = void 0; | ||
const empty_1 = require("../google/protobuf/empty"); | ||
const update_pnid_permissions_1 = require("./update_pnid_permissions"); | ||
const exchange_token_for_user_data_1 = require("./exchange_token_for_user_data"); | ||
const get_nex_data_rpc_1 = require("./get_nex_data_rpc"); | ||
const get_nex_data_rpc_2 = require("./get_nex_data_rpc"); | ||
const get_nex_password_rpc_1 = require("./get_nex_password_rpc"); | ||
const get_nex_password_rpc_2 = require("./get_nex_password_rpc"); | ||
const get_user_data_rpc_1 = require("./get_user_data_rpc"); | ||
const get_user_data_rpc_2 = require("./get_user_data_rpc"); | ||
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); | ||
/** | ||
* @generated ServiceType for protobuf service account.Account | ||
*/ | ||
exports.Account = new runtime_rpc_1.ServiceType("account.Account", [ | ||
{ name: "GetUserData", options: {}, I: get_user_data_rpc_2.GetUserDataRequest, O: get_user_data_rpc_1.GetUserDataResponse }, | ||
{ name: "GetNEXPassword", options: {}, I: get_nex_password_rpc_2.GetNEXPasswordRequest, O: get_nex_password_rpc_1.GetNEXPasswordResponse }, | ||
{ name: "GetNEXData", options: {}, I: get_nex_data_rpc_2.GetNEXDataRequest, O: get_nex_data_rpc_1.GetNEXDataResponse }, | ||
{ name: "UpdatePNIDPermissions", options: {}, I: update_pnid_permissions_1.UpdatePNIDPermissionsRequest, O: empty_1.Empty }, | ||
{ name: "ExchangeTokenForUserData", options: {}, I: exchange_token_for_user_data_1.ExchangeTokenForUserDataRequest, O: get_user_data_rpc_1.GetUserDataResponse } | ||
]); | ||
const update_pnid_permissions_1 = require("./update_pnid_permissions"); | ||
exports.protobufPackage = "account"; | ||
exports.AccountDefinition = { | ||
name: "Account", | ||
fullName: "account.Account", | ||
methods: { | ||
getUserData: { | ||
name: "GetUserData", | ||
requestType: get_user_data_rpc_1.GetUserDataRequest, | ||
requestStream: false, | ||
responseType: get_user_data_rpc_1.GetUserDataResponse, | ||
responseStream: false, | ||
options: {}, | ||
}, | ||
getNEXPassword: { | ||
name: "GetNEXPassword", | ||
requestType: get_nex_password_rpc_1.GetNEXPasswordRequest, | ||
requestStream: false, | ||
responseType: get_nex_password_rpc_1.GetNEXPasswordResponse, | ||
responseStream: false, | ||
options: {}, | ||
}, | ||
getNEXData: { | ||
name: "GetNEXData", | ||
requestType: get_nex_data_rpc_1.GetNEXDataRequest, | ||
requestStream: false, | ||
responseType: get_nex_data_rpc_1.GetNEXDataResponse, | ||
responseStream: false, | ||
options: {}, | ||
}, | ||
updatePNIDPermissions: { | ||
name: "UpdatePNIDPermissions", | ||
requestType: update_pnid_permissions_1.UpdatePNIDPermissionsRequest, | ||
requestStream: false, | ||
responseType: empty_1.Empty, | ||
responseStream: false, | ||
options: {}, | ||
}, | ||
exchangeTokenForUserData: { | ||
name: "ExchangeTokenForUserData", | ||
requestType: exchange_token_for_user_data_1.ExchangeTokenForUserDataRequest, | ||
requestStream: false, | ||
responseType: get_user_data_rpc_1.GetUserDataResponse, | ||
responseStream: false, | ||
options: {}, | ||
}, | ||
}, | ||
}; |
Oops, something went wrong.