@pidgr/proto 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,229 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file pidgr/v1/replay.proto (package pidgr.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Pagination, PaginationMeta } from "./common_pb";
10
+ import { file_pidgr_v1_common } from "./common_pb";
11
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file pidgr/v1/replay.proto.
15
+ */
16
+ export const file_pidgr_v1_replay: GenFile = /*@__PURE__*/
17
+ fileDesc("ChVwaWRnci92MS9yZXBsYXkucHJvdG8SCHBpZGdyLnYxIt0BChBTZXNzaW9uUmVjb3JkaW5nEgoKAmlkGAEgASgJEhkKEWFuYWx5dGljc191c2VyX2lkGAIgASgJEi4KCnN0YXJ0X3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiwKCGVuZF90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIYChBkdXJhdGlvbl9zZWNvbmRzGAUgASgFEhYKDmFjdGl2aXR5X3Njb3JlGAYgASgCEhIKCnVzZXJfZW1haWwYByABKAkiuQEKHExpc3RTZXNzaW9uUmVjb3JkaW5nc1JlcXVlc3QSEwoLY2FtcGFpZ25faWQYASABKAkSLQoJZGF0ZV9mcm9tGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIrCgdkYXRlX3RvGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIoCgpwYWdpbmF0aW9uGAQgASgLMhQucGlkZ3IudjEuUGFnaW5hdGlvbiKCAQodTGlzdFNlc3Npb25SZWNvcmRpbmdzUmVzcG9uc2USLgoKcmVjb3JkaW5ncxgBIAMoCzIaLnBpZGdyLnYxLlNlc3Npb25SZWNvcmRpbmcSMQoPcGFnaW5hdGlvbl9tZXRhGAIgASgLMhgucGlkZ3IudjEuUGFnaW5hdGlvbk1ldGEiMgoaR2V0U2Vzc2lvblNuYXBzaG90c1JlcXVlc3QSFAoMcmVjb3JkaW5nX2lkGAEgASgJIjQKG0dldFNlc3Npb25TbmFwc2hvdHNSZXNwb25zZRIVCg1zbmFwc2hvdF9kYXRhGAEgASgJMt0BCg1SZXBsYXlTZXJ2aWNlEmgKFUxpc3RTZXNzaW9uUmVjb3JkaW5ncxImLnBpZGdyLnYxLkxpc3RTZXNzaW9uUmVjb3JkaW5nc1JlcXVlc3QaJy5waWRnci52MS5MaXN0U2Vzc2lvblJlY29yZGluZ3NSZXNwb25zZRJiChNHZXRTZXNzaW9uU25hcHNob3RzEiQucGlkZ3IudjEuR2V0U2Vzc2lvblNuYXBzaG90c1JlcXVlc3QaJS5waWRnci52MS5HZXRTZXNzaW9uU25hcHNob3RzUmVzcG9uc2VCNlo0Z2l0aHViLmNvbS9waWRnci9waWRnci1wcm90by9nZW4vZ28vcGlkZ3IvdjE7cGlkZ3J2MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_pidgr_v1_common]);
18
+
19
+ /**
20
+ * A session recording summary from the analytics provider.
21
+ *
22
+ * @generated from message pidgr.v1.SessionRecording
23
+ */
24
+ export type SessionRecording = Message<"pidgr.v1.SessionRecording"> & {
25
+ /**
26
+ * Recording ID from the analytics provider.
27
+ *
28
+ * @generated from field: string id = 1;
29
+ */
30
+ id: string;
31
+
32
+ /**
33
+ * Analytics user identifier (maps to a pidgr user).
34
+ *
35
+ * @generated from field: string analytics_user_id = 2;
36
+ */
37
+ analyticsUserId: string;
38
+
39
+ /**
40
+ * Timestamp when the recording started.
41
+ *
42
+ * @generated from field: google.protobuf.Timestamp start_time = 3;
43
+ */
44
+ startTime?: Timestamp;
45
+
46
+ /**
47
+ * Timestamp when the recording ended.
48
+ *
49
+ * @generated from field: google.protobuf.Timestamp end_time = 4;
50
+ */
51
+ endTime?: Timestamp;
52
+
53
+ /**
54
+ * Duration of the recording in seconds.
55
+ *
56
+ * @generated from field: int32 duration_seconds = 5;
57
+ */
58
+ durationSeconds: number;
59
+
60
+ /**
61
+ * Activity score (0.0–1.0).
62
+ *
63
+ * @generated from field: float activity_score = 6;
64
+ */
65
+ activityScore: number;
66
+
67
+ /**
68
+ * Resolved user email from analytics_user_id.
69
+ * Empty if the user could not be resolved.
70
+ *
71
+ * @generated from field: string user_email = 7;
72
+ */
73
+ userEmail: string;
74
+ };
75
+
76
+ /**
77
+ * Describes the message pidgr.v1.SessionRecording.
78
+ * Use `create(SessionRecordingSchema)` to create a new message.
79
+ */
80
+ export const SessionRecordingSchema: GenMessage<SessionRecording> = /*@__PURE__*/
81
+ messageDesc(file_pidgr_v1_replay, 0);
82
+
83
+ /**
84
+ * Request to list session recordings.
85
+ *
86
+ * @generated from message pidgr.v1.ListSessionRecordingsRequest
87
+ */
88
+ export type ListSessionRecordingsRequest = Message<"pidgr.v1.ListSessionRecordingsRequest"> & {
89
+ /**
90
+ * Optional: filter recordings by campaign ID (mapped to analytics property filter).
91
+ * Constraints: UUID format (36 characters).
92
+ *
93
+ * @generated from field: string campaign_id = 1;
94
+ */
95
+ campaignId: string;
96
+
97
+ /**
98
+ * Optional: start of the time range filter (inclusive).
99
+ *
100
+ * @generated from field: google.protobuf.Timestamp date_from = 2;
101
+ */
102
+ dateFrom?: Timestamp;
103
+
104
+ /**
105
+ * Optional: end of the time range filter (inclusive).
106
+ *
107
+ * @generated from field: google.protobuf.Timestamp date_to = 3;
108
+ */
109
+ dateTo?: Timestamp;
110
+
111
+ /**
112
+ * Pagination parameters.
113
+ *
114
+ * @generated from field: pidgr.v1.Pagination pagination = 4;
115
+ */
116
+ pagination?: Pagination;
117
+ };
118
+
119
+ /**
120
+ * Describes the message pidgr.v1.ListSessionRecordingsRequest.
121
+ * Use `create(ListSessionRecordingsRequestSchema)` to create a new message.
122
+ */
123
+ export const ListSessionRecordingsRequestSchema: GenMessage<ListSessionRecordingsRequest> = /*@__PURE__*/
124
+ messageDesc(file_pidgr_v1_replay, 1);
125
+
126
+ /**
127
+ * Response containing a page of session recordings.
128
+ *
129
+ * @generated from message pidgr.v1.ListSessionRecordingsResponse
130
+ */
131
+ export type ListSessionRecordingsResponse = Message<"pidgr.v1.ListSessionRecordingsResponse"> & {
132
+ /**
133
+ * List of session recordings in this page.
134
+ *
135
+ * @generated from field: repeated pidgr.v1.SessionRecording recordings = 1;
136
+ */
137
+ recordings: SessionRecording[];
138
+
139
+ /**
140
+ * Pagination metadata for fetching subsequent pages.
141
+ *
142
+ * @generated from field: pidgr.v1.PaginationMeta pagination_meta = 2;
143
+ */
144
+ paginationMeta?: PaginationMeta;
145
+ };
146
+
147
+ /**
148
+ * Describes the message pidgr.v1.ListSessionRecordingsResponse.
149
+ * Use `create(ListSessionRecordingsResponseSchema)` to create a new message.
150
+ */
151
+ export const ListSessionRecordingsResponseSchema: GenMessage<ListSessionRecordingsResponse> = /*@__PURE__*/
152
+ messageDesc(file_pidgr_v1_replay, 2);
153
+
154
+ /**
155
+ * Request to fetch rrweb snapshot events for a recording.
156
+ *
157
+ * @generated from message pidgr.v1.GetSessionSnapshotsRequest
158
+ */
159
+ export type GetSessionSnapshotsRequest = Message<"pidgr.v1.GetSessionSnapshotsRequest"> & {
160
+ /**
161
+ * Recording ID from the analytics provider.
162
+ * Constraints: Max length 200 characters.
163
+ *
164
+ * @generated from field: string recording_id = 1;
165
+ */
166
+ recordingId: string;
167
+ };
168
+
169
+ /**
170
+ * Describes the message pidgr.v1.GetSessionSnapshotsRequest.
171
+ * Use `create(GetSessionSnapshotsRequestSchema)` to create a new message.
172
+ */
173
+ export const GetSessionSnapshotsRequestSchema: GenMessage<GetSessionSnapshotsRequest> = /*@__PURE__*/
174
+ messageDesc(file_pidgr_v1_replay, 3);
175
+
176
+ /**
177
+ * Response containing rrweb snapshot events.
178
+ *
179
+ * @generated from message pidgr.v1.GetSessionSnapshotsResponse
180
+ */
181
+ export type GetSessionSnapshotsResponse = Message<"pidgr.v1.GetSessionSnapshotsResponse"> & {
182
+ /**
183
+ * JSON-encoded array of rrweb eventWithTime objects.
184
+ * Clients parse this JSON to feed into rrweb-player.
185
+ *
186
+ * @generated from field: string snapshot_data = 1;
187
+ */
188
+ snapshotData: string;
189
+ };
190
+
191
+ /**
192
+ * Describes the message pidgr.v1.GetSessionSnapshotsResponse.
193
+ * Use `create(GetSessionSnapshotsResponseSchema)` to create a new message.
194
+ */
195
+ export const GetSessionSnapshotsResponseSchema: GenMessage<GetSessionSnapshotsResponse> = /*@__PURE__*/
196
+ messageDesc(file_pidgr_v1_replay, 4);
197
+
198
+ /**
199
+ * Proxies the analytics provider's session recording API, keeping credentials server-side.
200
+ * All data is fetched from the analytics provider on demand; no recording data is stored in pidgr.
201
+ *
202
+ * @generated from service pidgr.v1.ReplayService
203
+ */
204
+ export const ReplayService: GenService<{
205
+ /**
206
+ * List recent session recordings with optional campaign and time range filters.
207
+ * Authorization: Requires CAMPAIGNS_READ permission.
208
+ *
209
+ * @generated from rpc pidgr.v1.ReplayService.ListSessionRecordings
210
+ */
211
+ listSessionRecordings: {
212
+ methodKind: "unary";
213
+ input: typeof ListSessionRecordingsRequestSchema;
214
+ output: typeof ListSessionRecordingsResponseSchema;
215
+ },
216
+ /**
217
+ * Fetch the full rrweb snapshot data for a single recording.
218
+ * Authorization: Requires CAMPAIGNS_READ permission.
219
+ *
220
+ * @generated from rpc pidgr.v1.ReplayService.GetSessionSnapshots
221
+ */
222
+ getSessionSnapshots: {
223
+ methodKind: "unary";
224
+ input: typeof GetSessionSnapshotsRequestSchema;
225
+ output: typeof GetSessionSnapshotsResponseSchema;
226
+ },
227
+ }> = /*@__PURE__*/
228
+ serviceDesc(file_pidgr_v1_replay, 0);
229
+
@@ -0,0 +1,254 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file pidgr/v1/role.proto (package pidgr.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Permission, Role } from "./common_pb";
8
+ import { file_pidgr_v1_common } from "./common_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file pidgr/v1/role.proto.
13
+ */
14
+ export const file_pidgr_v1_role: GenFile = /*@__PURE__*/
15
+ fileDesc("ChNwaWRnci92MS9yb2xlLnByb3RvEghwaWRnci52MSISChBMaXN0Um9sZXNSZXF1ZXN0IjIKEUxpc3RSb2xlc1Jlc3BvbnNlEh0KBXJvbGVzGAEgAygLMg4ucGlkZ3IudjEuUm9sZSJMChFDcmVhdGVSb2xlUmVxdWVzdBIMCgRuYW1lGAEgASgJEikKC3Blcm1pc3Npb25zGAIgAygOMhQucGlkZ3IudjEuUGVybWlzc2lvbiIyChJDcmVhdGVSb2xlUmVzcG9uc2USHAoEcm9sZRgBIAEoCzIOLnBpZGdyLnYxLlJvbGUiXQoRVXBkYXRlUm9sZVJlcXVlc3QSDwoHcm9sZV9pZBgBIAEoCRIMCgRuYW1lGAIgASgJEikKC3Blcm1pc3Npb25zGAMgAygOMhQucGlkZ3IudjEuUGVybWlzc2lvbiIyChJVcGRhdGVSb2xlUmVzcG9uc2USHAoEcm9sZRgBIAEoCzIOLnBpZGdyLnYxLlJvbGUiJAoRRGVsZXRlUm9sZVJlcXVlc3QSDwoHcm9sZV9pZBgBIAEoCSIUChJEZWxldGVSb2xlUmVzcG9uc2UyrgIKC1JvbGVTZXJ2aWNlEkQKCUxpc3RSb2xlcxIaLnBpZGdyLnYxLkxpc3RSb2xlc1JlcXVlc3QaGy5waWRnci52MS5MaXN0Um9sZXNSZXNwb25zZRJHCgpDcmVhdGVSb2xlEhsucGlkZ3IudjEuQ3JlYXRlUm9sZVJlcXVlc3QaHC5waWRnci52MS5DcmVhdGVSb2xlUmVzcG9uc2USRwoKVXBkYXRlUm9sZRIbLnBpZGdyLnYxLlVwZGF0ZVJvbGVSZXF1ZXN0GhwucGlkZ3IudjEuVXBkYXRlUm9sZVJlc3BvbnNlEkcKCkRlbGV0ZVJvbGUSGy5waWRnci52MS5EZWxldGVSb2xlUmVxdWVzdBocLnBpZGdyLnYxLkRlbGV0ZVJvbGVSZXNwb25zZUI2WjRnaXRodWIuY29tL3BpZGdyL3BpZGdyLXByb3RvL2dlbi9nby9waWRnci92MTtwaWRncnYxYgZwcm90bzM", [file_pidgr_v1_common]);
16
+
17
+ /**
18
+ * Request to list all roles in the caller's organization.
19
+ *
20
+ * @generated from message pidgr.v1.ListRolesRequest
21
+ */
22
+ export type ListRolesRequest = Message<"pidgr.v1.ListRolesRequest"> & {
23
+ };
24
+
25
+ /**
26
+ * Describes the message pidgr.v1.ListRolesRequest.
27
+ * Use `create(ListRolesRequestSchema)` to create a new message.
28
+ */
29
+ export const ListRolesRequestSchema: GenMessage<ListRolesRequest> = /*@__PURE__*/
30
+ messageDesc(file_pidgr_v1_role, 0);
31
+
32
+ /**
33
+ * Response containing the organization's roles.
34
+ *
35
+ * @generated from message pidgr.v1.ListRolesResponse
36
+ */
37
+ export type ListRolesResponse = Message<"pidgr.v1.ListRolesResponse"> & {
38
+ /**
39
+ * All roles in the organization, including their permission sets.
40
+ *
41
+ * @generated from field: repeated pidgr.v1.Role roles = 1;
42
+ */
43
+ roles: Role[];
44
+ };
45
+
46
+ /**
47
+ * Describes the message pidgr.v1.ListRolesResponse.
48
+ * Use `create(ListRolesResponseSchema)` to create a new message.
49
+ */
50
+ export const ListRolesResponseSchema: GenMessage<ListRolesResponse> = /*@__PURE__*/
51
+ messageDesc(file_pidgr_v1_role, 1);
52
+
53
+ /**
54
+ * Request to create a new role in the caller's organization.
55
+ *
56
+ * @generated from message pidgr.v1.CreateRoleRequest
57
+ */
58
+ export type CreateRoleRequest = Message<"pidgr.v1.CreateRoleRequest"> & {
59
+ /**
60
+ * Display name for the role (e.g. "Team Lead"). Required.
61
+ * A slug is auto-generated from the name.
62
+ *
63
+ * @generated from field: string name = 1;
64
+ */
65
+ name: string;
66
+
67
+ /**
68
+ * Initial permission set for the role.
69
+ * PERMISSION_UNSPECIFIED values are rejected.
70
+ *
71
+ * @generated from field: repeated pidgr.v1.Permission permissions = 2;
72
+ */
73
+ permissions: Permission[];
74
+ };
75
+
76
+ /**
77
+ * Describes the message pidgr.v1.CreateRoleRequest.
78
+ * Use `create(CreateRoleRequestSchema)` to create a new message.
79
+ */
80
+ export const CreateRoleRequestSchema: GenMessage<CreateRoleRequest> = /*@__PURE__*/
81
+ messageDesc(file_pidgr_v1_role, 2);
82
+
83
+ /**
84
+ * Response after creating a role.
85
+ *
86
+ * @generated from message pidgr.v1.CreateRoleResponse
87
+ */
88
+ export type CreateRoleResponse = Message<"pidgr.v1.CreateRoleResponse"> & {
89
+ /**
90
+ * The newly created role with its generated slug and permission set.
91
+ *
92
+ * @generated from field: pidgr.v1.Role role = 1;
93
+ */
94
+ role?: Role;
95
+ };
96
+
97
+ /**
98
+ * Describes the message pidgr.v1.CreateRoleResponse.
99
+ * Use `create(CreateRoleResponseSchema)` to create a new message.
100
+ */
101
+ export const CreateRoleResponseSchema: GenMessage<CreateRoleResponse> = /*@__PURE__*/
102
+ messageDesc(file_pidgr_v1_role, 3);
103
+
104
+ /**
105
+ * Request to update a role's name and/or permissions.
106
+ *
107
+ * @generated from message pidgr.v1.UpdateRoleRequest
108
+ */
109
+ export type UpdateRoleRequest = Message<"pidgr.v1.UpdateRoleRequest"> & {
110
+ /**
111
+ * ID of the role to update. Required.
112
+ *
113
+ * @generated from field: string role_id = 1;
114
+ */
115
+ roleId: string;
116
+
117
+ /**
118
+ * New display name. If empty, the name is not changed.
119
+ *
120
+ * @generated from field: string name = 2;
121
+ */
122
+ name: string;
123
+
124
+ /**
125
+ * New permission set (replaces existing permissions entirely).
126
+ * If empty, permissions are not changed.
127
+ * PERMISSION_UNSPECIFIED values are rejected.
128
+ *
129
+ * @generated from field: repeated pidgr.v1.Permission permissions = 3;
130
+ */
131
+ permissions: Permission[];
132
+ };
133
+
134
+ /**
135
+ * Describes the message pidgr.v1.UpdateRoleRequest.
136
+ * Use `create(UpdateRoleRequestSchema)` to create a new message.
137
+ */
138
+ export const UpdateRoleRequestSchema: GenMessage<UpdateRoleRequest> = /*@__PURE__*/
139
+ messageDesc(file_pidgr_v1_role, 4);
140
+
141
+ /**
142
+ * Response after updating a role.
143
+ *
144
+ * @generated from message pidgr.v1.UpdateRoleResponse
145
+ */
146
+ export type UpdateRoleResponse = Message<"pidgr.v1.UpdateRoleResponse"> & {
147
+ /**
148
+ * The updated role.
149
+ *
150
+ * @generated from field: pidgr.v1.Role role = 1;
151
+ */
152
+ role?: Role;
153
+ };
154
+
155
+ /**
156
+ * Describes the message pidgr.v1.UpdateRoleResponse.
157
+ * Use `create(UpdateRoleResponseSchema)` to create a new message.
158
+ */
159
+ export const UpdateRoleResponseSchema: GenMessage<UpdateRoleResponse> = /*@__PURE__*/
160
+ messageDesc(file_pidgr_v1_role, 5);
161
+
162
+ /**
163
+ * Request to delete a role.
164
+ *
165
+ * @generated from message pidgr.v1.DeleteRoleRequest
166
+ */
167
+ export type DeleteRoleRequest = Message<"pidgr.v1.DeleteRoleRequest"> & {
168
+ /**
169
+ * ID of the role to delete. Required.
170
+ *
171
+ * @generated from field: string role_id = 1;
172
+ */
173
+ roleId: string;
174
+ };
175
+
176
+ /**
177
+ * Describes the message pidgr.v1.DeleteRoleRequest.
178
+ * Use `create(DeleteRoleRequestSchema)` to create a new message.
179
+ */
180
+ export const DeleteRoleRequestSchema: GenMessage<DeleteRoleRequest> = /*@__PURE__*/
181
+ messageDesc(file_pidgr_v1_role, 6);
182
+
183
+ /**
184
+ * Response after deleting a role.
185
+ *
186
+ * @generated from message pidgr.v1.DeleteRoleResponse
187
+ */
188
+ export type DeleteRoleResponse = Message<"pidgr.v1.DeleteRoleResponse"> & {
189
+ };
190
+
191
+ /**
192
+ * Describes the message pidgr.v1.DeleteRoleResponse.
193
+ * Use `create(DeleteRoleResponseSchema)` to create a new message.
194
+ */
195
+ export const DeleteRoleResponseSchema: GenMessage<DeleteRoleResponse> = /*@__PURE__*/
196
+ messageDesc(file_pidgr_v1_role, 7);
197
+
198
+ /**
199
+ * Manages roles and their permissions within an organization.
200
+ * All RPCs operate within the caller's org (extracted from JWT).
201
+ *
202
+ * @generated from service pidgr.v1.RoleService
203
+ */
204
+ export const RoleService: GenService<{
205
+ /**
206
+ * List all roles in the organization with their permission sets.
207
+ * Authorization: Requires PERMISSION_ORG_READ.
208
+ *
209
+ * @generated from rpc pidgr.v1.RoleService.ListRoles
210
+ */
211
+ listRoles: {
212
+ methodKind: "unary";
213
+ input: typeof ListRolesRequestSchema;
214
+ output: typeof ListRolesResponseSchema;
215
+ },
216
+ /**
217
+ * Create a new custom role with a name and initial permissions.
218
+ * Slug is auto-generated from the name and immutable after creation.
219
+ * Authorization: Requires PERMISSION_MEMBERS_MANAGE.
220
+ *
221
+ * @generated from rpc pidgr.v1.RoleService.CreateRole
222
+ */
223
+ createRole: {
224
+ methodKind: "unary";
225
+ input: typeof CreateRoleRequestSchema;
226
+ output: typeof CreateRoleResponseSchema;
227
+ },
228
+ /**
229
+ * Update a role's name and/or permissions.
230
+ * System roles (is_system=true) cannot be updated.
231
+ * Authorization: Requires PERMISSION_MEMBERS_MANAGE.
232
+ *
233
+ * @generated from rpc pidgr.v1.RoleService.UpdateRole
234
+ */
235
+ updateRole: {
236
+ methodKind: "unary";
237
+ input: typeof UpdateRoleRequestSchema;
238
+ output: typeof UpdateRoleResponseSchema;
239
+ },
240
+ /**
241
+ * Delete a role. Fails if any users are assigned to it.
242
+ * System roles (is_system=true) cannot be deleted.
243
+ * Authorization: Requires PERMISSION_MEMBERS_MANAGE.
244
+ *
245
+ * @generated from rpc pidgr.v1.RoleService.DeleteRole
246
+ */
247
+ deleteRole: {
248
+ methodKind: "unary";
249
+ input: typeof DeleteRoleRequestSchema;
250
+ output: typeof DeleteRoleResponseSchema;
251
+ },
252
+ }> = /*@__PURE__*/
253
+ serviceDesc(file_pidgr_v1_role, 0);
254
+