@teespring/user-identity-service-proto
Advanced tools
Comparing version 0.4.2 to 0.5.0
@@ -9,3 +9,4 @@ export { UserIdentityServiceClient } from './v1/useridentityservice_grpc_pb'; | ||
GetPersonaSurveyContentRequest, GetPersonaSurveyContentResponse, | ||
RecordOnboardingAttemptRequest, RecordOnboardingAttemptResponse, | ||
PersonaSurveySubmissionRequest, PersonaSurveySubmissionResponse | ||
} from './v1/useridentityservice_pb'; |
@@ -15,2 +15,3 @@ // GENERATED CODE -- DO NOT EDIT! | ||
getPersonaSurveyContent: grpc.MethodDefinition<useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentRequest, useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentResponse>; | ||
recordOnboardingAttempt: grpc.MethodDefinition<useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse>; | ||
submitPersonaSurveyAnswer: grpc.MethodDefinition<useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionRequest, useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionResponse>; | ||
@@ -27,2 +28,3 @@ } | ||
getPersonaSurveyContent: grpc.handleUnaryCall<useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentRequest, useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentResponse>; | ||
recordOnboardingAttempt: grpc.handleUnaryCall<useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse>; | ||
submitPersonaSurveyAnswer: grpc.handleUnaryCall<useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionRequest, useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionResponse>; | ||
@@ -48,2 +50,5 @@ } | ||
getPersonaSurveyContent(argument: useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.GetPersonaSurveyContentResponse>): grpc.ClientUnaryCall; | ||
recordOnboardingAttempt(argument: useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse>): grpc.ClientUnaryCall; | ||
recordOnboardingAttempt(argument: useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse>): grpc.ClientUnaryCall; | ||
recordOnboardingAttempt(argument: useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse>): grpc.ClientUnaryCall; | ||
submitPersonaSurveyAnswer(argument: useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionRequest, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionResponse>): grpc.ClientUnaryCall; | ||
@@ -50,0 +55,0 @@ submitPersonaSurveyAnswer(argument: useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<useridentityservice_v1_useridentityservice_pb.PersonaSurveySubmissionResponse>): grpc.ClientUnaryCall; |
@@ -141,3 +141,25 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_useridentityservice_v1_RecordOnboardingAttemptRequest(arg) { | ||
if (!(arg instanceof useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest)) { | ||
throw new Error('Expected argument of type useridentityservice.v1.RecordOnboardingAttemptRequest'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_useridentityservice_v1_RecordOnboardingAttemptRequest(buffer_arg) { | ||
return useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_useridentityservice_v1_RecordOnboardingAttemptResponse(arg) { | ||
if (!(arg instanceof useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse)) { | ||
throw new Error('Expected argument of type useridentityservice.v1.RecordOnboardingAttemptResponse'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_useridentityservice_v1_RecordOnboardingAttemptResponse(buffer_arg) { | ||
return useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
// ////////////////////////////////////// | ||
@@ -203,2 +225,13 @@ // SERVICE DEFINITIONS // | ||
}, | ||
recordOnboardingAttempt: { | ||
path: '/useridentityservice.v1.UserIdentityService/RecordOnboardingAttempt', | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptRequest, | ||
responseType: useridentityservice_v1_useridentityservice_pb.RecordOnboardingAttemptResponse, | ||
requestSerialize: serialize_useridentityservice_v1_RecordOnboardingAttemptRequest, | ||
requestDeserialize: deserialize_useridentityservice_v1_RecordOnboardingAttemptRequest, | ||
responseSerialize: serialize_useridentityservice_v1_RecordOnboardingAttemptResponse, | ||
responseDeserialize: deserialize_useridentityservice_v1_RecordOnboardingAttemptResponse, | ||
}, | ||
submitPersonaSurveyAnswer: { | ||
@@ -205,0 +238,0 @@ path: '/useridentityservice.v1.UserIdentityService/SubmitPersonaSurveyAnswer', |
@@ -288,2 +288,54 @@ // package: useridentityservice.v1 | ||
export class RecordOnboardingAttemptRequest extends jspb.Message { | ||
getPublicId(): string; | ||
setPublicId(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): RecordOnboardingAttemptRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: RecordOnboardingAttemptRequest): RecordOnboardingAttemptRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: RecordOnboardingAttemptRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): RecordOnboardingAttemptRequest; | ||
static deserializeBinaryFromReader(message: RecordOnboardingAttemptRequest, reader: jspb.BinaryReader): RecordOnboardingAttemptRequest; | ||
} | ||
export namespace RecordOnboardingAttemptRequest { | ||
export type AsObject = { | ||
publicId: string, | ||
} | ||
} | ||
export class RecordOnboardingAttemptResponse extends jspb.Message { | ||
hasSuccess(): boolean; | ||
clearSuccess(): void; | ||
getSuccess(): google_protobuf_wrappers_pb.BoolValue | undefined; | ||
setSuccess(value?: google_protobuf_wrappers_pb.BoolValue): void; | ||
getMessage(): string; | ||
setMessage(value: string): void; | ||
hasAllowSkip(): boolean; | ||
clearAllowSkip(): void; | ||
getAllowSkip(): google_protobuf_wrappers_pb.BoolValue | undefined; | ||
setAllowSkip(value?: google_protobuf_wrappers_pb.BoolValue): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): RecordOnboardingAttemptResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: RecordOnboardingAttemptResponse): RecordOnboardingAttemptResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: RecordOnboardingAttemptResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): RecordOnboardingAttemptResponse; | ||
static deserializeBinaryFromReader(message: RecordOnboardingAttemptResponse, reader: jspb.BinaryReader): RecordOnboardingAttemptResponse; | ||
} | ||
export namespace RecordOnboardingAttemptResponse { | ||
export type AsObject = { | ||
success?: google_protobuf_wrappers_pb.BoolValue.AsObject, | ||
message: string, | ||
allowSkip?: google_protobuf_wrappers_pb.BoolValue.AsObject, | ||
} | ||
} | ||
export class PersonaSurveySubmissionRequest extends jspb.Message { | ||
@@ -290,0 +342,0 @@ getPublicId(): string; |
@@ -10,3 +10,4 @@ export { | ||
GetPersonaSurveyContentRequest, GetPersonaSurveyContentResponse, | ||
RecordOnboardingAttemptRequest, RecordOnboardingAttemptResponse, | ||
PersonaSurveySubmissionRequest, PersonaSurveySubmissionResponse | ||
} from './generated/useridentityservice'; |
{ | ||
"name": "@teespring/user-identity-service-proto", | ||
"version": "0.4.2", | ||
"version": "0.5.0", | ||
"description": "User/Identity Service proto files and generated code", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
228073
5232