Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(personhog): add a leader RaisePersonVersion RPC (#125755)

Zach Brownc7ee96f5dddb
diff --git a/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts b/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts
index 1ffa105e4050..fa2869f04039 100644
--- a/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts
+++ b/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts
@@ -102,6 +102,8 @@ import type {
PersonsResponseSchema,
RaisePersonVersionFloorsRequestSchema,
RaisePersonVersionFloorsResponseSchema,
+ RaisePersonVersionRequestSchema,
+ RaisePersonVersionResponseSchema,
ReleaseFenceRequestSchema,
ReleaseFenceResponseSchema,
ReleaseFencesRequestSchema,
@@ -127,7 +129,7 @@ import { file_personhog_types_v1_person } from '../../types/v1/person_pb'
export const file_personhog_service_v1_service: GenFile =
/*@__PURE__*/
fileDesc(
- 'CiJwZXJzb25ob2cvc2VydmljZS92MS9zZXJ2aWNlLnByb3RvEhRwZXJzb25ob2cuc2VydmljZS52MTKmNAoQUGVyc29uSG9nU2VydmljZRJYCglHZXRQZXJzb24SJC5wZXJzb25ob2cudHlwZXMudjEuR2V0UGVyc29uUmVxdWVzdBolLnBlcnNvbmhvZy50eXBlcy52MS5HZXRQZXJzb25SZXNwb25zZRJYCgpHZXRQZXJzb25zEiUucGVyc29uaG9nLnR5cGVzLnYxLkdldFBlcnNvbnNSZXF1ZXN0GiMucGVyc29uaG9nLnR5cGVzLnYxLlBlcnNvbnNSZXNwb25zZRJkCg9HZXRQZXJzb25CeVV1aWQSKi5wZXJzb25ob2cudHlwZXMudjEuR2V0UGVyc29uQnlVdWlkUmVxdWVzdBolLnBlcnNvbmhvZy50eXBlcy52MS5HZXRQZXJzb25SZX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KFAQoYUmFpc2VQZXJzb25WZXJzaW9uRmxvb3JzEjMucGVyc29uaG9nLnR5cGVzLnYxLlJhaXNlUGVyc29uVmVyc2lvbkZsb29yc1JlcXVlc3QaNC5wZXJzb25ob2cudHlwZXMudjEuUmFpc2VQZXJzb25WZXJzaW9uRmxvb3JzUmVzcG9uc2USZwoOUmVzdG9yZVBlcnNvbnMSKS5wZXJzb25ob2cudHlwZXMudjEuUmVzdG9yZVBlcnNvbnNSZXF1ZXN0GioucGVyc29uaG9nLnR5cGVzLnYxLlJlc3RvcmVQZXJzb25zUmVzcG9uc2USbQoQV3JpdGVEaXN0aW5jdElkcxIrLnBlcnNvbmhvZy50eXBlcy52MS5Xcml0ZURpc3RpbmN0SWRzUmVxdWVzdBosLnBlcnNvbmhvZy50eXBlcy52MS5Xcml0ZURpc3RpbmN0SWRzUmVzcG9uc2ViBnByb3RvMw',
[
file_personhog_types_v1_person,
file_personhog_types_v1_group,
@@ -487,6 +489,16 @@ export const PersonHogService: GenService<{
input: typeof FoldPersonDocumentRequestSchema
output: typeof FoldPersonDocumentResponseSchema
}
+ /**
+ * Consistency repair version raise (routed to leader)
+ *
+ * @generated from rpc personhog.service.v1.PersonHogService.RaisePersonVersion
+ */
+ raisePersonVersion: {
+ methodKind: 'unary'
+ input: typeof RaisePersonVersionRequestSchema
+ output: typeof RaisePersonVersionResponseSchema
+ }
/**
* Person deletes
* DeletePersons tombstones the persons and reports the versions written. A caller that
diff --git a/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts b/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts
index 19e748bec4fa..ba8e723aa5d7 100644
--- a/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts
+++ b/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts
@@ -13,7 +13,7 @@ import { file_personhog_types_v1_common } from './common_pb'
export const file_personhog_types_v1_person: GenFile =
/*@__PURE__*/
fileDesc(
- 'Ch9wZXJzb25ob2cvdHlwZXM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U5TUEVDSUZJRUQQABIjCh9ESVNUSU5DVF9JRF9XUklURV9BQ1RJT05fSU5TRVJUEAESIgoeRElTVElOQ1RfSURfV1JJVEVfQUNUSU9OX1JBSVNFEAIq9QEKFkRpc3RpbmN0SWRXcml0ZU91dGNvbWUSKQolRElTVElOQ1RfSURfV1JJVEVfT1VUQ09NRV9VTlNQRUNJRklFRBAAEiUKIURJU1RJTkNUX0lEX1dSSVRFX09VVENPTUVfQVBQTElFRBABEicKI0RJU1RJTkNUX0lEX1dSSVRFX09VVENPTUVfVU5DSEFOR0VEEAISMQotRElTVElOQ1RfSURfV1JJVEVfT1VUQ09NRV9QUkVDT05ESVRJT05fRkFJTEVEEAMSLQopRElTVElOQ1RfSURfV1JJVEVfT1VUQ09NRV9QRVJTT05fTk9UX0xJVkUQBGIGcHJvdG8z',
[file_personhog_types_v1_common]
)
@@ -728,6 +728,59 @@ export const UpdatePersonPropertiesResponseSchema: GenMessage<UpdatePersonProper
/*@__PURE__*/
messageDesc(file_personhog_types_v1_person, 21)
+/**
+ * @generated from message personhog.types.v1.RaisePersonVersionRequest
+ */
+export type RaisePersonVersionRequest = Message<'personhog.types.v1.RaisePersonVersionRequest'> & {
+ /**
+ * @generated from field: int64 team_id = 1;
+ */
+ teamId: bigint
+
+ /**
+ * @generated from field: int64 person_id = 2;
+ */
+ personId: bigint
+
+ /**
+ * @generated from field: int64 min_version = 3;
+ */
+ minVersion: bigint
+}
+
+/**
+ * Describes the message personhog.types.v1.RaisePersonVersionRequest.
+ * Use `create(RaisePersonVersionRequestSchema)` to create a new message.
+ */
+export const RaisePersonVersionRequestSchema: GenMessage<RaisePersonVersionRequest> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 22)
+
+/**
+ * @generated from message personhog.types.v1.RaisePersonVersionResponse
+ */
+export type RaisePersonVersionResponse = Message<'personhog.types.v1.RaisePersonVersionResponse'> & {
+ /**
+ * @generated from field: optional personhog.types.v1.Person person = 1;
+ */
+ person?: Person
+
+ /**
+ * Whether this call wrote a document.
+ *
+ * @generated from field: bool raised = 2;
+ */
+ raised: boolean
+}
+
+/**
+ * Describes the message personhog.types.v1.RaisePersonVersionResponse.
+ * Use `create(RaisePersonVersionResponseSchema)` to create a new message.
+ */
+export const RaisePersonVersionResponseSchema: GenMessage<RaisePersonVersionResponse> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 23)
+
/**
* DeletePersonsRequest deletes persons from Postgres by UUID, together with
* their posthog_persondistinctid, posthog_cohortpeople and
@@ -760,7 +813,7 @@ export type DeletePersonsRequest = Message<'personhog.types.v1.DeletePersonsRequ
*/
export const DeletePersonsRequestSchema: GenMessage<DeletePersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 22)
+ messageDesc(file_personhog_types_v1_person, 24)
/**
* @generated from message personhog.types.v1.TombstonedDistinctId
@@ -783,7 +836,7 @@ export type TombstonedDistinctId = Message<'personhog.types.v1.TombstonedDistinc
*/
export const TombstonedDistinctIdSchema: GenMessage<TombstonedDistinctId> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 23)
+ messageDesc(file_personhog_types_v1_person, 25)
/**
* @generated from message personhog.types.v1.TombstonedPerson
@@ -811,7 +864,7 @@ export type TombstonedPerson = Message<'personhog.types.v1.TombstonedPerson'> &
*/
export const TombstonedPersonSchema: GenMessage<TombstonedPerson> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 24)
+ messageDesc(file_personhog_types_v1_person, 26)
/**
* @generated from message personhog.types.v1.DeletePersonsResponse
@@ -847,7 +900,7 @@ export type DeletePersonsResponse = Message<'personhog.types.v1.DeletePersonsRes
*/
export const DeletePersonsResponseSchema: GenMessage<DeletePersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 25)
+ messageDesc(file_personhog_types_v1_person, 27)
/**
* @generated from message personhog.types.v1.GetPersonTombstonesRequest
@@ -870,7 +923,7 @@ export type GetPersonTombstonesRequest = Message<'personhog.types.v1.GetPersonTo
*/
export const GetPersonTombstonesRequestSchema: GenMessage<GetPersonTombstonesRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 26)
+ messageDesc(file_personhog_types_v1_person, 28)
/**
* @generated from message personhog.types.v1.GetPersonTombstonesResponse
@@ -888,7 +941,7 @@ export type GetPersonTombstonesResponse = Message<'personhog.types.v1.GetPersonT
*/
export const GetPersonTombstonesResponseSchema: GenMessage<GetPersonTombstonesResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 27)
+ messageDesc(file_personhog_types_v1_person, 29)
/**
* @generated from message personhog.types.v1.AckedPersonTombstone
@@ -911,7 +964,7 @@ export type AckedPersonTombstone = Message<'personhog.types.v1.AckedPersonTombst
*/
export const AckedPersonTombstoneSchema: GenMessage<AckedPersonTombstone> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 28)
+ messageDesc(file_personhog_types_v1_person, 30)
/**
* @generated from message personhog.types.v1.AckPersonTombstonesRequest
@@ -934,7 +987,7 @@ export type AckPersonTombstonesRequest = Message<'personhog.types.v1.AckPersonTo
*/
export const AckPersonTombstonesRequestSchema: GenMessage<AckPersonTombstonesRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 29)
+ messageDesc(file_personhog_types_v1_person, 31)
/**
* @generated from message personhog.types.v1.AckPersonTombstonesResponse
@@ -952,7 +1005,7 @@ export type AckPersonTombstonesResponse = Message<'personhog.types.v1.AckPersonT
*/
export const AckPersonTombstonesResponseSchema: GenMessage<AckPersonTombstonesResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 30)
+ messageDesc(file_personhog_types_v1_person, 32)
/**
* @generated from message personhog.types.v1.ListPersonTombstoneQueueRequest
@@ -985,7 +1038,7 @@ export type ListPersonTombstoneQueueRequest = Message<'personhog.types.v1.ListPe
*/
export const ListPersonTombstoneQueueRequestSchema: GenMessage<ListPersonTombstoneQueueRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 31)
+ messageDesc(file_personhog_types_v1_person, 33)
/**
* @generated from message personhog.types.v1.PersonTombstoneQueueEntry
@@ -1018,7 +1071,7 @@ export type PersonTombstoneQueueEntry = Message<'personhog.types.v1.PersonTombst
*/
export const PersonTombstoneQueueEntrySchema: GenMessage<PersonTombstoneQueueEntry> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 32)
+ messageDesc(file_personhog_types_v1_person, 34)
/**
* @generated from message personhog.types.v1.ListPersonTombstoneQueueResponse
@@ -1036,7 +1089,7 @@ export type ListPersonTombstoneQueueResponse = Message<'personhog.types.v1.ListP
*/
export const ListPersonTombstoneQueueResponseSchema: GenMessage<ListPersonTombstoneQueueResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 33)
+ messageDesc(file_personhog_types_v1_person, 35)
/**
* DeletePersonsBatchForTeamRequest deletes up to batch_size persons for a team.
@@ -1066,7 +1119,7 @@ export type DeletePersonsBatchForTeamRequest = Message<'personhog.types.v1.Delet
*/
export const DeletePersonsBatchForTeamRequestSchema: GenMessage<DeletePersonsBatchForTeamRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 34)
+ messageDesc(file_personhog_types_v1_person, 36)
/**
* @generated from message personhog.types.v1.DeletePersonsBatchForTeamResponse
@@ -1086,7 +1139,7 @@ export type DeletePersonsBatchForTeamResponse = Message<'personhog.types.v1.Dele
*/
export const DeletePersonsBatchForTeamResponseSchema: GenMessage<DeletePersonsBatchForTeamResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 35)
+ messageDesc(file_personhog_types_v1_person, 37)
/**
* DeleteTombstonedPersonsRequest deletes persons only while they are still
@@ -1137,7 +1190,7 @@ export type DeleteTombstonedPersonsRequest = Message<'personhog.types.v1.DeleteT
*/
export const DeleteTombstonedPersonsRequestSchema: GenMessage<DeleteTombstonedPersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 36)
+ messageDesc(file_personhog_types_v1_person, 38)
/**
* @generated from message personhog.types.v1.VersionBoundedPerson
@@ -1163,7 +1216,7 @@ export type VersionBoundedPerson = Message<'personhog.types.v1.VersionBoundedPer
*/
export const VersionBoundedPersonSchema: GenMessage<VersionBoundedPerson> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 37)
+ messageDesc(file_personhog_types_v1_person, 39)
/**
* @generated from message personhog.types.v1.DeleteTombstonedPersonsResponse
@@ -1229,7 +1282,7 @@ export type DeleteTombstonedPersonsResponse = Message<'personhog.types.v1.Delete
*/
export const DeleteTombstonedPersonsResponseSchema: GenMessage<DeleteTombstonedPersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 38)
+ messageDesc(file_personhog_types_v1_person, 40)
/**
* SplitPersonRequest splits specific distinct_ids off of a person onto new persons.
@@ -1267,7 +1320,7 @@ export type SplitPersonRequest = Message<'personhog.types.v1.SplitPersonRequest'
*/
export const SplitPersonRequestSchema: GenMessage<SplitPersonRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 39)
+ messageDesc(file_personhog_types_v1_person, 41)
/**
* SplitResult describes a single distinct_id that was split onto a new person.
@@ -1309,7 +1362,7 @@ export type SplitResult = Message<'personhog.types.v1.SplitResult'> & {
* Describes the message personhog.types.v1.SplitResult.
* Use `create(SplitResultSchema)` to create a new message.
*/
-export const SplitResultSchema: GenMessage<SplitResult> = /*@__PURE__*/ messageDesc(file_personhog_types_v1_person, 40)
+export const SplitResultSchema: GenMessage<SplitResult> = /*@__PURE__*/ messageDesc(file_personhog_types_v1_person, 42)
/**
* @generated from message personhog.types.v1.SplitPersonResponse
@@ -1329,7 +1382,7 @@ export type SplitPersonResponse = Message<'personhog.types.v1.SplitPersonRespons
*/
export const SplitPersonResponseSchema: GenMessage<SplitPersonResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 41)
+ messageDesc(file_personhog_types_v1_person, 43)
/**
* SetPersonDistinctIdVersionFloorRequest bumps a person_distinct_id row's version.
@@ -1366,7 +1419,7 @@ export type SetPersonDistinctIdVersionFloorRequest =
*/
export const SetPersonDistinctIdVersionFloorRequestSchema: GenMessage<SetPersonDistinctIdVersionFloorRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 42)
+ messageDesc(file_personhog_types_v1_person, 44)
/**
* @generated from message personhog.types.v1.SetPersonDistinctIdVersionFloorResponse
@@ -1389,7 +1442,7 @@ export type SetPersonDistinctIdVersionFloorResponse =
*/
export const SetPersonDistinctIdVersionFloorResponseSchema: GenMessage<SetPersonDistinctIdVersionFloorResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 43)
+ messageDesc(file_personhog_types_v1_person, 45)
/**
* SetPersonVersionFloorRequest bumps a person's version. Used by the undelete repair
@@ -1424,7 +1477,7 @@ export type SetPersonVersionFloorRequest = Message<'personhog.types.v1.SetPerson
*/
export const SetPersonVersionFloorRequestSchema: GenMessage<SetPersonVersionFloorRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 44)
+ messageDesc(file_personhog_types_v1_person, 46)
/**
* @generated from message personhog.types.v1.SetPersonVersionFloorResponse
@@ -1444,7 +1497,7 @@ export type SetPersonVersionFloorResponse = Message<'personhog.types.v1.SetPerso
*/
export const SetPersonVersionFloorResponseSchema: GenMessage<SetPersonVersionFloorResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 45)
+ messageDesc(file_personhog_types_v1_person, 47)
/**
* @generated from message personhog.types.v1.PersonVersionFloor
@@ -1467,7 +1520,7 @@ export type PersonVersionFloor = Message<'personhog.types.v1.PersonVersionFloor'
*/
export const PersonVersionFloorSchema: GenMessage<PersonVersionFloor> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 46)
+ messageDesc(file_personhog_types_v1_person, 48)
/**
* EnsurePersonVersionFloorsRequest raises each person tombstone to at least min_version in one transaction,
@@ -1497,7 +1550,7 @@ export type EnsurePersonVersionFloorsRequest = Message<'personhog.types.v1.Ensur
*/
export const EnsurePersonVersionFloorsRequestSchema: GenMessage<EnsurePersonVersionFloorsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 47)
+ messageDesc(file_personhog_types_v1_person, 49)
/**
* @generated from message personhog.types.v1.PersonVersionFloorResult
@@ -1527,7 +1580,7 @@ export type PersonVersionFloorResult = Message<'personhog.types.v1.PersonVersion
*/
export const PersonVersionFloorResultSchema: GenMessage<PersonVersionFloorResult> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 48)
+ messageDesc(file_personhog_types_v1_person, 50)
/**
* @generated from message personhog.types.v1.EnsurePersonVersionFloorsResponse
@@ -1547,7 +1600,7 @@ export type EnsurePersonVersionFloorsResponse = Message<'personhog.types.v1.Ensu
*/
export const EnsurePersonVersionFloorsResponseSchema: GenMessage<EnsurePersonVersionFloorsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 49)
+ messageDesc(file_personhog_types_v1_person, 51)
/**
* FencePersonRequest freezes a person for a lifecycle operation (see
@@ -1584,7 +1637,7 @@ export type FencePersonRequest = Message<'personhog.types.v1.FencePersonRequest'
*/
export const FencePersonRequestSchema: GenMessage<FencePersonRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 50)
+ messageDesc(file_personhog_types_v1_person, 52)
/**
* @generated from message personhog.types.v1.FencePersonResponse
@@ -1613,7 +1666,7 @@ export type FencePersonResponse = Message<'personhog.types.v1.FencePersonRespons
*/
export const FencePersonResponseSchema: GenMessage<FencePersonResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 51)
+ messageDesc(file_personhog_types_v1_person, 53)
/**
* FencePersonsRequest freezes many persons of one op in one call (see
@@ -1650,7 +1703,7 @@ export type FencePersonsRequest = Message<'personhog.types.v1.FencePersonsReques
*/
export const FencePersonsRequestSchema: GenMessage<FencePersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 52)
+ messageDesc(file_personhog_types_v1_person, 54)
/**
* Every requested person id lands in exactly one of the two lists; a
@@ -1684,7 +1737,7 @@ export type FencePersonsResponse = Message<'personhog.types.v1.FencePersonsRespo
*/
export const FencePersonsResponseSchema: GenMessage<FencePersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 53)
+ messageDesc(file_personhog_types_v1_person, 55)
/**
* @generated from message personhog.types.v1.FencedPersonSeal
@@ -1717,7 +1770,7 @@ export type FencedPersonSeal = Message<'personhog.types.v1.FencedPersonSeal'> &
*/
export const FencedPersonSealSchema: GenMessage<FencedPersonSeal> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 54)
+ messageDesc(file_personhog_types_v1_person, 56)
/**
* ReleaseFenceRequest closes a fence (see PersonHogLeader.ReleaseFence).
@@ -1801,7 +1854,7 @@ export type ReleaseFenceRequest = Message<'personhog.types.v1.ReleaseFenceReques
*/
export const ReleaseFenceRequestSchema: GenMessage<ReleaseFenceRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 55)
+ messageDesc(file_personhog_types_v1_person, 57)
/**
* @generated from message personhog.types.v1.ReleaseFenceResponse
@@ -1814,7 +1867,7 @@ export type ReleaseFenceResponse = Message<'personhog.types.v1.ReleaseFenceRespo
*/
export const ReleaseFenceResponseSchema: GenMessage<ReleaseFenceResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 56)
+ messageDesc(file_personhog_types_v1_person, 58)
/**
* ReleaseFencesRequest closes many fences of one op in one call (see
@@ -1851,7 +1904,7 @@ export type ReleaseFencesRequest = Message<'personhog.types.v1.ReleaseFencesRequ
*/
export const ReleaseFencesRequestSchema: GenMessage<ReleaseFencesRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 57)
+ messageDesc(file_personhog_types_v1_person, 59)
/**
* @generated from message personhog.types.v1.ReleaseFenceItem
@@ -1895,7 +1948,7 @@ export type ReleaseFenceItem = Message<'personhog.types.v1.ReleaseFenceItem'> &
*/
export const ReleaseFenceItemSchema: GenMessage<ReleaseFenceItem> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 58)
+ messageDesc(file_personhog_types_v1_person, 60)
/**
* @generated from message personhog.types.v1.ReleaseFencesResponse
@@ -1908,7 +1961,7 @@ export type ReleaseFencesResponse = Message<'personhog.types.v1.ReleaseFencesRes
*/
export const ReleaseFencesResponseSchema: GenMessage<ReleaseFencesResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 59)
+ messageDesc(file_personhog_types_v1_person, 61)
/**
* A sealed source snapshot paired with its precedence ordinal — the
@@ -1936,7 +1989,7 @@ export type SealedSourceSnapshot = Message<'personhog.types.v1.SealedSourceSnaps
*/
export const SealedSourceSnapshotSchema: GenMessage<SealedSourceSnapshot> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 60)
+ messageDesc(file_personhog_types_v1_person, 62)
/**
* FoldPersonDocumentRequest folds sealed source snapshots into the merge
@@ -2012,7 +2065,7 @@ export type FoldPersonDocumentRequest = Message<'personhog.types.v1.FoldPersonDo
*/
export const FoldPersonDocumentRequestSchema: GenMessage<FoldPersonDocumentRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 61)
+ messageDesc(file_personhog_types_v1_person, 63)
/**
* @generated from message personhog.types.v1.FoldPersonDocumentResponse
@@ -2040,7 +2093,7 @@ export type FoldPersonDocumentResponse = Message<'personhog.types.v1.FoldPersonD
*/
export const FoldPersonDocumentResponseSchema: GenMessage<FoldPersonDocumentResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 62)
+ messageDesc(file_personhog_types_v1_person, 64)
/**
* A persons-database mapping row, live or tombstoned, with the state of the person it points at.
@@ -2089,7 +2142,7 @@ export type DistinctIdRow = Message<'personhog.types.v1.DistinctIdRow'> & {
*/
export const DistinctIdRowSchema: GenMessage<DistinctIdRow> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 63)
+ messageDesc(file_personhog_types_v1_person, 65)
/**
* @generated from message personhog.types.v1.GetDistinctIdRowsRequest
@@ -2119,7 +2172,7 @@ export type GetDistinctIdRowsRequest = Message<'personhog.types.v1.GetDistinctId
*/
export const GetDistinctIdRowsRequestSchema: GenMessage<GetDistinctIdRowsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 64)
+ messageDesc(file_personhog_types_v1_person, 66)
/**
* @generated from message personhog.types.v1.GetDistinctIdRowsResponse
@@ -2137,7 +2190,7 @@ export type GetDistinctIdRowsResponse = Message<'personhog.types.v1.GetDistinctI
*/
export const GetDistinctIdRowsResponseSchema: GenMessage<GetDistinctIdRowsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 65)
+ messageDesc(file_personhog_types_v1_person, 67)
/**
* One persons-database person row, live or tombstoned, without properties.
@@ -2184,7 +2237,7 @@ export type PersonListEntry = Message<'personhog.types.v1.PersonListEntry'> & {
*/
export const PersonListEntrySchema: GenMessage<PersonListEntry> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 66)
+ messageDesc(file_personhog_types_v1_person, 68)
/**
* @generated from message personhog.types.v1.ListPersonsForTeamRequest
@@ -2228,7 +2281,7 @@ export type ListPersonsForTeamRequest = Message<'personhog.types.v1.ListPersonsF
*/
export const ListPersonsForTeamRequestSchema: GenMessage<ListPersonsForTeamRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 67)
+ messageDesc(file_personhog_types_v1_person, 69)
/**
* @generated from message personhog.types.v1.ListPersonsForTeamResponse
@@ -2253,7 +2306,7 @@ export type ListPersonsForTeamResponse = Message<'personhog.types.v1.ListPersons
*/
export const ListPersonsForTeamResponseSchema: GenMessage<ListPersonsForTeamResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 68)
+ messageDesc(file_personhog_types_v1_person, 70)
/**
* Raise live persons' versions for the person consistency repair. Tombstoned and
@@ -2281,7 +2334,7 @@ export type RaisePersonVersionFloorsRequest = Message<'personhog.types.v1.RaiseP
*/
export const RaisePersonVersionFloorsRequestSchema: GenMessage<RaisePersonVersionFloorsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 69)
+ messageDesc(file_personhog_types_v1_person, 71)
/**
* @generated from message personhog.types.v1.RaisePersonVersionFloorResult
@@ -2311,7 +2364,7 @@ export type RaisePersonVersionFloorResult = Message<'personhog.types.v1.RaisePer
*/
export const RaisePersonVersionFloorResultSchema: GenMessage<RaisePersonVersionFloorResult> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 70)
+ messageDesc(file_personhog_types_v1_person, 72)
/**
* @generated from message personhog.types.v1.RaisePersonVersionFloorsResponse
@@ -2329,7 +2382,7 @@ export type RaisePersonVersionFloorsResponse = Message<'personhog.types.v1.Raise
*/
export const RaisePersonVersionFloorsResponseSchema: GenMessage<RaisePersonVersionFloorsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 71)
+ messageDesc(file_personhog_types_v1_person, 73)
/**
* A person to insert from its ClickHouse copy.
@@ -2380,7 +2433,7 @@ export type RestoredPerson = Message<'personhog.types.v1.RestoredPerson'> & {
*/
export const RestoredPersonSchema: GenMessage<RestoredPerson> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 72)
+ messageDesc(file_personhog_types_v1_person, 74)
/**
* @generated from message personhog.types.v1.RestoredDistinctId
@@ -2403,7 +2456,7 @@ export type RestoredDistinctId = Message<'personhog.types.v1.RestoredDistinctId'
*/
export const RestoredDistinctIdSchema: GenMessage<RestoredDistinctId> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 73)
+ messageDesc(file_personhog_types_v1_person, 75)
/**
* @generated from message personhog.types.v1.RestorePersonsRequest
@@ -2428,7 +2481,7 @@ export type RestorePersonsRequest = Message<'personhog.types.v1.RestorePersonsRe
*/
export const RestorePersonsRequestSchema: GenMessage<RestorePersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 74)
+ messageDesc(file_personhog_types_v1_person, 76)
/**
* @generated from message personhog.types.v1.RestorePersonResult
@@ -2468,7 +2521,7 @@ export type RestorePersonResult = Message<'personhog.types.v1.RestorePersonResul
*/
export const RestorePersonResultSchema: GenMessage<RestorePersonResult> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 75)
+ messageDesc(file_personhog_types_v1_person, 77)
/**
* @generated from message personhog.types.v1.RestorePersonsResponse
@@ -2486,7 +2539,7 @@ export type RestorePersonsResponse = Message<'personhog.types.v1.RestorePersonsR
*/
export const RestorePersonsResponseSchema: GenMessage<RestorePersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 76)
+ messageDesc(file_personhog_types_v1_person, 78)
/**
* @generated from message personhog.types.v1.DistinctIdWrite
@@ -2528,7 +2581,7 @@ export type DistinctIdWrite = Message<'personhog.types.v1.DistinctIdWrite'> & {
*/
export const DistinctIdWriteSchema: GenMessage<DistinctIdWrite> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 77)
+ messageDesc(file_personhog_types_v1_person, 79)
/**
* @generated from message personhog.types.v1.WriteDistinctIdsRequest
@@ -2553,7 +2606,7 @@ export type WriteDistinctIdsRequest = Message<'personhog.types.v1.WriteDistinctI
*/
export const WriteDistinctIdsRequestSchema: GenMessage<WriteDistinctIdsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 78)
+ messageDesc(file_personhog_types_v1_person, 80)
/**
* @generated from message personhog.types.v1.DistinctIdWriteResult
@@ -2583,7 +2636,7 @@ export type DistinctIdWriteResult = Message<'personhog.types.v1.DistinctIdWriteR
*/
export const DistinctIdWriteResultSchema: GenMessage<DistinctIdWriteResult> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 79)
+ messageDesc(file_personhog_types_v1_person, 81)
/**
* @generated from message personhog.types.v1.WriteDistinctIdsResponse
@@ -2601,7 +2654,7 @@ export type WriteDistinctIdsResponse = Message<'personhog.types.v1.WriteDistinct
*/
export const WriteDistinctIdsResponseSchema: GenMessage<WriteDistinctIdsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 80)
+ messageDesc(file_personhog_types_v1_person, 82)
/**
* How DeletePersons removes the rows.
diff --git a/nodejs/src/common/personhog/client.test.ts b/nodejs/src/common/personhog/client.test.ts
index 48bb01e434ed..d3a9806a93b3 100644
--- a/nodejs/src/common/personhog/client.test.ts
+++ b/nodejs/src/common/personhog/client.test.ts
@@ -160,6 +160,7 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {
releaseFence: () => ({}),
releaseFences: () => ({}),
foldPersonDocument: () => ({}),
+ raisePersonVersion: () => ({ raised: false }),
}
function createMockClient(overrides: Partial<ServiceImpl<typeof PersonHogService>> = {}): PersonHogClient {
diff --git a/nodejs/src/common/personhog/persons.test.ts b/nodejs/src/common/personhog/persons.test.ts
index 54f1150a5376..5a5f0a70c60f 100644
--- a/nodejs/src/common/personhog/persons.test.ts
+++ b/nodejs/src/common/personhog/persons.test.ts
@@ -95,6 +95,7 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {
releaseFence: () => ({}),
releaseFences: () => ({}),
foldPersonDocument: () => ({}),
+ raisePersonVersion: () => ({ raised: false }),
}
function createOperations(overrides: Partial<ServiceImpl<typeof PersonHogService>> = {}): {
diff --git a/packages/personhog-proto/personhog/service/v1/service_pb2.py b/packages/personhog-proto/personhog/service/v1/service_pb2.py
index 0611a0bd5657..23c1b533daff 100644
--- a/packages/personhog-proto/personhog/service/v1/service_pb2.py
+++ b/packages/personhog-proto/personhog/service/v1/service_pb2.py
@@ -28,7 +28,7 @@ from personhog.types.v1 import (
)
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
- b"\n\"personhog/service/v1/service.proto\x12\x14personhog.service.v1\x1a\x1fpersonhog/types/v1/person.proto\x1a\x1epersonhog/types/v1/group.proto\x1a\x1fpersonhog/types/v1/cohort.proto\x1a%personhog/types/v1/feature_flag.proto2\xa6\x34\n\x10PersonHogService\x12X\n\tGetPerson\x12$.personhog.types.v1.GetPersonRequest\x1a%.personhog.types.v1.GetPersonResponse\x12X\n\nGetPersons\x12%.personhog.types.v1.GetPersonsRequest\x1a#.personhog.types.v1.PersonsResponse\x12\x64\n\x0fGetPersonByUuid\x12*.personhog.types.v1.GetPersonByUuidRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x66\n\x11GetPersonsByUuids\x12,.personhog.types.v1.GetPersonsByUuidsRequest\x1a#.personhog.types.v1.PersonsResponse\x12p\n\x15GetPersonByDistinctId\x12\x30.personhog.types.v1.GetPersonByDistinctIdRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x91\x01\n\x1dGetPersonsByDistinctIdsInTeam\x12\x38.personhog.types.v1.GetPersonsByDistinctIdsInTeamRequest\x1a\x36.personhog.types.v1.PersonsByDistinctIdsInTeamResponse\x12\x7f\n\x17GetPersonsByDistinctIds\x12\x32.personhog.types.v1.GetPersonsByDistinctIdsRequest\x1a\x30.personhog.types.v1.PersonsByDistinctIdsResponse\x12\x82\x01\n\x17GetDistinctIdsForPerson\x12\x32.personhog.types.v1.GetDistinctIdsForPersonRequest\x1a\x33.personhog.types.v1.GetDistinctIdsForPersonResponse\x12\x85\x01\n\x18GetDistinctIdsForPersons\x12\x33.personhog.types.v1.GetDistinctIdsForPersonsRequest\x1a\x34.personhog.types.v1.GetDistinctIdsForPersonsResponse\x12\x88\x01\n\x19GetHashKeyOverrideContext\x12\x34.personhog.types.v1.GetHashKeyOverrideContextRequest\x1a\x35.personhog.types.v1.GetHashKeyOverrideContextResponse\x12\x7f\n\x16UpsertHashKeyOverrides\x12\x31.personhog.types.v1.UpsertHashKeyOverridesRequest\x1a\x32.personhog.types.v1.UpsertHashKeyOverridesResponse\x12\x94\x01\n\x1d\x44\x65leteHashKeyOverridesByTeams\x12\x38.personhog.types.v1.DeleteHashKeyOverridesByTeamsRequest\x1a\x39.personhog.types.v1.DeleteHashKeyOverridesByTeamsResponse\x12w\n\x15\x43heckCohortMembership\x12\x30.personhog.types.v1.CheckCohortMembershipRequest\x1a,.personhog.types.v1.CohortMembershipResponse\x12s\n\x12\x43ountCohortMembers\x12-.personhog.types.v1.CountCohortMembersRequest\x1a..personhog.types.v1.CountCohortMembersResponse\x12s\n\x12\x44\x65leteCohortMember\x12-.personhog.types.v1.DeleteCohortMemberRequest\x1a..personhog.types.v1.DeleteCohortMemberResponse\x12\x82\x01\n\x17\x44\x65leteCohortMembersBulk\x12\x32.personhog.types.v1.DeleteCohortMembersBulkRequest\x1a\x33.personhog.types.v1.DeleteCohortMembersBulkResponse\x12v\n\x13InsertCohortMembers\x12..personhog.types.v1.InsertCohortMembersRequest\x1a/.personhog.types.v1.InsertCohortMembersResponse\x12v\n\x13ListCohortMemberIds\x12..personhog.types.v1.ListCohortMemberIdsRequest\x1a/.personhog.types.v1.ListCohortMemberIdsResponse\x12U\n\x08GetGroup\x12#.personhog.types.v1.GetGroupRequest\x1a$.personhog.types.v1.GetGroupResponse\x12U\n\tGetGroups\x12$.personhog.types.v1.GetGroupsRequest\x1a\".personhog.types.v1.GroupsResponse\x12g\n\x0eGetGroupsBatch\x12).personhog.types.v1.GetGroupsBatchRequest\x1a*.personhog.types.v1.GetGroupsBatchResponse\x12[\n\nListGroups\x12%.personhog.types.v1.ListGroupsRequest\x1a&.personhog.types.v1.ListGroupsResponse\x12\x86\x01\n\x1cGetGroupTypeMappingsByTeamId\x12\x37.personhog.types.v1.GetGroupTypeMappingsByTeamIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x8d\x01\n\x1dGetGroupTypeMappingsByTeamIds\x12\x38.personhog.types.v1.GetGroupTypeMappingsByTeamIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x8c\x01\n\x1fGetGroupTypeMappingsByProjectId\x12:.personhog.types.v1.GetGroupTypeMappingsByProjectIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x93\x01\n GetGroupTypeMappingsByProjectIds\x12;.personhog.types.v1.GetGroupTypeMappingsByProjectIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x9d\x01\n GetGroupTypeMappingByDashboardId\x12;.personhog.types.v1.GetGroupTypeMappingByDashboardIdRequest\x1a<.personhog.types.v1.GetGroupTypeMappingByDashboardIdResponse\x12\x7f\n\x16\x43ountGroupTypeMappings\x12\x31.personhog.types.v1.CountGroupTypeMappingsRequest\x1a\x32.personhog.types.v1.CountGroupTypeMappingsResponse\x12^\n\x0b\x43reateGroup\x12&.personhog.types.v1.CreateGroupRequest\x1a'.personhog.types.v1.CreateGroupResponse\x12^\n\x0bUpdateGroup\x12&.personhog.types.v1.UpdateGroupRequest\x1a'.personhog.types.v1.UpdateGroupResponse\x12\x85\x01\n\x18\x44\x65leteGroupsBatchForTeam\x12\x33.personhog.types.v1.DeleteGroupsBatchForTeamRequest\x1a\x34.personhog.types.v1.DeleteGroupsBatchForTeamResponse\x12\x7f\n\x16UpdateGroupTypeMapping\x12\x31.personhog.types.v1.UpdateGroupTypeMappingRequest\x1a\x32.personhog.types.v1.UpdateGroupTypeMappingResponse\x12\x7f\n\x16\x44\x65leteGroupTypeMapping\x12\x31.personhog.types.v1.DeleteGroupTypeMappingRequest\x1a\x32.personhog.types.v1.DeleteGroupTypeMappingResponse\x12\xa6\x01\n#DeleteGroupTypeMappingsBatchForTeam\x12>.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamRequest\x1a?.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamResponse\x12\x7f\n\x16UpdatePersonProperties\x12\x31.personhog.types.v1.UpdatePersonPropertiesRequest\x1a\x32.personhog.types.v1.UpdatePersonPropertiesResponse\x12^\n\x0b\x46\x65ncePerson\x12&.personhog.types.v1.FencePersonRequest\x1a'.personhog.types.v1.FencePersonResponse\x12\x61\n\x0c\x46\x65ncePersons\x12'.personhog.types.v1.FencePersonsRequest\x1a(.personhog.types.v1.FencePersonsResponse\x12\x61\n\x0cReleaseFence\x12'.personhog.types.v1.ReleaseFenceRequest\x1a(.personhog.types.v1.ReleaseFenceResponse\x12\x64\n\rReleaseFences\x12(.personhog.types.v1.ReleaseFencesRequest\x1a).personhog.types.v1.ReleaseFencesResponse\x12s\n\x12\x46oldPersonDocument\x12-.personhog.types.v1.FoldPersonDocumentRequest\x1a..personhog.types.v1.FoldPersonDocumentResponse\x12\x64\n\rDeletePersons\x12(.personhog.types.v1.DeletePersonsRequest\x1a).personhog.types.v1.DeletePersonsResponse\x12\x88\x01\n\x19\x44\x65letePersonsBatchForTeam\x12\x34.personhog.types.v1.DeletePersonsBatchForTeamRequest\x1a\x35.personhog.types.v1.DeletePersonsBatchForTeamResponse\x12\x82\x01\n\x17\x44\x65leteTombstonedPersons\x12\x32.personhog.types.v1.DeleteTombstonedPersonsRequest\x1a\x33.personhog.types.v1.DeleteTombstonedPersonsResponse\x12v\n\x13GetPersonTombstones\x12..personhog.types.v1.GetPersonTombstonesRequest\x1a/.personhog.types.v1.GetPersonTombstonesResponse\x12v\n\x13\x41\x63kPersonTombstones\x12..personhog.types.v1.AckPersonTombstonesRequest\x1a/.personhog.types.v1.AckPersonTombstonesResponse\x12\x85\x01\n\x18ListPersonTombstoneQueue\x12\x33.personhog.types.v1.ListPersonTombstoneQueueRequest\x1a\x34.personhog.types.v1.ListPersonTombstoneQueueResponse\x12^\n\x0bSplitPerson\x12&.personhog.types.v1.SplitPersonRequest\x1a'.personhog.types.v1.SplitPersonResponse\x12\x9a\x01\n\x1fSetPersonDistinctIdVersionFloor\x12:.personhog.types.v1.SetPersonDistinctIdVersionFloorRequest\x1a;.personhog.types.v1.SetPersonDistinctIdVersionFloorResponse\x12|\n\x15SetPersonVersionFloor\x12\x30.personhog.types.v1.SetPersonVersionFloorRequest\x1a\x31.personhog.types.v1.SetPersonVersionFloorResponse\x12\x88\x01\n\x19\x45nsurePersonVersionFloors\x12\x34.personhog.types.v1.EnsurePersonVersionFloorsRequest\x1a\x35.personhog.types.v1.EnsurePersonVersionFloorsResponse\x12p\n\x11GetDistinctIdRows\x12,.personhog.types.v1.GetDistinctIdRowsRequest\x1a-.personhog.types.v1.GetDistinctIdRowsResponse\x12s\n\x12ListPersonsForTeam\x12-.personhog.types.v1.ListPersonsForTeamRequest\x1a..personhog.types.v1.ListPersonsForTeamResponse\x12\x85\x01\n\x18RaisePersonVersionFloors\x12\x33.personhog.types.v1.RaisePersonVersionFloorsRequest\x1a\x34.personhog.types.v1.RaisePersonVersionFloorsResponse\x12g\n\x0eRestorePersons\x12).personhog.types.v1.RestorePersonsRequest\x1a*.personhog.types.v1.RestorePersonsResponse\x12m\n\x10WriteDistinctIds\x12+.personhog.types.v1.WriteDistinctIdsRequest\x1a,.personhog.types.v1.WriteDistinctIdsResponseb\x06proto3"
+ b"\n\"personhog/service/v1/service.proto\x12\x14personhog.service.v1\x1a\x1fpersonhog/types/v1/person.proto\x1a\x1epersonhog/types/v1/group.proto\x1a\x1fpersonhog/types/v1/cohort.proto\x1a%personhog/types/v1/feature_flag.proto2\x9b\x35\n\x10PersonHogService\x12X\n\tGetPerson\x12$.personhog.types.v1.GetPersonRequest\x1a%.personhog.types.v1.GetPersonResponse\x12X\n\nGetPersons\x12%.personhog.types.v1.GetPersonsRequest\x1a#.personhog.types.v1.PersonsResponse\x12\x64\n\x0fGetPersonByUuid\x12*.personhog.types.v1.GetPersonByUuidRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x66\n\x11GetPersonsByUuids\x12,.personhog.types.v1.GetPersonsByUuidsRequest\x1a#.personhog.types.v1.PersonsResponse\x12p\n\x15GetPersonByDistinctId\x12\x30.personhog.types.v1.GetPersonByDistinctIdRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x91\x01\n\x1dGetPersonsByDistinctIdsInTeam\x12\x38.personhog.types.v1.GetPersonsByDistinctIdsInTeamRequest\x1a\x36.personhog.types.v1.PersonsByDistinctIdsInTeamResponse\x12\x7f\n\x17GetPersonsByDistinctIds\x12\x32.personhog.types.v1.GetPersonsByDistinctIdsRequest\x1a\x30.personhog.types.v1.PersonsByDistinctIdsResponse\x12\x82\x01\n\x17GetDistinctIdsForPerson\x12\x32.personhog.types.v1.GetDistinctIdsForPersonRequest\x1a\x33.personhog.types.v1.GetDistinctIdsForPersonResponse\x12\x85\x01\n\x18GetDistinctIdsForPersons\x12\x33.personhog.types.v1.GetDistinctIdsForPersonsRequest\x1a\x34.personhog.types.v1.GetDistinctIdsForPersonsResponse\x12\x88\x01\n\x19GetHashKeyOverrideContext\x12\x34.personhog.types.v1.GetHashKeyOverrideContextRequest\x1a\x35.personhog.types.v1.GetHashKeyOverrideContextResponse\x12\x7f\n\x16UpsertHashKeyOverrides\x12\x31.personhog.types.v1.UpsertHashKeyOverridesRequest\x1a\x32.personhog.types.v1.UpsertHashKeyOverridesResponse\x12\x94\x01\n\x1d\x44\x65leteHashKeyOverridesByTeams\x12\x38.personhog.types.v1.DeleteHashKeyOverridesByTeamsRequest\x1a\x39.personhog.types.v1.DeleteHashKeyOverridesByTeamsResponse\x12w\n\x15\x43heckCohortMembership\x12\x30.personhog.types.v1.CheckCohortMembershipRequest\x1a,.personhog.types.v1.CohortMembershipResponse\x12s\n\x12\x43ountCohortMembers\x12-.personhog.types.v1.CountCohortMembersRequest\x1a..personhog.types.v1.CountCohortMembersResponse\x12s\n\x12\x44\x65leteCohortMember\x12-.personhog.types.v1.DeleteCohortMemberRequest\x1a..personhog.types.v1.DeleteCohortMemberResponse\x12\x82\x01\n\x17\x44\x65leteCohortMembersBulk\x12\x32.personhog.types.v1.DeleteCohortMembersBulkRequest\x1a\x33.personhog.types.v1.DeleteCohortMembersBulkResponse\x12v\n\x13InsertCohortMembers\x12..personhog.types.v1.InsertCohortMembersRequest\x1a/.personhog.types.v1.InsertCohortMembersResponse\x12v\n\x13ListCohortMemberIds\x12..personhog.types.v1.ListCohortMemberIdsRequest\x1a/.personhog.types.v1.ListCohortMemberIdsResponse\x12U\n\x08GetGroup\x12#.personhog.types.v1.GetGroupRequest\x1a$.personhog.types.v1.GetGroupResponse\x12U\n\tGetGroups\x12$.personhog.types.v1.GetGroupsRequest\x1a\".personhog.types.v1.GroupsResponse\x12g\n\x0eGetGroupsBatch\x12).personhog.types.v1.GetGroupsBatchRequest\x1a*.personhog.types.v1.GetGroupsBatchResponse\x12[\n\nListGroups\x12%.personhog.types.v1.ListGroupsRequest\x1a&.personhog.types.v1.ListGroupsResponse\x12\x86\x01\n\x1cGetGroupTypeMappingsByTeamId\x12\x37.personhog.types.v1.GetGroupTypeMappingsByTeamIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x8d\x01\n\x1dGetGroupTypeMappingsByTeamIds\x12\x38.personhog.types.v1.GetGroupTypeMappingsByTeamIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x8c\x01\n\x1fGetGroupTypeMappingsByProjectId\x12:.personhog.types.v1.GetGroupTypeMappingsByProjectIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x93\x01\n GetGroupTypeMappingsByProjectIds\x12;.personhog.types.v1.GetGroupTypeMappingsByProjectIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x9d\x01\n GetGroupTypeMappingByDashboardId\x12;.personhog.types.v1.GetGroupTypeMappingByDashboardIdRequest\x1a<.personhog.types.v1.GetGroupTypeMappingByDashboardIdResponse\x12\x7f\n\x16\x43ountGroupTypeMappings\x12\x31.personhog.types.v1.CountGroupTypeMappingsRequest\x1a\x32.personhog.types.v1.CountGroupTypeMappingsResponse\x12^\n\x0b\x43reateGroup\x12&.personhog.types.v1.CreateGroupRequest\x1a'.personhog.types.v1.CreateGroupResponse\x12^\n\x0bUpdateGroup\x12&.personhog.types.v1.UpdateGroupRequest\x1a'.personhog.types.v1.UpdateGroupResponse\x12\x85\x01\n\x18\x44\x65leteGroupsBatchForTeam\x12\x33.personhog.types.v1.DeleteGroupsBatchForTeamRequest\x1a\x34.personhog.types.v1.DeleteGroupsBatchForTeamResponse\x12\x7f\n\x16UpdateGroupTypeMapping\x12\x31.personhog.types.v1.UpdateGroupTypeMappingRequest\x1a\x32.personhog.types.v1.UpdateGroupTypeMappingResponse\x12\x7f\n\x16\x44\x65leteGroupTypeMapping\x12\x31.personhog.types.v1.DeleteGroupTypeMappingRequest\x1a\x32.personhog.types.v1.DeleteGroupTypeMappingResponse\x12\xa6\x01\n#DeleteGroupTypeMappingsBatchForTeam\x12>.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamRequest\x1a?.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamResponse\x12\x7f\n\x16UpdatePersonProperties\x12\x31.personhog.types.v1.UpdatePersonPropertiesRequest\x1a\x32.personhog.types.v1.UpdatePersonPropertiesResponse\x12^\n\x0b\x46\x65ncePerson\x12&.personhog.types.v1.FencePersonRequest\x1a'.personhog.types.v1.FencePersonResponse\x12\x61\n\x0c\x46\x65ncePersons\x12'.personhog.types.v1.FencePersonsRequest\x1a(.personhog.types.v1.FencePersonsResponse\x12\x61\n\x0cReleaseFence\x12'.personhog.types.v1.ReleaseFenceRequest\x1a(.personhog.types.v1.ReleaseFenceResponse\x12\x64\n\rReleaseFences\x12(.personhog.types.v1.ReleaseFencesRequest\x1a).personhog.types.v1.ReleaseFencesResponse\x12s\n\x12\x46oldPersonDocument\x12-.personhog.types.v1.FoldPersonDocumentRequest\x1a..personhog.types.v1.FoldPersonDocumentResponse\x12s\n\x12RaisePersonVersion\x12-.personhog.types.v1.RaisePersonVersionRequest\x1a..personhog.types.v1.RaisePersonVersionResponse\x12\x64\n\rDeletePersons\x12(.personhog.types.v1.DeletePersonsRequest\x1a).personhog.types.v1.DeletePersonsResponse\x12\x88\x01\n\x19\x44\x65letePersonsBatchForTeam\x12\x34.personhog.types.v1.DeletePersonsBatchForTeamRequest\x1a\x35.personhog.types.v1.DeletePersonsBatchForTeamResponse\x12\x82\x01\n\x17\x44\x65leteTombstonedPersons\x12\x32.personhog.types.v1.DeleteTombstonedPersonsRequest\x1a\x33.personhog.types.v1.DeleteTombstonedPersonsResponse\x12v\n\x13GetPersonTombstones\x12..personhog.types.v1.GetPersonTombstonesRequest\x1a/.personhog.types.v1.GetPersonTombstonesResponse\x12v\n\x13\x41\x63kPersonTombstones\x12..personhog.types.v1.AckPersonTombstonesRequest\x1a/.personhog.types.v1.AckPersonTombstonesResponse\x12\x85\x01\n\x18ListPersonTombstoneQueue\x12\x33.personhog.types.v1.ListPersonTombstoneQueueRequest\x1a\x34.personhog.types.v1.ListPersonTombstoneQueueResponse\x12^\n\x0bSplitPerson\x12&.personhog.types.v1.SplitPersonRequest\x1a'.personhog.types.v1.SplitPersonResponse\x12\x9a\x01\n\x1fSetPersonDistinctIdVersionFloor\x12:.personhog.types.v1.SetPersonDistinctIdVersionFloorRequest\x1a;.personhog.types.v1.SetPersonDistinctIdVersionFloorResponse\x12|\n\x15SetPersonVersionFloor\x12\x30.personhog.types.v1.SetPersonVersionFloorRequest\x1a\x31.personhog.types.v1.SetPersonVersionFloorResponse\x12\x88\x01\n\x19\x45nsurePersonVersionFloors\x12\x34.personhog.types.v1.EnsurePersonVersionFloorsRequest\x1a\x35.personhog.types.v1.EnsurePersonVersionFloorsResponse\x12p\n\x11GetDistinctIdRows\x12,.personhog.types.v1.GetDistinctIdRowsRequest\x1a-.personhog.types.v1.GetDistinctIdRowsResponse\x12s\n\x12ListPersonsForTeam\x12-.personhog.types.v1.ListPersonsForTeamRequest\x1a..personhog.types.v1.ListPersonsForTeamResponse\x12\x85\x01\n\x18RaisePersonVersionFloors\x12\x33.personhog.types.v1.RaisePersonVersionFloorsRequest\x1a\x34.personhog.types.v1.RaisePersonVersionFloorsResponse\x12g\n\x0eRestorePersons\x12).personhog.types.v1.RestorePersonsRequest\x1a*.personhog.types.v1.RestorePersonsResponse\x12m\n\x10WriteDistinctIds\x12+.personhog.types.v1.WriteDistinctIdsRequest\x1a,.personhog.types.v1.WriteDistinctIdsResponseb\x06proto3"
)
_globals = globals()
@@ -37,5 +37,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "personhog.service.v1.servic
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals["_PERSONHOGSERVICE"]._serialized_start = 198
- _globals["_PERSONHOGSERVICE"]._serialized_end = 6892
+ _globals["_PERSONHOGSERVICE"]._serialized_end = 7009
# @@protoc_insertion_point(module_scope)
diff --git a/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py b/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py
index bfafeb448eb0..50005f46e688 100644
--- a/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py
+++ b/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py
@@ -282,6 +282,12 @@ class PersonHogServiceStub:
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentResponse.FromString,
_registered_method=True,
)
+ self.RaisePersonVersion = channel.unary_unary(
+ "/personhog.service.v1.PersonHogService/RaisePersonVersion",
+ request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.SerializeToString,
+ response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.FromString,
+ _registered_method=True,
+ )
self.DeletePersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeletePersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsRequest.SerializeToString,
@@ -622,6 +628,12 @@ class PersonHogServiceServicer:
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
+ def RaisePersonVersion(self, request, context):
+ """Consistency repair version raise (routed to leader)"""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
def DeletePersons(self, request, context):
"""Person deletes
DeletePersons tombstones the persons and reports the versions written. A caller that
@@ -935,6 +947,11 @@ def add_PersonHogServiceServicer_to_server(servicer, server):
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentResponse.SerializeToString,
),
+ "RaisePersonVersion": grpc.unary_unary_rpc_method_handler(
+ servicer.RaisePersonVersion,
+ request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.FromString,
+ response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.SerializeToString,
+ ),
"DeletePersons": grpc.unary_unary_rpc_method_handler(
servicer.DeletePersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsRequest.FromString,
@@ -2222,6 +2239,36 @@ class PersonHogService:
_registered_method=True,
)
+ @staticmethod
+ def RaisePersonVersion(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/personhog.service.v1.PersonHogService/RaisePersonVersion",
+ personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.SerializeToString,
+ personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ _registered_method=True,
+ )
+
@staticmethod
def DeletePersons(
request,
diff --git a/packages/personhog-proto/personhog/types/v1/person_pb2.py b/packages/personhog-proto/personhog/types/v1/person_pb2.py
index 2ca8034d510c..7cb4cbb2ac99 100644
--- a/packages/personhog-proto/personhog/types/v1/person_pb2.py
+++ b/packages/personhog-proto/personhog/types/v1/person_pb2.py
@@ -23,7 +23,7 @@ _sym_db = _symbol_database.Default()
from personhog.types.v1 import common_pb2 as personhog_dot_types_dot_v1_dot_common__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
- b'\n\x1fpersonhog/types/v1/person.proto\x12\x12personhog.types.v1\x1a\x1fpersonhog/types/v1/common.proto"\xb2\x02\n\x06Person\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07team_id\x18\x03 \x01(\x03\x12\x12\n\nproperties\x18\x04 \x01(\x0c\x12"\n\x1aproperties_last_updated_at\x18\x05 \x01(\x0c\x12!\n\x19properties_last_operation\x18\x06 \x01(\x0c\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x0f\n\x07version\x18\x08 \x01(\x03\x12\x15\n\ris_identified\x18\t \x01(\x08\x12\x17\n\nis_user_id\x18\n \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\x12\n\nis_deleted\x18\x0c \x01(\x08\x42\r\n\x0b_is_user_idB\x0f\n\r_last_seen_at"f\n\x15\x44istinctIdWithVersion\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x0f\n\x02id\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_versionB\x05\n\x03_id"h\n\x15PersonWithDistinctIds\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"g\n\x11PersonDistinctIds\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12?\n\x0c\x64istinct_ids\x18\x02 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion"\x87\x01\n\x18PersonWithTeamDistinctId\x12/\n\x03key\x18\x01 \x01(\x0b\x32".personhog.types.v1.TeamDistinctId\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"m\n\x10GetPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"O\n\x11GetPersonResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"o\n\x11GetPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"S\n\x0fPersonsResponse\x12+\n\x07persons\x18\x01 \x03(\x0b\x32\x1a.personhog.types.v1.Person\x12\x13\n\x0bmissing_ids\x18\x02 \x03(\x03"n\n\x16GetPersonByUuidRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"q\n\x18GetPersonsByUuidsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05uuids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"{\n\x1cGetPersonByDistinctIdRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"\x84\x01\n$GetPersonsByDistinctIdsInTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"`\n"PersonsByDistinctIdsInTeamResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.PersonWithDistinctIds"\x96\x01\n\x1eGetPersonsByDistinctIdsRequest\x12=\n\x11team_distinct_ids\x18\x01 \x03(\x0b\x32".personhog.types.v1.TeamDistinctId\x12\x35\n\x0cread_options\x18\x02 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"]\n\x1cPersonsByDistinctIdsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonWithTeamDistinctId"\xbf\x01\n\x1eGetDistinctIdsForPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x12\n\x05limit\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tcursor_id\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x08\n\x06_limitB\x0c\n\n_cursor_id"\x92\x01\n\x1fGetDistinctIdsForPersonResponse\x12?\n\x0c\x64istinct_ids\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion\x12\x1b\n\x0enext_cursor_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x11\n\x0f_next_cursor_id"\xb1\x01\n\x1fGetDistinctIdsForPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10limit_per_person\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_limit_per_person"f\n GetDistinctIdsForPersonsResponse\x12\x42\n\x13person_distinct_ids\x18\x01 \x03(\x0b\x32%.personhog.types.v1.PersonDistinctIds"\x96\x02\n\x1dUpdatePersonPropertiesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x12\n\nevent_name\x18\x03 \x01(\t\x12\x16\n\x0eset_properties\x18\x04 \x01(\x0c\x12\x1b\n\x13set_once_properties\x18\x05 \x01(\x0c\x12\x18\n\x10unset_properties\x18\x06 \x03(\t\x12\x1a\n\ris_identified\x18\x07 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\x14\n\x0c\x66orce_update\x18\t \x01(\x08\x42\x10\n\x0e_is_identifiedB\x0f\n\r_last_seen_at"m\n\x1eUpdatePersonPropertiesResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x12\x0f\n\x07updated\x18\x02 \x01(\x08\x42\t\n\x07_person"r\n\x14\x44\x65letePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x33\n\x04mode\x18\x03 \x01(\x0e\x32%.personhog.types.v1.DeletePersonsMode"<\n\x14TombstonedDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"x\n\x10TombstonedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12>\n\x0c\x64istinct_ids\x18\x03 \x03(\x0b\x32(.personhog.types.v1.TombstonedDistinctId"|\n\x15\x44\x65letePersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x12\n\ntombstoned\x18\x02 \x01(\x08\x12\x38\n\ntombstones\x18\x03 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"C\n\x1aGetPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t"W\n\x1bGetPersonTombstonesResponse\x12\x38\n\ntombstones\x18\x01 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"<\n\x14\x41\x63kedPersonTombstone\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"k\n\x1a\x41\x63kPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12<\n\ntombstones\x18\x02 \x03(\x0b\x32(.personhog.types.v1.AckedPersonTombstone"4\n\x1b\x41\x63kPersonTombstonesResponse\x12\x15\n\rcleared_count\x18\x01 \x01(\x03"\x84\x01\n\x1fListPersonTombstoneQueueRequest\x12\x15\n\rafter_team_id\x18\x01 \x01(\x03\x12\x19\n\x11\x61\x66ter_person_uuid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x14\n\x07team_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\n\n\x08_team_id"p\n\x19PersonTombstoneQueueEntry\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x16\n\x0eperson_version\x18\x03 \x01(\x03\x12\x15\n\rtombstoned_at\x18\x04 \x01(\x03"b\n ListPersonTombstoneQueueResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.personhog.types.v1.PersonTombstoneQueueEntry"G\n DeletePersonsBatchForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nbatch_size\x18\x02 \x01(\x03":\n!DeletePersonsBatchForTeamResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03"\x9c\x01\n\x1e\x44\x65leteTombstonedPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x10\n\x08max_rows\x18\x03 \x01(\x03\x12\x41\n\x0f\x62ounded_persons\x18\x04 \x03(\x0b\x32(.personhog.types.v1.VersionBoundedPerson"@\n\x14VersionBoundedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x13\n\x0bmax_version\x18\x02 \x01(\x03"\xe4\x01\n\x1f\x44\x65leteTombstonedPersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x1a\n\x12skipped_live_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x62locked_person_uuids\x18\x03 \x03(\t\x12\x1c\n\x14pending_person_uuids\x18\x04 \x03(\t\x12\x14\n\x0crows_deleted\x18\x05 \x01(\x03\x12\x1d\n\x15version_guard_applied\x18\x06 \x01(\x08\x12\x1d\n\x15skipped_version_count\x18\x07 \x01(\x03"W\n\x12SplitPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x1d\n\x15\x64istinct_ids_to_split\x18\x03 \x03(\t"\x8e\x01\n\x0bSplitResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x17\n\x0fnew_person_uuid\x18\x02 \x01(\t\x12\x1a\n\x12new_person_version\x18\x03 \x01(\x03\x12\x13\n\x0bpdi_version\x18\x04 \x01(\x03\x12 \n\x18new_person_created_at_ms\x18\x05 \x01(\x03"F\n\x13SplitPersonResponse\x12/\n\x06splits\x18\x01 \x03(\x0b\x32\x1f.personhog.types.v1.SplitResult"c\n&SetPersonDistinctIdVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"e\n\'SetPersonDistinctIdVersionFloorResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"W\n\x1cSetPersonVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"0\n\x1dSetPersonVersionFloorResponse\x12\x0f\n\x07updated\x18\x01 \x01(\x08">\n\x12PersonVersionFloor\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x13\n\x0bmin_version\x18\x02 \x01(\x03"k\n EnsurePersonVersionFloorsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x36\n\x06\x66loors\x18\x02 \x03(\x0b\x32&.personhog.types.v1.PersonVersionFloor"z\n\x18PersonVersionFloorResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x38\n\x07outcome\x18\x02 \x01(\x0e\x32\'.personhog.types.v1.VersionFloorOutcome\x12\x0f\n\x07version\x18\x03 \x01(\x03"b\n!EnsurePersonVersionFloorsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonVersionFloorResult"}\n\x12\x46\x65ncePersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\r\n\x05op_id\x18\x03 \x01(\t\x12\x34\n\x07op_type\x18\x04 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType"A\n\x13\x46\x65ncePersonResponse\x12*\n\x06sealed\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\x7f\n\x13\x46\x65ncePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x34\n\x07op_type\x18\x03 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType\x12\x12\n\nperson_ids\x18\x04 \x03(\x03"_\n\x14\x46\x65ncePersonsResponse\x12\x34\n\x06sealed\x18\x01 \x03(\x0b\x32$.personhog.types.v1.FencedPersonSeal\x12\x11\n\tnot_found\x18\x02 \x03(\x03"J\n\x10\x46\x65ncedPersonSeal\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x12\n\ncreated_at\x18\x03 \x01(\x03"\x8c\x02\n\x13ReleaseFenceRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\r\n\x05op_id\x18\x04 \x01(\t\x12\x33\n\x07outcome\x18\x05 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x1b\n\x0esealed_version\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x1e\n\x11tombstone_version\x18\x08 \x01(\x03H\x01\x88\x01\x01\x42\x11\n\x0f_sealed_versionB\x14\n\x12_tombstone_version"\x16\n\x14ReleaseFenceResponse"\xa2\x01\n\x14ReleaseFencesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x33\n\x07outcome\x18\x03 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x35\n\x07persons\x18\x04 \x03(\x0b\x32$.personhog.types.v1.ReleaseFenceItem"\xb4\x01\n\x10ReleaseFenceItem\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x1b\n\x0esealed_version\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x1e\n\x11tombstone_version\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x11\n\x0f_sealed_versionB\x14\n\x12_tombstone_version"\x17\n\x15ReleaseFencesResponse"S\n\x14SealedSourceSnapshot\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person\x12\x0f\n\x07ordinal\x18\x02 \x01(\x05"\xbd\x01\n\x19\x46oldPersonDocumentRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x42\n\x10sealed_snapshots\x18\x03 \x03(\x0b\x32(.personhog.types.v1.SealedSourceSnapshot\x12\x11\n\tevent_set\x18\x04 \x01(\x0c\x12\x16\n\x0e\x65vent_set_once\x18\x05 \x01(\x0c\x12\r\n\x05op_id\x18\x06 \x01(\t"H\n\x1a\x46oldPersonDocumentResponse\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\xbc\x01\n\rDistinctIdRow\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x18\n\x0bperson_uuid\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x12\n\nis_deleted\x18\x05 \x01(\x08\x12\x1e\n\x11person_is_deleted\x18\x06 \x01(\x08H\x01\x88\x01\x01\x42\x0e\n\x0c_person_uuidB\x14\n\x12_person_is_deleted"x\n\x18GetDistinctIdRowsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"L\n\x19GetDistinctIdRowsResponse\x12/\n\x04rows\x18\x01 \x03(\x0b\x32!.personhog.types.v1.DistinctIdRow"\x86\x01\n\x0fPersonListEntry\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x03\x12\x12\n\nis_deleted\x18\x04 \x01(\x08\x12\x1d\n\x15has_live_distinct_ids\x18\x05 \x01(\x08\x12\x15\n\rcreated_at_ms\x18\x06 \x01(\x03"\xbf\x01\n\x19ListPersonsForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x17\n\x0f\x61\x66ter_person_id\x18\x02 \x01(\x03\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x35\n\x0cread_options\x18\x04 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10\x62\x65\x66ore_person_id\x18\x05 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_before_person_id"\x8e\x01\n\x1aListPersonsForTeamResponse\x12\x34\n\x07persons\x18\x01 \x03(\x0b\x32#.personhog.types.v1.PersonListEntry\x12!\n\x14next_after_person_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x17\n\x15_next_after_person_id"j\n\x1fRaisePersonVersionFloorsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x36\n\x06\x66loors\x18\x02 \x03(\x0b\x32&.personhog.types.v1.PersonVersionFloor"x\n\x1dRaisePersonVersionFloorResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x31\n\x07outcome\x18\x02 \x01(\x0e\x32 .personhog.types.v1.RaiseOutcome\x12\x0f\n\x07version\x18\x03 \x01(\x03"f\n RaisePersonVersionFloorsResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32\x31.personhog.types.v1.RaisePersonVersionFloorResult"\xb6\x01\n\x0eRestoredPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x12\n\nproperties\x18\x02 \x01(\x0c\x12\x15\n\rcreated_at_ms\x18\x03 \x01(\x03\x12\x15\n\ris_identified\x18\x04 \x01(\x08\x12\x0f\n\x07version\x18\x05 \x01(\x03\x12<\n\x0c\x64istinct_ids\x18\x06 \x03(\x0b\x32&.personhog.types.v1.RestoredDistinctId":\n\x12RestoredDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"]\n\x15RestorePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x33\n\x07persons\x18\x02 \x03(\x0b\x32".personhog.types.v1.RestoredPerson"\xa2\x01\n\x13RestorePersonResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x33\n\x07outcome\x18\x02 \x01(\x0e\x32".personhog.types.v1.RestoreOutcome\x12\x11\n\tperson_id\x18\x03 \x01(\x03\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x1d\n\x15restored_distinct_ids\x18\x05 \x03(\t"R\n\x16RestorePersonsResponse\x12\x38\n\x07results\x18\x01 \x03(\x0b\x32\'.personhog.types.v1.RestorePersonResult"\xbf\x01\n\x0f\x44istinctIdWrite\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x39\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32).personhog.types.v1.DistinctIdWriteAction\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\x13\n\x0bmin_version\x18\x04 \x01(\x03\x12\x1d\n\x10\x65xpected_version\x18\x05 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_expected_version"_\n\x17WriteDistinctIdsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x33\n\x06writes\x18\x02 \x03(\x0b\x32#.personhog.types.v1.DistinctIdWrite"\xa6\x01\n\x15\x44istinctIdWriteResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12;\n\x07outcome\x18\x02 \x01(\x0e\x32*.personhog.types.v1.DistinctIdWriteOutcome\x12\x33\n\x03row\x18\x03 \x01(\x0b\x32!.personhog.types.v1.DistinctIdRowH\x00\x88\x01\x01\x42\x06\n\x04_row"V\n\x18WriteDistinctIdsResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWriteResult*y\n\x11\x44\x65letePersonsMode\x12#\n\x1f\x44\x45LETE_PERSONS_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44\x45LETE_PERSONS_MODE_HARD\x10\x01\x12!\n\x1d\x44\x45LETE_PERSONS_MODE_TOMBSTONE\x10\x02*\xe4\x01\n\x13VersionFloorOutcome\x12%\n!VERSION_FLOOR_OUTCOME_UNSPECIFIED\x10\x00\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED\x10\x01\x12*\n&VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED\x10\x02\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR\x10\x03\x12\x1e\n\x1aVERSION_FLOOR_OUTCOME_LIVE\x10\x04*o\n\x0fLifecycleOpType\x12!\n\x1dLIFECYCLE_OP_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18LIFECYCLE_OP_TYPE_DELETE\x10\x01\x12\x1b\n\x17LIFECYCLE_OP_TYPE_MERGE\x10\x02*m\n\x0eReleaseOutcome\x12\x1f\n\x1bRELEASE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1d\n\x19RELEASE_OUTCOME_COMMITTED\x10\x01\x12\x1b\n\x17RELEASE_OUTCOME_ABORTED\x10\x02*\x9d\x01\n\x0cRaiseOutcome\x12\x1d\n\x19RAISE_OUTCOME_UNSPECIFIED\x10\x00\x12\x18\n\x14RAISE_OUTCOME_RAISED\x10\x01\x12\x1d\n\x19RAISE_OUTCOME_AT_OR_ABOVE\x10\x02\x12\x1a\n\x16RAISE_OUTCOME_NOT_LIVE\x10\x03\x12\x19\n\x15RAISE_OUTCOME_MISSING\x10\x04*\xbb\x01\n\x0eRestoreOutcome\x12\x1f\n\x1bRESTORE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1c\n\x18RESTORE_OUTCOME_INSERTED\x10\x01\x12\x1f\n\x1bRESTORE_OUTCOME_EXISTS_LIVE\x10\x02\x12%\n!RESTORE_OUTCOME_EXISTS_TOMBSTONED\x10\x03\x12"\n\x1eRESTORE_OUTCOME_NO_DISTINCT_ID\x10\x04*\x8a\x01\n\x15\x44istinctIdWriteAction\x12(\n$DISTINCT_ID_WRITE_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1f\x44ISTINCT_ID_WRITE_ACTION_INSERT\x10\x01\x12"\n\x1e\x44ISTINCT_ID_WRITE_ACTION_RAISE\x10\x02*\xf5\x01\n\x16\x44istinctIdWriteOutcome\x12)\n%DISTINCT_ID_WRITE_OUTCOME_UNSPECIFIED\x10\x00\x12%\n!DISTINCT_ID_WRITE_OUTCOME_APPLIED\x10\x01\x12\'\n#DISTINCT_ID_WRITE_OUTCOME_UNCHANGED\x10\x02\x12\x31\n-DISTINCT_ID_WRITE_OUTCOME_PRECONDITION_FAILED\x10\x03\x12-\n)DISTINCT_ID_WRITE_OUTCOME_PERSON_NOT_LIVE\x10\x04\x62\x06proto3'
+ b'\n\x1fpersonhog/types/v1/person.proto\x12\x12personhog.types.v1\x1a\x1fpersonhog/types/v1/common.proto"\xb2\x02\n\x06Person\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07team_id\x18\x03 \x01(\x03\x12\x12\n\nproperties\x18\x04 \x01(\x0c\x12"\n\x1aproperties_last_updated_at\x18\x05 \x01(\x0c\x12!\n\x19properties_last_operation\x18\x06 \x01(\x0c\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x0f\n\x07version\x18\x08 \x01(\x03\x12\x15\n\ris_identified\x18\t \x01(\x08\x12\x17\n\nis_user_id\x18\n \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\x12\n\nis_deleted\x18\x0c \x01(\x08\x42\r\n\x0b_is_user_idB\x0f\n\r_last_seen_at"f\n\x15\x44istinctIdWithVersion\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x0f\n\x02id\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_versionB\x05\n\x03_id"h\n\x15PersonWithDistinctIds\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"g\n\x11PersonDistinctIds\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12?\n\x0c\x64istinct_ids\x18\x02 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion"\x87\x01\n\x18PersonWithTeamDistinctId\x12/\n\x03key\x18\x01 \x01(\x0b\x32".personhog.types.v1.TeamDistinctId\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"m\n\x10GetPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"O\n\x11GetPersonResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"o\n\x11GetPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"S\n\x0fPersonsResponse\x12+\n\x07persons\x18\x01 \x03(\x0b\x32\x1a.personhog.types.v1.Person\x12\x13\n\x0bmissing_ids\x18\x02 \x03(\x03"n\n\x16GetPersonByUuidRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"q\n\x18GetPersonsByUuidsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05uuids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"{\n\x1cGetPersonByDistinctIdRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"\x84\x01\n$GetPersonsByDistinctIdsInTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"`\n"PersonsByDistinctIdsInTeamResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.PersonWithDistinctIds"\x96\x01\n\x1eGetPersonsByDistinctIdsRequest\x12=\n\x11team_distinct_ids\x18\x01 \x03(\x0b\x32".personhog.types.v1.TeamDistinctId\x12\x35\n\x0cread_options\x18\x02 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"]\n\x1cPersonsByDistinctIdsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonWithTeamDistinctId"\xbf\x01\n\x1eGetDistinctIdsForPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x12\n\x05limit\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tcursor_id\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x08\n\x06_limitB\x0c\n\n_cursor_id"\x92\x01\n\x1fGetDistinctIdsForPersonResponse\x12?\n\x0c\x64istinct_ids\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion\x12\x1b\n\x0enext_cursor_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x11\n\x0f_next_cursor_id"\xb1\x01\n\x1fGetDistinctIdsForPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10limit_per_person\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_limit_per_person"f\n GetDistinctIdsForPersonsResponse\x12\x42\n\x13person_distinct_ids\x18\x01 \x03(\x0b\x32%.personhog.types.v1.PersonDistinctIds"\x96\x02\n\x1dUpdatePersonPropertiesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x12\n\nevent_name\x18\x03 \x01(\t\x12\x16\n\x0eset_properties\x18\x04 \x01(\x0c\x12\x1b\n\x13set_once_properties\x18\x05 \x01(\x0c\x12\x18\n\x10unset_properties\x18\x06 \x03(\t\x12\x1a\n\ris_identified\x18\x07 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\x14\n\x0c\x66orce_update\x18\t \x01(\x08\x42\x10\n\x0e_is_identifiedB\x0f\n\r_last_seen_at"m\n\x1eUpdatePersonPropertiesResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x12\x0f\n\x07updated\x18\x02 \x01(\x08\x42\t\n\x07_person"T\n\x19RaisePersonVersionRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"h\n\x1aRaisePersonVersionResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x12\x0e\n\x06raised\x18\x02 \x01(\x08\x42\t\n\x07_person"r\n\x14\x44\x65letePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x33\n\x04mode\x18\x03 \x01(\x0e\x32%.personhog.types.v1.DeletePersonsMode"<\n\x14TombstonedDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"x\n\x10TombstonedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12>\n\x0c\x64istinct_ids\x18\x03 \x03(\x0b\x32(.personhog.types.v1.TombstonedDistinctId"|\n\x15\x44\x65letePersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x12\n\ntombstoned\x18\x02 \x01(\x08\x12\x38\n\ntombstones\x18\x03 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"C\n\x1aGetPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t"W\n\x1bGetPersonTombstonesResponse\x12\x38\n\ntombstones\x18\x01 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"<\n\x14\x41\x63kedPersonTombstone\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"k\n\x1a\x41\x63kPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12<\n\ntombstones\x18\x02 \x03(\x0b\x32(.personhog.types.v1.AckedPersonTombstone"4\n\x1b\x41\x63kPersonTombstonesResponse\x12\x15\n\rcleared_count\x18\x01 \x01(\x03"\x84\x01\n\x1fListPersonTombstoneQueueRequest\x12\x15\n\rafter_team_id\x18\x01 \x01(\x03\x12\x19\n\x11\x61\x66ter_person_uuid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x14\n\x07team_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\n\n\x08_team_id"p\n\x19PersonTombstoneQueueEntry\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x16\n\x0eperson_version\x18\x03 \x01(\x03\x12\x15\n\rtombstoned_at\x18\x04 \x01(\x03"b\n ListPersonTombstoneQueueResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.personhog.types.v1.PersonTombstoneQueueEntry"G\n DeletePersonsBatchForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nbatch_size\x18\x02 \x01(\x03":\n!DeletePersonsBatchForTeamResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03"\x9c\x01\n\x1e\x44\x65leteTombstonedPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x10\n\x08max_rows\x18\x03 \x01(\x03\x12\x41\n\x0f\x62ounded_persons\x18\x04 \x03(\x0b\x32(.personhog.types.v1.VersionBoundedPerson"@\n\x14VersionBoundedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x13\n\x0bmax_version\x18\x02 \x01(\x03"\xe4\x01\n\x1f\x44\x65leteTombstonedPersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x1a\n\x12skipped_live_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x62locked_person_uuids\x18\x03 \x03(\t\x12\x1c\n\x14pending_person_uuids\x18\x04 \x03(\t\x12\x14\n\x0crows_deleted\x18\x05 \x01(\x03\x12\x1d\n\x15version_guard_applied\x18\x06 \x01(\x08\x12\x1d\n\x15skipped_version_count\x18\x07 \x01(\x03"W\n\x12SplitPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x1d\n\x15\x64istinct_ids_to_split\x18\x03 \x03(\t"\x8e\x01\n\x0bSplitResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x17\n\x0fnew_person_uuid\x18\x02 \x01(\t\x12\x1a\n\x12new_person_version\x18\x03 \x01(\x03\x12\x13\n\x0bpdi_version\x18\x04 \x01(\x03\x12 \n\x18new_person_created_at_ms\x18\x05 \x01(\x03"F\n\x13SplitPersonResponse\x12/\n\x06splits\x18\x01 \x03(\x0b\x32\x1f.personhog.types.v1.SplitResult"c\n&SetPersonDistinctIdVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"e\n\'SetPersonDistinctIdVersionFloorResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"W\n\x1cSetPersonVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"0\n\x1dSetPersonVersionFloorResponse\x12\x0f\n\x07updated\x18\x01 \x01(\x08">\n\x12PersonVersionFloor\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x13\n\x0bmin_version\x18\x02 \x01(\x03"k\n EnsurePersonVersionFloorsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x36\n\x06\x66loors\x18\x02 \x03(\x0b\x32&.personhog.types.v1.PersonVersionFloor"z\n\x18PersonVersionFloorResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x38\n\x07outcome\x18\x02 \x01(\x0e\x32\'.personhog.types.v1.VersionFloorOutcome\x12\x0f\n\x07version\x18\x03 \x01(\x03"b\n!EnsurePersonVersionFloorsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonVersionFloorResult"}\n\x12\x46\x65ncePersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\r\n\x05op_id\x18\x03 \x01(\t\x12\x34\n\x07op_type\x18\x04 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType"A\n\x13\x46\x65ncePersonResponse\x12*\n\x06sealed\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\x7f\n\x13\x46\x65ncePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x34\n\x07op_type\x18\x03 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType\x12\x12\n\nperson_ids\x18\x04 \x03(\x03"_\n\x14\x46\x65ncePersonsResponse\x12\x34\n\x06sealed\x18\x01 \x03(\x0b\x32$.personhog.types.v1.FencedPersonSeal\x12\x11\n\tnot_found\x18\x02 \x03(\x03"J\n\x10\x46\x65ncedPersonSeal\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x12\n\ncreated_at\x18\x03 \x01(\x03"\x8c\x02\n\x13ReleaseFenceRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\r\n\x05op_id\x18\x04 \x01(\t\x12\x33\n\x07outcome\x18\x05 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x1b\n\x0esealed_version\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x1e\n\x11tombstone_version\x18\x08 \x01(\x03H\x01\x88\x01\x01\x42\x11\n\x0f_sealed_versionB\x14\n\x12_tombstone_version"\x16\n\x14ReleaseFenceResponse"\xa2\x01\n\x14ReleaseFencesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x33\n\x07outcome\x18\x03 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x35\n\x07persons\x18\x04 \x03(\x0b\x32$.personhog.types.v1.ReleaseFenceItem"\xb4\x01\n\x10ReleaseFenceItem\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x1b\n\x0esealed_version\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x1e\n\x11tombstone_version\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x11\n\x0f_sealed_versionB\x14\n\x12_tombstone_version"\x17\n\x15ReleaseFencesResponse"S\n\x14SealedSourceSnapshot\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person\x12\x0f\n\x07ordinal\x18\x02 \x01(\x05"\xbd\x01\n\x19\x46oldPersonDocumentRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x42\n\x10sealed_snapshots\x18\x03 \x03(\x0b\x32(.personhog.types.v1.SealedSourceSnapshot\x12\x11\n\tevent_set\x18\x04 \x01(\x0c\x12\x16\n\x0e\x65vent_set_once\x18\x05 \x01(\x0c\x12\r\n\x05op_id\x18\x06 \x01(\t"H\n\x1a\x46oldPersonDocumentResponse\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\xbc\x01\n\rDistinctIdRow\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x18\n\x0bperson_uuid\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x12\n\nis_deleted\x18\x05 \x01(\x08\x12\x1e\n\x11person_is_deleted\x18\x06 \x01(\x08H\x01\x88\x01\x01\x42\x0e\n\x0c_person_uuidB\x14\n\x12_person_is_deleted"x\n\x18GetDistinctIdRowsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"L\n\x19GetDistinctIdRowsResponse\x12/\n\x04rows\x18\x01 \x03(\x0b\x32!.personhog.types.v1.DistinctIdRow"\x86\x01\n\x0fPersonListEntry\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x03\x12\x12\n\nis_deleted\x18\x04 \x01(\x08\x12\x1d\n\x15has_live_distinct_ids\x18\x05 \x01(\x08\x12\x15\n\rcreated_at_ms\x18\x06 \x01(\x03"\xbf\x01\n\x19ListPersonsForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x17\n\x0f\x61\x66ter_person_id\x18\x02 \x01(\x03\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x35\n\x0cread_options\x18\x04 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10\x62\x65\x66ore_person_id\x18\x05 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_before_person_id"\x8e\x01\n\x1aListPersonsForTeamResponse\x12\x34\n\x07persons\x18\x01 \x03(\x0b\x32#.personhog.types.v1.PersonListEntry\x12!\n\x14next_after_person_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x17\n\x15_next_after_person_id"j\n\x1fRaisePersonVersionFloorsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x36\n\x06\x66loors\x18\x02 \x03(\x0b\x32&.personhog.types.v1.PersonVersionFloor"x\n\x1dRaisePersonVersionFloorResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x31\n\x07outcome\x18\x02 \x01(\x0e\x32 .personhog.types.v1.RaiseOutcome\x12\x0f\n\x07version\x18\x03 \x01(\x03"f\n RaisePersonVersionFloorsResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32\x31.personhog.types.v1.RaisePersonVersionFloorResult"\xb6\x01\n\x0eRestoredPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x12\n\nproperties\x18\x02 \x01(\x0c\x12\x15\n\rcreated_at_ms\x18\x03 \x01(\x03\x12\x15\n\ris_identified\x18\x04 \x01(\x08\x12\x0f\n\x07version\x18\x05 \x01(\x03\x12<\n\x0c\x64istinct_ids\x18\x06 \x03(\x0b\x32&.personhog.types.v1.RestoredDistinctId":\n\x12RestoredDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"]\n\x15RestorePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x33\n\x07persons\x18\x02 \x03(\x0b\x32".personhog.types.v1.RestoredPerson"\xa2\x01\n\x13RestorePersonResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x33\n\x07outcome\x18\x02 \x01(\x0e\x32".personhog.types.v1.RestoreOutcome\x12\x11\n\tperson_id\x18\x03 \x01(\x03\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x1d\n\x15restored_distinct_ids\x18\x05 \x03(\t"R\n\x16RestorePersonsResponse\x12\x38\n\x07results\x18\x01 \x03(\x0b\x32\'.personhog.types.v1.RestorePersonResult"\xbf\x01\n\x0f\x44istinctIdWrite\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x39\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32).personhog.types.v1.DistinctIdWriteAction\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\x13\n\x0bmin_version\x18\x04 \x01(\x03\x12\x1d\n\x10\x65xpected_version\x18\x05 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_expected_version"_\n\x17WriteDistinctIdsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x33\n\x06writes\x18\x02 \x03(\x0b\x32#.personhog.types.v1.DistinctIdWrite"\xa6\x01\n\x15\x44istinctIdWriteResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12;\n\x07outcome\x18\x02 \x01(\x0e\x32*.personhog.types.v1.DistinctIdWriteOutcome\x12\x33\n\x03row\x18\x03 \x01(\x0b\x32!.personhog.types.v1.DistinctIdRowH\x00\x88\x01\x01\x42\x06\n\x04_row"V\n\x18WriteDistinctIdsResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWriteResult*y\n\x11\x44\x65letePersonsMode\x12#\n\x1f\x44\x45LETE_PERSONS_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44\x45LETE_PERSONS_MODE_HARD\x10\x01\x12!\n\x1d\x44\x45LETE_PERSONS_MODE_TOMBSTONE\x10\x02*\xe4\x01\n\x13VersionFloorOutcome\x12%\n!VERSION_FLOOR_OUTCOME_UNSPECIFIED\x10\x00\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED\x10\x01\x12*\n&VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED\x10\x02\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR\x10\x03\x12\x1e\n\x1aVERSION_FLOOR_OUTCOME_LIVE\x10\x04*o\n\x0fLifecycleOpType\x12!\n\x1dLIFECYCLE_OP_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18LIFECYCLE_OP_TYPE_DELETE\x10\x01\x12\x1b\n\x17LIFECYCLE_OP_TYPE_MERGE\x10\x02*m\n\x0eReleaseOutcome\x12\x1f\n\x1bRELEASE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1d\n\x19RELEASE_OUTCOME_COMMITTED\x10\x01\x12\x1b\n\x17RELEASE_OUTCOME_ABORTED\x10\x02*\x9d\x01\n\x0cRaiseOutcome\x12\x1d\n\x19RAISE_OUTCOME_UNSPECIFIED\x10\x00\x12\x18\n\x14RAISE_OUTCOME_RAISED\x10\x01\x12\x1d\n\x19RAISE_OUTCOME_AT_OR_ABOVE\x10\x02\x12\x1a\n\x16RAISE_OUTCOME_NOT_LIVE\x10\x03\x12\x19\n\x15RAISE_OUTCOME_MISSING\x10\x04*\xbb\x01\n\x0eRestoreOutcome\x12\x1f\n\x1bRESTORE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1c\n\x18RESTORE_OUTCOME_INSERTED\x10\x01\x12\x1f\n\x1bRESTORE_OUTCOME_EXISTS_LIVE\x10\x02\x12%\n!RESTORE_OUTCOME_EXISTS_TOMBSTONED\x10\x03\x12"\n\x1eRESTORE_OUTCOME_NO_DISTINCT_ID\x10\x04*\x8a\x01\n\x15\x44istinctIdWriteAction\x12(\n$DISTINCT_ID_WRITE_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1f\x44ISTINCT_ID_WRITE_ACTION_INSERT\x10\x01\x12"\n\x1e\x44ISTINCT_ID_WRITE_ACTION_RAISE\x10\x02*\xf5\x01\n\x16\x44istinctIdWriteOutcome\x12)\n%DISTINCT_ID_WRITE_OUTCOME_UNSPECIFIED\x10\x00\x12%\n!DISTINCT_ID_WRITE_OUTCOME_APPLIED\x10\x01\x12\'\n#DISTINCT_ID_WRITE_OUTCOME_UNCHANGED\x10\x02\x12\x31\n-DISTINCT_ID_WRITE_OUTCOME_PRECONDITION_FAILED\x10\x03\x12-\n)DISTINCT_ID_WRITE_OUTCOME_PERSON_NOT_LIVE\x10\x04\x62\x06proto3'
)
_globals = globals()
@@ -31,22 +31,22 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "personhog.types.v1.person_pb2", _globals)
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
- _globals["_DELETEPERSONSMODE"]._serialized_start = 9738
- _globals["_DELETEPERSONSMODE"]._serialized_end = 9859
- _globals["_VERSIONFLOOROUTCOME"]._serialized_start = 9862
- _globals["_VERSIONFLOOROUTCOME"]._serialized_end = 10090
- _globals["_LIFECYCLEOPTYPE"]._serialized_start = 10092
- _globals["_LIFECYCLEOPTYPE"]._serialized_end = 10203
- _globals["_RELEASEOUTCOME"]._serialized_start = 10205
- _globals["_RELEASEOUTCOME"]._serialized_end = 10314
- _globals["_RAISEOUTCOME"]._serialized_start = 10317
- _globals["_RAISEOUTCOME"]._serialized_end = 10474
- _globals["_RESTOREOUTCOME"]._serialized_start = 10477
- _globals["_RESTOREOUTCOME"]._serialized_end = 10664
- _globals["_DISTINCTIDWRITEACTION"]._serialized_start = 10667
- _globals["_DISTINCTIDWRITEACTION"]._serialized_end = 10805
- _globals["_DISTINCTIDWRITEOUTCOME"]._serialized_start = 10808
- _globals["_DISTINCTIDWRITEOUTCOME"]._serialized_end = 11053
+ _globals["_DELETEPERSONSMODE"]._serialized_start = 9930
+ _globals["_DELETEPERSONSMODE"]._serialized_end = 10051
+ _globals["_VERSIONFLOOROUTCOME"]._serialized_start = 10054
+ _globals["_VERSIONFLOOROUTCOME"]._serialized_end = 10282
+ _globals["_LIFECYCLEOPTYPE"]._serialized_start = 10284
+ _globals["_LIFECYCLEOPTYPE"]._serialized_end = 10395
+ _globals["_RELEASEOUTCOME"]._serialized_start = 10397
+ _globals["_RELEASEOUTCOME"]._serialized_end = 10506
+ _globals["_RAISEOUTCOME"]._serialized_start = 10509
+ _globals["_RAISEOUTCOME"]._serialized_end = 10666
+ _globals["_RESTOREOUTCOME"]._serialized_start = 10669
+ _globals["_RESTOREOUTCOME"]._serialized_end = 10856
+ _globals["_DISTINCTIDWRITEACTION"]._serialized_start = 10859
+ _globals["_DISTINCTIDWRITEACTION"]._serialized_end = 10997
+ _globals["_DISTINCTIDWRITEOUTCOME"]._serialized_start = 11000
+ _globals["_DISTINCTIDWRITEOUTCOME"]._serialized_end = 11245
_globals["_PERSON"]._serialized_start = 89
_globals["_PERSON"]._serialized_end = 395
_globals["_DISTINCTIDWITHVERSION"]._serialized_start = 397
@@ -91,122 +91,126 @@ if not _descriptor._USE_C_DESCRIPTORS:
_globals["_UPDATEPERSONPROPERTIESREQUEST"]._serialized_end = 2979
_globals["_UPDATEPERSONPROPERTIESRESPONSE"]._serialized_start = 2981
_globals["_UPDATEPERSONPROPERTIESRESPONSE"]._serialized_end = 3090
- _globals["_DELETEPERSONSREQUEST"]._serialized_start = 3092
- _globals["_DELETEPERSONSREQUEST"]._serialized_end = 3206
- _globals["_TOMBSTONEDDISTINCTID"]._serialized_start = 3208
- _globals["_TOMBSTONEDDISTINCTID"]._serialized_end = 3268
- _globals["_TOMBSTONEDPERSON"]._serialized_start = 3270
- _globals["_TOMBSTONEDPERSON"]._serialized_end = 3390
- _globals["_DELETEPERSONSRESPONSE"]._serialized_start = 3392
- _globals["_DELETEPERSONSRESPONSE"]._serialized_end = 3516
- _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_start = 3518
- _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_end = 3585
- _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_start = 3587
- _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_end = 3674
- _globals["_ACKEDPERSONTOMBSTONE"]._serialized_start = 3676
- _globals["_ACKEDPERSONTOMBSTONE"]._serialized_end = 3736
- _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_start = 3738
- _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_end = 3845
- _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_start = 3847
- _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_end = 3899
- _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_start = 3902
- _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_end = 4034
- _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_start = 4036
- _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_end = 4148
- _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_start = 4150
- _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_end = 4248
- _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_start = 4250
- _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_end = 4321
- _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_start = 4323
- _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_end = 4381
- _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_start = 4384
- _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_end = 4540
- _globals["_VERSIONBOUNDEDPERSON"]._serialized_start = 4542
- _globals["_VERSIONBOUNDEDPERSON"]._serialized_end = 4606
- _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_start = 4609
- _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_end = 4837
- _globals["_SPLITPERSONREQUEST"]._serialized_start = 4839
- _globals["_SPLITPERSONREQUEST"]._serialized_end = 4926
- _globals["_SPLITRESULT"]._serialized_start = 4929
- _globals["_SPLITRESULT"]._serialized_end = 5071
- _globals["_SPLITPERSONRESPONSE"]._serialized_start = 5073
- _globals["_SPLITPERSONRESPONSE"]._serialized_end = 5143
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_start = 5145
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_end = 5244
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_start = 5246
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_end = 5347
- _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_start = 5349
- _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_end = 5436
- _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_start = 5438
- _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_end = 5486
- _globals["_PERSONVERSIONFLOOR"]._serialized_start = 5488
- _globals["_PERSONVERSIONFLOOR"]._serialized_end = 5550
- _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_start = 5552
- _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_end = 5659
- _globals["_PERSONVERSIONFLOORRESULT"]._serialized_start = 5661
- _globals["_PERSONVERSIONFLOORRESULT"]._serialized_end = 5783
- _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_start = 5785
- _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_end = 5883
- _globals["_FENCEPERSONREQUEST"]._serialized_start = 5885
- _globals["_FENCEPERSONREQUEST"]._serialized_end = 6010
- _globals["_FENCEPERSONRESPONSE"]._serialized_start = 6012
- _globals["_FENCEPERSONRESPONSE"]._serialized_end = 6077
- _globals["_FENCEPERSONSREQUEST"]._serialized_start = 6079
- _globals["_FENCEPERSONSREQUEST"]._serialized_end = 6206
- _globals["_FENCEPERSONSRESPONSE"]._serialized_start = 6208
- _globals["_FENCEPERSONSRESPONSE"]._serialized_end = 6303
- _globals["_FENCEDPERSONSEAL"]._serialized_start = 6305
- _globals["_FENCEDPERSONSEAL"]._serialized_end = 6379
- _globals["_RELEASEFENCEREQUEST"]._serialized_start = 6382
- _globals["_RELEASEFENCEREQUEST"]._serialized_end = 6650
- _globals["_RELEASEFENCERESPONSE"]._serialized_start = 6652
- _globals["_RELEASEFENCERESPONSE"]._serialized_end = 6674
- _globals["_RELEASEFENCESREQUEST"]._serialized_start = 6677
- _globals["_RELEASEFENCESREQUEST"]._serialized_end = 6839
- _globals["_RELEASEFENCEITEM"]._serialized_start = 6842
- _globals["_RELEASEFENCEITEM"]._serialized_end = 7022
- _globals["_RELEASEFENCESRESPONSE"]._serialized_start = 7024
- _globals["_RELEASEFENCESRESPONSE"]._serialized_end = 7047
- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_start = 7049
- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_end = 7132
- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_start = 7135
- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_end = 7324
- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_start = 7326
- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_end = 7398
- _globals["_DISTINCTIDROW"]._serialized_start = 7401
- _globals["_DISTINCTIDROW"]._serialized_end = 7589
- _globals["_GETDISTINCTIDROWSREQUEST"]._serialized_start = 7591
- _globals["_GETDISTINCTIDROWSREQUEST"]._serialized_end = 7711
- _globals["_GETDISTINCTIDROWSRESPONSE"]._serialized_start = 7713
- _globals["_GETDISTINCTIDROWSRESPONSE"]._serialized_end = 7789
- _globals["_PERSONLISTENTRY"]._serialized_start = 7792
- _globals["_PERSONLISTENTRY"]._serialized_end = 7926
- _globals["_LISTPERSONSFORTEAMREQUEST"]._serialized_start = 7929
- _globals["_LISTPERSONSFORTEAMREQUEST"]._serialized_end = 8120
- _globals["_LISTPERSONSFORTEAMRESPONSE"]._serialized_start = 8123
- _globals["_LISTPERSONSFORTEAMRESPONSE"]._serialized_end = 8265
- _globals["_RAISEPERSONVERSIONFLOORSREQUEST"]._serialized_start = 8267
- _globals["_RAISEPERSONVERSIONFLOORSREQUEST"]._serialized_end = 8373
- _globals["_RAISEPERSONVERSIONFLOORRESULT"]._serialized_start = 8375
- _globals["_RAISEPERSONVERSIONFLOORRESULT"]._serialized_end = 8495
- _globals["_RAISEPERSONVERSIONFLOORSRESPONSE"]._serialized_start = 8497
- _globals["_RAISEPERSONVERSIONFLOORSRESPONSE"]._serialized_end = 8599
- _globals["_RESTOREDPERSON"]._serialized_start = 8602
- _globals["_RESTOREDPERSON"]._serialized_end = 8784
- _globals["_RESTOREDDISTINCTID"]._serialized_start = 8786
- _globals["_RESTOREDDISTINCTID"]._serialized_end = 8844
- _globals["_RESTOREPERSONSREQUEST"]._serialized_start = 8846
- _globals["_RESTOREPERSONSREQUEST"]._serialized_end = 8939
- _globals["_RESTOREPERSONRESULT"]._serialized_start = 8942
- _globals["_RESTOREPERSONRESULT"]._serialized_end = 9104
- _globals["_RESTOREPERSONSRESPONSE"]._serialized_start = 9106
- _globals["_RESTOREPERSONSRESPONSE"]._serialized_end = 9188
- _globals["_DISTINCTIDWRITE"]._serialized_start = 9191
- _globals["_DISTINCTIDWRITE"]._serialized_end = 9382
- _globals["_WRITEDISTINCTIDSREQUEST"]._serialized_start = 9384
- _globals["_WRITEDISTINCTIDSREQUEST"]._serialized_end = 9479
- _globals["_DISTINCTIDWRITERESULT"]._serialized_start = 9482
- _globals["_DISTINCTIDWRITERESULT"]._serialized_end = 9648
- _globals["_WRITEDISTINCTIDSRESPONSE"]._serialized_start = 9650
- _globals["_WRITEDISTINCTIDSRESPONSE"]._serialized_end = 9736
+ _globals["_RAISEPERSONVERSIONREQUEST"]._serialized_start = 3092
+ _globals["_RAISEPERSONVERSIONREQUEST"]._serialized_end = 3176
+ _globals["_RAISEPERSONVERSIONRESPONSE"]._serialized_start = 3178
+ _globals["_RAISEPERSONVERSIONRESPONSE"]._serialized_end = 3282
+ _globals["_DELETEPERSONSREQUEST"]._serialized_start = 3284
+ _globals["_DELETEPERSONSREQUEST"]._serialized_end = 3398
+ _globals["_TOMBSTONEDDISTINCTID"]._serialized_start = 3400
+ _globals["_TOMBSTONEDDISTINCTID"]._serialized_end = 3460
+ _globals["_TOMBSTONEDPERSON"]._serialized_start = 3462
+ _globals["_TOMBSTONEDPERSON"]._serialized_end = 3582
+ _globals["_DELETEPERSONSRESPONSE"]._serialized_start = 3584
+ _globals["_DELETEPERSONSRESPONSE"]._serialized_end = 3708
+ _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_start = 3710
+ _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_end = 3777
+ _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_start = 3779
+ _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_end = 3866
+ _globals["_ACKEDPERSONTOMBSTONE"]._serialized_start = 3868
+ _globals["_ACKEDPERSONTOMBSTONE"]._serialized_end = 3928
+ _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_start = 3930
+ _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_end = 4037
+ _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_start = 4039
+ _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_end = 4091
+ _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_start = 4094
+ _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_end = 4226
+ _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_start = 4228
+ _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_end = 4340
+ _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_start = 4342
+ _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_end = 4440
+ _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_start = 4442
+ _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_end = 4513
+ _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_start = 4515
+ _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_end = 4573
+ _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_start = 4576
+ _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_end = 4732
+ _globals["_VERSIONBOUNDEDPERSON"]._serialized_start = 4734
+ _globals["_VERSIONBOUNDEDPERSON"]._serialized_end = 4798
+ _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_start = 4801
+ _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_end = 5029
+ _globals["_SPLITPERSONREQUEST"]._serialized_start = 5031
+ _globals["_SPLITPERSONREQUEST"]._serialized_end = 5118
+ _globals["_SPLITRESULT"]._serialized_start = 5121
+ _globals["_SPLITRESULT"]._serialized_end = 5263
+ _globals["_SPLITPERSONRESPONSE"]._serialized_start = 5265
+ _globals["_SPLITPERSONRESPONSE"]._serialized_end = 5335
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_start = 5337
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_end = 5436
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_start = 5438
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_end = 5539
+ _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_start = 5541
+ _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_end = 5628
+ _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_start = 5630
+ _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_end = 5678
+ _globals["_PERSONVERSIONFLOOR"]._serialized_start = 5680
+ _globals["_PERSONVERSIONFLOOR"]._serialized_end = 5742
+ _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_start = 5744
+ _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_end = 5851
+ _globals["_PERSONVERSIONFLOORRESULT"]._serialized_start = 5853
+ _globals["_PERSONVERSIONFLOORRESULT"]._serialized_end = 5975
+ _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_start = 5977
+ _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_end = 6075
+ _globals["_FENCEPERSONREQUEST"]._serialized_start = 6077
+ _globals["_FENCEPERSONREQUEST"]._serialized_end = 6202
+ _globals["_FENCEPERSONRESPONSE"]._serialized_start = 6204
+ _globals["_FENCEPERSONRESPONSE"]._serialized_end = 6269
+ _globals["_FENCEPERSONSREQUEST"]._serialized_start = 6271
+ _globals["_FENCEPERSONSREQUEST"]._serialized_end = 6398
+ _globals["_FENCEPERSONSRESPONSE"]._serialized_start = 6400
+ _globals["_FENCEPERSONSRESPONSE"]._serialized_end = 6495
+ _globals["_FENCEDPERSONSEAL"]._serialized_start = 6497
+ _globals["_FENCEDPERSONSEAL"]._serialized_end = 6571
+ _globals["_RELEASEFENCEREQUEST"]._serialized_start = 6574
+ _globals["_RELEASEFENCEREQUEST"]._serialized_end = 6842
+ _globals["_RELEASEFENCERESPONSE"]._serialized_start = 6844
+ _globals["_RELEASEFENCERESPONSE"]._serialized_end = 6866
+ _globals["_RELEASEFENCESREQUEST"]._serialized_start = 6869
+ _globals["_RELEASEFENCESREQUEST"]._serialized_end = 7031
+ _globals["_RELEASEFENCEITEM"]._serialized_start = 7034
+ _globals["_RELEASEFENCEITEM"]._serialized_end = 7214
+ _globals["_RELEASEFENCESRESPONSE"]._serialized_start = 7216
+ _globals["_RELEASEFENCESRESPONSE"]._serialized_end = 7239
+ _globals["_SEALEDSOURCESNAPSHOT"]._serialized_start = 7241
+ _globals["_SEALEDSOURCESNAPSHOT"]._serialized_end = 7324
+ _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_start = 7327
+ _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_end = 7516
+ _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_start = 7518
+ _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_end = 7590
+ _globals["_DISTINCTIDROW"]._serialized_start = 7593
+ _globals["_DISTINCTIDROW"]._serialized_end = 7781
+ _globals["_GETDISTINCTIDROWSREQUEST"]._serialized_start = 7783
+ _globals["_GETDISTINCTIDROWSREQUEST"]._serialized_end = 7903
+ _globals["_GETDISTINCTIDROWSRESPONSE"]._serialized_start = 7905
+ _globals["_GETDISTINCTIDROWSRESPONSE"]._serialized_end = 7981
+ _globals["_PERSONLISTENTRY"]._serialized_start = 7984
+ _globals["_PERSONLISTENTRY"]._serialized_end = 8118
+ _globals["_LISTPERSONSFORTEAMREQUEST"]._serialized_start = 8121
+ _globals["_LISTPERSONSFORTEAMREQUEST"]._serialized_end = 8312
+ _globals["_LISTPERSONSFORTEAMRESPONSE"]._serialized_start = 8315
+ _globals["_LISTPERSONSFORTEAMRESPONSE"]._serialized_end = 8457
+ _globals["_RAISEPERSONVERSIONFLOORSREQUEST"]._serialized_start = 8459
+ _globals["_RAISEPERSONVERSIONFLOORSREQUEST"]._serialized_end = 8565
+ _globals["_RAISEPERSONVERSIONFLOORRESULT"]._serialized_start = 8567
+ _globals["_RAISEPERSONVERSIONFLOORRESULT"]._serialized_end = 8687
+ _globals["_RAISEPERSONVERSIONFLOORSRESPONSE"]._serialized_start = 8689
+ _globals["_RAISEPERSONVERSIONFLOORSRESPONSE"]._serialized_end = 8791
+ _globals["_RESTOREDPERSON"]._serialized_start = 8794
+ _globals["_RESTOREDPERSON"]._serialized_end = 8976
+ _globals["_RESTOREDDISTINCTID"]._serialized_start = 8978
+ _globals["_RESTOREDDISTINCTID"]._serialized_end = 9036
+ _globals["_RESTOREPERSONSREQUEST"]._serialized_start = 9038
+ _globals["_RESTOREPERSONSREQUEST"]._serialized_end = 9131
+ _globals["_RESTOREPERSONRESULT"]._serialized_start = 9134
+ _globals["_RESTOREPERSONRESULT"]._serialized_end = 9296
+ _globals["_RESTOREPERSONSRESPONSE"]._serialized_start = 9298
+ _globals["_RESTOREPERSONSRESPONSE"]._serialized_end = 9380
+ _globals["_DISTINCTIDWRITE"]._serialized_start = 9383
+ _globals["_DISTINCTIDWRITE"]._serialized_end = 9574
+ _globals["_WRITEDISTINCTIDSREQUEST"]._serialized_start = 9576
+ _globals["_WRITEDISTINCTIDSREQUEST"]._serialized_end = 9671
+ _globals["_DISTINCTIDWRITERESULT"]._serialized_start = 9674
+ _globals["_DISTINCTIDWRITERESULT"]._serialized_end = 9840
+ _globals["_WRITEDISTINCTIDSRESPONSE"]._serialized_start = 9842
+ _globals["_WRITEDISTINCTIDSRESPONSE"]._serialized_end = 9928
# @@protoc_insertion_point(module_scope)
diff --git a/packages/personhog-proto/personhog/types/v1/person_pb2.pyi b/packages/personhog-proto/personhog/types/v1/person_pb2.pyi
index e68681bb6d98..e6a0d168fd25 100644
--- a/packages/personhog-proto/personhog/types/v1/person_pb2.pyi
+++ b/packages/personhog-proto/personhog/types/v1/person_pb2.pyi
@@ -453,6 +453,26 @@ class UpdatePersonPropertiesResponse(_message.Message):
updated: bool
def __init__(self, person: _Optional[_Union[Person, _Mapping]] = ..., updated: bool = ...) -> None: ...
+class RaisePersonVersionRequest(_message.Message):
+ __slots__ = ("team_id", "person_id", "min_version")
+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ PERSON_ID_FIELD_NUMBER: _ClassVar[int]
+ MIN_VERSION_FIELD_NUMBER: _ClassVar[int]
+ team_id: int
+ person_id: int
+ min_version: int
+ def __init__(
+ self, team_id: _Optional[int] = ..., person_id: _Optional[int] = ..., min_version: _Optional[int] = ...
+ ) -> None: ...
+
+class RaisePersonVersionResponse(_message.Message):
+ __slots__ = ("person", "raised")
+ PERSON_FIELD_NUMBER: _ClassVar[int]
+ RAISED_FIELD_NUMBER: _ClassVar[int]
+ person: Person
+ raised: bool
+ def __init__(self, person: _Optional[_Union[Person, _Mapping]] = ..., raised: bool = ...) -> None: ...
+
class DeletePersonsRequest(_message.Message):
__slots__ = ("team_id", "person_uuids", "mode")
TEAM_ID_FIELD_NUMBER: _ClassVar[int]
diff --git a/proto/personhog/leader/v1/leader.proto b/proto/personhog/leader/v1/leader.proto
index ffab4b27d2ae..897ff80e0d63 100644
--- a/proto/personhog/leader/v1/leader.proto
+++ b/proto/personhog/leader/v1/leader.proto
@@ -96,4 +96,8 @@ service PersonHogLeader {
// retry goes through once the healer clears it); a destroyed target
// answers NOT_FOUND.
rpc FoldPersonDocument(personhog.types.v1.FoldPersonDocumentRequest) returns (personhog.types.v1.FoldPersonDocumentResponse);
+
+ // Consistency repair only. Writes the person's current state at min_version
+ // or above; a person already there gets no write.
+ rpc RaisePersonVersion(personhog.types.v1.RaisePersonVersionRequest) returns (personhog.types.v1.RaisePersonVersionResponse);
}
diff --git a/proto/personhog/service/v1/service.proto b/proto/personhog/service/v1/service.proto
index 5ecff1b08d84..a4e3f298126a 100644
--- a/proto/personhog/service/v1/service.proto
+++ b/proto/personhog/service/v1/service.proto
@@ -73,6 +73,9 @@ service PersonHogService {
rpc ReleaseFences(personhog.types.v1.ReleaseFencesRequest) returns (personhog.types.v1.ReleaseFencesResponse);
rpc FoldPersonDocument(personhog.types.v1.FoldPersonDocumentRequest) returns (personhog.types.v1.FoldPersonDocumentResponse);
+ // Consistency repair version raise (routed to leader)
+ rpc RaisePersonVersion(personhog.types.v1.RaisePersonVersionRequest) returns (personhog.types.v1.RaisePersonVersionResponse);
+
// Person deletes
// DeletePersons tombstones the persons and reports the versions written. A caller that
// hard-deletes tombstoned persons must use DeleteTombstonedPersons instead, which re-checks
diff --git a/proto/personhog/types/v1/person.proto b/proto/personhog/types/v1/person.proto
index d8ab1d5cae09..89ef9930280b 100644
--- a/proto/personhog/types/v1/person.proto
+++ b/proto/personhog/types/v1/person.proto
@@ -187,6 +187,18 @@ message UpdatePersonPropertiesResponse {
bool updated = 2;
}
+message RaisePersonVersionRequest {
+ int64 team_id = 1;
+ int64 person_id = 2;
+ int64 min_version = 3;
+}
+
+message RaisePersonVersionResponse {
+ optional Person person = 1;
+ // Whether this call wrote a document.
+ bool raised = 2;
+}
+
// How DeletePersons removes the rows.
enum DeletePersonsMode {
// Same as TOMBSTONE.
diff --git a/rust/personhog-leader/src/service.rs b/rust/personhog-leader/src/service.rs
index 6527e1c10ba2..4e89fbe157d2 100644
--- a/rust/personhog-leader/src/service.rs
+++ b/rust/personhog-leader/src/service.rs
@@ -7,8 +7,9 @@ use personhog_proto::personhog::leader::v1::person_hog_leader_server::PersonHogL
use personhog_proto::personhog::types::v1::{
FencePersonRequest, FencePersonResponse, FencePersonsRequest, FencePersonsResponse,
FoldPersonDocumentRequest, FoldPersonDocumentResponse, GetPersonRequest, GetPersonResponse,
- Person, ReleaseFenceRequest, ReleaseFenceResponse, ReleaseFencesRequest, ReleaseFencesResponse,
- SealedSourceSnapshot, UpdatePersonPropertiesRequest, UpdatePersonPropertiesResponse,
+ Person, RaisePersonVersionRequest, RaisePersonVersionResponse, ReleaseFenceRequest,
+ ReleaseFenceResponse, ReleaseFencesRequest, ReleaseFencesResponse, SealedSourceSnapshot,
+ UpdatePersonPropertiesRequest, UpdatePersonPropertiesResponse,
};
use tokio::sync::{Mutex, OwnedMutexGuard};
use tonic::{Request, Response, Status};
@@ -1295,6 +1296,137 @@ impl PersonHogLeader for PersonHogLeaderService {
}))
}
+ async fn raise_person_version(
+ &self,
+ request: Request<RaisePersonVersionRequest>,
+ ) -> Result<Response<RaisePersonVersionResponse>, Status> {
+ let partition = partition_from_metadata(&request)?;
+ let req = request.into_inner();
+ self.validate_partition(partition, req.team_id, req.person_id)?;
+ if req.min_version <= 0 {
+ return Err(Status::invalid_argument("min_version must be positive"));
+ }
+ self.check_authority(partition)?;
+
+ let Some(inflight_guard) = self.inflight.try_begin(partition) else {
+ return Err(Status::failed_precondition(format!(
+ "partition {partition} is fenced for handoff; writes are rejected"
+ )));
+ };
+
+ let cache_key = PersonCacheKey {
+ team_id: req.team_id,
+ person_id: req.person_id,
+ };
+ let mutex = self
+ .locks
+ .entry(cache_key.clone())
+ .or_default()
+ .value()
+ .clone();
+ let lock_wait = std::time::Instant::now();
+ let guard = mutex.lock_owned().await;
+ histogram!("personhog_leader_person_lock_wait_ms")
+ .record(lock_wait.elapsed().as_secs_f64() * 1000.0);
+
+ if !self.dirty_index.can_admit(&cache_key) {
+ counter!("personhog_leader_writes_shed_total", "reason" => "dirty_index_full")
+ .increment(1);
+ return Err(Status::resource_exhausted(
+ "dirty index at capacity: the writer is behind and this raise cannot be \
+ tracked; retry later",
+ ));
+ }
+
+ if let Some(fence) = self.check_fence(&cache_key) {
+ counter!("personhog_leader_writes_fenced_total").increment(1);
+ if let Some(healer) = &self.fence_healer {
+ healer.maybe_heal(cache_key.clone(), fence);
+ }
+ return Err(fenced_status(&fence));
+ }
+
+ let person = self.lookup_or_load_locked(partition, &cache_key).await?;
+ self.check_authority(partition)?;
+ if person.is_deleted {
+ return Err(Status::not_found("person is destroyed"));
+ }
+
+ if person.version >= req.min_version {
+ counter!("personhog_leader_version_raises_total", "outcome" => "at_or_above")
+ .increment(1);
+ return self.authoritative_ok(
+ partition,
+ RaisePersonVersionResponse {
+ person: Some(cached_person_into_proto(person)),
+ raised: false,
+ },
+ );
+ }
+
+ // A spent version may already be in the changelog, so the raise must clear it.
+ let floor = self
+ .emitted_versions
+ .floor_for(partition, &cache_key, person.version);
+ let version = floor
+ .checked_add(1)
+ .ok_or_else(|| Status::invalid_argument("no version left above the emitted floor"))?
+ .max(req.min_version);
+ let mut raised = CachedPerson { version, ..person };
+
+ // A stored row over the size limit would stop the writer's partition, so trim it as an update does.
+ let stored = raised
+ .parse_properties()
+ .map_err(|e| Status::internal(format!("cached properties unparseable: {e}")))?;
+ let stored_size = jsonb_column_size(&stored);
+ if stored_size >= self.size_limits.threshold {
+ match trim_properties_to_fit_size(&stored, self.size_limits.trim_target) {
+ TrimResult::Trimmed(trimmed) => {
+ counter!("personhog_leader_properties_trimmed_total").increment(1);
+ self.warnings.emit(&SizeViolationWarning {
+ team_id: cache_key.team_id,
+ person_uuid: raised.uuid.clone(),
+ message: "Oversized person properties were trimmed to fit the size limit"
+ .to_string(),
+ });
+ raised.properties = serde_json::to_vec(&trimmed).map_err(|e| {
+ Status::internal(format!("serialize trimmed properties: {e}"))
+ })?;
+ }
+ TrimResult::Fits => {}
+ TrimResult::CannotFit => {
+ counter!(
+ "personhog_leader_version_raises_total",
+ "outcome" => "rejected_unremediable"
+ )
+ .increment(1);
+ return Err(semantic_refusal(
+ format!(
+ "person properties exceed the size limit: stored state is \
+ {stored_size} bytes (jsonb) and protected properties alone exceed \
+ the {} trim target",
+ self.size_limits.trim_target,
+ ),
+ "person-too-large",
+ ));
+ }
+ }
+ }
+
+ let committed = self
+ .commit_document(partition, &cache_key, raised, guard, inflight_guard)
+ .await?;
+ counter!("personhog_leader_version_raises_total", "outcome" => "raised").increment(1);
+
+ self.authoritative_ok(
+ partition,
+ RaisePersonVersionResponse {
+ person: Some(committed.proto),
+ raised: true,
+ },
+ )
+ }
+
async fn fold_person_document(
&self,
request: Request<FoldPersonDocumentRequest>,
diff --git a/rust/personhog-leader/tests/fence_integration.rs b/rust/personhog-leader/tests/fence_integration.rs
index f9d878623f53..49475b68e3a4 100644
--- a/rust/personhog-leader/tests/fence_integration.rs
+++ b/rust/personhog-leader/tests/fence_integration.rs
@@ -14,6 +14,7 @@ use common::{
test_recovery, unique_team_id, NUM_PARTITIONS,
};
use personhog_common::partitioning::partition_for_person;
+use personhog_common::properties::jsonb_column_size;
use personhog_leader::cache::{
CacheLookup, CachedPerson, DirtyIndex, PartitionedCache, PersonCacheKey,
};
@@ -30,8 +31,8 @@ use personhog_proto::personhog::leader::v1::person_hog_leader_client::PersonHogL
use personhog_proto::personhog::leader::v1::person_hog_leader_server::PersonHogLeaderServer;
use personhog_proto::personhog::types::v1::{
FencePersonRequest, FencePersonsRequest, FoldPersonDocumentRequest, GetPersonRequest,
- LifecycleOpType, Person, ReleaseFenceItem, ReleaseFenceRequest, ReleaseFencesRequest,
- ReleaseOutcome, SealedSourceSnapshot, UpdatePersonPropertiesRequest,
+ LifecycleOpType, Person, RaisePersonVersionRequest, ReleaseFenceItem, ReleaseFenceRequest,
+ ReleaseFencesRequest, ReleaseOutcome, SealedSourceSnapshot, UpdatePersonPropertiesRequest,
};
use prost::Message;
use rdkafka::consumer::{BaseConsumer, Consumer};
@@ -3618,3 +3619,158 @@ async fn a_release_trusts_the_snapshot_only_under_a_fence_sealed_before_it() {
.await
.expect("cleanup op");
}
+
+fn raise_request(team_id: i64, person_id: i64, min_version: i64) -> RaisePersonVersionRequest {
+ RaisePersonVersionRequest {
+ team_id,
+ person_id,
+ min_version,
+ }
+}
+
+#[tokio::test]
+async fn a_raise_writes_the_current_state_at_the_minimum_once() {
+ let mut harness = start_fence_harness(test_cached_person(), None).await;
+ let request = raise_request(harness.team_id, harness.person_id, 10);
+
+ let first = harness
+ .client
+ .raise_person_version(with_partition(request, harness.partition))
+ .await
+ .expect("raise succeeds")
+ .into_inner();
+ assert!(first.raised);
+ assert_eq!(first.person.unwrap().version, 10);
+
+ let repeat = harness
+ .client
+ .raise_person_version(with_partition(request, harness.partition))
+ .await
+ .expect("repeat succeeds")
+ .into_inner();
+ assert!(!repeat.raised);
+
+ let records = changelog_records(&harness);
+ assert_eq!(records.len(), 1, "the repeat must not write");
+ assert_eq!(records[0].version, 10);
+ assert_eq!(
+ person_properties(&records[0]),
+ serde_json::json!({"email": "[email protected]"})
+ );
+}
+
+#[tokio::test]
+async fn a_raise_clears_a_spent_version_above_the_minimum() {
+ let mut harness = start_fence_harness(test_cached_person(), None).await;
+ harness.emitted_versions.raise_for_test(
+ harness.partition,
+ PersonCacheKey {
+ team_id: harness.team_id,
+ person_id: harness.person_id,
+ },
+ 12,
+ );
+
+ let raised = harness
+ .client
+ .raise_person_version(with_partition(
+ raise_request(harness.team_id, harness.person_id, 10),
+ harness.partition,
+ ))
+ .await
+ .expect("raise succeeds")
+ .into_inner();
+ assert_eq!(raised.person.unwrap().version, 13);
+}
+
+#[tokio::test]
+async fn a_fenced_person_refuses_a_raise() {
+ let mut harness = start_fence_harness(test_cached_person(), None).await;
+ harness
+ .client
+ .fence_person(with_partition(
+ fence_request(harness.team_id, harness.person_id, &Uuid::now_v7()),
+ harness.partition,
+ ))
+ .await
+ .expect("fence succeeds");
+
+ let status = harness
+ .client
+ .raise_person_version(with_partition(
+ raise_request(harness.team_id, harness.person_id, 10),
+ harness.partition,
+ ))
+ .await
+ .expect_err("a fenced person rejects the raise");
+ assert_eq!(status.code(), Code::FailedPrecondition);
+ assert_eq!(
+ status.metadata().get(FENCED_METADATA_KEY).unwrap(),
+ "delete"
+ );
+ assert!(changelog_records(&harness).is_empty());
+}
+
+#[tokio::test]
+async fn a_raise_trims_a_stored_person_over_the_size_limit() {
+ let big = "x".repeat(400_000);
+ let mut harness = start_fence_harness(
+ CachedPerson {
+ properties: serde_json::to_vec(&serde_json::json!({
+ "email": "[email protected]", "custom_a": big, "custom_b": big,
+ }))
+ .unwrap(),
+ ..test_cached_person()
+ },
+ None,
+ )
+ .await;
+
+ harness
+ .client
+ .raise_person_version(with_partition(
+ raise_request(harness.team_id, harness.person_id, 10),
+ harness.partition,
+ ))
+ .await
+ .expect("raise succeeds");
+
+ let records = changelog_records(&harness);
+ assert_eq!(records.len(), 1);
+ let properties = person_properties(&records[0]);
+ assert!(jsonb_column_size(&properties) <= 524_288);
+ assert_eq!(properties["email"], "[email protected]");
+}
+
+#[tokio::test]
+async fn a_raise_refuses_a_person_whose_protected_properties_exceed_the_limit() {
+ let big = "x".repeat(400_000);
+ let mut harness = start_fence_harness(
+ CachedPerson {
+ properties: serde_json::to_vec(&serde_json::json!({"email": big, "name": big}))
+ .unwrap(),
+ ..test_cached_person()
+ },
+ None,
+ )
+ .await;
+
+ let status = harness
+ .client
+ .raise_person_version(with_partition(
+ raise_request(harness.team_id, harness.person_id, 10),
+ harness.partition,
+ ))
+ .await
+ .expect_err("an untrimmable person is refused");
+
+ assert_eq!(status.code(), Code::FailedPrecondition);
+ assert_eq!(
+ status
+ .metadata()
+ .get(personhog_common::grpc::SEMANTIC_REFUSAL_METADATA_KEY)
+ .unwrap(),
+ "person-too-large"
+ );
+ assert!(changelog_records(&harness).is_empty());
+}
diff --git a/rust/personhog-router/src/proxy.rs b/rust/personhog-router/src/proxy.rs
index 46a1bb1f6304..7df2b101121c 100644
--- a/rust/personhog-router/src/proxy.rs
+++ b/rust/personhog-router/src/proxy.rs
@@ -72,6 +72,7 @@ pub const KNOWN_METHODS: &[&str] = &[
"ListGroups",
"ListPersonTombstoneQueue",
"ListPersonsForTeam",
+ "RaisePersonVersion",
"RaisePersonVersionFloors",
"ReleaseFence",
"ReleaseFences",
@@ -290,6 +291,10 @@ impl RawProxyInner {
let (resp, call_ms) = self.raw_proxy_to_leader(req, "FoldPersonDocument").await;
(resp, "leader", call_ms)
}
+ (Target::Service, "RaisePersonVersion") => {
+ let (resp, call_ms) = self.raw_proxy_to_leader(req, "RaisePersonVersion").await;
+ (resp, "leader", call_ms)
+ }
(Target::Service, "GetPerson") => {
let is_strong = req
.headers()
diff --git a/rust/personhog-router/tests/common/mod.rs b/rust/personhog-router/tests/common/mod.rs
index 794d65f1e0ea..0093b138eda8 100644
--- a/rust/personhog-router/tests/common/mod.rs
+++ b/rust/personhog-router/tests/common/mod.rs
@@ -875,6 +875,27 @@ impl PersonHogLeader for TestLeaderService {
Err(status)
}
+ async fn raise_person_version(
+ &self,
+ request: Request<personhog_proto::personhog::types::v1::RaisePersonVersionRequest>,
+ ) -> Result<Response<personhog_proto::personhog::types::v1::RaisePersonVersionResponse>, Status>
+ {
+ require_partition_metadata(&request)?;
+ let req = request.into_inner();
+ let mut person = self
+ .persons
+ .get(&(req.team_id, req.person_id))
+ .map(|entry| entry.value().clone())
+ .ok_or_else(|| Status::not_found("person not found"))?;
+ person.version = person.version.max(req.min_version);
+ Ok(Response::new(
+ personhog_proto::personhog::types::v1::RaisePersonVersionResponse {
+ person: Some(person),
+ raised: true,
+ },
+ ))
+ }
+
async fn get_person(
&self,
request: Request<GetPersonRequest>,
diff --git a/rust/personhog-router/tests/raw_proxy_integration.rs b/rust/personhog-router/tests/raw_proxy_integration.rs
index 5636a1bf5319..27c72d28d5fa 100644
--- a/rust/personhog-router/tests/raw_proxy_integration.rs
+++ b/rust/personhog-router/tests/raw_proxy_integration.rs
@@ -25,7 +25,7 @@ use personhog_proto::personhog::types::v1::{
CheckCohortMembershipRequest, CohortMembership, DeletePersonsRequest, GetGroupsRequest,
GetPersonByDistinctIdRequest, GetPersonRequest, GetPersonResponse,
GetPersonsByDistinctIdsInTeamRequest, Group, GroupIdentifier, Person,
- UpdatePersonPropertiesRequest,
+ RaisePersonVersionRequest, UpdatePersonPropertiesRequest,
};
use tokio::io::AsyncWriteExt;
use tokio::net::TcpStream;
@@ -413,6 +413,34 @@ async fn raw_proxy_update_person_properties_routes_to_leader() {
assert_eq!(result.person.unwrap().version, test_person.version + 1);
}
+#[tokio::test]
+async fn raw_proxy_raise_person_version_routes_to_leader() {
+ let test_person = create_test_person();
+ let leader_service = TestLeaderService::new().with_person(test_person.clone());
+ let replica_addr = start_test_replica(TestReplicaService::new()).await;
+ let leader_addr = start_test_leader(leader_service).await;
+ let router_addr =
+ start_test_router_raw_with_leader(replica_addr, leader_addr, NUM_PARTITIONS).await;
+ let mut client = create_client(router_addr).await;
+
+ let result = client
+ .raise_person_version(with_person_key(
+ Request::new(RaisePersonVersionRequest {
+ team_id: 1,
+ person_id: 42,
+ min_version: test_person.version + 10,
+ }),
+ 1,
+ 42,
+ ))
+ .await
+ .unwrap()
+ .into_inner();
+
+ assert!(result.raised);
+ assert_eq!(result.person.unwrap().version, test_person.version + 10);
+}
+
/// A lifecycle fence is the one refusal whose holder the caller can act
/// on, by recognising its own merge's op id and driving it to completion.
/// The router exhausts the bounce into its own UNAVAILABLE, so unless the
diff --git a/rust/property-defs-rs/tests/group_type_resolver.rs b/rust/property-defs-rs/tests/group_type_resolver.rs
index 3533695f4fb2..49c55880c83b 100644
--- a/rust/property-defs-rs/tests/group_type_resolver.rs
+++ b/rust/property-defs-rs/tests/group_type_resolver.rs
@@ -153,6 +153,14 @@ impl PersonHogService for MockPersonHogService {
Err(Status::unimplemented("not exercised by this mock"))
}
+ async fn raise_person_version(
+ &self,
+ _req: Request<personhog_proto::personhog::types::v1::RaisePersonVersionRequest>,
+ ) -> Result<Response<personhog_proto::personhog::types::v1::RaisePersonVersionResponse>, Status>
+ {
+ Err(Status::unimplemented("not exercised by this mock"))
+ }
+
async fn get_group_type_mappings_by_team_ids(
&self,
_req: Request<GetGroupTypeMappingsByTeamIdsRequest>,